public class InstallIntoDhsCommand extends AbstractInstallerCommand
context, dataHub, hubConfig
Constructor and Description |
---|
InstallIntoDhsCommand() |
Modifier and Type | Method and Description |
---|---|
void |
applyDhsSpecificProperties(java.util.Properties props)
Public so that it can be reused by DHF Gradle plugin.
|
void |
applyDhsSpecificProperties(java.util.Properties props,
boolean disableSsl) |
protected java.util.List<com.marklogic.appdeployer.command.Command> |
buildCommandsForDhs()
In the spirit of whitelisting, we'll only setup the commands that we know we need for installing DHF.
|
protected java.util.Properties |
buildDefaultProjectProperties(Options options)
Builds a default set of project properties based on assumptions of how DHS works.
|
protected void |
modifyHubConfigForDhs(java.lang.String groupName) |
void |
run(org.springframework.context.ApplicationContext context,
Options options)
A command is given an instance of a Spring container, which is expected to be constructed based on the
properties fed into the installer, and an Options instance that captures the options the user passed into the
installer.
|
protected void |
setDefaultPropertiesForSecureConnections(java.util.Properties props)
As of DHS 2.6.0, all connections to DHS require secure connections.
|
getServerMajorVersion, initializeProject, verifyUserCanAuthenticate
public void run(org.springframework.context.ApplicationContext context, Options options)
InstallerCommand
protected java.util.List<com.marklogic.appdeployer.command.Command> buildCommandsForDhs()
protected void modifyHubConfigForDhs(java.lang.String groupName)
protected java.util.Properties buildDefaultProjectProperties(Options options)
options
- public void applyDhsSpecificProperties(java.util.Properties props)
props
- public void applyDhsSpecificProperties(java.util.Properties props, boolean disableSsl)
protected void setDefaultPropertiesForSecureConnections(java.util.Properties props)
props
-