Module: MintPress::OracleBankingPlatform::OracleBankingPlatformUtils

Instance Method Summary collapse

Instance Method Details

#add_credential_mappersObject

Adds the credential mappers required for OBP Host only

#add_customized_credential_mappersObject

Adds customized credential mappers for OBP

#configure_obp_loggers(domain:, server_pattern:) ⇒ Object

Function to configure OBP specific loggers

#copy_local_file(source_file, destination_file, transport) ⇒ Object

Copies a file only if it differs

#get_property_from_target(name) ⇒ Object

Grab properties from the remote

#installed_versionObject

Return Installed version of software based on the inventory component ID, overriden method to tackle OBP UI

#remote_versionObject

#seed_policy_store(transport:, fmw_home:, java_home:, policy_store_artifact_path:, policy_store_option:, policy_store_jdbc_url:, policy_store_database_user:, policy_store_database_password:, temp_dir: nil, jps_config_file_path: "#{__dir__}/../../templates/jps-config.xml.erb", policy_store_silent: true, java_args: '', do_not_cleanup: false) ⇒ Object

Updates the Policy Store with Policies

Parameters:

  • transport (LASRpcUtils::Transport)
    Transport where this will run on
  • fmw_home (String)
    Absolute path of the FMW Home
  • java_home (String)
    Absolute path of the Java Home
  • policy_store_artifact_path (String)
    Absolute path of the PolicyStore Artefact
  • policy_store_option (String)
    Option with which to run the PolicyStore setup with
  • policy_store_jdbc_url (String)
    JDBC Url of the OPSS Schema where the policies will be dumped, e.g host:port/service_name
  • policy_store_database_user (String)
    Name of the OPSS Schema where the policies will be dumped, e.g obpsoa_opss
  • policy_store_database_password (Mint::Secret)
    Password of the OPSS Schema where the policies will be dumped
  • temp_dir (String) (defaults to: nil)
    Absolute location of a temporary directory where this process will run from, if not specified system will choose the temp location
  • jps_config_file_path (String) (defaults to: "#{__dir__}/../../templates/jps-config.xml.erb")
    Absolute File path of the jps-config.xml.erb, if not specified system will use inbuilt one.
  • policy_store_silent (String) (defaults to: true)
    Value indicating if the the process should run silently, default value is true, Values allowed [True,False]
  • java_args (String) (defaults to: '')
    Any java arguments that need to be passed to the policy tool, default option is None. e.g. java_args='-Xms1g -Xmx2g'

#update_credential_mapper(destination_name:, username:, password:, mapping_username: 'weblogic_ra_default', application_name:, module_name: 'com.ofss.fc.connector.rar', eis_name: 'Sample') ⇒ Object

Updates the Credential Mapper in OBP

Parameters:

  • destination_name (String)
    :destination_name the destination name of which to change the credential for, e.g. ra/FCRJConnectorKEYSTORE_CARD. This is mandatory.
  • username (String)
    :username the username for the credential. This is mandatory.
  • password (Mint::Secret)
    :password the password for the credential. This is mandatory.
  • mapping_username (String) (defaults to: 'weblogic_ra_default')
    :cred_mapper_username the username to be mapped.
  • application_name (String)
    :application_name the name of the application, e.g. com.ofss.fc.app.ui.connector.
  • module_name (String) (defaults to: 'com.ofss.fc.connector.rar')
    :module_name the name of the module, e.g. com.ofss.fc.connector.rar.
  • eis_name (String) (defaults to: 'Sample')
    :eis_name the name of the module, e.g. Sample.

#update_fmw_home(transport:, file_path:, fmw_home:, java_home:, file_extenstion: '.war') ⇒ Object

Function to update the fmw path in weblogic.xml files This assumes that the ear file name and war file name as identitical

#version_numericObject

Override function