Class V2ConfigurationImpl
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.config.impl.AbstractSystemConfigurationImpl
-
- com.ibm.fhir.operation.bulkdata.config.impl.V2ConfigurationImpl
-
- All Implemented Interfaces:
ConfigurationAdapter
public class V2ConfigurationImpl extends AbstractSystemConfigurationImpl
Starting with 4.6
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.operation.bulkdata.config.impl.AbstractSystemConfigurationImpl
DEFAULT_COS_OBJ_MAX_RESOURCE_COUNT, DEFAULT_COS_OBJ_MAX_SIZE_MB, DEFAULT_FILE_MAX_RESOURCE_COUNT, DEFAULT_FILE_MAX_SIZE_MB, IMPORT_INFLY_RATE_NUMOFFHIRRESOURCES, IMPORT_NUMOFFHIRRESOURCES_PERREAD
-
-
Constructor Summary
Constructors Constructor Description V2ConfigurationImpl()
-
Method Summary
-
Methods inherited from class com.ibm.fhir.operation.bulkdata.config.impl.AbstractSystemConfigurationImpl
enabled, getApplicationName, getBaseFileLocation, getCoreBatchIdEncryptionKey, getCoreCosObjectResourceCountThreshold, getCoreCosObjectSizeThreshold, getCoreCosPartUploadTriggerSize, getCoreCosRequestTimeout, getCoreCosSocketTimeout, getCoreCosTcpKeepAlive, getCoreFastTxTimeout, getCoreFileResourceCountThreshold, getCoreFileSizeThreshold, getCoreFileWriteTriggerSize, getCoreIamEndpoint, getCoreMaxPartitions, getCorePageSize, getEndOfFileDelimiter, getImportInflyRateNumberOfFhirResources, getImportNumberOfFhirResourcesPerRead, getInputLimit, getJobXMLName, getModuleName, getStorageProviderStorageType, getTenant, isStorageProviderHmacPresigned, isStorageTypeAllowed, registerRequestContext, shouldCoreApiBatchTrustAll, shouldCoreCosUseServerTruststore
-
-
-
-
Method Detail
-
legacy
public boolean legacy()
Description copied from interface:ConfigurationAdapter
identifies the configuration as legacy or not.- Returns:
-
getCoreApiBatchUrl
public String getCoreApiBatchUrl()
- Returns:
- the local batch api URL
-
getCoreApiBatchUser
public String getCoreApiBatchUser()
- Returns:
- the local batch api user, it should be an admin
-
getCoreApiBatchPassword
public String getCoreApiBatchPassword()
- Returns:
- the local batch api user password
-
getCoreApiBatchTrustStore
public String getCoreApiBatchTrustStore()
- Returns:
- the local batch api user password
-
getCoreApiBatchTrustStorePassword
public String getCoreApiBatchTrustStorePassword()
- Returns:
- the local batch api user password
-
getStorageProviderType
public String getStorageProviderType(String provider)
Description copied from interface:ConfigurationAdapter
gets the StorageProvider type which aligns with the StorageType- Returns:
-
getStorageProviderValidBaseUrls
public List<String> getStorageProviderValidBaseUrls(String provider)
Description copied from interface:ConfigurationAdapter
gets the StorageProvider's valid base urls for HTTPS sources.- Returns:
-
getStorageProviderBucketName
public String getStorageProviderBucketName(String provider)
Description copied from interface:ConfigurationAdapter
gets the StorageProvider's bucket name for cos sources.- Returns:
-
getStorageProviderLocation
public String getStorageProviderLocation(String provider)
Description copied from interface:ConfigurationAdapter
gets the location of the cos endpoint.- Returns:
-
getStorageProviderEndpointInternal
public String getStorageProviderEndpointInternal(String provider)
Description copied from interface:ConfigurationAdapter
get the internal endpoint for the storage provider.- Returns:
-
getStorageProviderEndpointExternal
public String getStorageProviderEndpointExternal(String provider)
Description copied from interface:ConfigurationAdapter
get the external endpoint for the storage provider.- Returns:
-
isStorageProviderAuthTypeIam
public boolean isStorageProviderAuthTypeIam(String provider)
- Returns:
-
getStorageProviderAuthTypeIamApiKey
public String getStorageProviderAuthTypeIamApiKey(String provider)
- Returns:
-
getStorageProviderAuthTypeIamApiResourceInstanceId
public String getStorageProviderAuthTypeIamApiResourceInstanceId(String provider)
- Returns:
-
isStorageProviderAuthTypeHmac
public boolean isStorageProviderAuthTypeHmac(String provider)
- Returns:
-
getStorageProviderAuthTypeHmacAccessKey
public String getStorageProviderAuthTypeHmacAccessKey(String provider)
- Returns:
-
getStorageProviderAuthTypeHmacSecretKey
public String getStorageProviderAuthTypeHmacSecretKey(String provider)
- Returns:
-
isStorageProviderAuthTypeBasic
public boolean isStorageProviderAuthTypeBasic(String provider)
- Returns:
-
getStorageProviderAuthTypeUsername
public String getStorageProviderAuthTypeUsername(String provider)
- Returns:
-
getStorageProviderAuthTypePassword
public String getStorageProviderAuthTypePassword(String provider)
- Returns:
-
isStorageProviderParquetEnabled
public boolean isStorageProviderParquetEnabled(String provider)
- Returns:
-
shouldStorageProviderValidateBaseUrl
public boolean shouldStorageProviderValidateBaseUrl(String provider)
- Returns:
-
isStorageProviderExportPublic
public boolean isStorageProviderExportPublic(String provider)
- Returns:
-
shouldStorageProviderCollectOperationOutcomes
public boolean shouldStorageProviderCollectOperationOutcomes(String provider)
- Returns:
-
shouldStorageProviderCheckDuplicate
public boolean shouldStorageProviderCheckDuplicate(String provider)
- Returns:
-
shouldStorageProviderValidateResources
public boolean shouldStorageProviderValidateResources(String provider)
- Returns:
-
shouldStorageProviderCreate
public boolean shouldStorageProviderCreate(String provider)
- Returns:
-
isFastExport
public boolean isFastExport()
Description copied from interface:ConfigurationAdapter
indicating if it's the new fast export- Returns:
-
-