mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-03 04:10:43 +00:00
fix(docs): datahub cli docs have the wrong case for corpuser (#3717)
This commit is contained in:
parent
5d8c813684
commit
27f7603e9e
@ -156,11 +156,11 @@ The JSON in the `ownership.json` file needs to conform to the [`Ownership`](http
|
||||
{
|
||||
"owners": [
|
||||
{
|
||||
"owner": "urn:li:corpUser:jdoe",
|
||||
"owner": "urn:li:corpuser:jdoe",
|
||||
"type": "DEVELOPER"
|
||||
},
|
||||
{
|
||||
"owner": "urn:li:corpUser:jdub",
|
||||
"owner": "urn:li:corpuser:jdub",
|
||||
"type": "DATAOWNER"
|
||||
}
|
||||
]
|
||||
@ -171,6 +171,6 @@ The JSON in the `ownership.json` file needs to conform to the [`Ownership`](http
|
||||
datahub --debug put --urn "urn:li:dataset:(urn:li:dataPlatform:hive,SampleHiveDataset,PROD)" --aspect ownership -d ownership.json
|
||||
|
||||
[DATE_TIMESTAMP] DEBUG {datahub.cli.cli_utils:340} - Attempting to emit to DataHub GMS; using curl equivalent to:
|
||||
curl -X POST -H 'User-Agent: python-requests/2.26.0' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' -H 'X-RestLi-Protocol-Version: 2.0.0' -H 'Content-Type: application/json' --data '{"proposal": {"entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:hive,SampleHiveDataset,PROD)", "aspectName": "ownership", "changeType": "UPSERT", "aspect": {"contentType": "application/json", "value": "{\"owners\": [{\"owner\": \"urn:li:corpUser:jdoe\", \"type\": \"DEVELOPER\"}, {\"owner\": \"urn:li:corpUser:jdub\", \"type\": \"DATAOWNER\"}]}"}}}' 'http://localhost:8080/aspects/?action=ingestProposal'
|
||||
curl -X POST -H 'User-Agent: python-requests/2.26.0' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' -H 'X-RestLi-Protocol-Version: 2.0.0' -H 'Content-Type: application/json' --data '{"proposal": {"entityType": "dataset", "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:hive,SampleHiveDataset,PROD)", "aspectName": "ownership", "changeType": "UPSERT", "aspect": {"contentType": "application/json", "value": "{\"owners\": [{\"owner\": \"urn:li:corpuser:jdoe\", \"type\": \"DEVELOPER\"}, {\"owner\": \"urn:li:corpuser:jdub\", \"type\": \"DATAOWNER\"}]}"}}}' 'http://localhost:8080/aspects/?action=ingestProposal'
|
||||
Update succeeded with status 200
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user