Command Line Utility to Publish Metadata in Metadata Browser
A command line utility MDBPublishExecution.sh is available to publish Metadata in Metadata Browser.
Following are the pre-requisites before executing this utility:
- If the FICSERVER is configured to cache the metadata at the start up of the server, you need to wait till the caching of metadata is completed to invoke this utility.
- Ensure that
JAVA_HOME
is pointing to JAVA bin installation directory. - Ensure that the following jar file is present in
$FIC_DB_HOM/lib
directory.aai-wsclient-mdbpublish.jar,aai-wsmdbpublishservice.jar
- Ensure that
MDBPublishExecution.properties
file is present in$FIC_DB_HOME/conf
folder.You can also manually update the properties file in the path
$FIC_DB_HOME/conf/MDBPublishExecution.properties
to point to the required ServiceURL.MDBPUBLISH_EXECUTION_WSDL_LOCATION = URL of WebService (For example, http://<<IP ADDRESS>>/OFSAAI/mdbPublishExecution?wsdl)
- Metadata should be present.
Note:
Metadata definitions of length more than 200 characters are not supported for MDB Publish.
To execute Metadata Browser publish utility:
To run the utility through the Operations module:
- Navigate to the Operations module and define a batch.
- Add a task by selecting the component as RUN EXECUTABLE.
- Enter Metadata Value as mentioned in the example.
For Example:
Component ID: RUN EXECUTABLE
Metadata Value (Executable) like:
MDBPublishExecution.sh,LANG611INFO
(where LANG611INFO is the Infodom)
Batch = Y