Closed pedropaulovc closed 3 years ago
Thanks @pedropaulovc. Just updated purviewcli (0.1.15) to align with the recent documentation on the Scanning Data Plane. Please see updated scan notebook which includes a section on Data Sources.
Example command to create or update a data source
pv scan putDataSource --dataSourceName "DataSource2" --payload-file "C:\Users\tarifat\Downloads\purviewcli\samples\json\scan_source.json"
We could build out a set of supplementary set of sample JSON files for each source? This might need some reverse engineering as the property bags do not seem to be well documented on the official MS Docs site yet...
@pedropaulovc - Sample JSON documents updated to include a variety of sources (e.g. AdlsGen2, AmazonS3, Hive, etc). https://github.com/tayganr/purviewcli/tree/master/samples/json/sources
Along with an updated sample notebook. https://github.com/tayganr/purviewcli/blob/master/samples/notebooks%20(plus)/sources.ipynb
The samples/sources.ipynb file is outdated:
scan
endpointregisterSource
should becreateSource