Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Partition
Commits
31199116
Commit
31199116
authored
Jun 23, 2021
by
Riabokon Stanislav(EPAM)[GCP]
Browse files
Merge branch 'gcp/clean-up-default-config' into 'master'
GCP Clean up default config (GONRG-2599) See merge request
!70
parents
39ccc0e5
5eeb7a79
Pipeline
#47639
passed with stages
in 22 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/tutorial/gcp/Partition.md
View file @
31199116
...
...
@@ -83,7 +83,7 @@ A sample output is shown below.
},
"crmAccountID": {
"sensitive": false,
"value":
"
["osdu","osdu"]
"
"value": ["osdu","osdu"]
}
}
```
...
...
@@ -94,6 +94,7 @@ A sample output is shown below.
### 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.
The default namespace value of Cloud Datastore is
`partition`
.
```
POST api/partition/v1/partitions/{partitionId}
```
...
...
@@ -136,7 +137,7 @@ curl --request POST \
},
"crmAccountID": {
"sensitive": false,
"value":
"
["mypartition","mypartition"]
"
"value": ["mypartition","mypartition"]
}
}
}'
...
...
provider/partition-gcp/src/main/resources/application.properties
View file @
31199116
...
...
@@ -5,7 +5,7 @@ server.servlet.contextPath=/api/partition/v1
server.port
=
8080
springfox.documentation.swagger.v2.path
=
/api-docs
authorize-api
=
https://os-entitlements-gcp-jvmvia5dea-uc.a.run.app/entitlements/v1
spring.cloud.gcp.datastore.namespace
=
partition
test
spring.cloud.gcp.datastore.namespace
=
partition
#ACCEPT_HTTP=true
cache-expiration
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment