Skip to content
Snippets Groups Projects
Commit 87c2eb7b authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Merge branch 'rename-legaltags-changed-topic' into 'master'

Renamed legaltags-changed topic

See merge request !319
parents ad89a442 9a340a57
No related branches found
No related tags found
1 merge request!319Renamed legaltags-changed topic
Pipeline #169568 passed with warnings
......@@ -37,6 +37,16 @@ and usage in mixed mode was not tested. Usage of spring profiles is preferred.
| `SERVICE_TOKEN_PROVIDER` | `GCP` or `OPENID` |Service account token provider, `GCP` means use Google service account `OPEIND` means use OpenId provider like `Keycloak` | no | - |
| `KMSCLIENT` | `gcp-kms`| Kms client mode that defines which encryption mechanism will be used. In case of `gcp-kms` Cloud KMS is used | no | - |
### Running Locally
Mandatory variables to run service, others are located into local spring profile default env configuration.
| name | value | description | sensitive? | source |
|----------------------------------|------------|---------------------------------------------------------------------------------|------------|-------------------------------------|
| `SPRING_PROFILES_ACTIVE` | `local` | Spring profile that activate default configuration for Google Cloud environment | false | - |
| `GOOGLE_APPLICATION_CREDENTIALS` | `********` | Google Cloud service account | yes | - |
| `SUBSCRIBER_PRIVATE_KEY_ID` | `********` | Private key requires for challenge endpoint | yes | output of infrastructure deployment |
## Testing
Navigate to register service's root folder and run all the tests:
......
LOG_LEVEL=DEBUG
ENVIRONMENT=LOCAL
CRON_JOB_EXPECTED_IP=0:0:0:0:0:0:0:1
ENTITLEMENTS_API=https://entitlements-dot-opendes.appspot.com/entitlements/v1
STORAGE_API=https://os-storage-dot-opendes.appspot.com/api/storage/v2
RECORDS_CHANGE_PUBSUB_ENDPOINT=https://os-notification-dot-opendes.appspot.com/push-handlers/records-changed
GOOGLE_CLOUD_PROJECT=opendes
GOOGLE_CLOUD_PROJECT=nice-etching-277309
GCLOUD_REGION=us-central
# auth config
SUBSCRIBER_SECRET=7a786376626e
SUBSCRIBER_PRIVATE_KEY_ID=testkey
enable.appengine.log.factory=false
osmDriver=datastore
\ No newline at end of file
SUBSCRIBER_PRIVATE_KEY_ID=take-from-config
# drivers config
osmDriver=datastore
oqmDriver=pubsub
# external services
PARTITION_API=https://community.gcp.gnrg-osdu.projects.epam.com/api/partition/v1
ENTITLEMENTS_API=https://community.gcp.gnrg-osdu.projects.epam.com/api/entitlements/v2
STORAGE_API=https://community.gcp.gnrg-osdu.projects.epam.com/api/storage/v2
google-cloud-project=${GOOGLE_CLOUD_PROJECT}
key-ring=${KEY_RING}
kms-key=${KMS_KEY}
kmsClient=gcp-kms
KEY_RING=csqp
KMS_KEY=registerService
......@@ -74,7 +74,7 @@
]
},
{
"name": "legaltags_changed",
"name": "legaltags-changed",
"description": "This notification is sent whenever a new legaltag is created, updated or deleted.",
"state": "ACTIVE",
"example": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment