def execute(self, parameter_pool):
        self._generate_service_endpoint(parameter_pool)
        self._check_rds_parameter(parameter_pool)
        
        required_params = self._operation_queue.required_parameters
        missing_params = required_params - parameter_pool.parameter_names
        if len(missing_params) > 0:
            terminal = Terminal()
            terminal.ask_parameters(parameter_pool, missing_params, True)

        ret_result = OperationResult(self, None, None, None)
        return ret_result
Пример #2
0
    def execute(self, parameter_pool):
        self._generate_service_endpoint(parameter_pool)
        self._check_rds_parameter(parameter_pool)

        required_params = self._operation_queue.required_parameters
        missing_params = required_params - parameter_pool.parameter_names
        if len(missing_params) > 0:
            terminal = Terminal()
            terminal.ask_parameters(parameter_pool, missing_params, True)

        ret_result = OperationResult(self, None, None, None)
        return ret_result
Пример #3
0
    def execute(self, parameter_pool):
        
        parameters = {ParameterName.AwsAccessKeyId,
                      ParameterName.AwsSecretAccessKey,
                      ParameterName.Region,
                      ParameterName.SolutionStack,
                      ParameterName.ApplicationName,
                      ParameterName.EnvironmentName,
                      ParameterName.RdsEnabled,
                      }
        
        terminal = Terminal()
        terminal.ask_parameters(parameter_pool, parameters, False)

        ret_result = OperationResult(self, None, None, None)
        return ret_result    
Пример #4
0
    def execute(self, parameter_pool):

        parameters = {
            ParameterName.AwsAccessKeyId,
            ParameterName.AwsSecretAccessKey,
            ParameterName.Region,
            ParameterName.SolutionStack,
            ParameterName.ApplicationName,
            ParameterName.EnvironmentName,
            ParameterName.RdsEnabled,
        }

        terminal = Terminal()
        terminal.ask_parameters(parameter_pool, parameters, False)

        ret_result = OperationResult(self, None, None, None)
        return ret_result