public class DhsDeployer
extends com.marklogic.client.ext.helper.LoggingObject
Constructor and Description |
---|
DhsDeployer() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.marklogic.appdeployer.command.Command> |
buildCommandsForDeveloper(HubConfig hubConfig) |
protected java.util.List<com.marklogic.appdeployer.command.Command> |
buildCommandsForSecurityAdmin() |
protected java.util.regex.Pattern |
buildPatternForDatabasesToUpdateIndexesFor()
In a provisioned environment, only the databases defined by this pattern can be updated.
|
void |
deployAsDeveloper(HubConfigImpl hubConfig) |
void |
deployAsSecurityAdmin(HubConfigImpl hubConfig) |
protected void |
prepareAppConfigForDeployingToDhs(HubConfig hubConfig)
The AppConfig object belonging to HubConfig can be configured based on known DHS environment settings.
|
protected void |
removeHubInternalConfigFromConfigDirs(com.marklogic.appdeployer.AppConfig appConfig)
The contents of hub-internal-config should have been deployed to DHS already via the DHF installer.
|
protected void |
setKnownValuesForDhsDeployment(HubConfig hubConfig)
Per DHFPROD-2897, these are known values in a DHS installation that can be set so that they override any changes
the user may have made for their on-premise installation.
|
public void deployAsDeveloper(HubConfigImpl hubConfig)
public void deployAsSecurityAdmin(HubConfigImpl hubConfig)
protected void prepareAppConfigForDeployingToDhs(HubConfig hubConfig)
hubConfig
- protected void removeHubInternalConfigFromConfigDirs(com.marklogic.appdeployer.AppConfig appConfig)
appConfig
- protected void setKnownValuesForDhsDeployment(HubConfig hubConfig)
hubConfig
- protected java.util.List<com.marklogic.appdeployer.command.Command> buildCommandsForSecurityAdmin()
protected java.util.List<com.marklogic.appdeployer.command.Command> buildCommandsForDeveloper(HubConfig hubConfig)
protected java.util.regex.Pattern buildPatternForDatabasesToUpdateIndexesFor()