Deploying SampleRestAPI for On-Premises
To set up an File provider- XML format deployment in Gateway using rest services, a REST API, SampleRestAPI.war, is delivered in Gateway that you can deploy and use for testing or demonstration purposes. The following rest services are available for project data and master data:
- GET project (/xmldata/project)
- POST project (/xmldata/project)
- GET global (/xmldata/global)
- POST global (/xmldata/global)
To deploy the delivered SampleRestAPI:
- Download and install Primavera Gateway from the Oracle E-delivery Software Cloud.
- Go to the <Primavera_Gateway_home>/providers/fileprovider/samplerestapi/output folder
- Select the fileprovidersamplerestapi.war file.
- Log in to the application server of your choice or WebLogic with administration privileges.
- Create a WebLogic domain and deploy fileprovidersamplerestapi.war.