Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To keep the example as simple as possible, the valid records are not processed. To illustrate how the workflow is defined, an example is given where an incoming UDR is validated, resulting in the field response being updated and sent back as a reply to the source. Usually, no reply is sent back until the UDRs are fully validated and processed. The example aims to focus on the request and response handling only.

NokiaIACC Connection

The Nokia IACC agent will allow multiple client connections at the same time. The example workflow could be modified by connecting several clients to the Nokia IACC agent through the CORBA Naming Service, if preferred.

NokiaIACC Collection Agent

Drag and drop a Nokia_IACC collection agent into the workflow. To be able to receive and send requests and responses the Nokia IACC agent needs to connect with the CORBA Naming Service. Therefore the configuration dialog of the Nokia IACC agent needs to be updated with the appropriate values for the HostPort and service Name.

The Analysis Agent

The Analysis agent handles both the validation of the incoming request, as well as sending the response.

...

Code Block
languagetext
themeEclipse
consume {
    if(instanceOf(input.request, HasCredit2)){

        // Create and populate a response
        list<Subscriber> sList = listCreate(Subscriber);
        Subscriber sub = udrCreate(Subscriber);
        list<OneAttribute> aList = listCreate(OneAttribute);
        OneAttribute one = udrCreate(OneAttribute);
        one.level = 1;
        one.name = "hasCredit name1";
        one.value = "hasCredit value1";
        listAdd(aList, one);
        OneAttribute two = udrCreate(OneAttribute);
        two.level = 2;
        two.name = "hasCredit name2";
        two.value = "hasCredit value2";
        listAdd(aList, two);
        sub.attributes = aList;
        listAdd(sList, sub);
        input.response.subscribers = sList;

        //Send a response to the network element
        udrRoute(input);

    } else if (instanceOf(input.request, CancelReservation2)){
        debug("a CancelReservation");
    } else if(instanceOf(input.request, CommitReservation2)){
        debug("a CommitReservation");
    }
}  


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next:



Scroll pagebreak