ELFFAR ANALYTICS
  • Home
  • Blog

Elffar Analytics Blog

by Joel Acha

OBIEE 12.2.1.3 Deprecated BAR file APIs

16/5/2018

0 Comments

 
Whilst running the exportServiceInstance WLST API command on an OBIEE​ 12.2.1.3 instance to generate an OBIEE 12c BAR file, I got this warning message:
Picture
In 12.2.1.4, however, the warning is now an error message:
Picture
There doesn't appear to be any Oracle documentation about what the replacement APIs are other than the location in the 12.2.1.4 error message (see above). The importServiceInstance WLST API command is also impacted by this.

A list of files in the /bitools/bin directory shows there are 2 scripts called import_bar.sh and export_service_instance.sh.
Picture
The export_service_instance.sh script takes the following parameters:
  1. <service key> - the service instance is typically ssi
  2. <bar location> - the location where the bar file should be created
  3. [excludes] which is a comma separated list of nouserfolders and/or noconnectioncredentials where nouserfolders indicates that user folders will be excluded from the generated BAR file and noconnectioncredentials indicates that repository connection credentials will be excluded from the generated BAR file.
An example call to this script would be:
Picture
​For the import_bar.sh script, the parameters are as below:
  1. <service key> - the service instance is typically ssi
  2. <bar location> - the location of the bar file
  3. [excludes] which is a comma separated list of nodatamodel,nocontent,noauthorization where nodatamodel indicates that the repository won't be imported, nocontent indicates that the web catalog won't be imported and noconnectioncredentials indicates that repository connection credentials won't be imported.
An example call to this script would be:
Picture
These new APIs are available in 12.2.1.3 as well as 12.2.1.4. They appear to be more straightforward to execute as the old WLST API commands took up to 8 parameters!

UPDATE

The import_bar.sh command is deprecated in OBIEE 12.2.1.4. If it is used, custom application roles will not be imported and there are no errors by the way.

In 12.2.1.4, you will need to use the import archive.sh command which is located in the bitools directory.

The parameters for this command are as follows:

Service Instance
Location of BAR file to be imported

There is a list of optional parameters as well which determine what content of the BAR file is required for the import.

More details of the importarchive.sh command can be found here

0 Comments

    Author

    A bit about me. I am an Oracle ACE Pro, Oracle Cloud Infrastructure 2023 Enterprise Analytics Professional, Oracle Cloud Fusion Analytics Warehouse 2023 Certified Implementation Professional, Oracle Cloud Platform Enterprise Analytics 2022 Certified Professional, Oracle Cloud Platform Enterprise Analytics 2019 Certified Associate and a certified OBIEE 11g implementation specialist.

    Archives

    February 2025
    January 2025
    December 2024
    November 2024
    September 2024
    July 2024
    May 2024
    April 2024
    March 2024
    January 2024
    December 2023
    November 2023
    September 2023
    August 2023
    July 2023
    September 2022
    December 2020
    November 2020
    July 2020
    May 2020
    March 2020
    February 2020
    December 2019
    August 2019
    June 2019
    February 2019
    January 2019
    December 2018
    August 2018
    May 2018
    December 2017
    November 2016
    December 2015
    November 2015
    October 2015

    Categories

    All
    AI
    OAC
    OAS
    OBIEE
    OBIEE 12c

    RSS Feed

    View my profile on LinkedIn
Powered by Create your own unique website with customizable templates.
  • Home
  • Blog