![]() ![]() ![]() ![]() ![]() ![]() |
This section contains information on the following subjects:
There are two ways to submit an assets from Eclipse:
When submitting assets to Oracle Enterprise Repository, the Oracle Workshop for WebLogic plug-ins for Eclipse determine whether or not the project can be transformed into an assembly model or submitted as an Archive file, and then renders the appropriate wizard to submit the asset to the enterprise repository.
An Assembly Model is a set of related assets representing the structure of an Oracle Workshop for WebLogic integration project in terms of the SCA standard. When a project is submitted from Oracle Workshop for WebLogic, an Assembly Model is automatically created. The model consists of a root asset, of type Assembly Model, that logically contains all the other assets in the model. The model assets represent Components, Services, Interfaces, and Bindings defining an Oracle Workshop for WebLogic project, as well as Composites that define a hierarchical composition structure. The relationships used to connect the assets in the Assembly Model are Oracle Enterprise Repository system-supplied relationships. Assembly Models are only generated for Oracle Service Bus projects.
See Submitting Assembly Models to the Repository.
The Oracle Enterprise Repository plug-in for Eclipse allows you to select files to submit to the Enterprise Repository. It packages the files into a .zip format for archive submission. The Archive Submission Wizard allows you to submit single and/or compound-payload assets to Oracle Enterprise Repository via an archive ZIP file, as explained in Submitting Archived Assets.
When you right-click an Eclipse project and select the Submit to Oracle Enterprise Repository from the shortcut menu, the Oracle Workshop for WebLogic plug-ins first determine if connectivity has been established to Oracle Enterprise Repository. If a connection is not yet established, the Connect to Enterprise Repository wizard is launched to establish connectivity.
Once connectivity is established, the Oracle Workshop for WebLogic plug-ins determine whether or not the project can be transformed into an assembly model or submitted as an Archive File. If it can be transformed into an assembly model, the Submit Assets to Enterprise Repository wizard enables you to submit the project’s associated assets to the enterprise repository.
For example, if the referenced project is an integrated external endpoint, such as Oracle Service Bus, the wizard rendered represents the information required to submit the assets associated with the project.
Tip: | In order to submit assembly models to the repository, you must be assigned to an Advanced Submitter role. If you are unsure of your role status, check with your Oracle Enterprise Repository system administrator. |
When submitting assembly models, Oracle Workshop for WebLogic plug-ins capture metadata associated with the submitted asset, such as model and associated Artifact Store information.
<Default>
string and can only be edited under certain conditions, as described in Resubmitting an Existing Model.Note: | The Model Name, Version, and Namespace fields reflect the values used during the initial submission and cannot be edited when resubmitting a project. For more information, see Resubmitting an Existing Model. |
If a project contains unresolved external service references, you may want to resolve any unresolved references before submitting the project to the Enterprise Repository; however, this is not required.
The following guidelines may apply when submitting assembly models to Oracle Enterprise Repository.
In the event an asset name/version collision occurs against an existing Oracle Enterprise Repository non-deleted asset during an assembly model submission, the name will be augmented with a dash and number as follows: assetname-1
, assetname-2
, assetname-3
, etc. In the event name trimming needs to occur, such as where the name uses all the available characters for an asset name, the name will be trimmed at the end to make room for the name modification.
Projects submitted as assembly models will include a reference to the producing project. The producing project is applied to all assets in the import bundle and are additive in nature. For any assets in the bundle that already exist in Oracle Enterprise Repository and have producing projects applied, the existing producing projects will remain intact and the new producing project will be added to the asset.
A WSDL imported using the Oracle Enterprise Repository Plug-in for Eclipse cannot subsequently be imported directly using the Oracle Enterprise Repository import/export tool. Any attempt to import such a WSDL using the import/export tool will fail, throwing the following “Unsupported WSDL” error message:
Error [10,001]: Unsupported WSDL - Specified WSDL can be imported only using ALSync tool as previous version of this WSDL was imported via ALSync.?
When initially submitting a model, the Model fields reflect the values used during the initial submission and cannot be edited when resubmitting a project. This is because they uniquely identify the assets of an assembly model, and changing any of these fields would result in a new model being created instead of an existing model getting updated.
The only time any Model fields can be modified is when an error occurs when resubmitting (e.g. a naming conflict) or when a model is locked, which will require entering a new model name, version, and namespace. A model can become locked under two conditions:
If either of these conditions is detected by Oracle Enterprise Repository when a model is being resubmitted, a message will be displayed and the user can change any or all of the following fields: Model Namespace, Model Name, or Model Version. The user can then continue to submit the model, but that model will now be a new model, and will not overwrite the original model (since that model is locked).
When you right-click an Eclipse project and select Submit to Oracle Enterprise Repository from the shortcut menu, Oracle Workshop for WebLogic plug-ins first determine if connectivity has been established to Oracle Enterprise Repository. If a connection is not yet established, the Connect to Enterprise Repository wizard is launched to establish connectivity.
Once connectivity is established, the Oracle Enterprise Repository plug-in determines whether the associated project can be submitted as an Assembly Model (see Submitting Assembly Models to the Repository) or as an Archive File. When it is an Oracle Enterprise Repository project, the Submit Project Files wizard allows you to select and update an existing archive with assets to submit to Oracle Enterprise Repository.
.zip
file extension. The project will appear as an asset in the Submitted - Pending Review folder in the Oracle Enterprise Repository Asset Editor file tree. You can also refresh the data in the Enterprise Repository View’s Results pane to view the asset in Pending Review status. You can also click the asset to view more details. For more information, see The Results Pane.
The Archive Submission wizard maintains support for legacy functionality for AquaLogic Enterprise Repository 2.x or earlier releases. This allows you to submit single and/or compound-payload assets to Oracle Enterprise Repository by creating an asset archive ZIP file.
To build an archive to submit to Oracle Enterprise Repository:
The asset will upload to the installed registry, and will appear in the Submitted - Pending Review folder in the file tree in Oracle Enterprise Repository's Asset Editor. You can also refresh the data in the Enterprise Repository View’s Results pane to view the asset in Pending Review status. You can also click the asset to view more details. For more information, see The Results Pane.
![]() ![]() ![]() |