Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
artifacts
coverage
.jitar
dist
dist-ssr
*.local
node_modules

# Editor directories and files
!.vscode/extensions.json
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
min-release-age=4
2 changes: 0 additions & 2 deletions .nvmrc

This file was deleted.

33 changes: 0 additions & 33 deletions changelog.hbs

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions deployment/segments/common.bff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"./common/domain/tenant/getByOriginConverted": { "default": { "access": "public" } }
}
3 changes: 3 additions & 0 deletions deployment/segments/common.reads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"./common/domain/tenant/getByOrigin": { "default": { "access": "protected" }, "TenantNotFound": { } }
}
46 changes: 46 additions & 0 deletions deployment/segments/social.bff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"./social/domain/authentication/getLoginUrl": { "default": { "access": "public" } },
"./social/domain/authentication/login": { "default": { "access": "public" } },
"./social/domain/authentication/logout": { "default": { "access": "public" } },

"./social/domain/creator/aggregate": { "default": { "access": "private" }},
"./social/domain/creator/getByIdAggregated": { "default": { "access": "private" } },
"./social/domain/creator/getByNicknameAggregated": { "default": { "access": "public" } },
"./social/domain/creator/getMeAggregated": { "default": { "access": "public" } },
"./social/domain/creator/updateFullName": { "default": { "access": "public" } },
"./social/domain/creator/updateNickname": { "default": { "access": "public" } },

"./social/domain/creator.metrics/create": { "subscriptions": { "access": "private" } },
"./social/domain/creator.metrics/updateFollowers": { "subscriptions": { "access": "private" } },
"./social/domain/creator.metrics/updateFollowing": { "subscriptions": { "access": "private" } },
"./social/domain/creator.metrics/updatePosts": { "subscriptions": { "access": "private" } },

"./social/domain/notification/aggregate": { "default": { "access": "private" } },
"./social/domain/notification/notify": { "subscriptions": { "access": "private" } },
"./social/domain/notification/getRecentAggregated": { "default": { "access": "public" } },

"./social/domain/post/aggregate": { "default": { "access": "private" } },
"./social/domain/post/create": { "default": { "access": "private" }, "subscribe": { "access": "private" } },
"./social/domain/post/createWithComic": { "default": { "access": "public" } },
"./social/domain/post/createWithComment": { "default": { "access": "public" } },
"./social/domain/post/getByCreatorAggregated": { "default": { "access": "public" } },
"./social/domain/post/getByFollowingAggregated": { "default": { "access": "public" } },
"./social/domain/post/exploreAggregated": { "default": { "access": "public" } },
"./social/domain/post/getByIdAggregated": { "default": { "access": "public" } },
"./social/domain/post/getByParentAggregated": { "default": { "access": "public" } },
"./social/domain/post/getRecommendedAggregated": { "default": { "access": "public"}},
"./social/domain/post/remove": { "default": { "access": "public" }, "subscribe": { "access": "private" } },

"./social/domain/post.metrics/create": { "subscriptions": { "access": "private" } },
"./social/domain/post.metrics/updateRatings": { "subscriptions": { "access": "private" } },
"./social/domain/post.metrics/updateReactions": { "subscriptions": { "access": "private" } },

"./social/domain/rating/toggle": { "default": { "access": "public" }, "subscribe": { "access": "private" } },

"./social/domain/relation/aggregate": { "default": { "access": "private" }},
"./social/domain/relation/exploreAggregated": { "default": { "access": "public" } },
"./social/domain/relation/establish": { "default": { "access": "public" }, "subscribe": { "access": "private" } },
"./social/domain/relation/getAggregated": { "default": { "access": "public" } },
"./social/domain/relation/getFollowersAggregated": { "default": { "access": "public" } },
"./social/domain/relation/getFollowingAggregated": { "default": { "access": "public" } }
}
6 changes: 6 additions & 0 deletions deployment/segments/social.notification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"./social/domain/notification/create": { "default": { "access": "protected" } },
"./social/domain/notification/getByPostId": { "default": { "access": "protected" } },
"./social/domain/notification/getRecent": { "default": { "access": "protected" } },
"./social/domain/notification/remove": { "default": { "access": "protected" } }
}
36 changes: 36 additions & 0 deletions deployment/segments/social.reads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"./social/domain/comic/getById": { "default": { "access": "protected" } },

"./social/domain/comment/getById": { "default": { "access": "protected" } },

"./social/domain/creator/generateNickname/retrieveByNickname": { "default": { "access": "protected" } },
"./social/domain/creator/generateNickname/retrieveByStartNickname": { "default": { "access": "protected" } },
"./social/domain/creator/getByEmail": { "default": { "access": "protected" } },
"./social/domain/creator/getById": { "default": { "access": "protected" } },
"./social/domain/creator/getByNickname": { "default": { "access": "protected" } },
"./social/domain/creator/getMe": { "default": { "access": "protected" } },
"./social/domain/creator/getOthers": { "default": { "access": "private" }},
"./social/domain/creator/updateNickname/retrieveByNickname": { "default": { "access": "protected" } },

"./social/domain/creator.metrics/getByCreator": { "default": { "access": "protected" } },

"./social/domain/image/getById": { "default": { "access": "protected" } },

"./social/domain/post/explore": { "default": { "access": "protected" } },
"./social/domain/post/getByCreator": { "default": { "access": "protected" } },
"./social/domain/post/getByFollowing": { "default": { "access": "protected" } },
"./social/domain/post/getById": { "default": { "access": "protected" } },
"./social/domain/post/getByParent": { "default": { "access": "protected" } },
"./social/domain/post/getRecommended": { "default": { "access": "protected" } },

"./social/domain/post.metrics/getByPost": { "default": { "access": "protected" } },

"./social/domain/rating/exists": { "default": { "access": "protected" } },
"./social/domain/rating/toggle/getData": { "default": { "access": "protected" } },

"./social/domain/relation/exists": { "default": { "access": "protected" } },
"./social/domain/relation/explore": { "default": { "access": "protected" } },
"./social/domain/relation/get": { "default": { "access": "protected" } },
"./social/domain/relation/getFollowers": { "default": { "access": "protected" } },
"./social/domain/relation/getFollowing": { "default": { "access": "protected" } }
}
32 changes: 32 additions & 0 deletions deployment/segments/social.writes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"./social/domain/comic/create/insertData": { "default": { "access": "protected" } },
"./social/domain/comic/erase": { "default": { "access": "protected" } },

"./social/domain/comment/create": { "default": { "access": "protected" } },
"./social/domain/comment/erase": { "default": { "access": "protected" } },

"./social/domain/creator/create": { "default": { "access": "protected" } },
"./social/domain/creator/erase": { "default": { "access": "protected" } },
"./social/domain/creator/update": { "default": { "access": "protected" } },

"./social/domain/creator.metrics/create/insertData": { "default": { "access": "protected" } },
"./social/domain/creator.metrics/update": { "default": { "access": "protected" } },

"./social/domain/image/erase": { "default": { "access": "protected" } },
"./social/domain/image/save": { "default": { "access": "protected" } },

"./social/domain/post/create/insertData": { "default": { "access": "protected" } },
"./social/domain/post/erase": { "default": { "access": "protected" } },
"./social/domain/post/remove/deleteData": { "default": { "access": "protected" }},
"./social/domain/post/remove/undeleteData": { "default": { "access": "protected" }},
"./social/domain/post/update": { "default": { "access": "protected" } },

"./social/domain/post.metrics/create/insertData": { "default": { "access": "protected" } },
"./social/domain/post.metrics/update": { "default": { "access": "protected" } },

"./social/domain/rating/create": { "default": { "access": "protected" } },
"./social/domain/rating/erase": { "default": { "access": "protected" } },

"./social/domain/relation/create": { "default": { "access": "protected" } },
"./social/domain/relation/erase": { "default": { "access": "protected" } }
}
40 changes: 40 additions & 0 deletions deployment/services/demonstration/social.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"url": "http://127.0.0.1:3000",
"setUp": [
"./common/integrations/authentication/setUp",
"./common/integrations/database/setUp",
"./common/integrations/fileStore/setUp",
"./common/integrations/eventBroker/setUp"
],
"tearDown": [
"./common/integrations/authentication/tearDown",
"./common/integrations/database/tearDown",
"./common/integrations/fileStore/tearDown",
"./common/integrations/eventBroker/tearDown"
],
"healthChecks": [
"./common/integrations/database/healthCheck",
"./common/integrations/fileStore/healthCheck",
"./common/integrations/eventBroker/healthCheck"
],
"middleware": [
"./common/integrations/authentication/originMiddleware",
"./common/integrations/authentication/authenticationMiddleware",
"./common/integrations/tenancy/tenantMiddleware"
],
"standalone":
{
"segments": [
"common.bff",
"common.reads",
"social.bff",
"social.notification",
"social.reads",
"social.writes"
],

"serveIndexOnNotFound": true,
"assetRoot": "./social/app",
"assets": ["index.html", "assets/**/*", "registerSW.js", "sw.js", "workbox-*.js", "manifest.webmanifest" ]
}
}
36 changes: 36 additions & 0 deletions deployment/services/development/worker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"url": "http://127.0.0.1:3000",
"setUp": [
"./common/integrations/authentication/setUp",
"./common/integrations/database/setUp",
"./common/integrations/fileStore/setUp",
"./common/integrations/eventBroker/setUp"
],
"tearDown": [
"./common/integrations/authentication/tearDown",
"./common/integrations/database/tearDown",
"./common/integrations/fileStore/tearDown",
"./common/integrations/eventBroker/tearDown"
],
"healthChecks": [
"./common/integrations/database/healthCheck",
"./common/integrations/fileStore/healthCheck",
"./common/integrations/eventBroker/healthCheck"
],
"middleware": [
"./common/integrations/authentication/originMiddleware",
"./common/integrations/authentication/authenticationMiddleware",
"./common/integrations/tenancy/tenantMiddleware"
],
"worker":
{
"segments": [
"common.bff",
"common.reads",
"social.bff",
"social.notification",
"social.reads",
"social.writes"
]
}
}
25 changes: 25 additions & 0 deletions deployment/services/production/bff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"url": "http://127.0.0.1:4000",
"setUp": [
"./common/integrations/authentication/setUp",
"./common/integrations/eventBroker/setUp"
],
"tearDown": [
"./common/integrations/authentication/tearDown",
"./common/integrations/eventBroker/tearDown"
],
"healthChecks": [
"./common/integrations/eventBroker/healthCheck"
],
"middleware": [
"./common/integrations/authentication/originMiddleware",
"./common/integrations/authentication/authenticationMiddleware",
"./common/integrations/tenancy/tenantMiddleware"
],
"worker":
{
"gateway": "http://127.0.0.1:2000",
"trustKey": "${JITAR_TRUST_KEY}",
"segments": ["common.bff", "social.bff"]
}
}
File renamed without changes.
9 changes: 9 additions & 0 deletions deployment/services/production/insights-app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "http://127.0.0.1:1000",
"repository":
{
"serveIndexOnNotFound": true,
"assetRoot": "./insights/app",
"assets": ["index.html", "assets/**/*", "registerSW.js", "sw.js", "workbox-*.js", "manifest.webmanifest" ]
}
}
9 changes: 9 additions & 0 deletions deployment/services/production/moderation-app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "http://127.0.0.1:1000",
"repository":
{
"serveIndexOnNotFound": true,
"assetRoot": "./moderation/app",
"assets": ["index.html", "assets/**/*", "registerSW.js", "sw.js", "workbox-*.js", "manifest.webmanifest" ]
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"url": "http://127.0.0.1:4001",
"setUp": [
"./integrations/database/setUp"
"./common/integrations/database/setUp"
],
"tearDown": [
"./integrations/database/tearDown"
"./common/integrations/database/tearDown"
],
"healthChecks": [
"./integrations/database/healthCheck"
"./common/integrations/database/healthCheck"
],
"worker":
{
"gateway": "http://127.0.0.1:2000",
"trustKey": "${JITAR_TRUST_KEY}",
"segments": ["notification"]
"segments": ["social.notification"]
}
}
File renamed without changes.
21 changes: 21 additions & 0 deletions deployment/services/production/reads.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"url": "http://127.0.0.1:4002",
"setUp": [
"./common/integrations/database/setUp",
"./common/integrations/fileStore/setUp"
],
"tearDown": [
"./common/integrations/database/tearDown",
"./common/integrations/fileStore/tearDown"
],
"healthChecks": [
"./common/integrations/database/healthCheck",
"./common/integrations/fileStore/healthCheck"
],
"worker":
{
"gateway": "http://127.0.0.1:2000",
"trustKey": "${JITAR_TRUST_KEY}",
"segments": ["common.reads", "social.reads"]
}
}
21 changes: 21 additions & 0 deletions deployment/services/production/reads2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"url": "http://127.0.0.1:4003",
"setUp": [
"./common/integrations/database/setUp",
"./common/integrations/fileStore/setUp"
],
"tearDown": [
"./common/integrations/database/tearDown",
"./common/integrations/fileStore/tearDown"
],
"healthChecks": [
"./common/integrations/database/healthCheck",
"./common/integrations/fileStore/healthCheck"
],
"worker":
{
"gateway": "http://127.0.0.1:2000",
"trustKey": "${JITAR_TRUST_KEY}",
"segments": ["common.reads", "social.reads"]
}
}
Loading
Loading