Class CorePackArchiveWriter
java.lang.Object
org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveWriter
org.odpi.openmetadata.samples.archiveutilities.EgeriaBaseArchiveWriter
org.odpi.openmetadata.archiveutilities.openconnectors.base.ContentPackBaseArchiveWriter
org.odpi.openmetadata.archiveutilities.openconnectors.core.CorePackArchiveWriter
CorePackArchiveWriter creates an open metadata archive that includes the connector type
information for the default open connectors supplied by the egeria project.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.archiveutilities.openconnectors.base.ContentPackBaseArchiveWriter
deployedImplementationTypeQNAMEs
Fields inherited from class org.odpi.openmetadata.samples.archiveutilities.EgeriaBaseArchiveWriter
archiveBuilder, archiveFileName, archiveGUID, archiveHelper, archiveLicense, archiveName, archiveType, guidMapFileName, openMetadataValidValueSetPrefix, originatorName, versionName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOpenMetadataEnumValidIdentifiers
(String enumConsumingTypeName, String enumConsumingProperty, List<OpenMetadataEnum> openMetadataEnums) Set up a valid value list for an enum based on its ordinals.protected void
addOpenMetadataEnumValidNames
(String enumConsumingTypeName, String enumConsumingProperty, String enumTypeName, List<OpenMetadataEnum> openMetadataEnums) Set up a valid value list for an enum based on its names.protected void
createEgeriaSoftwareServerCatalogTemplate
(String guid, String templateName, String templateDescription, String templateVersion, DeployedImplementationTypeDefinition deployedImplementationType, DeployedImplementationTypeDefinition softwareCapabilityType, String softwareCapabilityName, String serverName, String serverId, 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.void
Implemented by subclass to add the content.static void
Main program to initiate the archive writer for the connector types for data store connectors supported by the Egeria project.Methods inherited from class org.odpi.openmetadata.archiveutilities.openconnectors.base.ContentPackBaseArchiveWriter
addDataAssetCatalogTemplates, addDeployedImplementationType, addGovernanceActionType, addIntegrationConnectors, addIntegrationGroups, addRequestType, addSoftwareServerCatalogTemplates, addStepExecutor, createAndCatalogAssetGovernanceActionProcess, createAndCatalogServerGovernanceActionProcess, createAndHarvestToAssetGovernanceActionProcess, createAndSurveyServerGovernanceActionProcess, createAsCatalogTargetGovernanceActionProcess, createDataAssetCatalogTemplate, createDataAssetCatalogTemplate, createDataFileCatalogTemplate, createDataSetCatalogTemplate, createEndpointCatalogTemplate, createFolderCatalogTemplate, createGovernanceEngines, createGovernanceServices, createHostCatalogTemplate, createRequestTypes, createSoftwareCapabilityCatalogTemplate, createSoftwareFileCatalogTemplate, createSoftwareServerCatalogTemplate, deleteAsCatalogTargetGovernanceActionProcess, getParentSet, writeOpenMetadataArchive
Methods inherited from class org.odpi.openmetadata.samples.archiveutilities.EgeriaBaseArchiveWriter
getOpenMetadataArchive, setArchiveBuilder, writeOpenMetadataArchive
Methods inherited from class org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveWriter
getOpenMetadataArchiveFileConnection, writeOpenMetadataArchive, writeOpenMetadataArchive
-
Constructor Details
-
CorePackArchiveWriter
public CorePackArchiveWriter()Default constructor initializes the archive.
-
-
Method Details
-
getArchiveContent
public void getArchiveContent()Implemented by subclass to add the content.- Specified by:
getArchiveContent
in classEgeriaBaseArchiveWriter
-
createEgeriaSoftwareServerCatalogTemplate
protected void createEgeriaSoftwareServerCatalogTemplate(String guid, String templateName, String templateDescription, String templateVersion, DeployedImplementationTypeDefinition deployedImplementationType, DeployedImplementationTypeDefinition softwareCapabilityType, String softwareCapabilityName, String serverName, String serverId, 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 identifiertemplateName
- 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
-
addOpenMetadataEnumValidNames
protected void addOpenMetadataEnumValidNames(String enumConsumingTypeName, String enumConsumingProperty, String enumTypeName, List<OpenMetadataEnum> openMetadataEnums) Set up a valid value list for an enum based on its names.- Parameters:
enumConsumingTypeName
- entity type nameenumConsumingProperty
- attribute nameenumTypeName
- type name for enumopenMetadataEnums
- list of valid values
-
addOpenMetadataEnumValidIdentifiers
protected void addOpenMetadataEnumValidIdentifiers(String enumConsumingTypeName, String enumConsumingProperty, List<OpenMetadataEnum> openMetadataEnums) Set up a valid value list for an enum based on its ordinals.- Parameters:
enumConsumingTypeName
- entity type nameenumConsumingProperty
- attribute nameopenMetadataEnums
- list of valid values
-
main
Main program to initiate the archive writer for the connector types for data store connectors supported by the Egeria project.- Parameters:
args
- ignored
-