Friday, 2 September 2016

Import and export OSB projects using WLST python or jython scripts

OSB Administration using WLST
-----------------------------

1.
download script files from below URL:

2.
unzip import-export.zip

3.
change export.properties, import.properties with our server details.

4.
set environment homes to use WLST.
my option: source $DOMAIN_HOME/bin/setDomainEnv.sh

export.py :- provides how to export OSB projects.
import.py :- provides how to import OSB projects.

5.All set to export and import
export all projects:
java weblogic.WLST /oracle/learn/osb/wlst/import-export/export.py export.properties

export Specific project:
DemoAnyXml :- project name
export.properties :- configuaraitons
java weblogic.WLST /oracle/learn/osb/wlst/import-export/export.py export.properties DemoAnyXml

import OSB jar.
java weblogic.WLST /oracle/learn/osb/wlst/import-export/import.py import.properties

import osb jar with customizing speicific project
java weblogic.WLST /oracle/learn/osb/wlst/import-export/import.py import.properties DemoAnyXml

No comments:

Post a Comment