Tuesday, September 29, 2015

OER Harvesting

Oracle Enterprise Repository (OER) provides governance support for the SOA as well as BPM based services It provides you management of composites, services, business processes. Oracle Enterprise Repository acts as the central source of SOA information, allowing you to find planned, existing and retired services.

Usually in large organizations, where SOA is practiced there will be growing aritfacts, if not checked can lead to failure of SOA based architecture. Keeping this in mind Oracle provides you with Oracle Enterprise Repository that provides an repository for service producers, providers, and consumers who enhance applications or deliver new service capabilities.

Oracle Enterprise Repository provides role-based links to asset artifact stores and links to design documents, justification documents, test plans, support plans, policies, and so on. Approvers in the life cycle process can reference and upload documentary evidence to support their approvals, and consumers can reference information to support their service choices.


Which services are using my API?
Why was this API designed?
Who approved the API
Where can i find API directory?

The above are some of the questions which OER answers.


OER Harvester.

The tool used to upload assets or artifacts in OER is called Harvestor. Harvesting in OER can either be done manually or automatically.

To harvest a full BPM project, execute the below command

./harvest.sh -remote_url http://nas.oracle.com:7003 -producing_project TelecomPrj -remote_username weblogic -remote_server_type SOASuite -soa_partition default -registration_status Registered -remote_project ModifyOrderPrj_rev1.0

The tool automatically reads all the standard artifacts from the project and harvests in the OER.

-registration_status Registered will cause the artifacts to registered automatically.

 Omission of this flag will require you to manually register, accept & approve the OER. Its only after the registration you can consume these projects from JDeveloper.

-producing_project TelecomPrj will cause all the artifacts to be produced under this project within OER.

Output
weblogic -remote_server_type SOASuite -soa_partition default -registration_status Registered -remote_project ModifyOrderPrj_rev1.0
NOTE: To harvest Oracle Service Bus 10 projects, please use osb10harvest.sh
0    [main] WARN  com.oracle.oer.sync.framework.impl.DefaultPluginManager  - unable to initialize harvester plugin file: /u01/fmw/soacd/oer/tools/harvester/./plugins/soasuite11g.remotereader
511  [main] WARN  com.oracle.oer.sync.framework.impl.DefaultPluginManager  - unable to initialize harvester plugin file: /u01/fmw/soacd/oer/tools/harvester/./plugins/mds.starter
Connecting to: service:jmx:t3://nacepcsoa15.oracle.com:7003/jndi/weblogic.management.mbeanservers.runtime
2761 [main] WARN  com.oracle.oer.sync.framework.impl.DefaultPluginManager  - unable to initialize harvester plugin: /u01/fmw/soacd/oer/tools/harvester/./plugins/osb10.productreader
2954 [main] INFO  com.oracle.oer.sync.framework.MetadataManager  - oracle enterprise_repository_harvester version: v12.1.3.0.0-140924_1129-1627717
3398 [main] WARN  com.oracle.oer.sync.framework.impl.DefaultPluginManager  - unable to initialize harvester plugin file: /u01/fmw/soacd/oer/tools/harvester/./plugins/soasuite11g.remotereader
3678 [main] WARN  com.oracle.oer.sync.framework.impl.DefaultPluginManager  - unable to initialize harvester plugin file: /u01/fmw/soacd/oer/tools/harvester/./plugins/mds.starter
4008 [main] WARN  com.oracle.oer.sync.framework.impl.DefaultPluginManager  - unable to initialize harvester plugin: /u01/fmw/soacd/oer/tools/harvester/./plugins/osb10.productreader
8725 [main] INFO  com.oracle.oer.sync12c.plugin.artifact.composite12c.CompositeIntrospector  - the composite ModifyOrderPrj 1.0 is being harvested.


Once the project has been artifact, logon to OER console, usually the url would be like http://localhost:8111/oer









No comments: