def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") option = OptionFactory.newOption("-h", "--host", True, True, "hostname of the postgresql-server.") option.setValues(properties.getPropertyValues('POSTGRESQL_HOSTS')) options.add(option) option = OptionFactory.newOption( "-p", "--port", True, True, "port number of the postgresql database.") option.setValues(properties.getPropertyValues('POSTGRESQL_HOSTS')) options.add(option) option = OptionFactory.newOption("-d", "--database", True, False, "database in the postgresql-server.") option.setValues(properties.getPropertyValues('DATABASES')) options.add(option) option = OptionFactory.newOption( "-e", "--environment", True, False, "environment descriptor of the postgresql-server.") option.setValues(properties.getPropertyValues('ENVIRONMENTS')) options.add(option) options.addOption("-i", "--ignore-errors", True, False, "ignore errors.") return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") option = OptionFactory.newOption("-h", "--host", True, True, "hostname of the mysql-server.") option.setValues(properties.getPropertyValues('MYSQL_HOSTS')) options.add(option) option = OptionFactory.newOption("-d", "--database", True, False, "database in the mysql-server.") option.setValues(properties.getPropertyValues('DATABASES')) options.add(option) option = OptionFactory.newOption( "-e", "--environment", True, False, "environment descriptor of the mysql-server.") option.setValues(properties.getPropertyValues('ENVIRONMENTS')) options.add(option) option = OptionFactory.newOption( "-a", "--alias", True, False, "the name of the mysql database to install.") option.setValues(properties.getPropertyValues('ALIASES')) options.add(option) option = OptionFactory.newOption("-v", "--version", True, True, "version folder to install.") #option.setValues(properties.getPropertyValues('ENVIRONMENTS')) options.add(option) options.addOption("-i", "--ignore-errors", True, False, "ignore errors.") return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") option = OptionFactory.newOption("-s", "--sid", True, True, "tns name of the oracle database.") option.setValues(properties.getPropertyValues('ORACLE_SIDS')) options.add(option) option = OptionFactory.newOption("-u", "--user", True, False, "user in the oracle database.") option.setValues(properties.getPropertyValues('SCHEMES')) options.add(option) option = OptionFactory.newOption( "-e", "--environment", True, False, "environment descriptor of the oracle database.") option.setValues(properties.getPropertyValues('ENVIRONMENTS')) options.add(option) # options.addOption("--no-compile", True, False, "disable the compilation of database objects.") options.addOption("-i", "--ignore-errors", True, False, "ignore errors.") return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") option = OptionFactory.newOption("-h", "--host", True, True, "hostname of the mysql-server.") option.setValues(properties.getPropertyValues('MYSQL_HOSTS')) options.add(option) option = OptionFactory.newOption("-d", "--database", True, False, "database in the mysql-server.") option.setValues(properties.getPropertyValues('DATABASES')) options.add(option) option = OptionFactory.newOption( "-e", "--environment", True, False, "environment descriptor of the mysql-server.") option.setValues(properties.getPropertyValues('ENVIRONMENTS')) options.add(option) # options.addOption("--no-compile", True, False, "disable the compilation of database objects.") options.addOption("-i", "--ignore-errors", True, False, "ignore errors.") return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") options.addOption("-v", "--version", True, True, "version of the database project.") return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") options.addOption("-c", "--client", False, False, "Tripolis client.") options.addOption("-u", "--username", False, False, "Tripolis username.") options.addOption("-p", "--password", False, False, "Tripolis password.") options.addOption("-w", "--workspace", False, False, "Tripolis workspace.") options.addOption("-d", "--directemailtype", False, False, "Tripolis direct email type.") options.addOption("-v", "--version", False, True, "Tripolis email version.") return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") option = OptionFactory.newOption("-w", "--workspace", True, True, "deploy emails to this workspace") option.setValues(properties.getPropertyValues('WORKSPACES')) options.add(option) option = OptionFactory.newOption("-e", "--environment", True, False, "deploy emails to this environment") option.setValues(properties.getPropertyValues('ENVIRONMENTS')) options.add(option) option = OptionFactory.newOption("-v", "--version", True, True, "version of emails to deploy") options.add(option) return options
def getOptions(self, properties): options = Plugin.getOptions(self) options.addOption("-?", "--help", False, False, "display help") options.addOption("-pr", "--project", False, False, "name of the database project.") options.addOption("-h", "--host", False, False, "hostname of the mysql-server.") options.addOption("-d", "--database", False, False, "database in the mysql-server.") options.addOption("-u", "--username", False, False, "username in the mysql-server.") options.addOption("-p", "--password", False, False, "password in the mysql-server.") options.addOption("-v", "--version", False, False, "version of the database project.") return options
def __init__(self): Plugin.__init__(self, "BUILD", None)
def __init__(self): Plugin.__init__(self, "UPDATE", ConnectorFactory.newMysqlConnector())
def __init__(self, connectable): Plugin.__init__(self, "DROP", connectable)
def __init__(self): Plugin.__init__(self, "DROP", ConnectorFactory.newMysqlConnector())
def __init__(self): Plugin.__init__(self, "RECREATE", None)
def __init__(self): Plugin.__init__(self, "RELEASE", None)
def __init__(self): Plugin.__init__(self, "CREATE", ConnectorFactory.newPostgresqlConnector())
def __init__(self): Plugin.__init__(self, "TRIPOLIS:DEPLOY:EMAIL", ConnectorFactory.newTripolisDeployEmailConnector())
def __init__(self): Plugin.__init__(self, "GENERATE", None)
def __init__(self): Plugin.__init__(self, "TRIPOLIS:GENERATE:EMAIL", None)