SIF 3 Providers SIF 3 Providers Source of

  • Slides: 8
Download presentation
SIF 3: Providers SIF 3 Providers: Source of Truth Presented by: Joerg Huber

SIF 3: Providers SIF 3 Providers: Source of Truth Presented by: Joerg Huber

2 Overview ¡ ¡ ¡ What is an Object Provider? What is it responsible

2 Overview ¡ ¡ ¡ What is an Object Provider? What is it responsible for? Source of Truth DIRECT vs. Brokered Object Providers and SIF 3 Frameworks Basic steps to develop an Object Provider Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd

3 What is an Object Provider ¡ ¡ A ‘Server’ in the traditional sense.

3 What is an Object Provider ¡ ¡ A ‘Server’ in the traditional sense. Will require web- or application server Can be very simple (Brokered) or may have some complexity (DIRECT) It typically responds to CRUD requests: l ¡ ¡ Create, Read/Get, Update & Delete Objects (i. e. Students) It can publish Events if events are required. An Object Provider is considered the “source of truth”, meaning CRUD requests might be rejected by the provider! Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd

4 Responsibility of an (Object) Provider ¡ ¡ Respond to CRUD requests from consumers.

4 Responsibility of an (Object) Provider ¡ ¡ Respond to CRUD requests from consumers. Maintain Ref. IDs! l l l ¡ Allocate for ‘Create’ request. Accept from ‘Create’ requests (must. Use. Advisory) Ensure they are syntactically valid DIRECT Environment An Object Provider is also an Environment Provider l Provide an environment connector and maintain environments. l Manage consumer sessions ¡ Events (most likely in a brokered environment only) l Send appropriate events if the data store the provider is responsible for is altered. l Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd

5 Source of Truth An Object Provider is consider the Source of Truth for

5 Source of Truth An Object Provider is consider the Source of Truth for all data objects it provides. ¡ Consumers can request changes but Object Provider may reject them. l ¡ ¡ Object Provider is responsible to maintain Ref. IDs Brokered Environment: Events l l ¡ Ensure that consumers deal with rejected requests. Responsible to publish events if data store is altered. Keeps consumers in sync with “Source of Truth” DIRECT Environment: Events l l Most likely not supported. SIF Specification does not require a DIRECT environment to support events. Consumer may need to sync all data from time to stay in tune with the “Source of Truth”. Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd

6 DIRECT vs. Brokered Provider Direct Brokered Object Provider Yes Environment Provider Yes No

6 DIRECT vs. Brokered Provider Direct Brokered Object Provider Yes Environment Provider Yes No Maintain Sessions for Consumers Yes No Optional 1) Yes Events supported Delayed Request/Response supported Optional 1) N/A 2) Ref. ID Management (Object Provider) Yes Source of Truth Yes 1)If required then Queue Connector, Queue Management, Event Connector, message routing, consumer connection management must be implemented. Lot’s of work! 2)Does not see if request is DELAYED. Broker will maintain this state! Object Provider only deals with Immediate Request/Response. Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd

7 Providers & SIF 3 Frameworks Java . Net Object Provider Framework - CRUD

7 Providers & SIF 3 Frameworks Java . Net Object Provider Framework - CRUD Yes Acts as DIRECT Environment Provider Yes Brokered Connections supported Yes No 1) Events supported Yes No 1) Delayed Request/Response supported No 1) Service Path Support No 1) 1)Future extensions expected Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd

8 Steps developing an Object Provider ¡ ¡ ¡ Chose a Data Model (i.

8 Steps developing an Object Provider ¡ ¡ ¡ Chose a Data Model (i. e. SIF AU 1. 3) Chose the SIF Objects the Provider deals with. DIRECT Environment l l ¡ Brokered Environment? l l l ¡ Manage Environments (next exercise) What do I need to tell consumers (i. e. Application Key, Password, Base URI etc. ). What is the Base URI to the Broker? What is my Application Key, Password? Event support required Finally… Implement Object Providers => Next Session… Exercise Training Course - Sydney: SIF 3: Providers September 2014 © Systemic Pty Ltd