Workshop Idea13 Joerg Huber 12 November 2013 SIF3 Workshop Idea2013 SIF 30 Concepts 2 Overview Terms and Concepts of SIF 30 REST what about SOAP XML JSON Direct and Brokered Zones Immediate and Delayed Responses ID: 230131
Download Presentation The PPT/PDF document "SIF 3.0 Concepts" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
SIF 3.0 Concepts
Workshop Idea13
Joerg HuberSlide2
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
2
Overview
Terms and Concepts of SIF 3.0
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 Infrastructure DocumentationSlide3
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
3
REST, SOAP, XML, JSON
Current SIF 3.0
Release
uses
REST
as transport and
XML
representation of Data Model (infrastructure and data dictionary)
SOAP is planned. SIF Association is looking for volunteers to help on this part.
JSON is planned but not officially supported, yet.
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
There is a separate session in the workshops that addresses the JSON issues. See Confluence on this topic:
http
://kb.nsip.edu.au/display/SATWVC/SIF+3.0+and+JSONSlide4
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
4
Direct Zone
NEW Concept in SIF 3.0
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 implementedSlide5
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
5
Direct Zone cont. Slide6
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
6
Brokered Zone
What was known as a ZONE involving a ZIS in SIF Classic.
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
RESTSlide7
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
7
Brokered Zone cont. Slide8
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
8
Immediate & Delayed
Response
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 querySlide9
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
9
Service Types
Infrastructure Services
Queues
Alerts
Namespace Registry etc.
Data
Entity Service
is a service for a given SIF Object (i.e.
StudentPersonal
,
SchoolInfo
) => CRUD
C
reate
R
ead (Query)
U
pdate
D
eleteSlide10
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
10
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
Object made of part of other object
Relationship Services?
Next release?
…/
StudentPersonals
/{id}/
TeachingGroupsSlide11
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
11
Event Processing
Event Processing changes considerably in SIF 3.0
Publishing Events is only allowed for the ‘Source of Truth’
Non-Sources of Truth can only request CRUD operations on the Source of Truth and if accepted the Source of Truth will publish the event to the Zone.
Impacts ‘
RefId
’ allocation
Only Source of Truth will allocate
RefIds
Non-Source of Truth must maintain a link between the Create Request until Source of Truth response with the new
RefId
.Slide12
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
12
Event Processing
cont.
Time Table App
(Subscriber Service)
Attendance Tracking App
(Subscriber Service)
SIS App
(Provider Service)
Broker
“Source of Truth”
Save new
Student
Request
Create
Request
Create
Accepted
AB12FF5FE20945F12FFE2FF02211FF02
Accepted
AB12FF5FE20945F12FFE2FF02211FF02
Publish Create
Event
Publish Create
Event
LMS
(Subscriber Service)Slide13
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
13
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.Slide14
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
14
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!Slide15
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
15
SIF 3.0 Infrastructure Documentation
Confluence
http://kb.nsip.edu.au/display/NSIS/SIF+3.0+Design+Documents
SIF Association Website
https://www.sifassociation.org/Community/Global/Pages/SIF-3.0-Infrastructure-Review.aspxSlide16
12 November 2013
SIF3 Workshop Idea2013: SIF 3.0 Concepts
16
Questions
Any Questions?