Visual Builder Cloud Service makes it very easy to add REST services to your application – through the "new service connection" wizard you specify the URL to any REST service and a new entry is created for you. However, here is a small tip that will make your application management and performance better when you are leveraging multiple services from the same source – gather them into a single service.
A service connection in VBCS can have multiple end-point defined in it. If you just run through the wizard for adding a service – each end point will create a new service definition. The best practice is to add new endpoint definition into the same service definition when possible.
Let’s work through an example:
We’ll use a set of services about countries available here:
https://restcountries.eu/#api-endpoints-code
You’ll see for example these services there:
· https://restcountries.eu/rest/v2/name/{name}?fullText=true
· https://restcountries.eu/rest/v2/alpha/{code}
The right way to add both to your project is:
1. Use the "Create Service" wizard to add the first end point:
Going through the wizard will end up with a place for you to define the specific end point: Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Facebook
Meetups
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress