iStarJSON: A Lightweight Data-Format for i* Models Oscar - - PowerPoint PPT Presentation

istarjson a lightweight data format for i models
SMART_READER_LITE
LIVE PREVIEW

iStarJSON: A Lightweight Data-Format for i* Models Oscar - - PowerPoint PPT Presentation

iStarJSON: A Lightweight Data-Format for i* Models Oscar Franco-Bedoya David Ameller Lidia Lpez Dolors Costal ohernan@essi.upc.edu dameller@essi.upc.edu dolors@essi.upc.edu llopez@essi.upc.edu Agenda iStarJSON: A Lightweight Data-Format


slide-1
SLIDE 1

iStarJSON: A Lightweight Data-Format for i* Models

Oscar Franco-Bedoya

  • hernan@essi.upc.edu

David Ameller

dameller@essi.upc.edu

Dolors Costal

dolors@essi.upc.edu

Lidia López

llopez@essi.upc.edu

slide-2
SLIDE 2

2

Agenda

Motivation iStarJSON Language iStarJSON Services IStarJSON PoC Conclusions & Future Work

1 2 3 4 5 iStarJSON: A Lightweight Data-Format for i* Models

slide-3
SLIDE 3

3

iStarJSON: A Lightweight Data-Format for i* Models iStarJSON has been carried out in the context of a general framework for Open Source Software ECOsystems (OSSECOs) quality analysis and modelling process. i* is used to represent OSSECOs, and the framework uses model analysis for OSSECO quality analysis (e.g., identifying main goals, members relationships, strategic dependencies)

Motivation

slide-4
SLIDE 4

4

iStarJSON: A Lightweight Data-Format for i* Models

Source: e: P Progr grammabl ble e Web S eb Site Over more than 16.000 AP APIs

JSON trend is growing

2005 2007 2009 2011 2013 80% 70% 60% 50% 40% 30% 20% 10%

API Data Exchange: XML vs. JSON

XML JSON

slide-5
SLIDE 5

5

ISTARJSON LANGUAGE

iStarJSON: A Lightweight Data-Format for i* Models

slide-6
SLIDE 6

6

iStarJSON: A Lightweight Data-Format for i* Models Source ce: i iStar Wiki G = (V;E) V = {actor; agent; role; position}U {goal; task; resource; softgoal; belief }

An iStar model is a directed graph

Atype = {association;dependency;means_end;decomposition;contribution}

Dependencies are represented by three nodes (depender, dependee and dependum) and two links, one from the depender to the dependum and other from the dependum to the dependee.

slide-7
SLIDE 7

7

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON

from iStarML hierarchical structure to iStarJSON graph structure Graph structure does not affect to the i* syntax or semantics Graph structure allow using existing tools and algorithms for graph manipulation (e.g., graph layouts, node centrality, shortest path)

slide-8
SLIDE 8

8

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON (partial) Schema

slide-9
SLIDE 9

9

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON (partial) Example

slide-10
SLIDE 10

10

ISTARJSON OSS PROJECT

iStarJSON: A Lightweight Data-Format for i* Models

slide-11
SLIDE 11

11

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON Project Architecture

slide-12
SLIDE 12

12

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON project in Github

https://github.com/UPC-gessi-oscar-franco/iStarJson

slide-13
SLIDE 13

13

ISTARJSON PoC

iStarJSON: A Lightweight Data-Format for i* Models

slide-14
SLIDE 14

14

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON REST Web Services

iStarML to iStarJSON converter iStarJSON Validator iStarJSON Graph Generator

1 2 3

slide-15
SLIDE 15

15

iStarJSON: A Lightweight Data-Format for i* Models

i* Model for Testing

slide-16
SLIDE 16

16

iStarJSON: A Lightweight Data-Format for i* Models

iStarML to iStarJSON Converter

curl -v -H "Content-Type: application/xml" -X POST --data @Test2.istarml http://localhost:8080/iStarJSONServiceREST/istar/istarToJSON >Test2.istarjson

slide-17
SLIDE 17

17

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON Validator

curl -v -H "Content-Type: application/xml" -X POST --data @Test2.json http://localhost:8080/iStarJSONServiceREST/istar/istarJSONvalidator > valid.txt curl -v -H "Content-Type: application/xml" -X POST --data @Test2Bad.json http://localhost:8080/iStarJSONServiceREST/istar/istarJSONvalidator > invalid.txt

slide-18
SLIDE 18

18

iStarJSON: A Lightweight Data-Format for i* Models

iStarJSON Graph Generator

curl -v -H "Content-Type: application/xml" -X POST --data @Test2.json "http://localhost:8080/iStarJSONServiceREST/istar/istarJSONconverter/param?lay aout=dot&type=pdf" >grap.pdf

slide-19
SLIDE 19

19

iStarJSON: A Lightweight Data-Format for i* Models

Graph Visualization

Gen ener erated ed f from an iStarML f file

Just in case…

slide-20
SLIDE 20

20

iStarJSON on the cloud (AZURE)

  • Converter

curl -v -H "Content-Type: application/xml" -X POST --data @Test2.istarml http://testoneosseco.azurewebsites.net/iStarJSONServiceREST /istar/istarToJSON

  • Validator

curl -v -H "Content-Type: application/xml" -X POST --data @Test2.json http://testoneosseco.azurewebsites.net/iStarJSONServiceREST /istar/istarJSONvalidator

  • Graph Generator: Coming soon!

iStarJSON: A Lightweight Data-Format for i* Models

slide-21
SLIDE 21

21

CONCLUSIONS & FUTURE WORK

iStarJSON: A Lightweight Data-Format for i* Models

slide-22
SLIDE 22

22

iStarJSON: A Lightweight Data-Format for i* Models

Conclusions

Definition of JSON language

1 2 3

Release iStarJSON as OSS project Provision of 3 REST Web Services

iStarML to iStarJSON converter iStarJSON Validator iStarJSON Graph Generator

https://github.com/UPC-gessi-oscar-franco/iStarJson

slide-23
SLIDE 23

23

iStarJSON: A Lightweight Data-Format for i* Models

i* Model Analysis Social Network Analysis Software Ecosystems

1 2 3

Future work

Adding more services for…

slide-24
SLIDE 24

24

iStarJSON: A Lightweight Data-Format for i* Models

?

Thank you!