Practice 19 Migrate Application Development Between Environments
Practice 19 Migrate Application Development Between Environments
Application Development
Between Environments
Practice 1: Migrate Applications
Overview
In this lab, You will create Installation scripts and Data Packages to export Database objects
along with Data. Then you will export the DEMO PROJECTS Application along with supporting
objects and import it into another workspace.
Objectives
Before starting this lab, you need to provision a new APEX instance or Workspace.
In this hands-on lab, you will log in to a new, remote APEX workspace, create a table, and then
register schema with ORDS.
5. Click Create.
7. Under Script Attributes, select the below options and click Next.
10. Now, you will see that the Scripts got created and Saved. You will need to include Data in
your Supporting Objects. Select Create Data Package under Tasks on the Right side of
your page.
11. Under Script Attributes, Select the following and click Next.
16. You will now notice that the application is downloaded as fNNN.sql
Import Application into the Target Workspace and Verify Database Objects.
5. Under Install, Set Build Status to Run and Build Application. Leave the remaining
settings to default and Click Install Application.
8. You will now see that Your application's supporting objects have been installed.
Click Edit Application to review the Database Objects.
10. Select DEMO_PROJECTS table and then click Data. Verify the Data in the
table DEMO_PROJECTS.
Overview
In this lab, You will be using Remote Deployment to deploy your Application from
Development to UAT. The ORDS feature, REST Enabled SQL is not available
for apex.oracle.com users. Therefore, you will not be able to perform this lab in the
hosted instance apex.oracle.com. You should be using APEX Service or APEX on
Autonomous Database options for this lab.
Objectives
The ORDS feature, REST Enabled SQL is not available for apex.oracle.com users.
Therefore, you will not be able to perform this lab in the hosted instance
apex.oracle.com. You should be using APEX Service or APEX on Autonomous
Database options for this lab.
In this Lab, You will install a Sample Application in a new workspace you created
either on APEX Service or APEX on Autonomous Database. Please follow the steps
in Get Started with Oracle APEX workshop to provision an instance or to create
workspace on APEX Service or APEX on Autonomous Database.
3. Now that you are in Sample Apps, search for apps by typing "Reporting" into the "Search
Apps" search box and navigate to Sample Reporting and click the Install Button.
In this Lab, You will enable the Target System to ORDS, and then you will copy the
URL and paste it into your notepad.
5. Navigate to SQL Workshop > Restful Services. Expand RESTful Data Services >
Modules > oracle.example.hr > empinfo/ GET. Copy the Full URL and paste it into
your Clipboard or Notepad.
Your application is now ready for deployment. Perform the following steps:
6. Enter the base URL for the REST Enabled SQL Service defined for your deployment
server (WS_APEXUAT in this example). The schema in your deployment server has
already been enabled for use with ORDS RESTful Data Services in prerequisites.
For Endpoint URL, paste the base URL copied from the deployment instance in the
previous step(Task 4). The base URL should include the ORDS context root and schema
URL prefix. For example, https://host:8096/ords/apexstage. Then, click Next.
8. Now you see a message that REST Enabled SQL Service has been created. From the
Deployment Server select list, choose the one that you just created. Enter the values
for Client ID and Client Secret and click Next. In this example, you use Basic
Authentication. Therefore, enter the Database user name (deployment schema) for
Client ID and the corresponding password for Client Secret. Then, Click Next.
11. Log in to your remote APEX instance. Make sure that the application is available and with
the same application id as in the source system.
Summary
You now know how to deploy your Application from Development to UAT.