Skip to content
Snippets Groups Projects
Commit c3520d34 authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'GONRG-5890-Change-to-GC' into 'master'

GONRG-5890-Change-to-GC

See merge request !285
parents 048ddda7 aaef62a4
No related branches found
No related tags found
1 merge request!285GONRG-5890-Change-to-GC
Pipeline #145081 failed
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
## Does this introduce a change in the cloud provider implementation, if so which cloud? ## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS - [ ] AWS
- [ ] Azure - [ ] Azure
- [ ] GCP - [ ] Google Cloud
- [ ] IBM - [ ] IBM
## Does this introduce a breaking change? ## Does this introduce a breaking change?
......
...@@ -32,16 +32,16 @@ First you need to set variables in **values.yaml** file using any code editor. S ...@@ -32,16 +32,16 @@ First you need to set variables in **values.yaml** file using any code editor. S
**logLevel** | logging level | string | INFO | yes **logLevel** | logging level | string | INFO | yes
**springProfilesActive** | active spring profile | string | gcp | yes **springProfilesActive** | active spring profile | string | gcp | yes
### GCP variables ### Google Cloud variables
| Name | Description | Type | Default |Required | | Name | Description | Type | Default |Required |
|------|-------------|------|---------|---------| |------|-------------|------|---------|---------|
**entitlementsHost** | entitlements service host address | string | `http://entitlements` | yes **entitlementsHost** | entitlements service host address | string | `http://entitlements` | yes
**registerHost** | register service host address | string | `http://register` | yes **registerHost** | register service host address | string | `http://register` | yes
**partitionHost** | partition service host address | string | `http://partition` | yes **partitionHost** | partition service host address | string | `http://partition` | yes
**googleAudiences** | your GCP client ID | string | - | yes **googleAudiences** | your Google Cloud client ID | string | - | yes
> googleAudiences: If you are connected to GCP console with `gcloud auth application-default login --no-browser` from your terminal, you can get your client_id using the command: > googleAudiences: If you are connected to Google Cloud console with `gcloud auth application-default login --no-browser` from your terminal, you can get your client_id using the command:
```console ```console
cat ~/.config/gcloud/application_default_credentials.json | grep client_id cat ~/.config/gcloud/application_default_credentials.json | grep client_id
......
...@@ -38,8 +38,8 @@ In the current version, the OQM mapper is equipped with 2 drivers to the message ...@@ -38,8 +38,8 @@ In the current version, the OQM mapper is equipped with 2 drivers to the message
### Anthos Service Configuration: ### Anthos Service Configuration:
[Anthos service configuration ](docs/anthos/README.md) [Anthos service configuration ](docs/anthos/README.md)
### GCP Service Configuration: ### Google Cloud Service Configuration:
[Gcp service configuration ](docs/gcp/README.md) [Google Cloud service configuration ](docs/gcp/README.md)
## Run service ## Run service
...@@ -118,8 +118,8 @@ cd provider/notification-gcp/ && mvn spring-boot:run -Dspring-boot.run.profiles= ...@@ -118,8 +118,8 @@ cd provider/notification-gcp/ && mvn spring-boot:run -Dspring-boot.run.profiles=
#### Anthos: #### Anthos:
[Anthos Testing](docs/anthos/README.md) [Anthos Testing](docs/anthos/README.md)
#### GCP: #### Google Cloud:
[Gcp Testing](docs/gcp/README.md) [Google Cloud Testing](docs/gcp/README.md)
## Tutorial ## Tutorial
......
# Service Configuration for GCP # Service Configuration for Google Cloud
## Table of Contents <a name="TOC"></a> ## Table of Contents <a name="TOC"></a>
* [Environment variables](#Environment-variables) * [Environment variables](#Environment-variables)
......
...@@ -41,5 +41,5 @@ Notification integration tests are refactored so that the business logic for int ...@@ -41,5 +41,5 @@ Notification integration tests are refactored so that the business logic for int
* Integration tests are refactored into two pieces: Core and Provider. Core contains business logic for tests and is a dependency for executing the tests from provider module. To build the core module, simply navigate to `notification-test-core` directory and run `mvn clean install`. This will build the core module * Integration tests are refactored into two pieces: Core and Provider. Core contains business logic for tests and is a dependency for executing the tests from provider module. To build the core module, simply navigate to `notification-test-core` directory and run `mvn clean install`. This will build the core module
* Next, to execute the integration tests, navigate to the provider module and execute `mvn test` * Next, to execute the integration tests, navigate to the provider module and execute `mvn test`
### GCP ### Google Cloud
Instructions for running the GCP integration tests can be found [here](../provider/notification-gcp/README.md). Instructions for running the GC integration tests can be found [here](../provider/notification-gcp/README.md).
\ No newline at end of file \ No newline at end of file
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