Policy Checkpoint on Apigee for TMForum REST API

14
Interactive Self-Service Support for APIs on API Platforms With Policy Checkpoints from Nomos

description

Shows an example of a policy checkpoint for a TMForum REST API. The API implementation is on JElastic, the API Proxy and the policy checkpoint are on Apigee. Used to provide self-service support to API users - so they learn how to use the API effectively.

Transcript of Policy Checkpoint on Apigee for TMForum REST API

Page 1: Policy Checkpoint on Apigee for TMForum REST API

Interactive Self-Service Support for APIs on API Platforms

With Policy Checkpoints from Nomos

Page 2: Policy Checkpoint on Apigee for TMForum REST API

“API Platform” Companies

Page 3: Policy Checkpoint on Apigee for TMForum REST API

• Companies put APIs on API Platforms in order to

– Control access to the API (security etc)

– Publicise, provide easy access to, and ‘monetize’ their APIs

– Get analytics on API usage (e.g. what customers use it most)

API Platforms

Page 4: Policy Checkpoint on Apigee for TMForum REST API

What Nomos does

• Provides ‘interactive support’ / sandbox capability on API Platforms

• By adding in ‘policy checkpoints’ for APIs

• API users get feedback on how to use the API correctly : self-service support

Page 5: Policy Checkpoint on Apigee for TMForum REST API

Example Policy Checks

Page 6: Policy Checkpoint on Apigee for TMForum REST API

Apigee Example

Policy Checkpoint for TMForumProductOrder Telecoms REST API, JSON

API Proxy on ApigeeAPI Implementation hosted on JElastic

Policy Checkpoint built with RuleX from Nomos

Using Chrome REST Console 4.0.2

Page 7: Policy Checkpoint on Apigee for TMForum REST API

API Proxyon Apigee

TMForum Product Order API

Implementation

2. Apply Policy

1. Order Product

3. Order Product

API Users

Product OrderPolicy Checkpoint

The Flow

Read the blogs:http://nomos-software.com/blog/apis-hackathon-and-apigee-integration

http://nomos-software.com/blog/apis-and-hackathoning-again

Page 8: Policy Checkpoint on Apigee for TMForum REST API

URI: http://nomos1-test.apigee.net/v1/nomosrulexvalidationservice2

Method: POST

Content Type: application/json

Content Type: CorrectProduct order request

Submit Correct Order – REST Client

Page 9: Policy Checkpoint on Apigee for TMForum REST API

Apigee Trace for Correct Order

Request received from client

Policy checkpointexecuted

Response sent to Jelastic service(no screenshot of response included)

Product Order created

Response received from Jelastic

Final responsesent to client

Page 10: Policy Checkpoint on Apigee for TMForum REST API

Response for Correct Order – REST ClientResponse shows the product order that was created

Page 11: Policy Checkpoint on Apigee for TMForum REST API

URI: http://nomos1-test.apigee.net/v1/nomosrulexvalidationservice2

Method: POST

Content Type: application/json

Content Type: An incorrectProduct order request

Submit Incorrect Order

Page 12: Policy Checkpoint on Apigee for TMForum REST API

Trace for Incorrect Order

Request received from client

Policy checkpointexecuted : Fails checkpoint. Transaction aborted

Response frompolicy checkpointsent to client

Page 13: Policy Checkpoint on Apigee for TMForum REST API

Response for Incorrect OrderResponse gives details of errors in the request, including exact line number of error

Page 14: Policy Checkpoint on Apigee for TMForum REST API

Learn more about RuleX?

Integrate with another API Platform?

Contact usnomos-software.com+353 – 21 - 4928945

@nomossoftware