Class IntegrationServiceConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerClientConfig
org.odpi.openmetadata.adminservices.configuration.properties.IntegrationServiceConfig
IntegrationServiceConfig provides the configuration for a single Open Metadata Integration Service (OMIS).
It extends OMAGServerClientConfig which defines the platform url root and name of the server that hosts the access service used by the
integration service.
-
Constructor Summary
ConstructorDescriptionDefault constructor for use with Jackson librariesCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the default value for permitted synchronization that should be set up for the integration connectors as they are configured.Return the OCF Connection for the topic used to pass requests to this integration service.Return the Java class name of the admin-services interface for this integration service.Return the short description of the integration service.Return the development status of the service.Return the full name of the integration service.int
Return the code number (ordinal) for this integration service.Return the name of the integration service.Return the status of this integration service.Return the options for this integration service.Return the full name of the Open Metadata Access Service (OMAS) that this integration service is partnered with.Return the string that appears in the REST API URL that identifies the owning service.Return the wiki page link for the integration service.int
hashCode()
Return a hash code based on the values of this object.void
setDefaultPermittedSynchronization
(PermittedSynchronization defaultPermittedSynchronization) Set up the default value for permitted synchronization that should be set up for the integration connectors as they are configured.void
setIntegrationConnectorConfigs
(List<IntegrationConnectorConfig> integrationConnectorConfigs) Set up the OCF Connection for the topic used to pass requests to this integration service.void
setIntegrationServiceContextManagerClass
(String integrationServiceContextManagerClass) Set up the Java class name of the admin services interface for this integration service.void
setIntegrationServiceDescription
(String integrationServiceDescription) Set up the short description of the integration service.void
setIntegrationServiceDevelopmentStatus
(ComponentDevelopmentStatus integrationServiceDevelopmentStatus) Set up the development status of the service.void
setIntegrationServiceFullName
(String integrationServiceFullName) Set up the full name of the integration service.void
setIntegrationServiceId
(int integrationServiceId) Set up the code number (ordinal) for this integration service.void
setIntegrationServiceName
(String integrationServiceName) Set up the name of the integration service.void
setIntegrationServiceOperationalStatus
(ServiceOperationalStatus integrationServiceOperationalStatus) Set up the status of the integration service.void
setIntegrationServiceOptions
(Map<String, Object> integrationServiceOptions) Set up the options for this integration service.void
setIntegrationServicePartnerOMAS
(String integrationServicePartnerOMAS) Set up the full name of the Open Metadata Access Service (OMAS) that this integration service is partnered with.void
setIntegrationServiceURLMarker
(String integrationServiceURLMarker) Set up the string that appears in the REST API URL that identifies the owning service.void
setIntegrationServiceWiki
(String integrationServiceWiki) Set up the wiki page link for the integration service.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerClientConfig
getOMAGServerName, getOMAGServerPlatformRootURL, setOMAGServerName, setOMAGServerPlatformRootURL
-
Constructor Details
-
IntegrationServiceConfig
public IntegrationServiceConfig()Default constructor for use with Jackson libraries -
IntegrationServiceConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getIntegrationServiceId
public int getIntegrationServiceId()Return the code number (ordinal) for this integration service.- Returns:
- int ordinal
-
setIntegrationServiceId
public void setIntegrationServiceId(int integrationServiceId) Set up the code number (ordinal) for this integration service.- Parameters:
integrationServiceId
- int ordinal
-
getIntegrationServiceDevelopmentStatus
Return the development status of the service.- Returns:
- enum describing the status
-
setIntegrationServiceDevelopmentStatus
public void setIntegrationServiceDevelopmentStatus(ComponentDevelopmentStatus integrationServiceDevelopmentStatus) Set up the development status of the service.- Parameters:
integrationServiceDevelopmentStatus
- enum describing the status
-
getIntegrationServiceContextManagerClass
Return the Java class name of the admin-services interface for this integration service.- Returns:
- String class name implementing the IntegrationServiceAdmin interface.
-
setIntegrationServiceContextManagerClass
Set up the Java class name of the admin services interface for this integration service.- Parameters:
integrationServiceContextManagerClass
- String class name implementing the IntegrationServiceAdmin interface.
-
getIntegrationServiceName
Return the name of the integration service.- Returns:
- String name
-
setIntegrationServiceFullName
Set up the full name of the integration service.- Parameters:
integrationServiceFullName
- String name
-
setIntegrationServiceName
Set up the name of the integration service.- Parameters:
integrationServiceName
- String name
-
getIntegrationServiceFullName
Return the full name of the integration service.- Returns:
- String name
-
getIntegrationServiceURLMarker
Return the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.- Returns:
- String default name
-
setIntegrationServiceURLMarker
Set up the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.- Parameters:
integrationServiceURLMarker
- url fragment
-
getIntegrationServiceDescription
Return the short description of the integration service. The default value is in English but this can be changed.- Returns:
- String description
-
setIntegrationServiceDescription
Set up the short description of the integration service.- Parameters:
integrationServiceDescription
- String description
-
getIntegrationServiceWiki
Return the wiki page link for the integration service.- Returns:
- String url
-
setIntegrationServiceWiki
Set up the wiki page link for the integration service.- Parameters:
integrationServiceWiki
- String url
-
getIntegrationServicePartnerOMAS
Return the full name of the Open Metadata Access Service (OMAS) that this integration service is partnered with.- Returns:
- Full name of OMAS
-
setIntegrationServicePartnerOMAS
Set up the full name of the Open Metadata Access Service (OMAS) that this integration service is partnered with.- Parameters:
integrationServicePartnerOMAS
- Full name of OMAS
-
getDefaultPermittedSynchronization
Return the default value for permitted synchronization that should be set up for the integration connectors as they are configured.- Returns:
- enum default
-
setDefaultPermittedSynchronization
public void setDefaultPermittedSynchronization(PermittedSynchronization defaultPermittedSynchronization) Set up the default value for permitted synchronization that should be set up for the integration connectors as they are configured.- Parameters:
defaultPermittedSynchronization
- enum default
-
getIntegrationServiceOperationalStatus
Return the status of this integration service.- Returns:
- ServiceOperationalStatus enum
-
setIntegrationServiceOperationalStatus
public void setIntegrationServiceOperationalStatus(ServiceOperationalStatus integrationServiceOperationalStatus) Set up the status of the integration service.- Parameters:
integrationServiceOperationalStatus
- ServiceOperationalStatus enum
-
getIntegrationConnectorConfigs
Return the OCF Connection for the topic used to pass requests to this integration service. The default values are constructed from the integration service name. If this value is set to null then the integration service ignores incoming events.- Returns:
- list of connector configurations
-
setIntegrationConnectorConfigs
public void setIntegrationConnectorConfigs(List<IntegrationConnectorConfig> integrationConnectorConfigs) Set up the OCF Connection for the topic used to pass requests to this integration service. The default values are constructed from the integration service name. If this value is set to null then the integration service ignores incoming events.- Parameters:
integrationConnectorConfigs
- Connection properties
-
getIntegrationServiceOptions
Return the options for this integration service. These are properties that are specific to the integration service.- Returns:
- Map from String to String
-
setIntegrationServiceOptions
Set up the options for this integration service. These are properties that are specific to the integration service.- Parameters:
integrationServiceOptions
- Map from String to String
-
toString
Standard toString method.- Overrides:
toString
in classOMAGServerClientConfig
- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classOMAGServerClientConfig
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCode
in classOMAGServerClientConfig
- Returns:
- in hash code
-