Prerequisites Harvester Functionality Getting Started with Harvester

6 Configuring and Using Automated Harvesting in Design-time and Runtime Environments 6-1 6 Configuring and Using Automated Harvesting in Design-time and Runtime Environments This chapter describes how to get started with Harvester and its use in various high level use cases. Oracle Enterprise Repository can be automatically populated with assets, metadata, and relationships. The tool used to populate Oracle Enterprise Repository is called the Harvester. The Harvester reads metadata from Oracle products and standards-based files. This includes Oracle SOA Suite, Oracle Service Bus, composites generated by Oracle BPA, and standard BPEL, WSDL, XSD, XSLT, and WS-Policy files. The Harvester automatically creates assets, populates asset metadata, and generates relationship links based on the information in the artifact files. The files can be harvested at design-time, directly from the development environment. The files can also be harvested as they are deployed to the runtime environment. The Harvester can be used from the command line, within IDEs including Oracle JDeveloper, and within Ant and the Weblogic Scripting Tool WLST. This chapter contains the following sections: ■ Section 6.1, Getting Started with Harvester ■ Section 6.2, Configuring the Harvester ■ Section 6.3, Harvesting of Artifacts

6.1 Getting Started with Harvester

This section describes how to get started with Harvester and its use in various high level use cases. This section contains the following topics: ■ Section 6.1.1, Prerequisites ■ Section 6.1.2, Harvester Functionality ■ Section 6.1.3, ArtifactsProducts Version Matrix

6.1.1 Prerequisites

Before using the Harvester, you must perform the following prerequisites: ■ Import the Harvester Solution Pack, which includes the required Asset Types and Relationships, into Oracle Enterprise Repository. Import the 6-2 Oracle Fusion Middleware Configuration Guide for Oracle Enterprise Repository repositoryxxxcoretoolssolutions11.1.1.x.x-OER-Harvester-S olution-Pack.zip file from the Oracle Enterprise Repository installation home. For more information about importing the Oracle Enterprise Repository solution packs, see Oracle Fusion Middleware Installation Guide for Oracle Enterprise Repository. For more information about asset type inventory for the Harvester Solution Pack, see Section A.8, Asset Type Inventory . ■ If you wish to harvest from Oracle Service Bus, install Oracle Service Bus server version 10.3.1.0 on the same machine as the harvester, or a shared file system accessible to the harvester. ■ When harvesting assets from deployed applications such as Oracle SOA Suite or Oracle Service Bus, or Web Services, then the application must be deployed on WebLogic 10.3.1 or higher. ■ Harvester requires Java SDK version 6 or higher.

6.1.2 Harvester Functionality

You can use the Harvester to: ■ Publish standard SOA artifacts such as SCA Composites, BPEL, WSDL, XSD, and XSLT and WS-Policy from Oracle and other vendorsto Oracle Enterprise Repository. ■ Capture dependencies between the artifacts for impact analysis. ■ Handle nested WSDLs and XSDs. ■ Create abstract Interface assets and concrete deployment Endpoints. ■ Capture BPEL partnerlink dependencies and relating them to Interfaces. ■ Capture BPEL PM dependencies to Transformations. ■ Store or reference artifact content in Oracle Enterprise Repository for reusability. ■ Calculate Software File IDs SFIDs for artifacts for duplicate detection. ■ Publish artifacts from nested directories, remote servers, zip files, jar files, SOA composites, or Oracle BPEL suitcases. ■ Publish artifacts in a transactional fashion. ■ Publish artifacts from command line, and from automated Ant build process using the Harvester Ant task. ■ Publish Oracle Service Bus project artifacts such as Proxy Service, Business Service, XQuery, MFL, XSLT,WS-Policy. ■ Integrate the harvesting process as part of WLST deployment scripts. Note: If you wish to harvest any later versions of Oracle Service Bus 11g, then you have to use the corresponding Oracle Service Bus harvester version that is specifically developed for later versions of Oracle Service Bus 11g and is available as part of Oracle Service Bus 11g product installation. Configuring and Using Automated Harvesting in Design-time and Runtime Environments 6-3 ■ Harvest into SSL enabled SOA server. For more information about how to enable SSL on SOA server, and export and import certificates into a client, see Oracle Fusion Middleware Security Guide.

6.1.3 ArtifactsProducts Version Matrix