@@ -24,6 +24,7 @@ In order to run the service locally or remotely, you will need to have the follo
| `GCP_BACKUP_BUCKET` | ex `osdu-cicd-epam-backup-service` | Storage bucket for backups | no | https://console.cloud.google.com/storage |
| `GCP_PROJECT_ID` | ex `osdu-cicd-epam` | GCP project id | no | - |
| `GOOGLE_APPLICATION_CREDENTIALS` | ex `/path/to/directory/service-key.json` | Service account credentials, you only need this if running locally | yes | https://console.cloud.google.com/iam-admin/serviceaccounts |
| `SPRING_CLOUD_GCP_DATASTORE_NAMESPACE` | ex `opendes` | The namespace of the datastore to keep backup configurations | no | |
| `SPRING_CLOUD_GCP_SQL_DATABASENAME` | ex `postgres` | The name of the database to connect | yes | |
| `SPRING_CLOUD_GCP_SQL_INSTANCECONNECTIONNAME` | ex `xxx-xx-xxxx:us-central1:test-mysql` | Connection name | yes | |
| `GCP_SQL_BACKUP_KIND` | ex `sql#backupRun` | | yes | |
...
...
@@ -117,25 +118,18 @@ cd provider/backup-gcp && mvn spring-boot:run
| name | value | description | sensitive? | source |
| --- | --- | --- | --- | --- |
| `BACKUP_SERVICE_HOST` | ex`http://localhost:8080/backup/v1` | Service endpoint | no | - |
| `BACKUP_SERVICE_HOST` | ex`http://localhost:8080` | Service endpoint | no | - |
| `DATA_PARTITION_ID` | `opendes` | OSDU tenant used for testing | no | - |
| `INTEGRATION_TESTER` | ex`/path/to/directory/service-key.json` | Service account .json for API calls. Note: this user must have entitlements configured already | yes | https://console.cloud.google.com/iam-admin/serviceaccounts |
| `NO_DATA_ACCESS_TESTER` | ex`/path/to/directory/service-key.json` | Service account .json without data access | yes | https://console.cloud.google.com/iam-admin/serviceaccounts |
| `GCP_DEPLOY_FILE` | ex`/path/to/directory/service-key.json` | Service account for test data tear down, must have cloud role configured | yes | https://console.cloud.google.com/iam-admin/serviceaccounts |
| `INTEGRATION_TESTER` | ex`ew0KIC***` | Service account for API calls as Base64 encoded string | yes | https://console.cloud.google.com/iam-admin/serviceaccounts |