Skip to content

Commit ded7abd

Browse files
AnilKumarPolepalliAnil Kumar Polepalli (Quadrant Technologies LLC)mikeharderJackTnJoshLove-msft
authored
Pushing Swagger into Azure SPEC for MS-Learn (#35874)
* Added linter in .yaml * Namespace changed to pascal order * Rename folder to PurviewDataCatalog with correct casing * Fixed TypeSpec Validation * Include generated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * Add regenerated files after tsp compile * changes * Revert unintended changes to .github/package.json and package-lock.json * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * Fixing the typespec validation errors * merge * Fixing the typespec validation errors * spell check fixed * Swagger Prettier Check * merge * merged * merge * hotfix * fixing swager issues * Add regenerated files after tsp compile * fix * issue fixing * fix * fixed * fix * changes * supress * changed * done * fix * fix * removed * ading * added critical data column * added criticaldataelement * swagger * fix * commit * fix * chanhr * Added CDC * errors fixed * ModelValidation * Added CDA * errors fixed * ModelValidation * fix * Cosmotic changes done * fix * fix facets and query * same for above * small change * added GetDataProduct * added ceatedata product query * issue fix * modle validation fix * spell check * added dataproductid * added dataprduct * error fixed * Added Businessdomain * business domain model error fix * Added Policy * Added Term controller * Term modelvalidation errors fixed * missed file * Added term start,counts * Term modevalidation errors fixed * the response does have a "schema" defined in the swagger spec * fix * review changes commited * tspconfig * added sdk * added sdk * updated the sdk name * fix * adding OKR * fixed model validation * renamed name sapace with lowercase * added keyresults * fixed * SDK error fix * sdk error fix * removed entry - @azure-tools/typespec-csharp * errors fixed * tsp comple data * Errors fixed * Added okr controllers * reverted the skip param * fix * Changed the route names as per code * spelling change * Modelvalidation * removed white spaces * Adding policy return types * RESPONSE_BODY_NOT_IN_EXAMPLE * fix * Revert changes to protected files * removed cspell * Added cspell * spell check * fix cspell json * Added SkipQueryParameter and TopQueryParameter * added skip top from core * error * added orderyby query param * removed unknow link * added cspell * spell chek * updated tspconfig * Update specification/purviewdatagovernance/PurviewDataCatalog/tspconfig.yaml * Update specification/purviewdatagovernance/PurviewDataCatalog/tspconfig.yaml * Modified the models * updated cspell * Renamed the namespaces * Renamed Async * removed unwanted * Additional properties not allowed: systemData * added name for client * removed failing code * fix * Updated resource opetations for CDE * Model validation error * fix * added alias * Prettier check fix * Adding resource operations for dataassets * added resource to dataproduct * Adding resource to domain * Added resource to Term * added resource to OKR * Model valildation error fixed * Masked client name for sdk * OBJECT_MISSING_REQUIRED_PROPERTY * Build #20250806.55 failed * Suppression added for GO * fix * remove Go emitter * tsp format fix * check fix for c# sdk * issue fix * added scope * fix added * cheking sdk's * sdk check - 1 * Use @pageItems instead * Use @list decorator * sdk check - 2 * sdk check * removed @client * added namespace * added {} * reverted * Merged with latest * Merged with latest * Merging changes * Mering changes * added go emitter * Revert restricted files to upstream/main to satisfy CI * added new version * Swagger ModelValidation Errors * SpecModelError * Updated the doc() * Swagger ModelValidation * Swagger ModelValidation * fix * updated the fix * Added policy GET * Swagger PrettierCheck * Swagger LintDiff - Analyze Code * Swagger LintDiff - Analyze Code * Swagger ModelValidation fix * Updated swagger * Recent changes * Errors fixed * errors fix * Added missing prop * Added policy * Removed lineage * changes * emitter-output-dir * suppression change * testing * test * test * test * changes done * Visibility to changed to create from read * changed the visibility * updated sample json * Removed Async * removed unwated words * Commented Asset API's * Commented out CDC * Removed "PurviewUnifiedCatalog" folder * SdkTspConfigValidation * SdkTspConfigValidation --------- Co-authored-by: Anil Kumar Polepalli (Quadrant Technologies LLC) <[email protected]> Co-authored-by: Mike Harder <[email protected]> Co-authored-by: Tianen <[email protected]> Co-authored-by: JoshLove-msft <[email protected]>
1 parent 8b1307d commit ded7abd

File tree

206 files changed

+21098
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+21098
-0
lines changed

specification/purviewdatagovernance/Azure.Analytics.Purview.UnifiedCatalog/HERO_SCENARIOS.md

Lines changed: 452 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/**
2+
* PLACEHOLDER
3+
* Add readme and sample
4+
*/
5+
import "./main.tsp";
6+
import "@azure-tools/typespec-client-generator-core";
7+
8+
using Azure.ClientGenerator.Core;
9+
using PurviewUnifiedCatalog;
10+
11+
namespace Customizations;
12+
13+
// @@clientName(ListCriticalDataElementAsync, "ListCriticalDataElement");
14+
// @@clientName(CreateCriticalDataElementAsync, "CreateCriticalDataElement");
15+
// @@clientName(GetCriticalDataElementByIdAsync, "GetCriticalDataElementById");
16+
// @@clientName(UpdateCriticalDataElementAsync, "UpdateCriticalDataElement");
17+
// @@clientName(DeleteCriticalDataElementByIdAsync,
18+
// "DeleteCriticalDataElementById"
19+
// );
20+
// @@clientName(ListCriticalDataElementRelationshipsAsync,
21+
// "ListCriticalDataElementRelationships"
22+
// );
23+
// @@clientName(CreateCriticalDataElementRelationshipAsync,
24+
// "CreateCriticalDataElementRelationship"
25+
// );
26+
// @@clientName(DeleteCriticalDataElementRelationshipAsync,
27+
// "DeleteCriticalDataElementRelationship"
28+
// );
29+
// @@clientName(GetCriticalDataElementFacetsAsync, "GetCriticalDataElementFacets");
30+
// @@clientName(CreateCriticalDataColumnAsync, "CreateCriticalDataColumn");
31+
// @@clientName(ListCriticalDataColumnAsync, "ListCriticalDataColumn");
32+
// @@clientName(GetCriticalDataColumnByIdAsync, "GetCriticalDataColumnById");
33+
// @@clientName(CreateCriticalDataColumnRelationshipAsync,
34+
// "CreateCriticalDataColumnRelationship"
35+
// );
36+
// @@clientName(ListCriticalDataColumnRelationshipsAsync,
37+
// "ListCriticalDataColumnRelationships"
38+
// );
39+
// @@clientName(DeleteCriticalDataColumnRelationshipAsync,
40+
// "DeleteCriticalDataColumnRelationship"
41+
// );
42+
// @@clientName(ListDataAssetsAsync, "ListDataAssets");
43+
// @@clientName(CreateDataAssetAsync, "CreateDataAsset");
44+
// @@clientName(QueryDataAssetsAsync, "QueryDataAssets");
45+
// @@clientName(GetDataAssetByIdAsync, "GetDataAssetById");
46+
// @@clientName(UpdateDataAssetAsync, "UpdateDataAsset");
47+
// @@clientName(DeleteDataAssetByIdAsync, "DeleteDataAssetById");
48+
// @@clientName(ListDataAssetRelationshipsAsync, "ListDataAssetRelationships");
49+
// @@clientName(CreateDataAssetRelationshipAsync, "CreateDataAssetRelationship");
50+
// @@clientName(DeleteDataAssetRelationshipAsync, "DeleteDataAssetRelationship");
51+
// @@clientName(ListDataProductsAsync, "ListDataProducts");
52+
// @@clientName(CreateDataProductAsync, "CreateDataProduct");
53+
// @@clientName(QueryDataProductsAsync, "QueryDataProducts");
54+
// @@clientName(GetDataProductFacetsAsync, "GetDataProductFacets");
55+
// @@clientName(GetDataProductByIdAsync, "GetDataProductById");
56+
// @@clientName(UpdateDataProductAsync, "UpdateDataProduct");
57+
// @@clientName(DeleteDataProductByIdAsync, "DeleteDataProductById");
58+
// @@clientName(ListDataProductRelationshipsAsync, "ListDataProductRelationships");
59+
// @@clientName(CreateDataProductRelationshipAsync,
60+
// "CreateDataProductRelationship"
61+
// );
62+
// @@clientName(DeleteDataProductRelationshipAsync,
63+
// "DeleteDataProductRelationship"
64+
// );
65+
// @@clientName(EnumerateDomainsAsync, "EnumerateDomains");
66+
// @@clientName(CreateDomainAsync, "CreateDomain");
67+
// @@clientName(UpdateDomainAsync, "UpdateDomain");
68+
// @@clientName(GetDomainByIdAsync, "GetDomainById");
69+
// @@clientName(DeleteDomainByIdAsync, "DeleteDomainById");
70+
// @@clientName(CreateTermAsync, "CreateTerm");
71+
// @@clientName(ListTermAsync, "ListTerm");
72+
// @@clientName(UpdateTermAsync, "UpdateTerm");
73+
// @@clientName(GetTermAsync, "GetTerm");
74+
// @@clientName(DeleteTermAsync, "DeleteTerm");
75+
// @@clientName(QueryTermsAsync, "QueryTerms");
76+
// @@clientName(GetTermFacetsAsync, "GetTermFacets");
77+
// @@clientName(ListHierarchyTermsAsync, "ListHierarchyTerms");
78+
// @@clientName(AddRelatedEntityAsync, "AddRelatedEntity");
79+
// @@clientName(DeleteRelatedTermAsync, "DeleteRelatedTerm");
80+
// @@clientName(ListRelatedEntitiesAsync, "ListRelatedEntities");
81+
// @@clientName(ListObjectivesAsync, "ListObjectives");
82+
// @@clientName(CreateObjectiveAsync, "CreateObjective");
83+
// @@clientName(QueryObjectivesAsync, "QueryObjectives");
84+
// @@clientName(GetObjectiveFacetsAsync, "GetObjectiveFacets");
85+
// @@clientName(UpdateObjectiveAsync, "UpdateObjective");
86+
// @@clientName(DeleteObjectiveByIdAsync, "DeleteObjectiveById");
87+
// @@clientName(GetObjectiveByIdAsync, "GetObjectiveById");
88+
// @@clientName(ListKeyResultsAsync, "ListKeyResults");
89+
// @@clientName(CreateKeyResultAsync, "CreateKeyResult");
90+
// @@clientName(GetKeyResultByIdAsync, "GetKeyResultById");
91+
// @@clientName(UpdateKeyResultAsync, "UpdateKeyResult");
92+
// @@clientName(DeleteKeyResultByIdAsync, "DeleteKeyResultById");
93+
@@clientName(AudienceEnum, "PurviewUnifiedCatalogRole");
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"title": "AddRelatedEntity_MaximumSet",
3+
"operationId": "AddRelatedEntity",
4+
"parameters": {
5+
"api-version": "2025-09-15-preview",
6+
"termId": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
7+
"entityType": "TERM",
8+
"termRelation": {
9+
"description": "xs",
10+
"entityId": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
11+
"relationshipType": "Synonym"
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"systemData": {
18+
"lastModifiedAt": "1970-01-01T00:00:00.000Z",
19+
"lastModifiedBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
20+
"createdAt": "1970-01-01T00:00:00.000Z",
21+
"createdBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E"
22+
},
23+
"description": "This is a description",
24+
"relationshipType": "Related",
25+
"entityId": "4e74f902-62f5-49f4-8258-92ed2b8537ba"
26+
}
27+
}
28+
}
29+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"title": "CreateCriticalDataColumnRelationship_MaximumSet",
3+
"operationId": "CreateCriticalDataColumnRelationship",
4+
"parameters": {
5+
"api-version": "2025-09-15-preview",
6+
"criticalDataColumnId": "7e74f902-62f5-49f4-8258-92ed2b8537ba",
7+
"entityType": "CRITICALDATAELEMENT",
8+
"relationship": {
9+
"systemData": {},
10+
"description": "This is a description",
11+
"relationshipType": "Related",
12+
"assetId": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
13+
"entityId": "06678fd6-2e68-44e3-bc58-4e878e8dfa09"
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"systemData": {
20+
"lastModifiedAt": "1970-01-01T00:00:00.000Z",
21+
"lastModifiedBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
22+
"createdAt": "1970-01-01T00:00:00.000Z",
23+
"createdBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E"
24+
},
25+
"description": "This is a description",
26+
"relationshipType": "Related",
27+
"entityId": "4e74f902-62f5-49f4-8258-92ed2b8537ba"
28+
}
29+
}
30+
}
31+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"title": "CreateCriticalDataColumn_MaximumSet",
3+
"operationId": "CreateCriticalDataColumn",
4+
"parameters": {
5+
"api-version": "2025-09-15-preview",
6+
"criticalDataColumn": {
7+
"id": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
8+
"name": "columnA",
9+
"systemData": {
10+
"lastModifiedAt": "1970-01-01T00:00:00.000Z",
11+
"lastModifiedBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
12+
"createdAt": "1970-01-01T00:00:00.000Z",
13+
"createdBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
14+
"expiredAt": "1970-01-01T00:00:00.000Z",
15+
"expiredBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E"
16+
},
17+
"domain": "7e74f902-62f5-49f4-8258-92ed2b8537ba",
18+
"assetId": "9e74f902-62f5-49f4-8258-92ed2b8537ba",
19+
"description": "column A description",
20+
"classifications": [
21+
"PII",
22+
"PHI"
23+
],
24+
"dataType": "nvarchar",
25+
"assetName": "TableA"
26+
}
27+
},
28+
"responses": {
29+
"201": {
30+
"body": {
31+
"id": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
32+
"name": "columnA",
33+
"systemData": {
34+
"lastModifiedAt": "1970-01-01T00:00:00.000Z",
35+
"lastModifiedBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
36+
"createdAt": "1970-01-01T00:00:00.000Z",
37+
"createdBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
38+
"expiredAt": "1970-01-01T00:00:00.000Z",
39+
"expiredBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E"
40+
},
41+
"domain": "7e74f902-62f5-49f4-8258-92ed2b8537ba",
42+
"assetId": "9e74f902-62f5-49f4-8258-92ed2b8537ba",
43+
"description": "column A description",
44+
"classifications": [
45+
"PII",
46+
"PHI"
47+
],
48+
"dataType": "nvarchar",
49+
"assetName": "TableA"
50+
}
51+
}
52+
}
53+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"title": "CreateCriticalDataElementRelationship_MaximumSet",
3+
"operationId": "CreateCriticalDataElementRelationship",
4+
"parameters": {
5+
"api-version": "2025-09-15-preview",
6+
"criticalDataElementId": "7e74f902-62f5-49f4-8258-92ed2b8537ba",
7+
"entityType": "CRITICALDATACOLUMN",
8+
"relationship": {
9+
"description": "",
10+
"entityId": "0df56531-7b63-41d6-87f3-870ed21d8f6e",
11+
"relationshipType": "Related"
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"systemData": {
18+
"lastModifiedAt": "2025-08-05T16:48:43.702Z",
19+
"lastModifiedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
20+
"createdAt": "string",
21+
"createdBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
22+
},
23+
"description": "string",
24+
"relationshipType": "string",
25+
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
26+
}
27+
}
28+
}
29+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"title": "CreateCriticalDataElement_MaximumSet",
3+
"operationId": "CreateCriticalDataElement",
4+
"parameters": {
5+
"api-version": "2025-09-15-preview",
6+
"criticalDataElement": {
7+
"status": "PUBLISHED",
8+
"dataType": "TEXT",
9+
"id": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
10+
"name": "uwae",
11+
"systemData": {
12+
"createdAt": "2025-06-16T21:01:37.447Z",
13+
"createdBy": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
14+
"lastModifiedAt": "2025-06-16T21:01:37.447Z",
15+
"lastModifiedBy": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
16+
"expiredAt": "2025-06-16T21:01:37.447Z",
17+
"expiredBy": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a"
18+
},
19+
"domain": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
20+
"description": "lkijxttoytawcul",
21+
"contacts": {
22+
"key5875": [
23+
{
24+
"id": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
25+
"description": "atitetlocznsnmithbzk"
26+
}
27+
]
28+
},
29+
"managedAttributes": [
30+
{
31+
"name": "yudgednngbwobftmdyfwiblftdw"
32+
}
33+
]
34+
}
35+
},
36+
"responses": {
37+
"201": {
38+
"body": {
39+
"status": "PUBLISHED",
40+
"dataType": "TEXT",
41+
"id": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
42+
"name": "uwae",
43+
"systemData": {
44+
"createdAt": "2025-06-16T21:01:37.447Z",
45+
"createdBy": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
46+
"lastModifiedAt": "2025-06-16T21:01:37.447Z",
47+
"lastModifiedBy": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
48+
"expiredAt": "2025-06-16T21:01:37.447Z",
49+
"expiredBy": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a"
50+
},
51+
"domain": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
52+
"description": "lkijxttoytawcul",
53+
"contacts": {
54+
"key5875": [
55+
{
56+
"id": "b3b4cc6e-6a91-4d34-8af3-90e2f93d6c7a",
57+
"description": "atitetlocznsnmithbzk"
58+
}
59+
]
60+
},
61+
"managedAttributes": [
62+
{
63+
"name": "analytics campign.efg",
64+
"value": "\"trst\""
65+
}
66+
]
67+
}
68+
}
69+
}
70+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"title": "CreateDataAssetRelationship_MaximumSet",
3+
"operationId": "CreateDataAssetRelationship",
4+
"parameters": {
5+
"api-version": "2025-09-15-preview",
6+
"dataAssetId": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
7+
"entityType": "CRITICALDATACOLUMN",
8+
"relationship": {
9+
"relationship1": {
10+
"systemData": {
11+
"createdBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
12+
"createdAt": "2025-09-22T12:00:00Z",
13+
"lastModifiedBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
14+
"lastModifiedAt": "2025-09-22T12:00:00Z"
15+
},
16+
"description": "This is a description",
17+
"relationshipType": "Related",
18+
"assetId": "4e74f902-62f5-49f4-8258-92ed2b8537ba",
19+
"entityId": "4e74f902-62f5-49f4-8258-92ed2b8537ba"
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"systemData": {
27+
"lastModifiedAt": "1970-01-01T00:00:00.000Z",
28+
"lastModifiedBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E",
29+
"createdAt": "1970-01-01T00:00:00.000Z",
30+
"createdBy": "766BF2B9-5D8A-4FB1-B8D5-D30A53E22A9E"
31+
},
32+
"description": "This is a description",
33+
"relationshipType": "Related",
34+
"entityId": "4e74f902-62f5-49f4-8258-92ed2b8537ba"
35+
}
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)