Package ca.cdr.test.model
Class NodeConfigurations.ModuleConfiguration
java.lang.Object
ca.cdr.test.model.NodeConfigurations.ModuleConfiguration
- All Implemented Interfaces:
IModelJson,IModelJson
- Enclosing class:
NodeConfigurations
-
Field Summary
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConfigProperty(String theKey) booleanbooleanSingle source of truth for "does this module serve a FHIR endpoint?".voidsetModuleId(String theModuleId) voidsetModuleType(String moduleType)
-
Constructor Details
-
ModuleConfiguration
public ModuleConfiguration()Constructor
-
-
Method Details
-
getConfigKeys
-
getConfigProperties
-
getConfigProperty
-
getDependencies
-
getModuleType
-
setModuleType
-
getModuleId
-
setModuleId
-
isClusterManager
-
isFhirEndpointModuleType
Single source of truth for "does this module serve a FHIR endpoint?". This covers the FHIR REST endpoint family (all module types sharing theENDPOINT_FHIR_RESTprefix, including the versioned variants such as_DSTU2/_DSTU3/_R4/_R5), the hybrid providers endpoint, and the FHIR gateway.Both the admin-JSON port lookup (
AdminJsonRestClient#getFhirEndpointModuleIdFromPort) and the harness endpoint discovery (LocalhostSmileHarness) consult this method so the two can never drift apart. Module-type string literals are used rather thanca.cdr.api.model.enm.ModuleTypeEnumbecause this module depends only on the public API boundary (cdr-api-public-java) and does not havecdr-apion its classpath.- Returns:
truewhen this module's type is a FHIR endpoint type;falsefor any other type or when the module type is absent.
-