Skip to content

Commit

Permalink
refactoring: global refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <[email protected]>
  • Loading branch information
batazor committed Dec 11, 2023
1 parent 7d8d890 commit 684d71d
Show file tree
Hide file tree
Showing 337 changed files with 728 additions and 5,114 deletions.
305 changes: 0 additions & 305 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,308 +10,3 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"

- package-ecosystem: github-actions
directory: /
schedule:
interval: daily

- package-ecosystem: gomod
directory: /docs/ADR/decisions/proof/ADR-0007
schedule:
interval: daily

- package-ecosystem: gomod
directory: /
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/extension/argocd-extension-docs/ui
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/pkg/k8s/kube-secret-fetcher
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/api-gateway
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/services/backstage
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/services/backstage/packages/app
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/services/backstage/packages/backend
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/bff-web
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/csi
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/knative/kafka-to-elasticsearch
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/services/proxy
schedule:
interval: daily

- package-ecosystem: pip
directory: /internal/services/referral
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/shortctl
schedule:
interval: daily

- package-ecosystem: docker
directory: /internal/services/shortdb-operator
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/shortdb-operator
schedule:
interval: daily

- package-ecosystem: pip
directory: /poc/ml-diff/ml
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/mobile/expo/apps/shortlink
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/mobile/expo/libs/ui
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/mobile/expo
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/eslint/eslint-config-shortlink
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/eslint/eslint-plugin-shortlink
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/landing
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/next/components/Footer
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/next/components/Header
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/next/components/Testimonials
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/next
schedule:
interval: daily

- package-ecosystem: npm
directory: /ui/nx-monorepo/packages/ui-kit
schedule:
interval: daily

- package-ecosystem: maven
directory: /internal/services/bot
schedule:
interval: daily

- package-ecosystem: gomod
directory: /docs/ADR/decisions/proof/ADR-0027
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/services/report
schedule:
interval: daily

- package-ecosystem: docker
directory: /.clusterfuzzlite
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/api/api-gateway
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/api/bff-web
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/extension/argocd-extension-docs/ui
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/knative/kafka-to-elasticsearch
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/link/proxy
schedule:
interval: daily

- package-ecosystem: pip
directory: /internal/boundaries/marketing/referral
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/marketing/report
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/platform/backstage
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/platform/backstage/packages/app
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/platform/backstage/packages/backend
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/platform/csi
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/platform/shortctl
schedule:
interval: daily

- package-ecosystem: docker
directory: /internal/boundaries/shortdb/shortdb-operator
schedule:
interval: daily

- package-ecosystem: gomod
directory: /internal/boundaries/shortdb/shortdb-operator
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/mobile/expo/apps/shortlink
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/mobile/expo/libs/ui
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/mobile/expo
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/eslint/eslint-config-shortlink
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/eslint/eslint-plugin-shortlink
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/landing
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/next/components/Footer
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/next/components/Header
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/next/components/Testimonials
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/next
schedule:
interval: daily

- package-ecosystem: npm
directory: /internal/boundaries/ui/nx-monorepo/packages/ui-kit
schedule:
interval: daily

- package-ecosystem: maven
directory: /internal/boundaries/notification/bot
schedule:
interval: daily
2 changes: 1 addition & 1 deletion .github/linters/.ecrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"IgnoreDefaults": false,
"SpacesAftertabs": false,
"NoColor": false,
"Exclude": ["internal/services/api-gateway/docs/postman/*.json", ".run/*.xml"],
"Exclude": ["internal/boundaries/api/api-gateway/docs/postman/*.json", ".run/*.xml"],
"AllowedContentTypes": [],
"PassedFiles": [],
"Disable": {}
Expand Down
2 changes: 1 addition & 1 deletion .github/linters/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ run:
tests: true

skip-dirs:
- "internal/services/shortdb/io_uring"
- "internal/boundaries/shortdb/shortdb/io_uring"

skip-files:
- ".*mocks.+"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
context: .
file: ops/dockerfile/go.Dockerfile
build-args: |
CMD_PATH=${{ format('./internal/services/{0}/cmd', matrix.service) }}
CMD_PATH=${{ format('./internal/boundaries/{0}/cmd', matrix.service) }}
push: true
tags: latest
provenance: true
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ run:
tests: true

skip-dirs:
- "internal/services/shortdb/io_uring"
- "internal/boundaries/shortdb/shortdb/io_uring"

skip-files:
- ".*mocks.+"
Expand Down
4 changes: 2 additions & 2 deletions .run/api [http-chi].run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
</ENTRIES>
</EXTENSION>
<kind value="PACKAGE" />
<package value="github.com/shortlink-org/shortlink/internal/services/api-gateway/gateways/http-chi/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/boundaries/api/api-gateway/gateways/http-chi/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/api/api.go" />
<method v="2" />
</configuration>
</component>
</component>
6 changes: 3 additions & 3 deletions .run/auth.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<env name="GOEXPERIMENT" value="arenas,cgocheck2,loopvar" />
</envs>
<kind value="PACKAGE" />
<package value="github.com/shortlink-org/shortlink/internal/services/auth/cmd" />
<package value="github.com/shortlink-org/shortlink/internal/boundaries/auth/auth/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/internal/services/auth/cmd/auth.go" />
<filePath value="$PROJECT_DIR$/internal/boundaries/auth/auth/cmd/auth.go" />
<method v="2" />
</configuration>
</component>
</component>
4 changes: 2 additions & 2 deletions .run/backstage.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="backstage" type="js.build_tools.npm" folderName="nodejs/services">
<package-json value="$PROJECT_DIR$/internal/services/backstage/package.json" />
<package-json value="$PROJECT_DIR$/internal/boundaries/platform/backstage/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
Expand All @@ -11,4 +11,4 @@
</envs>
<method v="2" />
</configuration>
</component>
</component>
Loading

0 comments on commit 684d71d

Please sign in to comment.