Class ContentPackBaseArchiveWriter
java.lang.Object
org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveWriter
org.odpi.openmetadata.samples.archiveutilities.EgeriaBaseArchiveWriter
org.odpi.openmetadata.archiveutilities.openconnectors.base.ContentPackBaseArchiveWriter
- Direct Known Subclasses:
ApacheAtlasPackArchiveWriter
,ApacheKafkaPackArchiveWriter
,APIPackArchiveWriter
,CorePackArchiveWriter
,NannyPackArchiveWriter
,PostgresPackArchiveWriter
,UnityCatalogPackArchiveWriter
CorePackArchiveWriter creates an open metadata archive that includes the connector type
information for all open connectors supplied by the egeria project.
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class org.odpi.openmetadata.samples.archiveutilities.EgeriaBaseArchiveWriter
archiveBuilder, archiveFileName, archiveGUID, archiveHelper, archiveLicense, archiveName, archiveType, guidMapFileName, openMetadataValidValueSetPrefix, originatorName, versionName
-
Constructor Summary
ConstructorDescriptionContentPackBaseArchiveWriter
(String archiveGUID, String archiveName, String archiveDescription, String archiveFileName, OpenMetadataArchive[] additionalDependencies) Constructor for an archive. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDataAssetCatalogTemplates
(ContentPackDefinition contentPackDefinition) Loop through the server template definitions creating the specified templates.protected String
addDeployedImplementationType
(String deployedImplementationType, String associatedTypeName, String qualifiedName, String category, String description, String wikiLink, DeployedImplementationTypeDefinition isATypeOf) Add a new valid values record for a deployed implementation type.protected void
addGovernanceActionType
(String governanceEngineGUID, String governanceEngineName, String governanceEngineTypeName, String governanceRequestType, Map<String, String> requestParameters, List<NewActionTarget> actionTargets, GovernanceActionDescription governanceActionDescription, String governanceActionTypeGUID, String supportedElementQualifiedName) Add details of a request type to the engine.protected void
addIntegrationConnectors
(ContentPackDefinition contentPackDefinition, IntegrationGroupDefinition integrationGroupDefinition) Add the integration connectors for the content pack.protected void
addIntegrationGroups
(ContentPackDefinition contentPackDefinition) Loop through the integration group definitions creating the specified definitions for the names content pack.protected void
addRequestType
(String governanceEngineGUID, String governanceEngineName, String governanceEngineTypeName, String governanceRequestType, String serviceRequestType, Map<String, String> requestParameters, List<NewActionTarget> actionTargets, GovernanceActionDescription governanceActionDescription, String governanceActionTypeGUID, String supportedElementQualifiedName) Add details of a request type to the engine.protected void
addSoftwareServerCatalogTemplates
(ContentPackDefinition contentPackDefinition) Loop through the server template definitions creating the specified templates.protected void
addStepExecutor
(String stepGUID, RequestTypeDefinition requestTypeDefinition, GovernanceEngineDefinition governanceEngineDefinition) Create the executor relationships and attach the action targets to the step.protected void
createAndCatalogAssetGovernanceActionProcess
(String assetType, String openMetadataType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of asset and then adds it as a catalog target for an appropriate integration connector.protected void
createAndCatalogServerGovernanceActionProcess
(String serverType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of server and then adds it as a catalog target for an appropriate integration connector.protected void
createAndHarvestToAssetGovernanceActionProcess
(String assetType, String openMetadataType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of asset and then adds it as a catalog target for an appropriate integration connector.protected void
createAndSurveyServerGovernanceActionProcess
(String assetType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition surveyRequestType, GovernanceEngineDefinition surveyEngineDefinition, String supportedElementQualifiedName) Create a three-step governance action process that creates a metadata element for a particular type of asset and then runs a survey against the asset's resource and creates a report.protected void
createAsCatalogTargetGovernanceActionProcess
(String assetType, String openMetadataType, String technologyType, String actionName, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of asset and then adds it as a catalog target for an appropriate integration connector.protected void
createDataAssetCatalogTemplate
(String guid, DeployedImplementationTypeDefinition deployedImplementationType, String assetName, String assetDescription, String serverName, String userId, String password, String connectorTypeGUID, String networkAddress, Map<String, Object> configurationProperties, String secretsStorePurpose, String secretsStoreConnectorTypeGUID, String secretsStoreFileName, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a type of asset and link it to the associated deployed implementation type.protected void
createDataAssetCatalogTemplate
(String guid, DeployedImplementationTypeDefinition deployedImplementationType, String assetName, String assetDescription, String serverName, String userId, String password, String connectorTypeGUID, String networkAddress, Map<String, Object> configurationProperties, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a type of asset and link it to the associated deployed implementation type.protected void
createDataFileCatalogTemplate
(DeployedImplementationType deployedImplementationType, String connectorTypeGUID, Map<String, Object> configurationProperties) Create a template for a data file and link it to the associated open metadata type.protected void
createDataSetCatalogTemplate
(DeployedImplementationType deployedImplementationType, String qualifiedName, String connectorTypeGUID) Create a template for a dataset and link it to the associated open metadata type.protected void
createEndpointCatalogTemplate
(String guid, String templateName, String templateDescription, String templateVersion, DeployedImplementationTypeDefinition deployedImplementationType, String serverName, String description, String networkAddress, String protocol, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a software server and link it to the associated deployed implementation type.protected void
createFolderCatalogTemplate
(DeployedImplementationType deployedImplementationType, String connectorTypeGUID) Create a template for a file directory and link it to the associated open metadata type.protected void
createGovernanceEngines
(ContentPackDefinition contentPackDefinition) Create the default governance enginesprotected void
createGovernanceServices
(ContentPackDefinition contentPackDefinition) Register the governance services that are going to be in the default governance engines.protected void
createHostCatalogTemplate
(String guid, DeployedImplementationType deployedImplementationType, DeployedImplementationType softwareCapabilityType, String softwareCapabilityName, Classification softwareCapabilityClassification) Create a template for a host and link it to the associated deployed implementation type.protected void
createRequestTypes
(ContentPackDefinition contentPackDefinition) Add the request types.protected void
createSoftwareCapabilityCatalogTemplate
(String guid, DeployedImplementationType deployedImplementationType, String serverQualifiedName, String softwareCapabilityName, String softwareCapabilityDescription, Classification softwareCapabilityClassification, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a software server and link it to the associated deployed implementation type.protected void
createSoftwareFileCatalogTemplate
(DeployedImplementationType deployedImplementationType, String connectorTypeGUID) Create a template for a software file and link it to the associated open metadata type.protected void
createSoftwareServerCatalogTemplate
(String guid, String qualifiedName, String templateName, String templateDescription, String templateVersion, DeployedImplementationTypeDefinition deployedImplementationType, DeployedImplementationTypeDefinition softwareCapabilityType, String softwareCapabilityName, String serverName, String description, String userId, String connectorTypeGUID, String networkAddress, Map<String, Object> configurationProperties, String secretsStorePurpose, String secretsStoreConnectorTypeGUID, String secretsStoreFileName, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a software server and link it to the associated deployed implementation type.protected void
deleteAsCatalogTargetGovernanceActionProcess
(String assetType, String openMetadataType, String technologyType, RequestTypeDefinition deleteRequestType, GovernanceEngineDefinition deleteEngineDefinition, String supportedElementQualifiedName) Create a one-step governance action process that deletes a metadata element for a particular type of asset which then removes it, any anchored content and relationships - like the catalog target for an appropriate integration connector.protected String
getParentSet
(String requestedGUID, String typeName, String propertyName, String mapName) Find or create the parent set for a valid value.void
Generates and writes out an open metadata archive containing all the connector types describing the Egeria project open connectors.Methods inherited from class org.odpi.openmetadata.samples.archiveutilities.EgeriaBaseArchiveWriter
getArchiveContent, getOpenMetadataArchive, setArchiveBuilder, writeOpenMetadataArchive
Methods inherited from class org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveWriter
getOpenMetadataArchiveFileConnection, writeOpenMetadataArchive, writeOpenMetadataArchive
-
Field Details
-
deployedImplementationTypeQNAMEs
-
-
Constructor Details
-
ContentPackBaseArchiveWriter
public ContentPackBaseArchiveWriter(String archiveGUID, String archiveName, String archiveDescription, String archiveFileName, OpenMetadataArchive[] additionalDependencies) Constructor for an archive.- Parameters:
archiveGUID
- unique identifier of the archivearchiveName
- name of the archivearchiveDescription
- description of archivearchiveFileName
- name of file to write archive toadditionalDependencies
- archive that this archive is dependent on
-
-
Method Details
-
createDataFileCatalogTemplate
protected void createDataFileCatalogTemplate(DeployedImplementationType deployedImplementationType, String connectorTypeGUID, Map<String, Object> configurationProperties) Create a template for a data file and link it to the associated open metadata type. The template consists of a DataFile asset plus an optional connection, linked to the supplied connector type and an endpoint,- Parameters:
connectorTypeGUID
- connector type to link to the connectiondeployedImplementationType
- deployed implementation type to link the template toconfigurationProperties
- configuration properties
-
createFolderCatalogTemplate
protected void createFolderCatalogTemplate(DeployedImplementationType deployedImplementationType, String connectorTypeGUID) Create a template for a file directory and link it to the associated open metadata type. The template consists of a DataFile asset plus an optional connection, linked to the supplied connector type and an endpoint,- Parameters:
deployedImplementationType
- info for the templateconnectorTypeGUID
- connector type to link to the connection
-
createDataSetCatalogTemplate
protected void createDataSetCatalogTemplate(DeployedImplementationType deployedImplementationType, String qualifiedName, String connectorTypeGUID) Create a template for a dataset and link it to the associated open metadata type. The template consists of a DataFile asset plus an optional connection, linked to the supplied connector type and an endpoint,- Parameters:
deployedImplementationType
- values for the templateconnectorTypeGUID
- connector type to link to the connection
-
createSoftwareFileCatalogTemplate
protected void createSoftwareFileCatalogTemplate(DeployedImplementationType deployedImplementationType, String connectorTypeGUID) Create a template for a software file and link it to the associated open metadata type. The template consists of a DataFile asset plus an optional connection, linked to the supplied connector type and an endpoint,- Parameters:
deployedImplementationType
- description for the templateconnectorTypeGUID
- connector type to link to the connection
-
addSoftwareServerCatalogTemplates
Loop through the server template definitions creating the specified templates.- Parameters:
contentPackDefinition
- which content pack are these templates for?
-
addDataAssetCatalogTemplates
Loop through the server template definitions creating the specified templates.- Parameters:
contentPackDefinition
- which content pack are these templates for?
-
createSoftwareServerCatalogTemplate
protected void createSoftwareServerCatalogTemplate(String guid, String qualifiedName, String templateName, String templateDescription, String templateVersion, DeployedImplementationTypeDefinition deployedImplementationType, DeployedImplementationTypeDefinition softwareCapabilityType, String softwareCapabilityName, String serverName, String description, String userId, String connectorTypeGUID, String networkAddress, Map<String, Object> configurationProperties, String secretsStorePurpose, String secretsStoreConnectorTypeGUID, String secretsStoreFileName, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a software server and link it to the associated deployed implementation type. The template consists of a SoftwareServer asset linked to a software capability, plus a connection, linked to the supplied connector type and an endpoint,- Parameters:
guid
- fixed unique identifierqualifiedName
- unique name for the templatetemplateName
- name of template in Template classificationtemplateDescription
- description of the template in the Template classificationtemplateVersion
- version of the template in the Template classificationdeployedImplementationType
- deployed implementation type for the technologysoftwareCapabilityType
- type of the associated capabilitysoftwareCapabilityName
- name for the associated capabilityserverName
- name for the serverdescription
- description for the serveruserId
- userId for the connectionconnectorTypeGUID
- connector type to link to the connectionnetworkAddress
- network address for the endpointconfigurationProperties
- additional properties for the connectionsecretsStorePurpose
- purpose for the secrets storesecretsStoreConnectorTypeGUID
- optional name for the secrets store connector provider to include in the templatesecretsStoreFileName
- location of the secrets storereplacementAttributeTypes
- attributes that should have a replacement value to successfully use the templateplaceholderPropertyTypes
- placeholder variables used in the supplied parameters
-
createEndpointCatalogTemplate
protected void createEndpointCatalogTemplate(String guid, String templateName, String templateDescription, String templateVersion, DeployedImplementationTypeDefinition deployedImplementationType, String serverName, String description, String networkAddress, String protocol, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a software server and link it to the associated deployed implementation type. The template consists of a SoftwareServer asset linked to a software capability, plus a connection, linked to the supplied connector type and an endpoint,- Parameters:
guid
- fixed unique identifiertemplateName
- name of template in Template classificationtemplateDescription
- description of the template in the Template classificationtemplateVersion
- version of the template in the Template classificationserverName
- name for the serverdescription
- description for the servernetworkAddress
- network address for the endpointprotocol
- communication protocol for the endpointplaceholderPropertyTypes
- placeholder variables used in the supplied parameters
-
createHostCatalogTemplate
protected void createHostCatalogTemplate(String guid, DeployedImplementationType deployedImplementationType, DeployedImplementationType softwareCapabilityType, String softwareCapabilityName, Classification softwareCapabilityClassification) Create a template for a host and link it to the associated deployed implementation type. The template consists of a SoftwareServer asset linked to a software capability, plus a connection, linked to the supplied connector type and an endpoint,- Parameters:
guid
- fixed unique identifierdeployedImplementationType
- deployed implementation type for the technologysoftwareCapabilityType
- type of the associated capabilitysoftwareCapabilityName
- name for the associated capabilitysoftwareCapabilityClassification
- classification for the software capability (or null)
-
createSoftwareCapabilityCatalogTemplate
protected void createSoftwareCapabilityCatalogTemplate(String guid, DeployedImplementationType deployedImplementationType, String serverQualifiedName, String softwareCapabilityName, String softwareCapabilityDescription, Classification softwareCapabilityClassification, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a software server and link it to the associated deployed implementation type. The template consists of a SoftwareServer asset linked to a software capability, plus a connection, linked to the supplied connector type and an endpoint,- Parameters:
guid
- fixed guid for this templatedeployedImplementationType
- deployed implementation type for the technologyserverQualifiedName
- qualified name of the owning serversoftwareCapabilityName
- name for the associated capabilitysoftwareCapabilityDescription
- description for the software capabilitysoftwareCapabilityClassification
- optional classification for the associated capabilityreplacementAttributeTypes
- attributes that should have a replacement value to successfully use the templateplaceholderPropertyTypes
- placeholder variables used in the supplied parameters
-
createDataAssetCatalogTemplate
protected void createDataAssetCatalogTemplate(String guid, DeployedImplementationTypeDefinition deployedImplementationType, String assetName, String assetDescription, String serverName, String userId, String password, String connectorTypeGUID, String networkAddress, Map<String, Object> configurationProperties, String secretsStorePurpose, String secretsStoreConnectorTypeGUID, String secretsStoreFileName, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a type of asset and link it to the associated deployed implementation type. The template consists of an asset linked to a connection, that is in turn linked to the supplied connector type and an endpoint, along with a nested secrets store- Parameters:
guid
- fixed unique identifierdeployedImplementationType
- deployed implementation type for the technologyassetName
- name for the assetassetDescription
- descriptionserverName
- optional server nameuserId
- userId for the connectionpassword
- password for the connectionconnectorTypeGUID
- connector type to link to the connectionnetworkAddress
- network address for the endpointconfigurationProperties
- additional properties for the connectionsecretsStorePurpose
- purpose for the secrets storesecretsStoreConnectorTypeGUID
- optional name for the secrets store connector provider to include in the templatesecretsStoreFileName
- location of the secrets storereplacementAttributeTypes
- attributes that should have a replacement value to successfully use the templateplaceholderPropertyTypes
- placeholder variables used in the supplied parameters
-
createDataAssetCatalogTemplate
protected void createDataAssetCatalogTemplate(String guid, DeployedImplementationTypeDefinition deployedImplementationType, String assetName, String assetDescription, String serverName, String userId, String password, String connectorTypeGUID, String networkAddress, Map<String, Object> configurationProperties, List<ReplacementAttributeType> replacementAttributeTypes, List<PlaceholderPropertyType> placeholderPropertyTypes) Create a template for a type of asset and link it to the associated deployed implementation type. The template consists of an asset linked to a connection, that is in turn linked to the supplied connector type and an endpoint,- Parameters:
guid
- fixed unique identifierdeployedImplementationType
- deployed implementation type for the technologyassetName
- name for the assetassetDescription
- descriptionserverName
- optional server nameuserId
- userId for the connectionpassword
- password for the connectionconnectorTypeGUID
- connector type to link to the connectionnetworkAddress
- network address for the endpointconfigurationProperties
- additional properties for the connectionreplacementAttributeTypes
- attributes that should have a replacement value to successfully use the templateplaceholderPropertyTypes
- placeholder variables used in the supplied parameters
-
addDeployedImplementationType
protected String addDeployedImplementationType(String deployedImplementationType, String associatedTypeName, String qualifiedName, String category, String description, String wikiLink, DeployedImplementationTypeDefinition isATypeOf) Add a new valid values record for a deployed implementation type.- Parameters:
deployedImplementationType
- preferred valueassociatedTypeName
- specific type name to tie it to (maybe null)qualifiedName
- qualifiedName for this valuecategory
- category for this valuedescription
- description of this valuewikiLink
- optional URL link to more informationisATypeOf
- superType- Returns:
- unique identifier of the deployedImplementationType
-
getParentSet
protected String getParentSet(String requestedGUID, String typeName, String propertyName, String mapName) Find or create the parent set for a valid value.- Parameters:
requestedGUID
- optional guid for the valid valuetypeName
- name of the type (can be null)propertyName
- name of the property (can be null)mapName
- name of the mapName (can be null)- Returns:
- unique identifier (guid) of the parent set
-
addIntegrationGroups
Loop through the integration group definitions creating the specified definitions for the names content pack.- Parameters:
contentPackDefinition
- which content pack are these templates for?
-
addIntegrationConnectors
protected void addIntegrationConnectors(ContentPackDefinition contentPackDefinition, IntegrationGroupDefinition integrationGroupDefinition) Add the integration connectors for the content pack.- Parameters:
contentPackDefinition
- content pack being processedintegrationGroupDefinition
- integration group
-
createGovernanceEngines
Create the default governance engines- Parameters:
contentPackDefinition
- content pack being processed
-
createGovernanceServices
Register the governance services that are going to be in the default governance engines.- Parameters:
contentPackDefinition
- content pack being processed
-
createRequestTypes
Add the request types.- Parameters:
contentPackDefinition
- content pack to fill
-
addRequestType
protected void addRequestType(String governanceEngineGUID, String governanceEngineName, String governanceEngineTypeName, String governanceRequestType, String serviceRequestType, Map<String, String> requestParameters, List<NewActionTarget> actionTargets, GovernanceActionDescription governanceActionDescription, String governanceActionTypeGUID, String supportedElementQualifiedName) Add details of a request type to the engine.- Parameters:
governanceEngineGUID
- unique identifier of the enginegovernanceEngineName
- name of the governance enginegovernanceEngineTypeName
- type of enginegovernanceRequestType
- name of request typeserviceRequestType
- internal name of the request typerequestParameters
- any request parametersactionTargets
- action targetsgovernanceActionDescription
- description of the governance action if andgovernanceActionTypeGUID
- unique identifier of the associated governance action typesupportedElementQualifiedName
- element to link the governance action type to
-
addGovernanceActionType
protected void addGovernanceActionType(String governanceEngineGUID, String governanceEngineName, String governanceEngineTypeName, String governanceRequestType, Map<String, String> requestParameters, List<NewActionTarget> actionTargets, GovernanceActionDescription governanceActionDescription, String governanceActionTypeGUID, String supportedElementQualifiedName) Add details of a request type to the engine.- Parameters:
governanceEngineGUID
- unique identifier of the enginegovernanceEngineName
- name of the governance enginegovernanceEngineTypeName
- type of enginegovernanceRequestType
- name of request typerequestParameters
- any request parametersactionTargets
- action targetsgovernanceActionDescription
- description of the governance action if anygovernanceActionTypeGUID
- unique identifier of the associated governance action typesupportedElementQualifiedName
- element to link the governance action type to
-
createAndSurveyServerGovernanceActionProcess
protected void createAndSurveyServerGovernanceActionProcess(String assetType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition surveyRequestType, GovernanceEngineDefinition surveyEngineDefinition, String supportedElementQualifiedName) Create a three-step governance action process that creates a metadata element for a particular type of asset and then runs a survey against the asset's resource and creates a report.- Parameters:
assetType
- name for the asset type (no spaces)technologyType
- value for deployed implementation typecreateRequestType
- request type used to create the server's metadata elementcreateEngineDefinition
- engine to call for the create operationsurveyRequestType
- request type to run the surveysurveyEngineDefinition
- survey enginesupportedElementQualifiedName
- qualified name of the element that this should be listed as a resource
-
createAndCatalogServerGovernanceActionProcess
protected void createAndCatalogServerGovernanceActionProcess(String serverType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of server and then adds it as a catalog target for an appropriate integration connector.- Parameters:
serverType
- name for the server type (no spaces)technologyType
- value for deployed implementation typecreateRequestType
- request type used to create the server's metadata elementcreateEngineDefinition
- governance action enginecatalogRequestType
- request type to run the surveycatalogEngineDefinition
- governance action enginesupportedElementQualifiedName
- qualified name of the element that this should be listed as a resource
-
createAndCatalogAssetGovernanceActionProcess
protected void createAndCatalogAssetGovernanceActionProcess(String assetType, String openMetadataType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of asset and then adds it as a catalog target for an appropriate integration connector.- Parameters:
assetType
- name for the asset type (no spaces)openMetadataType
- open metadata type name for the created assettechnologyType
- value for deployed implementation typecreateRequestType
- request type used to create the server's metadata elementcreateEngineDefinition
- governance action enginecatalogRequestType
- request type to run the surveycatalogEngineDefinition
- governance action enginesupportedElementQualifiedName
- qualified name of the element that this should be listed as a resource
-
createAndHarvestToAssetGovernanceActionProcess
protected void createAndHarvestToAssetGovernanceActionProcess(String assetType, String openMetadataType, String technologyType, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of asset and then adds it as a catalog target for an appropriate integration connector.- Parameters:
assetType
- name for the asset type (no spaces)openMetadataType
- open metadata type name for the created assettechnologyType
- value for deployed implementation typecreateRequestType
- request type used to create the server's metadata elementcreateEngineDefinition
- governance action enginecatalogRequestType
- request type to run the surveycatalogEngineDefinition
- governance action enginesupportedElementQualifiedName
- qualified name of the element that this should be listed as a resource
-
createAsCatalogTargetGovernanceActionProcess
protected void createAsCatalogTargetGovernanceActionProcess(String assetType, String openMetadataType, String technologyType, String actionName, RequestTypeDefinition createRequestType, GovernanceEngineDefinition createEngineDefinition, RequestTypeDefinition catalogRequestType, GovernanceEngineDefinition catalogEngineDefinition, String supportedElementQualifiedName) Create a two-step governance action process that creates a metadata element for a particular type of asset and then adds it as a catalog target for an appropriate integration connector.- Parameters:
assetType
- name for the server type (no spaces)technologyType
- value for deployed implementation typecreateRequestType
- request type used to create the server's metadata elementcreateEngineDefinition
- governance action enginecatalogRequestType
- request type to run the surveycatalogEngineDefinition
- governance action enginesupportedElementQualifiedName
- qualified name of the element that this should be listed as a resource
-
deleteAsCatalogTargetGovernanceActionProcess
protected void deleteAsCatalogTargetGovernanceActionProcess(String assetType, String openMetadataType, String technologyType, RequestTypeDefinition deleteRequestType, GovernanceEngineDefinition deleteEngineDefinition, String supportedElementQualifiedName) Create a one-step governance action process that deletes a metadata element for a particular type of asset which then removes it, any anchored content and relationships - like the catalog target for an appropriate integration connector.- Parameters:
assetType
- name for the server type (no spaces)technologyType
- value for deployed implementation typedeleteRequestType
- request type used to delete the server's metadata elementdeleteEngineDefinition
- governance action enginesupportedElementQualifiedName
- qualified name of the element that this should be listed as a resource
-
addStepExecutor
protected void addStepExecutor(String stepGUID, RequestTypeDefinition requestTypeDefinition, GovernanceEngineDefinition governanceEngineDefinition) Create the executor relationships and attach the action targets to the step.- Parameters:
stepGUID
- unique identifier of the governance action process steprequestTypeDefinition
- the request type being configuredgovernanceEngineDefinition
- the engine to connect it to
-
writeOpenMetadataArchive
public void writeOpenMetadataArchive()Generates and writes out an open metadata archive containing all the connector types describing the Egeria project open connectors.- Overrides:
writeOpenMetadataArchive
in classEgeriaBaseArchiveWriter
-