|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Tier Routing Manager MBean.
Method Summary | |
void |
addTierRoute(String endpointExpression, String clusterName, int index) Adds a route which contains an endpoint expression and a cluster's name in a specific position in the route list. |
TierRouteDesc[] |
listTierRoutes() Returns the list of route information. |
void |
removeTierRoute(int index) Removes a tier route. |
Method Detail |
public void addTierRoute(String endpointExpression, String clusterName, int index) throws ManagementException
endpointExpression
- The pattern to be used as a matching criteria for the callback URL for network-triggered operations. Each Service Facade adds its own signature to the pattern. The following table shows examples of endpoint regular expressions:
Endpoint expressions | Description |
---|---|
.*realUrl=.* |
Routes to a SOA Service Facade cluster, since the parameter realURL is present in the callback endpoint. |
/bayeux.* |
Routes to a RESTful Service Facade cluster, since the parameter bayeux is present in the callback endpoint. |
http://.*mydomain.com/* |
Routes to a specific cluster when the callback endpoint is within the domain mydomain.com. This makes it possible to inspect in which domain the callback endpoint is, and use one access cluster for a given set of service providers and another for another set of service providers. It makes it possible to use one Access tier cluster for applications residing in the network operator's intranet and another for applications hosted by service providers outside the network operator's domain. |
Scope: Cluster
clusterName
- The name of the cluster to pass the request to if the endpointExpression matches.index
- The position used to insert the route. The first matching route will be used so the order of the routes are important if a URL can match multiple routes. The new entry will shift any existing entries one index higher. To insert entry first in the list, use index 0 (zero). To insert an entry last in the list, use the number of list entries (the size of the list). If the value is less than 0 or greater than the max size of the route list, a ManagementException will be thrown.ManagementException.
ManagementException
public TierRouteDesc[] listTierRoutes() throws ManagementException
Scope: Cluster
ManagementException
public void removeTierRoute(int index) throws ManagementException
Scope: Cluster
index
- The route in the this specific position would be deleted. If the value is less than 0 or equal to or greater than the max size of the route list, a ManagementExeption will be thrown.ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |