Class: MintPress::SiebelApi::ConstraintEngineDeployment

Inherits:
Instances::Instance show all
Includes:
Mixins::Properties, MintPress::Siebel::ControllableMixin, MintPress::Siebel::Utils
Defined in:
src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb

Overview

ConstraintEngineDeployment

Properties (Read/Write)

  • #start_timeout (Default Value: 3600)

    Property Attributes
    • default3600
    
    
    297
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 297
    
    property :start_timeout, default: 3600
  • #bypass_cache ⇒ [TrueClass, FalseClass] (Default Value: false)
    'Setting this property to true will bypass the local cache. This may slow down the execution of Post calls if the network is slow.'

    Property Attributes
    • defaultfalse
    
    
    298
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 298
    
    property :bypass_cache, type: [TrueClass, FalseClass], default: false, description: 'Setting this property to true will bypass the local cache. This may slow down the execution of Post calls if the network is slow.'
  • #wait_for_warm ⇒ [TrueClass, FalseClass] (Default Value: false)
    Should we wait for the server to be warm before continuing?

    Property Attributes
    • defaultfalse
    
    
    315
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 315
    
    property :wait_for_warm, type: [TrueClass, FalseClass], default: false
  • #restart_on_deploy ⇒ [TrueClass, FalseClass] (Default Value: false)
    Should we restart the server on deploy?

    Property Attributes
    • defaultfalse
    
    
    317
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 317
    
    property :restart_on_deploy, type: [TrueClass, FalseClass], default: false
  • #manage_via_container ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should we always ensure the application containers for this installation are up?

    Property Attributes
    • defaulttrue
    
    
    319
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 319
    
    property :manage_via_container, type: [TrueClass, FalseClass], default: true
  • #disable_application_container ⇒ [TrueClass, FalseClass] (Default Value: false)
    Should we _shut down_ the application container once we've confirmed this component up?

    Property Attributes
    • defaultfalse
    
    
    321
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 321
    
    property :disable_application_container, type: [TrueClass, FalseClass], default: false
  • #restart_appcontainer_before_deploy ⇒ [TrueClass, FalseClass] (Default Value: false)
    Should we restart the application container before deploy of this item?

    Property Attributes
    • defaultfalse
    
    
    323
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 323
    
    property :restart_appcontainer_before_deploy, type: [TrueClass, FalseClass], default: false
  • #restart_all_appcontainers_before_deploy ⇒ [TrueClass, FalseClass] (Default Value: false)
    Should we restart _all_ application containers before deploy of this item?

    Property Attributes
    • defaultfalse
    
    
    325
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 325
    
    property :restart_all_appcontainers_before_deploy, type: [TrueClass, FalseClass], default: false
  • #application_interface ⇒ MintPress::Siebel::ApplicationInterface (Default Value: Proc.new { $default_ai })

    Property Attributes
    • defaultProc.new { $default_ai }
    
    
    326
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 326
    
    property :application_interface, type: MintPress::Siebel::ApplicationInterface, default: Proc.new { $default_ai }
  • #physical_host_ip ⇒ String (Default Value: Proc.new { "#{self.installation.host.name}:#{self.port}" })
    "Host IP Address and Port"

    Property Attributes
    • defaultProc.new { "#{self.installation.host.name}:#{self.port}" }
    • alias:DeploymentInfo_PhysicalHostIP
    • required_for["deploy", "update"]
    • param_for["deploy", "update"]
    
    
    328
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 328
    
    property :physical_host_ip, type: String, description: "Host IP Address and Port", default: Proc.new { "#{self.installation.host.name}:#{self.port}" }, alias: :DeploymentInfo_PhysicalHostIP, required_for: ["deploy", "update"], param_for: ["deploy", "update"]
  • #profile_name ⇒ [String] (Default Value: Proc.new { self.constraint_engine_profile.name })
    "Profile Name"

    Property Attributes
    • defaultProc.new { self.constraint_engine_profile.name }
    • alias:DeploymentInfo_ProfileName
    • required_for["deploy", "update"]
    • param_for["deploy", "update"]
    
    
    330
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 330
    
    property :profile_name, type: [String], description: "Profile Name", default: Proc.new { self.constraint_engine_profile.name }, alias: :DeploymentInfo_ProfileName, required_for: ["deploy", "update"], param_for: ["deploy", "update"]
  • #constraint_engine_profile ⇒ ConstraintEngineProfile
    "Profile Name"

    Property Attributes
    
    
    332
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 332
    
    property :constraint_engine_profile, type: ConstraintEngineProfile, description: "Profile Name"
  • #action ⇒ String
    "Action (Save or Deploy?)"

    Property Attributes
    • allowed_values["Save", "Deploy"]
    • alias:DeploymentInfo_Action
    • required_for["deploy", "update"]
    • param_for["deploy", "update"]
    
    
    334
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 334
    
    property :action, type: String, description: "Action (Save or Deploy?)", allowed_values: ["Save", "Deploy"], alias: :DeploymentInfo_Action, required_for: ["deploy", "update"], param_for: ["deploy", "update"]
  • #deployment_name ⇒ String
    "Deployment Name"

    Property Attributes
    • alias:ConstraintEngineDeployParams_DeploymentName
    • required_for["deploy", "update"]
    • param_for["deploy", "update"]
    
    
    336
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 336
    
    property :deployment_name, type: String, description: "Deployment Name", alias: :ConstraintEngineDeployParams_DeploymentName, required_for: ["deploy", "update"], param_for: ["deploy", "update"]
  • #tls_listener_port ⇒ Integer
    "TLS Listener Port"

    Property Attributes
    • alias:ConstraintEngineDeployParams_TLSListenerPort
    • required_for[]
    • param_for["deploy", "update"]
    
    
    338
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 338
    
    property :tls_listener_port, type: Integer, description: "TLS Listener Port", alias: :ConstraintEngineDeployParams_TLSListenerPort, required_for: [], param_for: ["deploy", "update"]
  • #deployment_description ⇒ String
    "Deployment Description"

    Property Attributes
    • alias:ConstraintEngineDeployParams_DeploymentDescription
    • required_for[]
    • param_for["deploy", "update"]
    
    
    340
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 340
    
    property :deployment_description, type: String, description: "Deployment Description", alias: :ConstraintEngineDeployParams_DeploymentDescription, required_for: [], param_for: ["deploy", "update"]
  • #name ⇒ String
    "Siebel Constraint Engine deployment name"

    Property Attributes
    
    
    342
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 342
    
    property :name, type: String, description: "Siebel Constraint Engine deployment name"
  • #installation ⇒ MintPress::Siebel::Installation
    "Installation on a host for this component - this will be used to fill physical_host_ip. Use this particularly if you're using scaleout with MIntPress"

    Property Attributes
    
    
    344
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 344
    
    property :installation, type: MintPress::Siebel::Installation, description: "Installation on a host for this component - this will be used to fill physical_host_ip.  Use this particularly if you're using scaleout with MIntPress"
  • #port ⇒ Integer
    "Port for use with installation - if this is specified, you must also specify an installation, otherwise use physical_host_ip"

    Property Attributes
    
    
    346
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelconstraintenginespec.rb', line 346
    
    property :port, type: Integer, description: "Port for use with installation - if this is specified, you must also specify an installation, otherwise use physical_host_ip"
  • #name ⇒ String

    Property Attributes
    
    
    15
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 15
    
    property :name, type: String
  • #instance_home
    Subclasses should add a `default: Proc.new { installation.path_property` } to their definition of this, if it makes sense to do so. For example, the FMWInstance subclass defines this as `Proc.new { installation.fmw_home }` The tomcat version, will instead define this as `default: Proc.new { installation.home }`, but also define java_home as `default: Proc.new { installation.java_home }`, allowing the user to specify both of these without having to link to an installation object

    Property Attributes
    
    
    22
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 22
    
    property :instance_home
  • #installation
    Subclasses should NEVER EVER use this as anything except as a default to `instance_home` and related ittems But it exists here as an advisory thing to add

    Property Attributes
    
    
    25
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 25
    
    property :installation
  • #start_timeout ⇒ Integer (Default Value: 300)
    Startup timeout in seconds

    Property Attributes
    • default300
    
    
    28
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 28
    
    property :start_timeout, type: Integer, default: 300
  • #process_start_timeout ⇒ Integer (Default Value: 30)

    Property Attributes
    • default30
    
    
    29
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 29
    
    property :process_start_timeout, type: Integer, default: 30
  • #stop_timeout ⇒ Integer (Default Value: 300)
    Shutdown timeout in seconds

    Property Attributes
    • default300
    
    
    31
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 31
    
    property :stop_timeout, type: Integer, default: 300
  • #host ⇒ MintPress::Infrastructure::Host (Default Value: Proc.new { installation.host })
    Host where the instance is runninig. This is entirely optional, but can help with a generic implementation It will default to `installation.host` if it exists

    Property Attributes
    • defaultProc.new { installation.host }
    
    
    35
    # File 'src/mintpress-utils/lib/mintpress-utils/instance.rb', line 35
    
    property :host, type: MintPress::Infrastructure::Host, default: Proc.new { installation.host }

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from MintPress::Siebel::Utils

#can_hit_ai_locally?, #full_url, #get_ai_oracle_home, #get_oracle_home, #get_servermanager_oracle_home, #http_delete, #http_get, #http_post, #http_put, #request_headers

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from MintPress::Siebel::ControllableMixin

#appcontainer_stopped?, #application_interface_running?, #application_interface_stopped?, #enterprise_container_running?, #enterprise_container_stopped?, #get_graceful_timeout, #get_host_object, #get_non_graceful_timeout, #is_siebel_server_warm?, #post_start, #really_start_appcontainer, #really_stop_appcontainer, #restart_application_interface, #restart_enterprise_container, #restart_siebel_gateway, #restart_siebel_server, #running?, #siebel_gateway_running?, #siebel_gateway_stopped?, #siebel_server_running?, #siebel_server_stopped?, #start_appcontainer, #start_application_interface, #start_async, #start_enterprise_container, #start_siebel_gateway, #start_siebel_server, #start_tomcat_container, #stop_appcontainer, #stop_application_interface, #stop_async, #stop_enterprise_container, #stop_siebel_gateway, #stop_siebel_server, #stop_tomcat_container, #stopped?, #tomcat_container_stopped?

Methods inherited from Instances::Instance

#create, #destroy, #exists?, #has_process?, #internal_call, #process_id, #process_name, #real_state, #running?, #shutdown, #shutdown_async, #start, #start_async, #state, #stop, #stop_async

Constructor Details

#initialize(opts = {}) ⇒ ConstraintEngineDeployment

Returns a new instance of ConstraintEngineDeployment.

Instance Method Details

#deep_compact(hash) ⇒ Object

#deleteObject

#deployObject

Deploys/Saves a Siebel Constraint Engine deployment

#deploy_failed?Boolean

Returns:

  • (Boolean)

#deploy_jsonObject

#deployed?Boolean

Returns:

  • (Boolean)

#exist?Boolean

Check for existance of ConstraintEngineDeployment via get

Returns:

  • (Boolean)

#getObject

#get_property_from_target(prop) ⇒ Object

Allow getting props for get_property_from_target

#props_from_modelObject

#stageObject

Stage deployment for Deploys/Saves a Siebel Constraint Engine deployment

#updatable?Boolean

Returns:

  • (Boolean)

#updateObject

Modifies/reconfigures a save/deployed Siebel Constraint Engine deployment

#update_jsonObject