... | ... | @@ -42,8 +42,8 @@ From the Storage Service perspective, the metadata to be ingested is called __re |
|
|
"id": "common:hello:123456",
|
|
|
"kind": "common:test:hello:1.0.0",
|
|
|
"acl": {
|
|
|
"viewers": ["data.default.viewers@common.delfi.slb.com"],
|
|
|
"owners": ["data.default.owners@common.delfi.slb.com"]
|
|
|
"viewers": ["data.default.viewers@instance.osdu.opengroup.org"],
|
|
|
"owners": ["data.default.owners@instance.osdu.opengroup.org"]
|
|
|
},
|
|
|
"legal": {
|
|
|
"legaltags": ["common-sample-legaltag"],
|
... | ... | @@ -153,7 +153,7 @@ curl --request POST \ |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
The schema is basically composed by a list of path/kinds pairs where the record fields are related to their data type. For more information about the supported schema data types, please refer to the [Schema API documentation](/solutions/dataecosystem/apis/p4d-data-ecosystem-storage-service).
|
|
|
The schema is basically composed by a list of path/kinds pairs where the record fields are related to their data type. For more information about the supported schema data types, please refer to the [Schema API documentation](/solutions/dataecosystem/apis/instance.osdu.opengroup.org-storage-service).
|
|
|
|
|
|
### Creating the legal tag <a name="Creating-the-legal-tag"></a>
|
|
|
Please refer to [Compliance Service](/solutions/dataecosystem/tutorials/complianceservice) for legal tag creation. For this example, let's assume a legal tag called ``delfi-well-legal`` is created already.
|
... | ... | @@ -168,8 +168,8 @@ After the legal tag creation and schema definition, the records of the kind ``co |
|
|
{
|
|
|
"kind": "common:welldb:wellbore:1.0.0",
|
|
|
"acl": {
|
|
|
"viewers": ['data.default.viewers@common.delfi.slb.com'],
|
|
|
"owners": ['data.default.owners@common.delfi.slb.com']
|
|
|
"viewers": ['data.default.viewers@instance.osdu.opengroup.org'],
|
|
|
"owners": ['data.default.owners@instance.osdu.opengroup.org']
|
|
|
},
|
|
|
"legal": {
|
|
|
"legaltags": ['common-sample-legaltag'],
|
... | ... | @@ -206,8 +206,8 @@ curl --request PUT \ |
|
|
{
|
|
|
"kind": "common:welldb:wellbore:1.0.0",
|
|
|
"acl": {
|
|
|
"viewers": ['data.default.viewers@common.delfi.slb.com'],
|
|
|
"owners": ['data.default.owners@common.delfi.slb.com']
|
|
|
"viewers": ['data.default.viewers@instance.osdu.opengroup.org'],
|
|
|
"owners": ['data.default.owners@instance.osdu.opengroup.org']
|
|
|
},
|
|
|
"legal": {
|
|
|
"legaltags": ['common-sample-legaltag'],
|
... | ... | @@ -226,8 +226,8 @@ curl --request PUT \ |
|
|
{
|
|
|
"kind": "common:welldb:wellbore:1.0.0",
|
|
|
"acl": {
|
|
|
"viewers": ['data.default.viewers@common.delfi.slb.com'],
|
|
|
"owners": ['data.default.owners@common.delfi.slb.com']
|
|
|
"viewers": ['data.default.viewers@instance.osdu.opengroup.org'],
|
|
|
"owners": ['data.default.owners@instance.osdu.opengroup.org']
|
|
|
},
|
|
|
"legal": {
|
|
|
"legaltags": ['common-sample-legaltag'],
|
... | ... | @@ -452,7 +452,7 @@ Based on design decisions, when the Storage service caller is a federated user, |
|
|
- Go to IAM & admin > service accounts;
|
|
|
- Select the caller service account;
|
|
|
- In the right-hand side Permissions panel, click at "Add member" button;
|
|
|
- In the member text box add the following email ``{DATA_ECOSYSTEM_PROJECT}@appspot.gserviceaccount.com``. For instance, in P4D enviroment the member email is ``p4d-ddl-eu-services@appspot.gserviceaccount.com``;
|
|
|
- In the member text box add the following email ``{DATA_ECOSYSTEM_PROJECT}@appspot.gserviceaccount.com``. For instance, in enviroment the member email is ``instance.osdu.opengroup.org@appspot.gserviceaccount.com``;
|
|
|
- Select the role ``Service Accounts`` > ``Service Account Token Creator``.
|
|
|
|
|
|
[Back to table of contents](#TOC)
|
... | ... | |