Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-unified-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-unified-api
Commits
969cc5b0
Commit
969cc5b0
authored
1 week ago
by
Gregor Schulz
Browse files
Options
Downloads
Patches
Plain Diff
mesh-events
parent
1369a3d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.envrc.local.template
+1
-0
1 addition, 0 deletions
.envrc.local.template
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
.meshrc.yml
+17
-0
17 additions, 0 deletions
.meshrc.yml
mprocs-start.sh
+1
-0
1 addition, 0 deletions
mprocs-start.sh
package.json
+3
-3
3 additions, 3 deletions
package.json
with
24 additions
and
3 deletions
.envrc.local.template
+
1
−
0
View file @
969cc5b0
...
@@ -25,6 +25,7 @@ export DONATIONS_API_URL=http://127.0.0.1:8001/graphql
...
@@ -25,6 +25,7 @@ export DONATIONS_API_URL=http://127.0.0.1:8001/graphql
export GOODNEWS_API_URL=http://127.0.0.1:8002/graphql
export GOODNEWS_API_URL=http://127.0.0.1:8002/graphql
export GEO_API_URL=http://127.0.0.1:8003/graphql
export GEO_API_URL=http://127.0.0.1:8003/graphql
export VOLUNTEERING_API_URL=http://127.0.0.1:8004/graphql
export VOLUNTEERING_API_URL=http://127.0.0.1:8004/graphql
export EVENTS_API_URL=http://127.0.0.1:8006/graphql
export NOTIFICATIONS_API_URL=http://127.0.0.1:8005/graphql
export NOTIFICATIONS_API_URL=http://127.0.0.1:8005/graphql
export TRANSLATION_API_URL=http://127.0.0.1:8089/graphql
export TRANSLATION_API_URL=http://127.0.0.1:8089/graphql
export MODERATION_BACKEND_URL=http://127.0.0.1:3001/graphql
export MODERATION_BACKEND_URL=http://127.0.0.1:3001/graphql
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
0
View file @
969cc5b0
...
@@ -166,6 +166,7 @@ development_build_mesh:
...
@@ -166,6 +166,7 @@ development_build_mesh:
GOODNEWS_API_URL
:
https://staging.goodnews.apis.holi.social/graphql
GOODNEWS_API_URL
:
https://staging.goodnews.apis.holi.social/graphql
OKUNA_URL
:
https://staging.social.apis.holi.social/graphql
OKUNA_URL
:
https://staging.social.apis.holi.social/graphql
VOLUNTEERING_API_URL
:
https://staging.volunteering.apis.holi.social/graphql
VOLUNTEERING_API_URL
:
https://staging.volunteering.apis.holi.social/graphql
EVENTS_API_URL
:
https://staging.events.apis.holi.social/graphql
NOTIFICATIONS_API_URL
:
https://staging.notifications.apis.holi.social/graphql
NOTIFICATIONS_API_URL
:
https://staging.notifications.apis.holi.social/graphql
TRANSLATION_API_URL
:
https://staging.translation.apis.holi.social/graphql
TRANSLATION_API_URL
:
https://staging.translation.apis.holi.social/graphql
MODERATION_BACKEND_URL
:
https://staging.moderation.apis.holi.social/graphql
MODERATION_BACKEND_URL
:
https://staging.moderation.apis.holi.social/graphql
...
@@ -276,6 +277,7 @@ production_build_mesh:
...
@@ -276,6 +277,7 @@ production_build_mesh:
GOODNEWS_API_URL
:
https://production.goodnews.apis.holi.social/graphql
GOODNEWS_API_URL
:
https://production.goodnews.apis.holi.social/graphql
OKUNA_URL
:
https://production.social.apis.holi.social/graphql
OKUNA_URL
:
https://production.social.apis.holi.social/graphql
VOLUNTEERING_API_URL
:
https://production.volunteering.apis.holi.social/graphql
VOLUNTEERING_API_URL
:
https://production.volunteering.apis.holi.social/graphql
EVENTS_API_URL
:
https://production.events.apis.holi.social/graphql
NOTIFICATIONS_API_URL
:
https://production.notifications.apis.holi.social/graphql
NOTIFICATIONS_API_URL
:
https://production.notifications.apis.holi.social/graphql
TRANSLATION_API_URL
:
https://production.translation.apis.holi.social/graphql
TRANSLATION_API_URL
:
https://production.translation.apis.holi.social/graphql
MODERATION_BACKEND_URL
:
https://moderation.apis.holi.social/graphql
MODERATION_BACKEND_URL
:
https://moderation.apis.holi.social/graphql
...
...
This diff is collapsed.
Click to expand it.
.meshrc.yml
+
17
−
0
View file @
969cc5b0
...
@@ -75,6 +75,23 @@ sources:
...
@@ -75,6 +75,23 @@ sources:
value
:
appVolunteering_
value
:
appVolunteering_
includeRootOperations
:
true
includeRootOperations
:
true
includeTypes
:
false
includeTypes
:
false
-
name
:
app-events
handler
:
graphql
:
endpoint
:
'
{env.EVENTS_API_URL}'
transforms
:
# Prefix for types
-
prefix
:
mode
:
wrap
value
:
AppEvents_
includeRootOperations
:
false
includeTypes
:
true
# Prefix for operations
-
prefix
:
mode
:
wrap
value
:
appEvents_
includeRootOperations
:
true
includeTypes
:
false
-
name
:
geo
-
name
:
geo
handler
:
handler
:
graphql
:
graphql
:
...
...
This diff is collapsed.
Click to expand it.
mprocs-start.sh
+
1
−
0
View file @
969cc5b0
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
../wait-for-port.sh 8003
../wait-for-port.sh 8003
../wait-for-port.sh 8004
../wait-for-port.sh 8004
../wait-for-port.sh 8005
../wait-for-port.sh 8005
../wait-for-port.sh 8006
../wait-for-port.sh 8089
../wait-for-port.sh 8089
../wait-for-port.sh 3001
# moderation backend
../wait-for-port.sh 3001
# moderation backend
yarn mesh build
yarn mesh build
...
...
This diff is collapsed.
Click to expand it.
package.json
+
3
−
3
View file @
969cc5b0
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
"main"
:
"ts-node server"
,
"main"
:
"ts-node server"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"yarn mesh build && cp logger.ts .mesh/ && OKUNA_URL=${OKUNA_URL:-http://127.0.0.1:8000/graphql} MODERATION_BACKEND_URL=${MODERATION_BACKEND_URL:-http://127.0.0.1:3001/graphql} DONATIONS_API_URL=${DONATIONS_API_URL:-http://127.0.0.1:8001/graphql} GOODNEWS_API_URL=${GOODNEWS_API_URL:-http://127.0.0.1:8002/graphql} GEO_API_URL=${GEO_API_URL:-http://127.0.0.1:8003/graphql} VOLUNTEERING_API_URL=${VOLUNTEERING_API_URL:-http://127.0.0.1:8004/graphql} NOTIFICATIONS_API_URL=${NOTIFICATIONS_API_URL:-http://127.0.0.1:8005/graphql} TRANSLATION_API_URL=${TRANSLATION_API_URL:-http://127.0.0.1:8089/graphql} MATRIX_SERVER_BASE_URL=${MATRIX_SERVER_BASE_URL:-http://127.0.0.1:8008} REDIS_HOST=${REDIS_HOST:-http://127.0.0.1} REDIS_PORT=${REDIS_PORT:-6380} REDIS_DB=${REDIS_DB:-5} DEBUG=1 ts-node server"
,
"dev"
:
"yarn mesh build && cp logger.ts .mesh/ && OKUNA_URL=${OKUNA_URL:-http://127.0.0.1:8000/graphql} MODERATION_BACKEND_URL=${MODERATION_BACKEND_URL:-http://127.0.0.1:3001/graphql} DONATIONS_API_URL=${DONATIONS_API_URL:-http://127.0.0.1:8001/graphql} GOODNEWS_API_URL=${GOODNEWS_API_URL:-http://127.0.0.1:8002/graphql} GEO_API_URL=${GEO_API_URL:-http://127.0.0.1:8003/graphql} VOLUNTEERING_API_URL=${VOLUNTEERING_API_URL:-http://127.0.0.1:8004/graphql} NOTIFICATIONS_API_URL=${NOTIFICATIONS_API_URL:-http://127.0.0.1:8005/graphql} TRANSLATION_API_URL=${TRANSLATION_API_URL:-http://127.0.0.1:8089/graphql}
EVENTS_API_URL=${EVENTS_API_URL:-http://127.0.0.1:8006/graphql}
MATRIX_SERVER_BASE_URL=${MATRIX_SERVER_BASE_URL:-http://127.0.0.1:8008} REDIS_HOST=${REDIS_HOST:-http://127.0.0.1} REDIS_PORT=${REDIS_PORT:-6380} REDIS_DB=${REDIS_DB:-5} DEBUG=1 ts-node server"
,
"build"
:
"OKUNA_URL=${OKUNA_URL:-http://127.0.0.1:8000/graphql} MODERATION_BACKEND_URL=${MODERATION_BACKEND_URL:-http://127.0.0.1:3001/graphql} DONATIONS_API_URL=${DONATIONS_API_URL:-http://127.0.0.1:8001/graphql} GOODNEWS_API_URL=${GOODNEWS_API_URL:-http://127.0.0.1:8002/graphql} GEO_API_URL=${GEO_API_URL:-http://127.0.0.1:8003/graphql} VOLUNTEERING_API_URL=${VOLUNTEERING_API_URL:-http://127.0.0.1:8004/graphql} NOTIFICATIONS_API_URL=${NOTIFICATIONS_API_URL:-http://127.0.0.1:8005/graphql} TRANSLATION_API_URL=${TRANSLATION_API_URL:-http://127.0.0.1:8089/graphql} REDIS_HOST=${REDIS_HOST:-http://127.0.0.1} REDIS_PORT=${REDIS_PORT:-6380} REDIS_DB=${REDIS_DB:-5} DEBUG=1 mesh build"
,
"build"
:
"OKUNA_URL=${OKUNA_URL:-http://127.0.0.1:8000/graphql} MODERATION_BACKEND_URL=${MODERATION_BACKEND_URL:-http://127.0.0.1:3001/graphql} DONATIONS_API_URL=${DONATIONS_API_URL:-http://127.0.0.1:8001/graphql} GOODNEWS_API_URL=${GOODNEWS_API_URL:-http://127.0.0.1:8002/graphql} GEO_API_URL=${GEO_API_URL:-http://127.0.0.1:8003/graphql} VOLUNTEERING_API_URL=${VOLUNTEERING_API_URL:-http://127.0.0.1:8004/graphql} NOTIFICATIONS_API_URL=${NOTIFICATIONS_API_URL:-http://127.0.0.1:8005/graphql} TRANSLATION_API_URL=${TRANSLATION_API_URL:-http://127.0.0.1:8089/graphql}
EVENTS_API_URL=${EVENTS_API_URL:-http://127.0.0.1:8006/graphql}
REDIS_HOST=${REDIS_HOST:-http://127.0.0.1} REDIS_PORT=${REDIS_PORT:-6380} REDIS_DB=${REDIS_DB:-5} DEBUG=1 mesh build"
,
"serve"
:
"OKUNA_URL=${OKUNA_URL:-http://127.0.0.1:8000/graphql} MODERATION_BACKEND_URL=${MODERATION_BACKEND_URL:-http://127.0.0.1:3001/graphql} DONATIONS_API_URL=${DONATIONS_API_URL:-http://127.0.0.1:8001/graphql} GOODNEWS_API_URL=${GOODNEWS_API_URL:-http://127.0.0.1:8002/graphql} GEO_API_URL=${GEO_API_URL:-http://127.0.0.1:8003/graphql} VOLUNTEERING_API_URL=${VOLUNTEERING_API_URL:-http://127.0.0.1:8004/graphql} NOTIFICATIONS_API_URL=${NOTIFICATIONS_API_URL:-http://127.0.0.1:8005/graphql} TRANSLATION_API_URL=${TRANSLATION_API_URL:-http://127.0.0.1:8089/graphql} MATRIX_SERVER_BASE_URL=${MATRIX_SERVER_BASE_URL:-http://127.0.0.1:8008} REDIS_HOST=${REDIS_HOST:-http://127.0.0.1} REDIS_PORT=${REDIS_PORT:-6380} REDIS_DB=${REDIS_DB:-5} DEBUG=1 ts-node server"
,
"serve"
:
"OKUNA_URL=${OKUNA_URL:-http://127.0.0.1:8000/graphql} MODERATION_BACKEND_URL=${MODERATION_BACKEND_URL:-http://127.0.0.1:3001/graphql} DONATIONS_API_URL=${DONATIONS_API_URL:-http://127.0.0.1:8001/graphql} GOODNEWS_API_URL=${GOODNEWS_API_URL:-http://127.0.0.1:8002/graphql} GEO_API_URL=${GEO_API_URL:-http://127.0.0.1:8003/graphql} VOLUNTEERING_API_URL=${VOLUNTEERING_API_URL:-http://127.0.0.1:8004/graphql} NOTIFICATIONS_API_URL=${NOTIFICATIONS_API_URL:-http://127.0.0.1:8005/graphql} TRANSLATION_API_URL=${TRANSLATION_API_URL:-http://127.0.0.1:8089/graphql}
EVENTS_API_URL=${EVENTS_API_URL:-http://127.0.0.1:8006/graphql}
MATRIX_SERVER_BASE_URL=${MATRIX_SERVER_BASE_URL:-http://127.0.0.1:8008} REDIS_HOST=${REDIS_HOST:-http://127.0.0.1} REDIS_PORT=${REDIS_PORT:-6380} REDIS_DB=${REDIS_DB:-5} DEBUG=1 ts-node server"
,
"lint"
:
"echo 'nothing to be linted ATM'"
,
"lint"
:
"echo 'nothing to be linted ATM'"
,
"test"
:
"jest"
,
"test"
:
"jest"
,
"clean"
:
"npx rimraf .mesh && npx rimraf node_modules"
,
"clean"
:
"npx rimraf .mesh && npx rimraf node_modules"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment