X

Developer Partner Community

Switching REST Services When Publishing a Visual Builder App by Shay Shmeltzer

Juergen Kress
PaaS Partner Adoption

image

Most organizations use separate servers for development vs. production. While developing your Visual Builder application you'll be accessing REST Services from the development server, but when you are preparing to go production you will likely want to switch the app to use the production version of the services. In the demo below I show you how to automate such a switch using build jobs in Oracle Developer Cloud as part of your continuous delivery process.

(If you aren't already, you should first get familiar with how to integrate Visual Builder with the Git repository in developer cloud, and how to use Developer Cloud to automate the CI/CD of a VB app).

The process is quite simple:

We are hosting the code for our application in a private Git repository in Developer Cloud. The code for our application includes service.json files for each of the REST services we are consuming in our app.

We can use a build job to take the code from the Git repository and stage or publish our app on any Visual Builder server. If we want to switch the REST service that we are accessing when we stage & publish, then we need to inject one more step into our build job - this step will modify the service.json file we got from the Git repository and will replace the service connection in the file before we execute the grunt tasks to stage/publish on our production instance. Read the complete article here.

 

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.