Class: MintPress::OracleBankingPlatform::UITemplate
- Inherits:
-
MintPress::OracleWeblogic::Template
- Object
- MintPress::OracleWeblogic::Template
- MintPress::OracleBankingPlatform::UITemplate
- Includes:
- OracleBankingPlatformUtils
- Defined in:
- src/oracle-obp/lib/oracle-obp/ui-template.rb
Overview
Properties (Read/Write)
-
#obpinstall_path ⇒ String (Default Value: Proc.new {"#{domain.fmw_home}/obpinstall"})
'Full path for obpinstall folder'
Property Attributes- default ⇒ Proc.new {"#{domain.fmw_home}/obpinstall"}
29
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 29 property :obpinstall_path, type: String, default: Proc.new {"#{domain.fmw_home}/obpinstall"}, description: 'Full path for obpinstall folder'
-
#soa_transport ⇒ LASRpcUtils::Transport
'The transport object where OBP SOA is installed.'
Property Attributes31
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 31 property :soa_transport, type: LASRpcUtils::Transport, description: 'The transport object where OBP SOA is installed.'
-
#soa_fmw_home ⇒ String
'The fmw home for OBP SOA.'
Property Attributes32
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 32 property :soa_fmw_home, type: String, description: 'The fmw home for OBP SOA.'
-
#soa_domain_home ⇒ String
'The domain home where OBP SOA Admin server is installed.'
Property Attributes33
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 33 property :soa_domain_home, type: String, description: 'The domain home where OBP SOA Admin server is installed.'
-
#soa_opss_schema_name ⇒ String
'The username for OBP SOA OPSS schema. This is is mandatory.'
Property Attributes35
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 35 property :soa_opss_schema_name, type: String, description: 'The username for OBP SOA OPSS schema. This is is mandatory.'
-
#soa_opss_schema_password ⇒ Mint::Secret
'The password for OBP SOA OPSS schema. This is is mandatory.'
Property Attributes- from ⇒ String
36
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 36 property :soa_opss_schema_password, type: Mint::Secret, from: String, description: 'The password for OBP SOA OPSS schema. This is is mandatory.'
-
#soa_audit_schema_name ⇒ String (Default Value: Proc.new {self.soa_opss_schema_name.split('_')[0] + "_iau_append"})
'The username for OBP SOA OPSS Audit schema. This defaults to the the prefix from (soa_opss_schema_name_prefix)_iau_append.'
Property Attributes- from ⇒ String
- default ⇒ Proc.new {self.soa_opss_schema_name.split('_')[0] + "_iau_append"}
38
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 38 property :soa_audit_schema_name, type: String, from: String, default: Proc.new {self.soa_opss_schema_name.split('_')[0] + "_iau_append"}, description: 'The username for OBP SOA OPSS Audit schema. This defaults to the the prefix from (soa_opss_schema_name_prefix)_iau_append.'
-
#soa_audit_schema_password ⇒ Mint::Secret (Default Value: Proc.new {Mint::Secret.new(self.soa_opss_schema_password.value)})
'The password for OBP SOA OPSS Audit schema.'
Property Attributes- from ⇒ String
- default ⇒ Proc.new {Mint::Secret.new(self.soa_opss_schema_password.value)}
39
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 39 property :soa_audit_schema_password, type: Mint::Secret, from: String, default: Proc.new {Mint::Secret.new(self.soa_opss_schema_password.value)}, description: 'The password for OBP SOA OPSS Audit schema.'
-
#soa_audit_view_schema_name ⇒ String (Default Value: Proc.new {self.soa_opss_schema_name.split('_')[0] + "_iau_viewer"})
'The username for OBP SOA OPSS View schema. This defaults to the the prefix from (soa_opss_schema_name_prefix)_iau_viewer.'
Property Attributes- default ⇒ Proc.new {self.soa_opss_schema_name.split('_')[0] + "_iau_viewer"}
41
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 41 property :soa_audit_view_schema_name, type: String, default: Proc.new {self.soa_opss_schema_name.split('_')[0] + "_iau_viewer"}, description: 'The username for OBP SOA OPSS View schema. This defaults to the the prefix from (soa_opss_schema_name_prefix)_iau_viewer.'
-
#soa_audit_view_schema_password ⇒ Mint::Secret (Default Value: Proc.new { Mint::Secret.new(self.soa_opss_schema_password.value)})
'The password for OBP SOA OPSS View schema.'
Property Attributes- from ⇒ String
- default ⇒ Proc.new { Mint::Secret.new(self.soa_opss_schema_password.value)}
42
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 42 property :soa_audit_view_schema_password, type: Mint::Secret, from: String, default: Proc.new { Mint::Secret.new(self.soa_opss_schema_password.value)}, description: 'The password for OBP SOA OPSS View schema.'
-
#soa_opss_database_url ⇒ String
'The JDBC connection URL for OBP SOA OPSS schema. Format: jdbc:oracle:thin:@//host:port/service_name This is is mandatory.'
Property Attributes44
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 44 property :soa_opss_database_url, type: String, description: 'The JDBC connection URL for OBP SOA OPSS schema. Format: jdbc:oracle:thin:@//host:port/service_name This is is mandatory.'
-
#soa_process_url ⇒ String
'The HTTP(s) URL for SOA composites.'
Property Attributes46
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 46 property :soa_process_url, type: String, description: 'The HTTP(s) URL for SOA composites.'
-
#csf_keystore_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The keystore-csf-key password for SOA. This same password is used by Host and UI too. So make sure that this is always the same across all three assets.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
48
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 48 property :csf_keystore_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The keystore-csf-key password for SOA. This same password is used by Host and UI too. So make sure that this is always the same across all three assets.'
-
#csf_sign_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The sign-csf-key password for SOA. This same password is used by Host and UI too. So make sure that this is always the same across all three assets.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
49
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 49 property :csf_sign_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The sign-csf-key password for SOA. This same password is used by Host and UI too. So make sure that this is always the same across all three assets.'
-
#csf_enc_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The enc-csf-key password for SOA. This same password is used by Host and UI too. So make sure that this is always the same across all three assets.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
50
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 50 property :csf_enc_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The enc-csf-key password for SOA. This same password is used by Host and UI too. So make sure that this is always the same across all three assets.'
-
#ra_ipm_username ⇒ String (Default Value: 'ipm_username')
'The user required for ra/FCRJConnectorIPM adapter.'
Property Attributes- default ⇒ 'ipm_username'
52
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 52 property :ra_ipm_username, type: String, default: 'ipm_username', description: 'The user required for ra/FCRJConnectorIPM adapter.'
-
#ra_ipm_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The password for the user required for ra/FCRJConnectorIPM adapter.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
53
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 53 property :ra_ipm_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The password for the user required for ra/FCRJConnectorIPM adapter.'
-
#ra_offline_channel_username ⇒ String (Default Value: 'offlineuser')
'The user required for ra/FCRJConnectorOFFLINE_CHANNEL adapter.'
Property Attributes- default ⇒ 'offlineuser'
55
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 55 property :ra_offline_channel_username, type: String, default: 'offlineuser', description: 'The user required for ra/FCRJConnectorOFFLINE_CHANNEL adapter.'
-
#ra_offline_channel_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The password for the user required for ra/FCRJConnectorOFFLINE_CHANNEL adapter.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
56
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 56 property :ra_offline_channel_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The password for the user required for ra/FCRJConnectorOFFLINE_CHANNEL adapter.'
-
#ra_ftp_ipm_username ⇒ String (Default Value: 'ipm_username')
'The user required for ra/FCRJConnectorFTP_IPM adapter.'
Property Attributes- default ⇒ 'ipm_username'
58
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 58 property :ra_ftp_ipm_username, type: String, default: 'ipm_username', description: 'The user required for ra/FCRJConnectorFTP_IPM adapter.'
-
#ra_ftp_ipm_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The password for the user required for ra/FCRJConnectorFTP_IPM adapter.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
59
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 59 property :ra_ftp_ipm_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The password for the user required for ra/FCRJConnectorFTP_IPM adapter.'
-
#ra_ftp_ipm_batch_username ⇒ String (Default Value: 'ipm_username')
'The user required for ra/FCRJConnectorFTP_IPM adapter.'
Property Attributes- default ⇒ 'ipm_username'
61
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 61 property :ra_ftp_ipm_batch_username, type: String, default: 'ipm_username', description: 'The user required for ra/FCRJConnectorFTP_IPM adapter.'
-
#ra_ftp_ipm_batch_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The password for the user required for ra/FCRJConnectorFTP_IPMBatch adapter.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
62
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 62 property :ra_ftp_ipm_batch_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The password for the user required for ra/FCRJConnectorFTP_IPMBatch adapter.'
-
#ra_card_username ⇒ String (Default Value: 'card_username')
'The user required for ra/FCRJConnectorKEYSTORE_CARD adapter.'
Property Attributes- default ⇒ 'card_username'
64
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 64 property :ra_card_username, type: String, default: 'card_username', description: 'The user required for ra/FCRJConnectorKEYSTORE_CARD adapter.'
-
#ra_card_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The password for the user required for ra/FCRJConnectorKEYSTORE_CARD.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
65
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 65 property :ra_card_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The password for the user required for ra/FCRJConnectorKEYSTORE_CARD.'
-
#ra_rule_username ⇒ String (Default Value: 'keystore_username')
'The user required for ra/FCRJConnectorKEYSTORE_RULE adapter.'
Property Attributes- default ⇒ 'keystore_username'
67
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 67 property :ra_rule_username, type: String, default: 'keystore_username', description: 'The user required for ra/FCRJConnectorKEYSTORE_RULE adapter.'
-
#ra_rule_password ⇒ Mint::Secret (Default Value: 'BAML6L0VFuO')
'The password for the user required for ra/FCRJConnectorKEYSTORE_RULE.'
Property Attributes- from ⇒ String
- default ⇒ 'BAML6L0VFuO'
68
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 68 property :ra_rule_password, type: Mint::Secret, from: String, default: 'BAML6L0VFuO', description: 'The password for the user required for ra/FCRJConnectorKEYSTORE_RULE.'
-
#default_obpui_memory ⇒ String (Default Value: "8G")
'The default maximum memory for obpui managed server.'
Property Attributes- default ⇒ "8G"
70
# File 'src/oracle-obp/lib/oracle-obp/ui-template.rb', line 70 property :default_obpui_memory, type: String, default: "8G", description: 'The default maximum memory for obpui managed server.'
-
#name ⇒ String
For 12c style templates, this is the actual template name. For 11g, it's just a reference
Property Attributes- required ⇒ true
73
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 73 property :name, type: String, required: true
-
#template_version ⇒ String
The version of the template to use, if multiple versions are available
Property Attributes75
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 75 property :template_version, type: String
-
#template_jar ⇒ String
For oldstyle templates, this is the jar file on the filesystem. It is not required for 12c style templates
Property Attributes77
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 77 property :template_jar, type: String
-
#domain ⇒ MintPress::OracleWeblogic::Domain
Our parent domain
Property Attributes79
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 79 property :domain, type: MintPress::OracleWeblogic::Domain
-
#metadata_repository ⇒ MintPress::OracleWeblogic::MetadataRepository
Which metadata repository does this template use for its database storage? The will default to the default repository of the domain
Property Attributes81
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 81 property :metadata_repository, type: MintPress::OracleWeblogic::MetadataRepository
-
#template_type ⇒ Symbol (Default Value: :newstyle)
What kind of template are we applying? :newstyle - 12c style (i.e. selectTemplate/loadTemplate) :newstyle_custom - 12c, selectTemplateCustom :oldstyle - jar file based template (i.e. addTemplate)
Property Attributes- default ⇒ :newstyle
87
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 87 property :template_type, type: Symbol, default: :newstyle
-
#pattern ⇒ String
The pattern of the servers - if inbuilt_servers is also defined, servers will be _renamed_ to match this pattern
Property Attributes90
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 90 property :pattern, type: String
-
#server_names ⇒ Hash of ⇒ String
If a more complex renaming than pattern provides is requred, such as for a multi-server template, server_names can be specified as a hash an example of this is if your template has both soa_serverX and humantask_serverX, you can rename them with this hash: `{ "soa_server" => "my_soa", "humantask_server" => "my_humantask }`
Property Attributes94
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 94 property :server_names, type: String, hash: true
-
#targets ⇒ Array of ⇒ [Server, Cluster] (Default Value: Proc.new { domain.servers.list_by_glob(self.pattern) })
The list of servers which match this template as per server.pattern
Property Attributes- default ⇒ Proc.new { domain.servers.list_by_glob(self.pattern) }
96
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 96 property :targets, type: [Server, Cluster], array: true, default: Proc.new { domain.servers.list_by_glob(self.pattern) }
-
#inbuilt_servers ⇒ Array of ⇒ String
inbuilt_servers defines which servers are included out of the box with the template - there the major reason this is important, is it drives the server renaming. This is usually defined by a subclass
Property Attributes99
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 99 property :inbuilt_servers, type: String, array: true
-
#reload_domain ⇒ [TrueClass, FalseClass] (Default Value: false)
Control whether to reload the domain before _and_ after applying the template
Property Attributes- default ⇒ false
101
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 101 property :reload_domain, type: [TrueClass, FalseClass], default: false
-
#reload_after ⇒ [TrueClass, FalseClass] (Default Value: false)
Just reload the domain _after_ applying the template, but not before
Property Attributes- default ⇒ false
103
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 103 property :reload_after, type: [TrueClass, FalseClass], default: false
-
#reload_before ⇒ [TrueClass, FalseClass] (Default Value: false)
Just reload the domain _before_ applying the template, but not after
Property Attributes- default ⇒ false
105
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 105 property :reload_before, type: [TrueClass, FalseClass], default: false
-
#update_jdbc ⇒ [TrueClass, FalseClass] (Default Value: true)
Do we also update the JDBC resources to point to clusters after this, or do we trust getDatabaseDefaults to do it for us? For 12c templates, you often want false here, since getDatabaseDefaults() is supposed to fill them in. However you would want it set to true for 11g style templates, and certain 12c templates will miss some data sources without it.
Property Attributes- default ⇒ true
109
# File 'src/oracle-weblogic/lib/oracle-weblogic/model/template.rb', line 109 property :update_jdbc, type: [TrueClass, FalseClass], default: 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 inherited from MintPress::OracleWeblogic::Template
#Domain, #MetadataRepository, #inbuilt_servers, #name, #pattern, #targets, #template_jar, #template_type, #template_version
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
-
#apply(wlst, repository: nil) ⇒ Object
Override apply for OBP Host since it does not uses selectTemplate Mechanism.
- #configure_obp_ui ⇒ Object
-
#initialize(opts) ⇒ UITemplate
constructor
A new instance of UITemplate.
-
#post_first_admin_start ⇒ Object
This is the entry point for us for integration with old world TODO Change me at a suitable time.
- #pre_select ⇒ Object
-
#update_obp_soa_metadata ⇒ Object
This updates the soa metadata under fmw_home/obpinstall/obp/ob.ui.client/ob.app.client.fw/WEB-INF/lib for all wsdl.
Methods included from OracleBankingPlatformUtils
#add_credential_mappers, #add_customized_credential_mappers, #configure_obp_loggers, #copy_local_file, #get_property_from_target, #installed_version, #remote_version, #seed_policy_store, #update_credential_mapper, #update_fmw_home, #version_numeric
Methods inherited from MintPress::OracleWeblogic::Template
#finalize_load, #handle_rename, #mbean_create, #post_apply, #post_domain, #post_managed_start, #post_metadata_create, #post_metadata_drop, #post_select, #pre_first_admin_start, #pre_managed_start, #pre_metadata_create, #pre_metadata_drop, register_template_name
Methods included from MintPress::OracleWeblogic::MBeanUtils
#assign_object_by_identity, #assign_object_by_identity_from, #bean_is_changed?, #dump_metadata, #dump_tree_metadata, #get_item_by_identity_name, #get_item_by_identity_name_from, #get_parent_by_identity_name, #harvest, #harvest_anew, #harvest_item_by_name, #harvest_item_by_type, #harvest_wlst, #harvesters, #harvesting, #longname, #lookup_mintpress_by_mbean, #mbean_by_url, #process_mbeans, #register_mbean_url
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::OracleWeblogic::Utils
#activate_list, #already_traversed, #announce_self, #bean_type, #build_activate_list, #clear_property_sheet_cache, #create_generic, #create_mbean_components, #delete, #destroy_generic, #empty_mbean?, #execute_script, #exists?, #fast_ls_all, #fast_ls_folder, #fast_ls_object, #fast_ls_object_map, #find_cluster, #find_runtime_path_in_rest, #find_server, #full_url, #get, #get_all_self_names, #get_identity, #get_local_wlst_session, #get_matching_self_names, #get_property_from_target, #get_property_from_target_rest, #get_property_from_target_wlst, #get_property_from_target_wlst_impl, #get_property_sheet, #get_rest_item, #get_rest_url_for_parent, #get_rest_url_for_self, #get_servers, #get_servers_rest, #get_servers_wlst, #get_wl_home, #globmatch?, #handle_create, #http_delete, #http_get, #http_post, #http_put, included, #invalidate_session, #is_meta_object?, #longclass, #massage_return, #mbean_components, #mbean_exists?, #mbean_lookup, #mbean_properties, #mbean_to_hash, #meta_list?, #my_short_name, #perform_method_generic, #perform_runtime_call_generic_rest, #perform_runtime_method_generic, #post, #raise_http_exception, #remove, #request_headers, #reset_activate_list, #rest_activate_change, #rest_create_generic, #rest_create_mbean_components, #rest_destroy_self, #rest_edit_url, #rest_has_changes, #rest_idempotent_create, #rest_locked, #rest_nonedit_url, #rest_start_change, #rest_undo_change, #runtime_introspection, #shortclass, #start_with_async, #state_with_net_ping, #stop_with_async, #to_nested, #wlst_cd_to, #wlst_create_generic, #wlst_destroy_self, #wlst_find_object, #wlst_find_parent_object, #wlst_generic_mbean_update_all, #wlst_idempotent_create, #wlst_update_mbean