mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
chore(ui): add support for service documentation md file (#10666)
* chore(ui): add support for service documentation md file * sync local * chore: add method for fetching markdown file * chore: move fields to connections
This commit is contained in:
parent
4dbe5e4f5c
commit
f77ccb6364
@ -0,0 +1 @@
|
|||||||
|
Optional name to give to the database in OpenMetadata. If left blank, we will use default as the database name.
|
@ -0,0 +1 @@
|
|||||||
|
databaseSchema of the data source. This is optional parameter, if you would like to restrict the metadata reading to a single databaseSchema. When left blank, OpenMetadata Ingestion attempts to scan all the databaseSchema.
|
@ -0,0 +1,3 @@
|
|||||||
|
Host and port of the Postgres service.
|
||||||
|
|
||||||
|
**Example**: `localhost:8000`
|
@ -0,0 +1,2 @@
|
|||||||
|
Password to connect to Postgres.
|
||||||
|
Should be strong and contain `@$#[0-9][a-z][A-Z]`
|
@ -0,0 +1 @@
|
|||||||
|
SQLAlchemy driver scheme options.
|
@ -0,0 +1,2 @@
|
|||||||
|
Provide the path to ssl ca file
|
||||||
|
Provide the path to ssl client certificate file (ssl_cert)
|
@ -0,0 +1 @@
|
|||||||
|
Provide the path to ssl client certificate file (ssl_cert)
|
@ -0,0 +1 @@
|
|||||||
|
Provide the path to ssl client certificate file (ssl_key)
|
@ -0,0 +1 @@
|
|||||||
|
Username to connect to Postgres. This user should have privileges to read all the metadata in Postgres.
|
@ -0,0 +1 @@
|
|||||||
|
<!-- requirement here -->
|
@ -228,6 +228,7 @@
|
|||||||
"display-name": "Display Name",
|
"display-name": "Display Name",
|
||||||
"distinct": "Distinct",
|
"distinct": "Distinct",
|
||||||
"doc-plural": "Docs",
|
"doc-plural": "Docs",
|
||||||
|
"documentation": "Documentation",
|
||||||
"documentation-lowercase": "documentation",
|
"documentation-lowercase": "documentation",
|
||||||
"domain": "Domain",
|
"domain": "Domain",
|
||||||
"downstream-depth": "Downstream Depth",
|
"downstream-depth": "Downstream Depth",
|
||||||
@ -611,6 +612,7 @@
|
|||||||
"reply-lowercase": "reply",
|
"reply-lowercase": "reply",
|
||||||
"reply-lowercase-plural": "replies",
|
"reply-lowercase-plural": "replies",
|
||||||
"request-tag-plural": "Request Tags",
|
"request-tag-plural": "Request Tags",
|
||||||
|
"requirement-plural": "Requirements",
|
||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"reset-your-password": "Reset your Password",
|
"reset-your-password": "Reset your Password",
|
||||||
"resource-permission-lowercase": "resource permission",
|
"resource-permission-lowercase": "resource permission",
|
||||||
@ -1120,6 +1122,7 @@
|
|||||||
"select-token-expiration": "Select Token Expiration",
|
"select-token-expiration": "Select Token Expiration",
|
||||||
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
||||||
"service-name-length": "Service name length must be between 1 and 128 characters",
|
"service-name-length": "Service name length must be between 1 and 128 characters",
|
||||||
|
"service-requirements-description": "Every service comes with its standard set of requirements and here are the basics of what you’d need to connect.",
|
||||||
"service-with-delimiters-not-allowed": "Service name with delimiters are not allowed",
|
"service-with-delimiters-not-allowed": "Service name with delimiters are not allowed",
|
||||||
"service-with-space-not-allowed": "Service name with spaces are not allowed",
|
"service-with-space-not-allowed": "Service name with spaces are not allowed",
|
||||||
"session-expired": "Your session has timed out! Please sign in again to access OpenMetadata.",
|
"session-expired": "Your session has timed out! Please sign in again to access OpenMetadata.",
|
||||||
|
@ -228,6 +228,7 @@
|
|||||||
"display-name": "Nom d'Affichage",
|
"display-name": "Nom d'Affichage",
|
||||||
"distinct": "Distinct",
|
"distinct": "Distinct",
|
||||||
"doc-plural": "Docs",
|
"doc-plural": "Docs",
|
||||||
|
"documentation": "Documentation",
|
||||||
"documentation-lowercase": "documentation",
|
"documentation-lowercase": "documentation",
|
||||||
"domain": "Domain",
|
"domain": "Domain",
|
||||||
"downstream-depth": "Downstream Depth",
|
"downstream-depth": "Downstream Depth",
|
||||||
@ -611,6 +612,7 @@
|
|||||||
"reply-lowercase": "reply",
|
"reply-lowercase": "reply",
|
||||||
"reply-lowercase-plural": "replies",
|
"reply-lowercase-plural": "replies",
|
||||||
"request-tag-plural": "Demander des tags",
|
"request-tag-plural": "Demander des tags",
|
||||||
|
"requirement-plural": "Requirements",
|
||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"reset-your-password": "Reset your Password",
|
"reset-your-password": "Reset your Password",
|
||||||
"resource-permission-lowercase": "resource permission",
|
"resource-permission-lowercase": "resource permission",
|
||||||
@ -1120,6 +1122,7 @@
|
|||||||
"select-token-expiration": "Sélectionner une expiration pour le Jeton",
|
"select-token-expiration": "Sélectionner une expiration pour le Jeton",
|
||||||
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
||||||
"service-name-length": "Service name length must be between 1 and 128 characters",
|
"service-name-length": "Service name length must be between 1 and 128 characters",
|
||||||
|
"service-requirements-description": "Every service comes with its standard set of requirements and here are the basics of what you’d need to connect.",
|
||||||
"service-with-delimiters-not-allowed": "Service name with delimiters are not allowed",
|
"service-with-delimiters-not-allowed": "Service name with delimiters are not allowed",
|
||||||
"service-with-space-not-allowed": "Service name with spaces are not allowed",
|
"service-with-space-not-allowed": "Service name with spaces are not allowed",
|
||||||
"session-expired": "Your session has timed out! Please sign in again to access OpenMetadata.",
|
"session-expired": "Your session has timed out! Please sign in again to access OpenMetadata.",
|
||||||
|
@ -228,6 +228,7 @@
|
|||||||
"display-name": "表示名",
|
"display-name": "表示名",
|
||||||
"distinct": "Distinct",
|
"distinct": "Distinct",
|
||||||
"doc-plural": "ドキュメント",
|
"doc-plural": "ドキュメント",
|
||||||
|
"documentation": "Documentation",
|
||||||
"documentation-lowercase": "ドキュメント",
|
"documentation-lowercase": "ドキュメント",
|
||||||
"domain": "ドメイン",
|
"domain": "ドメイン",
|
||||||
"downstream-depth": "Downstream Depth",
|
"downstream-depth": "Downstream Depth",
|
||||||
@ -492,6 +493,7 @@
|
|||||||
"notification-plural": "通知",
|
"notification-plural": "通知",
|
||||||
"november": "11月",
|
"november": "11月",
|
||||||
"null": "Null",
|
"null": "Null",
|
||||||
|
"number-of-object": "Number of objects",
|
||||||
"number-of-rows": "行数",
|
"number-of-rows": "行数",
|
||||||
"object-store": "オブジェクトストア",
|
"object-store": "オブジェクトストア",
|
||||||
"object-store-plural": "オブジェクトストア",
|
"object-store-plural": "オブジェクトストア",
|
||||||
@ -599,6 +601,7 @@
|
|||||||
"region-name": "リージョン名",
|
"region-name": "リージョン名",
|
||||||
"registry": "レジストリ",
|
"registry": "レジストリ",
|
||||||
"related-term-plural": "関連する用語",
|
"related-term-plural": "関連する用語",
|
||||||
|
"relevance": "Relevance",
|
||||||
"remove": "除外",
|
"remove": "除外",
|
||||||
"remove-entity": "{{entity}}を除外",
|
"remove-entity": "{{entity}}を除外",
|
||||||
"removed": "除外",
|
"removed": "除外",
|
||||||
@ -609,6 +612,7 @@
|
|||||||
"reply-lowercase": "返信",
|
"reply-lowercase": "返信",
|
||||||
"reply-lowercase-plural": "返信",
|
"reply-lowercase-plural": "返信",
|
||||||
"request-tag-plural": "タグをリクエスト",
|
"request-tag-plural": "タグをリクエスト",
|
||||||
|
"requirement-plural": "Requirements",
|
||||||
"reset": "リセット",
|
"reset": "リセット",
|
||||||
"reset-your-password": "パスワードをリセット",
|
"reset-your-password": "パスワードをリセット",
|
||||||
"resource-permission-lowercase": "リソースの権限",
|
"resource-permission-lowercase": "リソースの権限",
|
||||||
@ -843,6 +847,7 @@
|
|||||||
"webhook-display-text": "ウェブフック {{displayText}}",
|
"webhook-display-text": "ウェブフック {{displayText}}",
|
||||||
"wednesday": "水曜日",
|
"wednesday": "水曜日",
|
||||||
"week": "週",
|
"week": "週",
|
||||||
|
"weekly-usage": "Weekly Usage",
|
||||||
"whats-new": "最新情報",
|
"whats-new": "最新情報",
|
||||||
"yes": "はい",
|
"yes": "はい",
|
||||||
"your-entity": "あなたの{{entity}}"
|
"your-entity": "あなたの{{entity}}"
|
||||||
@ -1117,6 +1122,7 @@
|
|||||||
"select-token-expiration": "Select Token Expiration",
|
"select-token-expiration": "Select Token Expiration",
|
||||||
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
||||||
"service-name-length": "サービス名は1以上128以下の文字列でなければいけません",
|
"service-name-length": "サービス名は1以上128以下の文字列でなければいけません",
|
||||||
|
"service-requirements-description": "Every service comes with its standard set of requirements and here are the basics of what you’d need to connect.",
|
||||||
"service-with-delimiters-not-allowed": "サービス名に区切り文字は使えません",
|
"service-with-delimiters-not-allowed": "サービス名に区切り文字は使えません",
|
||||||
"service-with-space-not-allowed": "サービス名に空白は使えません",
|
"service-with-space-not-allowed": "サービス名に空白は使えません",
|
||||||
"session-expired": "セッションがタイムアウトしました。OpenMetadataにアクセスするには再度サインインしてください。",
|
"session-expired": "セッションがタイムアウトしました。OpenMetadataにアクセスするには再度サインインしてください。",
|
||||||
|
@ -228,6 +228,7 @@
|
|||||||
"display-name": "显示名",
|
"display-name": "显示名",
|
||||||
"distinct": "Distinct",
|
"distinct": "Distinct",
|
||||||
"doc-plural": "文档",
|
"doc-plural": "文档",
|
||||||
|
"documentation": "Documentation",
|
||||||
"documentation-lowercase": "documentation",
|
"documentation-lowercase": "documentation",
|
||||||
"domain": "域",
|
"domain": "域",
|
||||||
"downstream-depth": "Downstream Depth",
|
"downstream-depth": "Downstream Depth",
|
||||||
@ -611,6 +612,7 @@
|
|||||||
"reply-lowercase": "reply",
|
"reply-lowercase": "reply",
|
||||||
"reply-lowercase-plural": "replies",
|
"reply-lowercase-plural": "replies",
|
||||||
"request-tag-plural": "Request tags",
|
"request-tag-plural": "Request tags",
|
||||||
|
"requirement-plural": "Requirements",
|
||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"reset-your-password": "Reset your Password",
|
"reset-your-password": "Reset your Password",
|
||||||
"resource-permission-lowercase": "resource permission",
|
"resource-permission-lowercase": "resource permission",
|
||||||
@ -1120,6 +1122,7 @@
|
|||||||
"select-token-expiration": "Select Token Expiration",
|
"select-token-expiration": "Select Token Expiration",
|
||||||
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
"service-created-entity-description": "The <Service Name> has been created successfully. Visit the newly created service to take a look at the details. {{entity}}",
|
||||||
"service-name-length": "Service name length must be between 1 and 128 characters",
|
"service-name-length": "Service name length must be between 1 and 128 characters",
|
||||||
|
"service-requirements-description": "Every service comes with its standard set of requirements and here are the basics of what you’d need to connect.",
|
||||||
"service-with-delimiters-not-allowed": "Service name with delimiters are not allowed",
|
"service-with-delimiters-not-allowed": "Service name with delimiters are not allowed",
|
||||||
"service-with-space-not-allowed": "Service name with spaces are not allowed",
|
"service-with-space-not-allowed": "Service name with spaces are not allowed",
|
||||||
"session-expired": "Your session has timed out! Please sign in again to access OpenMetadata.",
|
"session-expired": "Your session has timed out! Please sign in again to access OpenMetadata.",
|
||||||
|
@ -302,3 +302,24 @@ export const getAllEntityCount = async () => {
|
|||||||
|
|
||||||
return response.data;
|
return response.data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const fetchMarkdownFile = async (filePath: string) => {
|
||||||
|
let baseURL = '/';
|
||||||
|
|
||||||
|
try {
|
||||||
|
const url = new URL(filePath);
|
||||||
|
baseURL = `${url.origin}/`;
|
||||||
|
} catch (error) {
|
||||||
|
baseURL = '/';
|
||||||
|
}
|
||||||
|
|
||||||
|
const response = await APIClient.get<string>(filePath, {
|
||||||
|
baseURL,
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'text/markdown',
|
||||||
|
Accept: 'text/markdown',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
return response.data;
|
||||||
|
};
|
||||||
|
@ -218,6 +218,10 @@ module.exports = {
|
|||||||
from: path.join(__dirname, 'public/robots.txt'),
|
from: path.join(__dirname, 'public/robots.txt'),
|
||||||
to: outputPath,
|
to: outputPath,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
from: path.join(__dirname, 'public/locales'),
|
||||||
|
to: outputPath,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
// Build progress bar
|
// Build progress bar
|
||||||
|
@ -214,6 +214,10 @@ module.exports = {
|
|||||||
from: path.join(__dirname, 'public/robots.txt'),
|
from: path.join(__dirname, 'public/robots.txt'),
|
||||||
to: outputPath,
|
to: outputPath,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
from: path.join(__dirname, 'public/locales'),
|
||||||
|
to: outputPath,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
// Build progress bar
|
// Build progress bar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user