SIF 3 0 Concepts SIF 3 x Concepts

  • Slides: 16
Download presentation
SIF 3. 0 Concepts SIF 3. x Concepts & Terms Presented by: Joerg Huber

SIF 3. 0 Concepts SIF 3. x Concepts & Terms Presented by: Joerg Huber

2 Overview Terms and Concepts of SIF 3. 0 l l l l REST

2 Overview Terms and Concepts of SIF 3. 0 l l l l REST (what about SOAP), XML, JSON Direct and Brokered Zones Immediate and Delayed Responses Event Processing (Single Source of Truth) Bulk Create, Update & Delete Operations Reduced ‘Chatiness’ SIF 3. 0. 1 Infrastructure Documentation Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

3 REST, SOAP, XML, JSON ¡ Current SIF 3. 0. 1 Release uses l

3 REST, SOAP, XML, JSON ¡ Current SIF 3. 0. 1 Release uses l l ¡ ¡ REST as transport and XML representation of Data Model (infrastructure and data dictionary) SOAP may come in future if the need arises. JSON is planned but not officially supported, yet. l l l Mapping between XML and JSON required JSON has ambiguities (i. e. Array or not Array) JSON is less bound by standards which causes some issues: i. e. Encryption of payload, validation etc. Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

4 Direct Zone NEW Concept in SIF 3. x ¡ Peer-To-Peer connection not involving

4 Direct Zone NEW Concept in SIF 3. x ¡ Peer-To-Peer connection not involving middleware. ¡ Can be used from web-applications to retrieve and persist data directly from/to a given application. ¡ Can be used by mobile applications (most likely using REST) to connect directly to an application. ¡ Sub-Set of SIF 3. 0 Interfaces need to be implemented Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

5 Direct Zone cont. Direct Zone ACLs, URIs Environment Provider Data Object Providers (Infrastructure)

5 Direct Zone cont. Direct Zone ACLs, URIs Environment Provider Data Object Providers (Infrastructure) Service Consumer (Simple) (SIF AU 1. 3) (Services) Student. Personal School. Info etc. Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

6 Brokered Zone ¡ ¡ What was known as a ZONE involving a ZIS

6 Brokered Zone ¡ ¡ What was known as a ZONE involving a ZIS in SIF Classic (SIF 2. x). The Brokered Zone securely connects N clients to a dynamically changing list of M Data Entity and / or Functional Services through a centrally secure, separate and discrete Message Broker. Clients of a brokered Zone can implement SOAP and/or REST, depending what the broker supports. Broker may implement SOAP and/or REST Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

7 Brokered Zone cont. Brokered Zone ACLs, URIs (Infrastructure) Environment Provider ACLs, URIs (Infrastructure)

7 Brokered Zone cont. Brokered Zone ACLs, URIs (Infrastructure) Environment Provider ACLs, URIs (Infrastructure) Zone Registry Service Consumer Provider Registry Data (SIF AU 1. 3) Connectors (Request, Event, Provision, Subscribe etc) Queue Manager Note: Not all registries are shown Data Object Provider Services (SIF AU 1. 3) Student. Personal School. Info etc. Middleware Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

Immediate & Delayed Response 8 ¡ ¡ Delayed Response is what is known in

Immediate & Delayed Response 8 ¡ ¡ Delayed Response is what is known in SIF 2. x as asynchronous response. This concept remains in SIF 3. 0 Immediate Response (synchronous) is where the requestor of the data keeps the connection open until a response is available. Immediate Response is largely a NEW concept in SIF 3. 0 ¡ Direct Zone: Commonly used ¡ Brokered Zone: Less common when it comes to requesting data through a query Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

Service Types 9 ¡ ¡ Infrastructure Services ¡ Environment Provider ¡ Queues ¡ Alerts

Service Types 9 ¡ ¡ Infrastructure Services ¡ Environment Provider ¡ Queues ¡ Alerts ¡ Namespace Registry etc. Data Entity/Object Service is a service for a given SIF Object (i. e. Student. Personal, School. Info) => CRUD ¡ Create ¡ Read (Query) ¡ Update ¡ Delete Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 0 Service Types cont. ¡ Functional Services ¡ Execute Style (Jobs): i. e.

1 0 Service Types cont. ¡ Functional Services ¡ Execute Style (Jobs): i. e. End-of-Year Rollover. ¡ Student Locator ¡ Report Style: Provide a ‘View’ of multiple Entities in one Object. ¡ ¡ Composite Object Services l ¡ Object made of parts of other object Relationship Services? l l …/Student. Personals/{id}/Teaching. Groups Not yet supported with SIF 3 Framework! Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 1 Event Processing ¡ ¡ Event Processing changes considerably in SIF 3. 0

1 1 Event Processing ¡ ¡ Event Processing changes considerably in SIF 3. 0 Publishing Events is only allowed for the ‘Source of Truth’ which is the Object Provider! Non-Sources of Truth (Consumer) can only request CRUD operations on the Source of Truth and if accepted the Source of Truth will publish the event to the Zone. ‘Ref. ID’ allocation ¡ ¡ Responsibility of “Source of Truth” Consumer can request that its Ref. ID is used (must. Use. Advidory HTTP Header field). Source of Truth can accept this or reject it Non-Source of Truth must maintain a link between the “Create” Request until Source of Truth response with the new Ref. ID where consumer does not provide Ref. ID. Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 2 Event Processing cont. Save new Student Attendance Tracking App “Source of Truth”

1 2 Event Processing cont. Save new Student Attendance Tracking App “Source of Truth” Request Create (Subscriber Service) Request Create Accepted AB 12 FF 5 FE 20945 F 12 FFE 2 FF 02211 FF 02 LMS Broker (Subscriber Service) Accepted SIS App (Provider Service) AB 12 FF 5 FE 20945 F 12 FFE 2 FF 02211 FF 02 Receive Create Event Time Table App (Subscriber Service) Publish Create Event Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 3 Bulk Operations SIF 3. 0 infrastructure enables bulk operations! ¡ ¡ ¡

1 3 Bulk Operations SIF 3. 0 infrastructure enables bulk operations! ¡ ¡ ¡ Creation of multiple objects in one request Update of multiple objects in one request Deletion of multiple objects in one request => Improves performance => Scales better ‘Requestor’ of bulk operation always knows success status of each object in the request. Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 4 Reduced ‘Chatiness’ ¡ ¡ ¡ Bulk Operations Usage of standard HTTP Status

1 4 Reduced ‘Chatiness’ ¡ ¡ ¡ Bulk Operations Usage of standard HTTP Status codes rather than ACK/NAK Messages. Queues: ‘Get Next Message and Delete Previous’ in one message rather then spread over 4 messages! => Improves performance => Scales better => Easier to implement! Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 5 SIF 3. 0. 1 Infrastructure Documentation SIF Association Website https: //www. sifassociation.

1 5 SIF 3. 0. 1 Infrastructure Documentation SIF Association Website https: //www. sifassociation. org/Specification/P ages/Infrastructure_3_0_1. aspx Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd

1 6 Questions Any Questions? Training Course - Sydney: SIF 3. x Concepts September

1 6 Questions Any Questions? Training Course - Sydney: SIF 3. x Concepts September 2014 © Systemic Pty Ltd