Class: MintPress::SiebelApi::GatewayClusterDeployment

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

Overview

GatewayclusterDeployment

Properties (Read/Write)

  • #start_timeout (Default Value: 3600)

    Property Attributes
    • default3600
    
    
    277
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 277
    
    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
    
    
    278
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 278
    
    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.'
  • #application_interface ⇒ MintPress::Siebel::ApplicationInterface (Default Value: Proc.new { $default_ai })

    Property Attributes
    • defaultProc.new { $default_ai }
    
    
    294
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 294
    
    property :application_interface, type: MintPress::Siebel::ApplicationInterface, default: Proc.new { $default_ai }
  • #profile_name ⇒ [String] (Default Value: Proc.new { self.gateway_cluster_profile.name })
    "Profile"

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

    Property Attributes
    
    
    298
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 298
    
    property :gateway_cluster_profile, type: GatewayClusterProfile, description: "Profile"
  • #action ⇒ String (Default Value: "Save")
    "Save or Deploy Action"

    Property Attributes
    • default"Save"
    • allowed_values["Save", "Deploy"]
    • alias:DeploymentInfo_Action
    • required_for["deploy", "update"]
    • param_for["deploy", "update"]
    
    
    300
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 300
    
    property :action, type: String, description: "Save or Deploy Action", default: "Save", allowed_values: ["Save", "Deploy"], alias: :DeploymentInfo_Action, required_for: ["deploy", "update"], param_for: ["deploy", "update"]
  • #status ⇒ String (Default Value: "Saved")
    "Status of the deployed configuration"

    Property Attributes
    • default"Saved"
    • allowed_values["Saved", "DeployInProgress", "DeployFailed", "Deployed"]
    • alias:DeploymentInfo_Status
    • required_for[]
    • param_for["deploy", "update"]
    
    
    302
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 302
    
    property :status, type: String, description: "Status of the deployed configuration", default: "Saved", allowed_values: ["Saved", "DeployInProgress", "DeployFailed", "Deployed"], alias: :DeploymentInfo_Status, required_for: [], param_for: ["deploy", "update"]
  • #node_registry_list ⇒ Array of ⇒ GatewayClusterDeploymentGatewayClusterNodeRegistryList
    nil

    Property Attributes
    • alias:GatewayClusterNodeRegistryList
    
    
    303
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 303
    
    property :node_registry_list, type: GatewayClusterDeploymentGatewayClusterNodeRegistryList, description: nil, array: true, alias: :GatewayClusterNodeRegistryList
  • #node_service_list ⇒ Array of ⇒ GatewayClusterDeploymentGatewayClusterNodeServiceList
    nil

    Property Attributes
    • alias:GatewayClusterNodeServiceList
    
    
    304
    # File 'src/oracle-siebel/lib/oracle-siebel/generated/siebelgatewayclusterspec.rb', line 304
    
    property :node_service_list, type: GatewayClusterDeploymentGatewayClusterNodeServiceList, description: nil, array: true, alias: :GatewayClusterNodeServiceList
  • #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 inherited from Instances::Instance

#create, #destroy, #exists?, #has_process?, #internal_call, #process_id, #process_name, #real_state, #shutdown, #shutdown_async, #state

Constructor Details

#initialize(opts = {}) ⇒ GatewayClusterDeployment

Returns a new instance of GatewayClusterDeployment.

Instance Method Details

#deep_compact(hash) ⇒ Object

#degraded?Boolean

degraded? will return true if _any_ node not running

Returns:

  • (Boolean)

#deployObject

Deploys a Gateway Cluster

#deploy_failed?Boolean

Returns:

  • (Boolean)

#deploy_jsonObject

#deployed?Boolean

Returns:

  • (Boolean)

#exist?Boolean

Check for existance of GatewayclusterDeployment via get

Returns:

  • (Boolean)

#getObject

#get_property_from_target(prop) ⇒ Object

Allow getting props for get_property_from_target

#post_startObject

#props_from_modelObject

#running?Boolean

running? will return true if _any_ node is running

Returns:

  • (Boolean)

#stageObject

Stage deployment for Deploys a Gateway Cluster

#startObject

#start_appcontainerObject

#start_asyncObject

#start_siebel_gatewayObject

#stopObject

Gateway cluster has a special case of stop, because it turns out that a partial cluster will return false for `running?`.

#stop_asyncObject

#stop_siebel_gatewayObject

Method to stop Gateway server

#stopped?Boolean

stopped? will return true if all nodes are down

Returns:

  • (Boolean)

#updatable?Boolean

Returns:

  • (Boolean)

#updateObject

Modifies Gateway Cluster

#update_jsonObject