Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Add docStore endpoints to Ometa API routes #19172

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ingestion/src/metadata/ingestion/ometa/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
)
from metadata.generated.schema.api.data.createTable import CreateTableRequest
from metadata.generated.schema.api.data.createTopic import CreateTopicRequest
from metadata.generated.schema.api.docStore.createDocument import CreateDocumentRequest
from metadata.generated.schema.api.domains.createDataProduct import (
CreateDataProductRequest,
)
Expand Down Expand Up @@ -136,6 +137,7 @@
from metadata.generated.schema.entity.data.storedProcedure import StoredProcedure
from metadata.generated.schema.entity.data.table import Table
from metadata.generated.schema.entity.data.topic import Topic
from metadata.generated.schema.entity.docStore.document import Document
from metadata.generated.schema.entity.domains.dataProduct import DataProduct
from metadata.generated.schema.entity.domains.domain import Domain
from metadata.generated.schema.entity.feed.suggestion import Suggestion
Expand Down Expand Up @@ -198,6 +200,8 @@
CreateAPIEndpointRequest.__name__: "/apiEndpoints",
APICollection.__name__: "/apiCollections",
CreateAPICollectionRequest.__name__: "/apiCollections",
Document.__name__: "/docStore",
CreateDocumentRequest.__name__: "/docStore",
# Classifications
Tag.__name__: "/tags",
CreateTagRequest.__name__: "/tags",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$id": "https://open-metadata.org/schema/entity/docStore/document.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Document",
"title": "CreateDocumentRequest",
"description": "This schema defines Document. A Generic entity to capture any kind of Json Payload.",
"type": "object",
"javaType": "org.openmetadata.schema.entities.docStore.CreateDocument",
Expand Down
Loading