Instance Model Structure

Slides:



Advertisements
Similar presentations
Interactive Generation of Integrated Schemas Laura Chiticariu et al. Presented by: Meher Talat Shaikh.
Advertisements

Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
Information Retrieval and Extraction 資訊檢索與擷取 Chia-Hui Chang National Central University
Slides adapted from A. Silberschatz et al. Database System Concepts, 5th Ed. Entity-Relationship Model Database Management Systems I Alex Coman, Winter.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
Ontology Alignment/Matching Prafulla Palwe. Agenda ► Introduction  Being serious about the semantic web  Living with heterogeneity  Heterogeneity problem.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Pointers in the TEI Current issues 3 octobre 2004.
Introduction to MDA (Model Driven Architecture) CYT.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
Lecture 22 XML querying. 2 Example 31.5 – XQuery FLWOR Expressions ‘=’ operator is a general comparison operator. XQuery also defines value comparison.
A Summary of XISS and Index Fabric Ho Wai Shing. Contents Definition of Terms XISS (Li and Moon, VLDB2001) Numbering Scheme Indices Stored Join Algorithms.
Querying Structured Text in an XML Database By Xuemei Luo.
TOSCA Monitoring Working Group Status Roger Dev June 17, 2015.
TOSCA Name Used by (Roles)Modeling conceptDistinguishing traitsNotes Node TypeType Developers Experts that fully understand, package an constrain, properties,
Grouping Robin Burke ECT 360. Outline Extra credit Numbering, revisited Grouping: Sibling difference method Uniquifying in XPath Grouping: Muenchian method.
Lecture 23 XQuery 1.0 and XPath 2.0 Data Model. 2 Example 31.7 – User-Defined Function Function to return staff at a given branch. DEFINE FUNCTION staffAtBranch($bNo)
Instance Model Ad Hoc Group Updates – February 2016 Alessandro Rossini Derek Palma Sivan Barzily.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
INSTANCE MODEL AD HOC GROUP UPDATES Alessandro Rossini Sivan Barzily March 2016.
Instance Model Considerations Instance Model Objectives Provide complete representation of the state of a TOSCA service template deployment.
Defects of UML Yang Yichuan. For the Presentation Something you know Instead of lots of new stuff. Cases Instead of Concepts. Methodology instead of the.
Data Integrity & Indexes / Session 1/ 1 of 37 Session 1 Module 1: Introduction to Data Integrity Module 2: Introduction to Indexes.
SDN-O LCM for Mercury Release Key Points and Overview
Data Modeling Using the Entity- Relationship (ER) Model
COP Introduction to Database Structures
JavaScript, Sixth Edition
The Enhanced Entity- Relationship (EER) Model
Lesson # 9 HP UCMDB 8.0 Essentials
Unit 4 Representing Web Data: XML
Jun Tatemura NEC Laboratories Amercia GGF10, March 2004
Design by Contract Jim Fawcett CSE784 – Software Studio
Design by Contract Jim Fawcett CSE784 – Software Studio
Architecture Concept Documents
Chapter 2: Relational Model
The Project Management Framework
Workflow-Instance Model Interaction
Methodology – Physical Database Design for Relational Databases
Appendix D: Network Model
Array Array is a variable which holds multiple values (elements) of similar data types. All the values are having their own index with an array. Index.
TOSCA Namespaces Explained
TOSCA Matching Or how the orchestrator provides implementation for abstract nodes or dangling requirements.
Associative Query Answering via Query Feature Similarity
 DATAABSTRACTION  INSTANCES& SCHEMAS  DATA MODELS.
Instance Model Overview
Chapter 3 The Relational Database Model
Chapter 7 Representing Web Data: XML
Instance Model Overview
Enhancements for Simple YAML Profile v1.2
TOSCA Namespaces Explained
TOSCA workflows.
ISC321 Database Systems I Chapter 10: Object and Object-Relational Databases: Concepts, Models, Languages, and Standards Spring 2015 Dr. Abdullah Almutairi.
Electrical and Computer Engineering Department
Database Systems Instructor Name: Lecture-3.
Post WG LC NMDA datastore architecture draft
An Introduction to Software Architecture
JSON++ - A Simple class library for JSON
Review of Week 1 Database DBMS File systems vs. database systems
RDA Community and linked data
Chapter 7: Entity-Relationship Model
The new RDA: resource description in libraries and beyond
TOSCA Simple Profile for YAML: Changes proposed for 1.3 release
Database Management system
NFV adhoc Shitao li.
TOSCA v1.3 Deprecated Features and Non-Backward-Compatible Changes
Task 55 Scope – TOSCA Profile
Presentation transcript:

Instance Model Structure dpalma@vnomic.com

Serialization to YAML Allows us to look at a snapshot of the instance model without having to define query/navigation techniques … but need to maintain a clear concept of the information to be represented Approach: Encode input values provided by user as input_instances Encode policies applied as policy_instances linking to affected templates and instances Encode requirement resolution as needed for automated matching for fulfillment Generate node_instances for final topology Encode output with final values

Information Model Type Schema Types Templates Instances Type w … Template y Type x properties attributes Instance z Template y properties Attributes Dynamic info Normative? Env specific Type x derived from Properties name: type attributes Met model of a TOSCA Type E.g. Class, data type, references, attributes Parameterized “constructors” NodeType, CapabilityType, … Parameterized “constructors”

Service Template Under-Specification Items Impacting Instance Model

Relations between Node Instances Node Template A Node Template B M N Node instances have m x n cardinality by default but we’ll need to support other kind of configurations. Service template must specify this mapping, for example: 2:1 -> every 2 source maps to 1 target *:* -> every source maps to every target *:!2 -> every source maps to a unique target pair … A[0] B[0] A[1] B[1] A[2]

Cluster node lifecycle and attribute synchronization Generalized declarative orchestration Imperative already is planning these features Wait for a set of node instances to reach a particular lifecycle state All cluster node instances running All Zookeeper instances ready before starting nodes that need ZK service Multiple sets of instances needing ZK service At least N instances in some state Wait for a set of node instances to reach specific attribute states Same idea applied to attribute values (states) Generalize to constraints as logical expressions This is just specification of specific lifecycle and attribute states for sets of nodes

Instance Model Example Unstructured approach where node instances are in same list and not grouped by template. Each node instance indicates its template but only way to group is to query for matching template name.

Instance Model Specific Serialization Issues Users may want to include information defined from other standards/meta models Implementations may want to include additional information in TOSCA instances E.g. resource mapping information Structural information indicating relationships among other entities Implementations may want to include information not part of TOSCA instances TOSCA does not have all the features to support object trees Referencing entities in other subtrees (can only reference specific instances by name, no collections) Generalized referencing that work in document, cross document with relative and absolute URIs Collections Referencing entities in ordered collections Referencing entities by key

Reference semantics A D Containment Reference B C E C Cross Reference

Extensions for General Information Representation Enhance data types: Explicitly denote containment and cross reference Reference other documents and namespaces using URIs and fragments Fragments with index New section object_instances to hold generic data objects not TOSCA instances Support indexing into a list

Adding referencing to YAML JSON had to solve similar problem (solved originally in XML) JSON Schema Motivates referencing JSON Pointer JSON Reference Interesting: XMI JSONPath (no formal spec???) JSON-LD http://abc.com/schemas/abc_data_types#/data_types/tosca.datatypes.AbcType URI Fragment

JSON Pointer URI Fragment Identifier Representation A JSON Pointer can be represented in a URI fragment identifier by encoding it into octets using UTF-8 [RFC3629], while percent-encoding those characters not allowed by the fragment rule in [RFC3986]. Note that a given media type needs to specify JSON Pointer as its fragment identifier syntax explicitly (usually, in its registration [RFC6838]). That is, just because a document is JSON does not imply that JSON Pointer can be used as its fragment identifier syntax. In particular, the fragment identifier syntax for application/json is not JSON Pointer. Bryan, et al. Standards Track [Page 5] RFC 6901 JSON Pointer April 2013 Given the same example document as above, the following URI fragment identifiers evaluate to the accompanying values: # // the whole document #/foo ["bar", "baz"] #/foo/0 "bar" #/ 0 #/a~1b 1 #/c%25d 2 #/e%5Ef 3 #/g%7Ch 4 #/i%5Cj 5 #/k%22l 6 #/%20 7 #/m~0n 8 { "foo": ["bar", "baz"], "": 0, "a/b": 1, "c%d": 2, "e^f": 3, "g|h": 4, "i\\j": 5, "k\"l": 6, " ": 7, "m~n": 8 } Sample fragment identifiers Sample Document

JSON Reference (for inspiration) A JSON Reference is a JSON object, which contains a member named "$ref", which has a JSON string value. Example: { "$ref": "http://example.com/example.json#/foo/bar" } If a JSON value does not have these characteristics, then it SHOULD NOT be interpreted as a JSON Reference. The "$ref" string value contains a URI [RFC3986], which identifies the location of the JSON value being referenced. It is an error condition if the string value does not conform to URI syntax rules. Any members other than "$ref" in a JSON Reference object SHALL be ignored.