Skip to content

Commit

Permalink
refactoring: global refactoring. use boundaries
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 f4e42ab commit de2d6f2
Show file tree
Hide file tree
Showing 1,331 changed files with 784 additions and 555 deletions.
70 changes: 15 additions & 55 deletions README.md

Large diffs are not rendered by default.

Binary file modified docs/shortlink-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ds/.gitkeep

This file was deleted.

10 changes: 10 additions & 0 deletions internal/boundaries/api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## API Boundary

| Service | Description | Language/Framework | Docs | Status |
|-----------------|--------------------------------|--------------------|---------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| api-cloudevents | Internal GateWay | Go | [docs](./internal/services/api-gateway/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-api-cloudevents&revision=true)](https://argo.shortlink.best/applications/shortlink-api-cloudevents) |
| api-graphql | Internal GateWay | Go | [docs](./internal/services/api-gateway/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-api-graphql&revision=true)](https://argo.shortlink.best/applications/shortlink-api-graphql) |
| api-grpc-web | Internal GateWay | Go | [docs](./internal/services/api-gateway/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-api-grpc-web&revision=true)](https://argo.shortlink.best/applications/shortlink-api-grpc-web) |
| api-http | Internal GateWay | Go | [docs](./internal/services/api-gateway/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-api-http&revision=true)](https://argo.shortlink.best/applications/shortlink-api-http) |
| api-ws | Websocket service | Go | [docs](./internal/services/api-gateway/gateways/ws/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-api-ws&revision=true)](https://argo.shortlink.best/applications/shortlink-api-ws) |
| bff-web | BFF for web | Go | [docs](./internal/services/bff-web/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-bff-web&revision=true)](https://argo.shortlink.best/applications/shortlink-bff-web) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions internal/boundaries/auth/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Auth boundary

| Service | Description | Language/Framework | Docs | Status |
|---------|------------------|--------------------|--------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| auth | Auth service | Go | [docs](./auth/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=auth&revision=true)](https://argo.shortlink.best/applications/auth) |


### Third-party Service

| Service | Description | Language/Framework | Docs | Status |
|------------|-------------------------------|--------------------|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| ory/kratos | User management service | Go | [docs](https://www.ory.sh/kratos/docs/) | [![App Status](https://argo.shortlink.best/api/badge?name=auth&revision=true)](https://argo.shortlink.best/applications/auth) |
| ory/hydra | OAuth 2.0 Provider | Go | [docs](https://www.ory.sh/keto/docs/) | [![App Status](https://argo.shortlink.best/api/badge?name=auth&revision=true)](https://argo.shortlink.best/applications/auth) |
| spiceDB | Permission management service | Go | [docs](https://authzed.com/docs) | [![App Status](https://argo.shortlink.best/api/badge?name=auth&revision=true)](https://argo.shortlink.best/applications/auth) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions internal/boundaries/chat/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Chat Boundary

| Bounded Context | Service | Description | Language/Framework | Docs | Status |
|------------------|------------|------------------|--------------------|-------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| Chat Boundary | chat | Chat service | Elixir (Phoenix) | [docs](./internal/services/chat/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-chat&revision=true)](https://argo.shortlink.best/applications/shortlink-chat) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions internal/boundaries/delivery/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Delivery Boundary

| Service | Description | Language/Framework | Docs | Status |
|----------|-------------------|--------------------|-----------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| merch | Merch store | Go (Dapr) | [docs](./internal/services/merch/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-merch&revision=true)](https://argo.shortlink.best/applications/shortlink-merch) |
| support | Support service | PHP | [docs](./internal/services/support/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-support&revision=true)](https://argo.shortlink.best/applications/shortlink-support) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions internal/boundaries/ds/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## DS boundaries
File renamed without changes.
7 changes: 7 additions & 0 deletions internal/boundaries/extension/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Extension Boundary

| Service | Description | Language/Framework | Docs | Status |
|-----------------------|----------------------|--------------------|-----------------------------------------------------------------------------|--------|
| chrome-extension | Chrome extension | JavaScript | [docs](./internal/extension/chrome-extension/README.md) | |
| ai-plugin | ChatGPT plugin | JSON | [docs](./ui/nx-monorepo/packages/landing/public/.well-known/ai-plugin.json) | |
| argocd-extension-docs | ArgoCD extension | JavaScript | [docs](./internal/extension/argocd-extension-docs/README.md) | |
6 changes: 6 additions & 0 deletions internal/boundaries/extension/ai-plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### ChatGPT || OpenAI

This service support [ChatGPT](https://chat.openai.com/chat) as plugin.
You can use it for ChatGPT by link `https://shortlink.best/.well-known/ai-plugin.json`

You can read official docs [here](https://platform.openai.com/docs/plugins/getting-started/running-a-plugin) for more information.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions internal/boundaries/link/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Link Boundary

| Service | Description | Language/Framework | Docs | Status |
|------------|--------------------------------------------|--------------------|---------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| link | Link service | Go | [docs](./internal/services/api-gateway/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-link&revision=true)](https://argo.shortlink.best/applications/shortlink-link) |
| proxy | Proxy service for redirect to original URL | TypeScript | [docs](./internal/services/proxy/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-proxy&revision=true)](https://argo.shortlink.best/applications/shortlink-proxy) |
| metadata | Parser site by API | Go | [docs](./internal/services/metadata/README.md) | [![App Status](https://argo.shortlink.best/api/badge?name=shortlink-metadata&revision=true)](https://argo.shortlink.best/applications/shortlink-metadata) |
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/shortlink-org/shortlink/internal/pkg/logger/config"
mockPermission "github.com/shortlink-org/shortlink/internal/services/link/application/link/mocks/authzed"
"github.com/shortlink-org/shortlink/internal/services/link/application/link/mocks/crud"
metadata "github.com/shortlink-org/shortlink/internal/services/link/application/link/mocks/metadata"
"github.com/shortlink-org/shortlink/internal/services/link/application/link/mocks/metadata"
"github.com/shortlink-org/shortlink/internal/services/link/application/link/mocks/mq"
v1 "github.com/shortlink-org/shortlink/internal/services/link/domain/link/v1"
metadata_rpc "github.com/shortlink-org/shortlink/internal/services/metadata/infrastructure/rpc/metadata/v1"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit de2d6f2

Please sign in to comment.