Overview of WSRR artifacts in the sample

The WSRR artifacts describing the Store Service are described here. The artifacts for the REST service follow a similar pattern.

Bob's Warehouse is the organization that owns both the providing Store service and the consuming StoreConsumer application.

The Warehouse Business Service is the object under which all of the versions of the Store service sit. The Store service version represents a particular version of Store service. This version is the service being provided for re-use. The Store service level definition (SLD) has two policies attached; the first policy rejects messages after 5 messages in 90 seconds and the second policy does validation against the Store.wsdl schema. These policies mean that requests to Store service are validated, and a maximum of 5 requests are allowed through to the service in any 90 second period, regardless of who the request comes from. The SLD also has an anonymous service level agreement (SLA). Any policies attached to this SLA are applied when requests come in for which there is no matching SLA. An SLA matches if the following conditions are satisfied:

The StoreConsumer business application represents the StoreConsumer Application, while the StoreConsumer Application Version is a particular version of this application. This application is the consumer: it is re-using the Store service. It has the consumer ID of CEO. There are two SLAs in place for this application, which constitute an agreement to allow this application to consume the Store service. One has the context ID of Gold, meaning it matches requests from the StoreConsumer application which have the context ID of Gold in the request, and one matches Silver. The Gold SLA has a policy attached to re-route requests, so any requests from the StoreConsumer application that have context ID set to Gold are rerouted to the endpoint specified in the policy. The Silver SLA has no policies attached, so its existence means that requests from the StoreConsumer application that have a context ID of Silver are allowed to pass through, though no policy is applied.

In this sample, there is a notify policy attached to the anonymous SLA.
Figure 1. The sample domainThe StoreSLD service is an instance of the Store V1.0 service version. It contains the Validate Policy and the Reject after 5 messages in 90 seconds policy. If the user is Gold, the Gold SLA uses the Routing policy. If the user is anonymous, the Log policy is used.

Concept Concept

Feedback

Timestamp icon Last updated: Thursday, 3 July 2014
http://publib.boulder.ibm.com/infocenter/prodconn/v1r0m0/topic/com.ibm.scenarios.soawdpwsrr25.doc/topics/csoa2_sample_wsrr_artefacts.htm