Add a Resource to the Oracle Cloud Applications Ecosystem

An extension is the vehicle you use to deliver new capabilities into Oracle Cloud Applications. In some cases, those capabilities may take the form of resources, like Layouts or service connections, that you want others to leverage in their own extensions.

Suppose you know that the team who plans to customize the Connections Oracle Cloud Application at your site will need access to confidential employee information provided by a REST API that is usually tightly controlled. To prevent each developer from having to request access to this REST API, you create a service connection to this data in an extension, thereby allowing each person who needs the data to gain access to it simply by adding the extension as a dependency.

Let's take a look at the steps you might follow to achieve this:

  1. Create a new extension by following the instructions in Create an Extension, taking care to select None in the Base Oracle Application field:
    Description of newappextensionnotexpanded.png follows
    Description of the illustration newappextensionnotexpanded.png
  2. In the Designer, click Services in the left Navigator:
    Description of serviceconnec.png follows
    Description of the illustration serviceconnec.png
  3. Click + Service Connection, then click Define by Specification in the Select Source panel.
  4. Provide the values required, using Create a Service Connection from a Service Specification to guide you.
  5. On the service connection's Overview tab, click Accessible to application extensions, to ensure that other extensions will have access to yours.
  6. Click Publish to deploy the extension to your Oracle Cloud Application Development environment.

Your extension is now available for others to add as a dependency. After doing so, they will see the service connection you created on their own Services tab, under the From Dependencies heading:
Description of connectionsrest.png follows
Description of the illustration connectionsrest.png

The service connection is now available for use just as if the extension owner had created the service connection in his or her own extension.