Skip to content
Snippets Groups Projects
Commit 5eeb7a79 authored by Dmitrii Novikov (EPAM)'s avatar Dmitrii Novikov (EPAM) Committed by Riabokon Stanislav(EPAM)[GCP]
Browse files

GCP Clean up default config (GONRG-2599)

parent 39ccc0e5
No related branches found
No related tags found
2 merge requests!82Revert "Merge branch 'Add-pages-publishing' into 'master'",!70GCP Clean up default config (GONRG-2599)
...@@ -83,7 +83,7 @@ A sample output is shown below. ...@@ -83,7 +83,7 @@ A sample output is shown below.
}, },
"crmAccountID": { "crmAccountID": {
"sensitive": false, "sensitive": false,
"value": "["osdu","osdu"]" "value": ["osdu","osdu"]
} }
} }
``` ```
...@@ -94,6 +94,7 @@ A sample output is shown below. ...@@ -94,6 +94,7 @@ A sample output is shown below.
### Create a new partition<a name="create-partition"></a> ### Create a new partition<a name="create-partition"></a>
This api can be used to create a new partition. A plausible use case would be partition provisioning infrastructure script. This api can be used to create a new partition. A plausible use case would be partition provisioning infrastructure script.
The default namespace value of Cloud Datastore is `partition`.
``` ```
POST api/partition/v1/partitions/{partitionId} POST api/partition/v1/partitions/{partitionId}
``` ```
...@@ -136,7 +137,7 @@ curl --request POST \ ...@@ -136,7 +137,7 @@ curl --request POST \
}, },
"crmAccountID": { "crmAccountID": {
"sensitive": false, "sensitive": false,
"value": "["mypartition","mypartition"]" "value": ["mypartition","mypartition"]
} }
} }
}' }'
......
...@@ -5,7 +5,7 @@ server.servlet.contextPath=/api/partition/v1 ...@@ -5,7 +5,7 @@ server.servlet.contextPath=/api/partition/v1
server.port=8080 server.port=8080
springfox.documentation.swagger.v2.path=/api-docs springfox.documentation.swagger.v2.path=/api-docs
authorize-api=https://os-entitlements-gcp-jvmvia5dea-uc.a.run.app/entitlements/v1 authorize-api=https://os-entitlements-gcp-jvmvia5dea-uc.a.run.app/entitlements/v1
spring.cloud.gcp.datastore.namespace=partitiontest spring.cloud.gcp.datastore.namespace=partition
#ACCEPT_HTTP=true #ACCEPT_HTTP=true
cache-expiration=1 cache-expiration=1
......
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