Skip to content

Commit

Permalink
feat(sandbox): example of pubnub as a provider in notification service
Browse files Browse the repository at this point in the history
MIGRATION CHANGE:
migration-20210716062747- notification migration
migration-20210501132806- notification migration

gh-208
  • Loading branch information
yeshamavani committed Aug 25, 2021
1 parent 941cf88 commit 2f94db1
Show file tree
Hide file tree
Showing 48 changed files with 9,131 additions and 127 deletions.
8 changes: 7 additions & 1 deletion packages/core/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@
"ENOENT": " no such file or directory, open '/home/samarpan/projects/loopback/loopback4-microservice-catalog/services/authentication-service/public/index.html'",
"The key 'sf.clientAuthentication.currentClient' is not bound to any value in context RequestContext-yWsyEvu3TeGuly75aFbRdg-13 (context": " RequestContext-yWsyEvu3TeGuly75aFbRdg-13, binding: sf.clientAuthentication.currentClient, resolutionPath: controllers.LoginController --> @LoginController.constructor[0])",
"Client Invalid": "Client Invalid",
"host is required": "host is required"
"host is required": "host is required",
"Cannot read property 'toLowerCase' of undefined": "Cannot read property 'toLowerCase' of undefined",
"The `users` instance is not valid. Details": " `firstName` can't be blank (value: undefined).",
"Pubnub Config missing !": "Pubnub Config missing !",
"Pubnub returned with error ! {\"name\"": "\"PubNubError\",\"status\":{\"message\":\"Missing Channel\",\"type\":\"validationError\",\"error\":true}}",
"AWS SES Config missing !": "AWS SES Config missing !",
"invalid input syntax for type uuid": " \"{\"to\":[{\"id\":\"14335492-38b6-2520-f1ab-b1b73aa5214c\",\"name\":\"Admin User\",\"type\":0}]}\""
}
2 changes: 1 addition & 1 deletion sandbox/auth-ms-basic-example/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DB_HOST=
DB_PORT=
DB_USER=
DB_PASSWORD=
DB_NAME=
DB_DATABASE=
REDIS_HOST=
REDIS_PORT=
REDIS_PASSWORD=
Expand Down
2 changes: 1 addition & 1 deletion sandbox/auth-ms-basic-example/database.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"ENV": "DB_PASSWORD"
},
"database": {
"ENV": "DB_NAME"
"ENV": "DB_DATABASE"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const config = {
port: process.env.DB_PORT,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
database: process.env.DB_NAME,
database: process.env.DB_DATABASE,
schema: 'main',
};

Expand Down
Loading

0 comments on commit 2f94db1

Please sign in to comment.