UI Backend for validating configuration

Any UI should have the possibility of validating the data before being used. The generated class oracle.apiplatform.policies.GeoIP.GeoIPValidator could be implemented to verify the file paths as being legal, but remember as the UI is in the cloud onto where gateways will be deployed it isn't possible to test the path as actually being valid.

The final UI aspect to draw specific attention to is the illustration of the edit Javascript called GeoIP-edit.js. Previously we mentioned that the values to be passed across the need to be initialized, as can be seen in the code this has been modified to be:

var config = {"country" : "", "GeoFilename" : "", "NetworkFilename" : ""};

These values can also be seen ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.