mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-11 23:36:25 +00:00
Rename ingestion agent to ingestion runner entity reference (#20610)
* Rename ingestion agent to ingestion runner entity reference * minor key updates --------- Co-authored-by: Sweta Agarwalla <swetaagarwalla13@gmail.com>
This commit is contained in:
parent
5855ce5eaa
commit
ec0e23d1a2
@ -154,12 +154,12 @@ public class IngestionPipelineRepository extends EntityRepository<IngestionPipel
|
|||||||
@Override
|
@Override
|
||||||
public void storeRelationships(IngestionPipeline ingestionPipeline) {
|
public void storeRelationships(IngestionPipeline ingestionPipeline) {
|
||||||
addServiceRelationship(ingestionPipeline, ingestionPipeline.getService());
|
addServiceRelationship(ingestionPipeline, ingestionPipeline.getService());
|
||||||
if (ingestionPipeline.getIngestionAgent() != null) {
|
if (ingestionPipeline.getIngestionRunner() != null) {
|
||||||
addRelationship(
|
addRelationship(
|
||||||
ingestionPipeline.getId(),
|
ingestionPipeline.getId(),
|
||||||
ingestionPipeline.getIngestionAgent().getId(),
|
ingestionPipeline.getIngestionRunner().getId(),
|
||||||
entityType,
|
entityType,
|
||||||
ingestionPipeline.getIngestionAgent().getType(),
|
ingestionPipeline.getIngestionRunner().getType(),
|
||||||
Relationship.USES);
|
Relationship.USES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -84,16 +84,16 @@ public abstract class ServiceEntityRepository<
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void storeRelationships(T service) {
|
public void storeRelationships(T service) {
|
||||||
addIngestionAgentRelationship(service);
|
addIngestionRunnerRelationship(service);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addIngestionAgentRelationship(T service) {
|
private void addIngestionRunnerRelationship(T service) {
|
||||||
if (service.getIngestionAgent() != null) {
|
if (service.getIngestionRunner() != null) {
|
||||||
addRelationship(
|
addRelationship(
|
||||||
service.getId(),
|
service.getId(),
|
||||||
service.getIngestionAgent().getId(),
|
service.getIngestionRunner().getId(),
|
||||||
entityType,
|
entityType,
|
||||||
service.getIngestionAgent().getType(),
|
service.getIngestionRunner().getType(),
|
||||||
Relationship.USES);
|
Relationship.USES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -134,7 +134,7 @@ public abstract class ServiceEntityRepository<
|
|||||||
@Override
|
@Override
|
||||||
public void entitySpecificUpdate(boolean consolidatingChanges) {
|
public void entitySpecificUpdate(boolean consolidatingChanges) {
|
||||||
updateConnection();
|
updateConnection();
|
||||||
updateIngestionAgent();
|
updateIngestionRunner();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateConnection() {
|
private void updateConnection() {
|
||||||
@ -170,13 +170,13 @@ public abstract class ServiceEntityRepository<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateIngestionAgent() {
|
private void updateIngestionRunner() {
|
||||||
UUID originalAgentId =
|
UUID originalAgentId =
|
||||||
original.getIngestionAgent() != null ? original.getIngestionAgent().getId() : null;
|
original.getIngestionRunner() != null ? original.getIngestionRunner().getId() : null;
|
||||||
UUID updatedAgentId =
|
UUID updatedAgentId =
|
||||||
updated.getIngestionAgent() != null ? updated.getIngestionAgent().getId() : null;
|
updated.getIngestionRunner() != null ? updated.getIngestionRunner().getId() : null;
|
||||||
if (!Objects.equals(originalAgentId, updatedAgentId)) {
|
if (!Objects.equals(originalAgentId, updatedAgentId)) {
|
||||||
addIngestionAgentRelationship(updated);
|
addIngestionRunnerRelationship(updated);
|
||||||
recordChange("ingestionAgent", originalAgentId, updatedAgentId, true);
|
recordChange("ingestionAgent", originalAgentId, updatedAgentId, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class APIServiceMapper implements EntityMapper<ApiService, CreateApiServi
|
|||||||
return copy(new ApiService(), create, user)
|
return copy(new ApiService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,6 @@ public class DashboardServiceMapper
|
|||||||
return copy(new DashboardService(), create, user)
|
return copy(new DashboardService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class DatabaseServiceMapper implements EntityMapper<DatabaseService, Crea
|
|||||||
return copy(new DatabaseService(), create, user)
|
return copy(new DatabaseService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,6 @@ public class MessagingServiceMapper
|
|||||||
return copy(new MessagingService(), create, user)
|
return copy(new MessagingService(), create, user)
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class MetadataServiceMapper implements EntityMapper<MetadataService, Crea
|
|||||||
return copy(new MetadataService(), create, user)
|
return copy(new MetadataService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class MlModelServiceMapper implements EntityMapper<MlModelService, Create
|
|||||||
return copy(new MlModelService(), create, user)
|
return copy(new MlModelService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class PipelineServiceMapper implements EntityMapper<PipelineService, Crea
|
|||||||
return copy(new PipelineService(), create, user)
|
return copy(new PipelineService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class SearchServiceMapper implements EntityMapper<SearchService, CreateSe
|
|||||||
return copy(new SearchService(), create, user)
|
return copy(new SearchService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,6 @@ public class StorageServiceMapper implements EntityMapper<StorageService, Create
|
|||||||
return copy(new StorageService(), create, user)
|
return copy(new StorageService(), create, user)
|
||||||
.withServiceType(create.getServiceType())
|
.withServiceType(create.getServiceType())
|
||||||
.withConnection(create.getConnection())
|
.withConnection(create.getConnection())
|
||||||
.withIngestionAgent(create.getIngestionAgent());
|
.withIngestionRunner(create.getIngestionRunner());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,7 +33,7 @@ public interface ServiceEntityInterface extends EntityInterface {
|
|||||||
|
|
||||||
EnumInterface getServiceType();
|
EnumInterface getServiceType();
|
||||||
|
|
||||||
default EntityReference getIngestionAgent() {
|
default EntityReference getIngestionRunner() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"description": "Fully qualified name of the domain the API Service belongs to.",
|
"description": "Fully qualified name of the domain the API Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
"description": "Fully qualified name of the domain the Dashboard Service belongs to.",
|
"description": "Fully qualified name of the domain the Dashboard Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"description": "Fully qualified name of the domain the Database Service belongs to.",
|
"description": "Fully qualified name of the domain the Database Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline. It will be defined at runtime based on the Ingestion Agent of the service.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline. It will be defined at runtime based on the Ingestion Agent of the service.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"description": "Fully qualified name of the domain the Messaging Service belongs to.",
|
"description": "Fully qualified name of the domain the Messaging Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
"description": "Fully qualified name of the domain the Table belongs to.",
|
"description": "Fully qualified name of the domain the Table belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"description": "Fully qualified name of the domain the MLModel Service belongs to.",
|
"description": "Fully qualified name of the domain the MLModel Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
"description": "Life Cycle of the entity",
|
"description": "Life Cycle of the entity",
|
||||||
"$ref": "../../type/lifeCycle.json"
|
"$ref": "../../type/lifeCycle.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"description": "Fully qualified name of the domain the Search Service belongs to.",
|
"description": "Fully qualified name of the domain the Search Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
"description": "Fully qualified name of the domain the Storage Service belongs to.",
|
"description": "Fully qualified name of the domain the Storage Service belongs to.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -134,7 +134,7 @@
|
|||||||
"description": "Domain the API service belongs to.",
|
"description": "Domain the API service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -233,7 +233,7 @@
|
|||||||
"description": "Domain the Dashboard service belongs to.",
|
"description": "Domain the Dashboard service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -436,7 +436,7 @@
|
|||||||
"description": "Domain the Database service belongs to.",
|
"description": "Domain the Database service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -226,7 +226,7 @@
|
|||||||
"description": "Type of the application when pipelineType is 'application'.",
|
"description": "Type of the application when pipelineType is 'application'.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../../type/entityReference.json"
|
"$ref": "../../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -152,7 +152,7 @@
|
|||||||
"description": "Domain the Messaging service belongs to.",
|
"description": "Domain the Messaging service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -155,7 +155,7 @@
|
|||||||
"description": "Domain the asset belongs to. When not set, the asset inherits the domain from the parent it belongs to.",
|
"description": "Domain the asset belongs to. When not set, the asset inherits the domain from the parent it belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -150,7 +150,7 @@
|
|||||||
"description": "Domain the MLModel service belongs to.",
|
"description": "Domain the MLModel service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -249,7 +249,7 @@
|
|||||||
"description": "Domain the Pipeline service belongs to.",
|
"description": "Domain the Pipeline service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -144,7 +144,7 @@
|
|||||||
"description": "Domain the search service belongs to.",
|
"description": "Domain the search service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -151,7 +151,7 @@
|
|||||||
"description": "Domain the Storage service belongs to.",
|
"description": "Domain the Storage service belongs to.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
},
|
},
|
||||||
"ingestionAgent" : {
|
"ingestionRunner" : {
|
||||||
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
|
||||||
"$ref": "../../type/entityReference.json"
|
"$ref": "../../type/entityReference.json"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,6 @@ import { InfoCircleOutlined } from '@ant-design/icons';
|
|||||||
import { Col, Input, Row, Space, Tooltip } from 'antd';
|
import { Col, Input, Row, Space, Tooltip } from 'antd';
|
||||||
import { isEmpty } from 'lodash';
|
import { isEmpty } from 'lodash';
|
||||||
import React, { ReactNode, useEffect, useState } from 'react';
|
import React, { ReactNode, useEffect, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
|
||||||
import { EntityType } from '../../../../enums/entity.enum';
|
import { EntityType } from '../../../../enums/entity.enum';
|
||||||
import { APIServiceType } from '../../../../generated/entity/services/apiService';
|
import { APIServiceType } from '../../../../generated/entity/services/apiService';
|
||||||
import { DashboardServiceType } from '../../../../generated/entity/services/dashboardService';
|
import { DashboardServiceType } from '../../../../generated/entity/services/dashboardService';
|
||||||
@ -49,7 +48,6 @@ const ServiceConnectionDetails = ({
|
|||||||
}: Readonly<ServiceConnectionDetailsProps>) => {
|
}: Readonly<ServiceConnectionDetailsProps>) => {
|
||||||
const [schema, setSchema] = useState<Record<string, any>>({});
|
const [schema, setSchema] = useState<Record<string, any>>({});
|
||||||
const [data, setData] = useState<ReactNode>();
|
const [data, setData] = useState<ReactNode>();
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
switch (serviceCategory.slice(0, -1)) {
|
switch (serviceCategory.slice(0, -1)) {
|
||||||
@ -158,9 +156,7 @@ const ServiceConnectionDetails = ({
|
|||||||
<Row>
|
<Row>
|
||||||
<Col className="d-flex items-center" span={8}>
|
<Col className="d-flex items-center" span={8}>
|
||||||
<Space size={0}>
|
<Space size={0}>
|
||||||
<p className="text-grey-muted m-0">
|
<p className="text-grey-muted m-0">{extraInfo.headerKey}</p>
|
||||||
{t('label.extra-info-key')}
|
|
||||||
</p>
|
|
||||||
{extraInfo.description && (
|
{extraInfo.description && (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
|
|||||||
@ -35,7 +35,7 @@ export interface CreateAPIService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -34,7 +34,7 @@ export interface CreateDashboardService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
@ -345,6 +345,10 @@ export interface Connection {
|
|||||||
* MicroStrategy Project Name
|
* MicroStrategy Project Name
|
||||||
*/
|
*/
|
||||||
projectName?: string;
|
projectName?: string;
|
||||||
|
/**
|
||||||
|
* Space types of Qlik Cloud to filter the dashboards ingested into the platform.
|
||||||
|
*/
|
||||||
|
spaceTypes?: SpaceType[];
|
||||||
/**
|
/**
|
||||||
* token to connect to Qlik Cloud.
|
* token to connect to Qlik Cloud.
|
||||||
*/
|
*/
|
||||||
@ -1087,6 +1091,12 @@ export interface GCPImpersonateServiceAccountValues {
|
|||||||
[property: string]: any;
|
[property: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum SpaceType {
|
||||||
|
Managed = "Managed",
|
||||||
|
Personal = "Personal",
|
||||||
|
Shared = "Shared",
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service Type
|
* Service Type
|
||||||
*
|
*
|
||||||
|
|||||||
@ -35,7 +35,7 @@ export interface CreateDatabaseService {
|
|||||||
* The ingestion agent responsible for executing the ingestion pipeline. It will be defined
|
* The ingestion agent responsible for executing the ingestion pipeline. It will be defined
|
||||||
* at runtime based on the Ingestion Agent of the service.
|
* at runtime based on the Ingestion Agent of the service.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
@ -661,6 +661,10 @@ export interface ConfigClass {
|
|||||||
* Cost of credit for the Snowflake account.
|
* Cost of credit for the Snowflake account.
|
||||||
*/
|
*/
|
||||||
creditCost?: number;
|
creditCost?: number;
|
||||||
|
/**
|
||||||
|
* Optional configuration for ingestion of streams, By default, it will skip the streams.
|
||||||
|
*/
|
||||||
|
includeStreams?: boolean;
|
||||||
/**
|
/**
|
||||||
* Optional configuration for ingestion of TRANSIENT tables, By default, it will skip the
|
* Optional configuration for ingestion of TRANSIENT tables, By default, it will skip the
|
||||||
* TRANSIENT tables.
|
* TRANSIENT tables.
|
||||||
|
|||||||
@ -35,7 +35,7 @@ export interface CreateMessagingService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export interface CreateMetadataService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -34,7 +34,7 @@ export interface CreateMlModelService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -34,7 +34,7 @@ export interface CreatePipelineService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Life Cycle of the entity
|
* Life Cycle of the entity
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -35,7 +35,7 @@ export interface CreateSearchService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -35,7 +35,7 @@ export interface CreateStorageService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies the this entity instance uniquely
|
* Name that identifies the this entity instance uniquely
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -59,7 +59,7 @@ export interface APIService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this API service.
|
* Name that identifies this API service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -58,7 +58,7 @@ export interface DashboardService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this dashboard service.
|
* Name that identifies this dashboard service.
|
||||||
*/
|
*/
|
||||||
@ -458,6 +458,10 @@ export interface Connection {
|
|||||||
* MicroStrategy Project Name
|
* MicroStrategy Project Name
|
||||||
*/
|
*/
|
||||||
projectName?: string;
|
projectName?: string;
|
||||||
|
/**
|
||||||
|
* Space types of Qlik Cloud to filter the dashboards ingested into the platform.
|
||||||
|
*/
|
||||||
|
spaceTypes?: SpaceType[];
|
||||||
/**
|
/**
|
||||||
* token to connect to Qlik Cloud.
|
* token to connect to Qlik Cloud.
|
||||||
*/
|
*/
|
||||||
@ -1200,6 +1204,12 @@ export interface GCPImpersonateServiceAccountValues {
|
|||||||
[property: string]: any;
|
[property: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum SpaceType {
|
||||||
|
Managed = "Managed",
|
||||||
|
Personal = "Personal",
|
||||||
|
Shared = "Shared",
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service Type
|
* Service Type
|
||||||
*
|
*
|
||||||
|
|||||||
@ -60,7 +60,7 @@ export interface DatabaseService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this database service.
|
* Name that identifies this database service.
|
||||||
*/
|
*/
|
||||||
@ -776,6 +776,10 @@ export interface ConfigClass {
|
|||||||
* Cost of credit for the Snowflake account.
|
* Cost of credit for the Snowflake account.
|
||||||
*/
|
*/
|
||||||
creditCost?: number;
|
creditCost?: number;
|
||||||
|
/**
|
||||||
|
* Optional configuration for ingestion of streams, By default, it will skip the streams.
|
||||||
|
*/
|
||||||
|
includeStreams?: boolean;
|
||||||
/**
|
/**
|
||||||
* Optional configuration for ingestion of TRANSIENT tables, By default, it will skip the
|
* Optional configuration for ingestion of TRANSIENT tables, By default, it will skip the
|
||||||
* TRANSIENT tables.
|
* TRANSIENT tables.
|
||||||
|
|||||||
@ -68,7 +68,7 @@ export interface IngestionPipeline {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Set the logging level for the workflow.
|
* Set the logging level for the workflow.
|
||||||
*/
|
*/
|
||||||
@ -3158,6 +3158,10 @@ export interface ConfigClass {
|
|||||||
* Project name to create the refreshToken. Can be anything
|
* Project name to create the refreshToken. Can be anything
|
||||||
*/
|
*/
|
||||||
projectName?: string;
|
projectName?: string;
|
||||||
|
/**
|
||||||
|
* Space types of Qlik Cloud to filter the dashboards ingested into the platform.
|
||||||
|
*/
|
||||||
|
spaceTypes?: SpaceType[];
|
||||||
/**
|
/**
|
||||||
* If using Metastore, Key-Value pairs that will be used to add configs to the SparkSession.
|
* If using Metastore, Key-Value pairs that will be used to add configs to the SparkSession.
|
||||||
*/
|
*/
|
||||||
@ -3456,6 +3460,10 @@ export interface ConfigClass {
|
|||||||
* Cost of credit for the Snowflake account.
|
* Cost of credit for the Snowflake account.
|
||||||
*/
|
*/
|
||||||
creditCost?: number;
|
creditCost?: number;
|
||||||
|
/**
|
||||||
|
* Optional configuration for ingestion of streams, By default, it will skip the streams.
|
||||||
|
*/
|
||||||
|
includeStreams?: boolean;
|
||||||
/**
|
/**
|
||||||
* Optional configuration for ingestion of TRANSIENT tables, By default, it will skip the
|
* Optional configuration for ingestion of TRANSIENT tables, By default, it will skip the
|
||||||
* TRANSIENT tables.
|
* TRANSIENT tables.
|
||||||
@ -5361,6 +5369,12 @@ export enum KafkaSecurityProtocol {
|
|||||||
SaslSSL = "SASL_SSL",
|
SaslSSL = "SASL_SSL",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum SpaceType {
|
||||||
|
Managed = "Managed",
|
||||||
|
Personal = "Personal",
|
||||||
|
Shared = "Shared",
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SSL Configuration for OpenMetadata Server
|
* SSL Configuration for OpenMetadata Server
|
||||||
*
|
*
|
||||||
|
|||||||
@ -59,7 +59,7 @@ export interface MessagingService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this messaging service.
|
* Name that identifies this messaging service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -55,7 +55,7 @@ export interface MetadataService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this database service.
|
* Name that identifies this database service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -59,7 +59,7 @@ export interface MlmodelService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this pipeline service.
|
* Name that identifies this pipeline service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -59,7 +59,7 @@ export interface PipelineService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this pipeline service.
|
* Name that identifies this pipeline service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -58,7 +58,7 @@ export interface SearchService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this search service.
|
* Name that identifies this search service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -58,7 +58,7 @@ export interface StorageService {
|
|||||||
/**
|
/**
|
||||||
* The ingestion agent responsible for executing the ingestion pipeline.
|
* The ingestion agent responsible for executing the ingestion pipeline.
|
||||||
*/
|
*/
|
||||||
ingestionAgent?: EntityReference;
|
ingestionRunner?: EntityReference;
|
||||||
/**
|
/**
|
||||||
* Name that identifies this storage service.
|
* Name that identifies this storage service.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -145,4 +145,5 @@ export type ExtraInfoType = {
|
|||||||
href?: string;
|
href?: string;
|
||||||
location?: string;
|
location?: string;
|
||||||
type?: string;
|
type?: string;
|
||||||
|
headerKey?: string;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user