Class: MintPress::Siebel::Database

Inherits:
Object
  • Object
show all
Includes:
Mixins::Properties
Defined in:
src/oracle-siebel/lib/oracle-siebel/database.rb

Properties (Read/Write)

  • #installation ⇒ MintPress::Siebel::Installation

    Property Attributes
    
    
    8
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 8
    
    property :installation, type: MintPress::Siebel::Installation
  • #connect_string ⇒ String (Default Value: nil)

    Property Attributes
    • defaultnil
    
    
    9
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 9
    
    property :connect_string, type: String, default: nil
  • #tnsname_description ⇒ String (Default Value: nil)

    Property Attributes
    • defaultnil
    
    
    10
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 10
    
    property :tnsname_description, type: String, default: nil
  • #sysdba_username ⇒ String (Default Value: 'sys')

    Property Attributes
    • default'sys'
    
    
    11
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 11
    
    property :sysdba_username, type: String, default: 'sys'
  • #sysdba_password ⇒ Mint::Secret

    Property Attributes
    • fromString
    • requiredtrue
    
    
    12
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 12
    
    property :sysdba_password, type: Mint::Secret, from: String, required: true
  • #use_development_settings ⇒ [TrueClass, FalseClass] (Default Value: false)

    Property Attributes
    • defaultfalse
    
    
    13
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 13
    
    property :use_development_settings, type: [TrueClass, FalseClass], default: false
  • #update_tns ⇒ [TrueClass, FalseClass] (Default Value: true)

    Property Attributes
    • defaulttrue
    
    
    14
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 14
    
    property :update_tns, type: [TrueClass, FalseClass], default: true
  • #db_service_name ⇒ String

    Property Attributes
    
    
    15
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 15
    
    property :db_service_name, type: String
  • #db_host ⇒ String

    Property Attributes
    
    
    16
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 16
    
    property :db_host, type: String
  • #db_port ⇒ Integer

    Property Attributes
    
    
    17
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 17
    
    property :db_port, type: Integer
  • #load_master_data ⇒ [TrueClass, FalseClass] (Default Value: false)

    Property Attributes
    • defaultfalse
    
    
    18
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 18
    
    property :load_master_data, type: [TrueClass, FalseClass], default: false
  • #table_owner ⇒ String (Default Value: 'SIEBEL')

    Property Attributes
    • default'SIEBEL'
    
    
    19
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 19
    
    property :table_owner, type: String, default: 'SIEBEL'
  • #table_owner_password ⇒ Mint::Secret (Default Value: 'Siebel123')

    Property Attributes
    • fromString
    • default'Siebel123'
    
    
    20
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 20
    
    property :table_owner_password, type: Mint::Secret, from: String, default: 'Siebel123'
  • #default_tablespace ⇒ String (Default Value: 'USERS')

    Property Attributes
    • default'USERS'
    
    
    21
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 21
    
    property :default_tablespace, type: String, default: 'USERS'
  • #default_temp_tablespace ⇒ String (Default Value: 'TEMP')

    Property Attributes
    • default'TEMP'
    
    
    22
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 22
    
    property :default_temp_tablespace, type: String, default: 'TEMP'
  • #siebel_admin ⇒ String (Default Value: 'SADMIN')

    Property Attributes
    • default'SADMIN'
    
    
    23
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 23
    
    property :siebel_admin, type: String, default: 'SADMIN'
  • #siebel_admin_password ⇒ Mint::Secret (Default Value: 'Siebel123')

    Property Attributes
    • fromString
    • default'Siebel123'
    
    
    24
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 24
    
    property :siebel_admin_password, type: Mint::Secret, from: String, default: 'Siebel123'
  • #ldap_user_password ⇒ Mint::Secret (Default Value: 'Siebel123')

    Property Attributes
    • fromString
    • default'Siebel123'
    
    
    25
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 25
    
    property :ldap_user_password, type: Mint::Secret, from: String, default: 'Siebel123'
  • #guestcst_user_password ⇒ Mint::Secret (Default Value: 'Siebel123')

    Property Attributes
    • fromString
    • default'Siebel123'
    
    
    26
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 26
    
    property :guestcst_user_password, type: Mint::Secret, from: String, default: 'Siebel123'
  • #guesterm_user_password ⇒ Mint::Secret (Default Value: 'Siebel123')

    Property Attributes
    • fromString
    • default'Siebel123'
    
    
    27
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 27
    
    property :guesterm_user_password, type: Mint::Secret, from: String, default: 'Siebel123'
  • #client_oracle_home ⇒ String

    Property Attributes
    • requiredtrue
    
    
    28
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 28
    
    property :client_oracle_home, type: String, required: true
  • #dbclient_hosts ⇒ Array of ⇒ MintPress::Infrastructure::Host

    Property Attributes
    
    
    29
    # File 'src/oracle-siebel/lib/oracle-siebel/database.rb', line 29
    
    property :dbclient_hosts, type: MintPress::Infrastructure::Host, array: true

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 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

Constructor Details

#initialize(opts = {}) ⇒ Database

Returns a new instance of Database.

Instance Method Details

#configured?Boolean

Returns:

  • (Boolean)

#createObject

creates the db server and prepares it

#create_db_srvr_env_scriptObject

#create_master_installObject

Method to create the master_install.ucf file.

#dropObject

#installObject

#prepareObject

#run_upgrade_wizardObject

Runs the upgrade wizard (srvrupgwiz) process

#updateObject

#update_tns_fileObject

updates tnsnames.ora for db client