Skip to content

Commit

Permalink
fix: revert changes to OpenApi casing
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal committed Mar 2, 2022
1 parent 2a5cf3d commit 4bd85ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/ingestion/source/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def close(self):

class OpenApiSource(APISource):
def __init__(self, config: OpenApiConfig, ctx: PipelineContext):
super().__init__(config, ctx, "openapi")
super().__init__(config, ctx, "OpenApi")

@classmethod
def create(cls, config_dict, ctx):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"auditHeader": null,
"proposedSnapshot": {
"com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:openapi,test_openapi.root,PROD)",
"urn": "urn:li:dataset:(urn:li:dataPlatform:OpenApi,test_openapi.root,PROD)",
"aspects": [
{
"com.linkedin.pegasus2avro.dataset.DatasetProperties": {
Expand Down Expand Up @@ -95,7 +95,7 @@
"auditHeader": null,
"proposedSnapshot": {
"com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:openapi,test_openapi.v2,PROD)",
"urn": "urn:li:dataset:(urn:li:dataPlatform:OpenApi,test_openapi.v2,PROD)",
"aspects": [
{
"com.linkedin.pegasus2avro.dataset.DatasetProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
}
},
{
"urn": "urn:li:dataPlatform:openapi",
"urn": "urn:li:dataPlatform:OpenApi",
"aspect": {
"datasetNameDelimiter": ".",
"name": "openapi",
Expand Down Expand Up @@ -396,4 +396,4 @@
"logoUrl": "/assets/platforms/powerbilogo.png"
}
}
]
]

0 comments on commit 4bd85ef

Please sign in to comment.