Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

GetRPAttributes Example Flow

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}

Call to getRPAttributes

 Parameters:
  ctxt = <udi-of-static-mydex-experian-app-data-context> = RP_1
  app = "test app"
  atts = {http://schemas.informationcard.net/@ics/age-21-or-over/2008-12, false, equifax.com},
         {http://www.eclipse.org/higgins/ontologies/fp#streetAddress?r=Buyer, false, nil}
         {http://www.eclipse.org/higgins/ontologies/fp#postalCode?r=Buyer, false, nil}
         {http://www.eclipse.org/higgins/ontologies/fp#givenName?r=Recipient, false, nil}
  effective = <Now>
  where = nil
  token_type = "json" <= yikes! we need some way to specify we want json
  issuer_policy = nil
  privacy_url = nil
  privacy_version = nil
  interactive = false

Initial state of data

Get0 2.0.110.png

(A) Instantiate context

Result:
Get1 2.0.110.png

(B) Analyze the list of requested attributes

Result =

{
  requested-attributes = http://schemas.informationcard.net/@ics/age-21-or-over/2008-12 ;
  sourcePerson = A;
},
{
  requested-attributes = {fp:postalCode?r=Buyer, false, nil}, 
  {fp:postalCode?r=Buyer, false, nil};
  sourcePerson = B;
},
{
  requested-attributes = {fp:givenName?r=Recipient, false, nil}; 
  sourcePerson = C, D;
};

To be completed

We'll need this image:

Get2 2.0.111.png

Links

Back to the top