Development Environment: Connectors Prepared by T280 Dec, 2014.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

Teppo Räisänen LIIKE/OAMK 2010
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
Coding Standards for Java An Introduction. Why Coding Standards are Important? Coding Standards lead to greater consistency within your code and the code.
NetFutures- FIspace Tools offered to support development in Fispace NetFutures 2015 FIspace project Javier Romero Negrín Javier Hitado Simarro ATOS Serdar.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Server Web Server Pages Client Browser  HTML can do everything  We will limit our use to defining the content units – NOT formatting  Why? ›
FIspace Capability Model FIspace Capability Model NetFutures 2015 FIspace project Javier Romero Negrín Javier Hitado Simarro ATOS Serdar Arslan KoçSistem.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Tutorial 6 Working with Web Forms
15-Jun-15 Beginning Style. 2 Be consistent! Most times, you will enter an ongoing project, with established style rules Follow them even if you don’t.
Programming Style a programs language gives you a lot of freedom how to write a program – too much? but some programming style is good goal: it must be.
1 Introduction to Software Engineering Lecture 42 – Communication Skills.
26-Jun-15 Beginning Style. 2 Be consistent! Most times, you will enter an ongoing project, with established style rules Follow them even if you don’t.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
The Dr ü G Book: An Intro to Drupal The Dr ü G Book: An Intro to Drupal (Dr ü G: Drupal User ’ s Group - users, not developers) This is an introduction.
Overview of JSP Technology. The need of JSP With servlets, it is easy to – Read form data – Read HTTP request headers – Set HTTP status codes and response.
| imodules.com Making Your Site Mobile-Ready Presented by: Mark Werner & Chris Smith.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
M ULTI - LANGUAGE FOR PHP WITH G ETTEXT Binh Quan
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Pre-Coding Web Design – Sec 3-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
XP New Perspectives on Microsoft PowerPoint 2002 Tutorial 1 1 Microsoft PowerPoint 2002 Tutorial 1 – Creating a PowerPoint Presentation.
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Chapter 8 Cookies And Security JavaScript, Third Edition.
The Java Programming Language
Aspect Mining Eclipse Plug-in Provide the integrated aspect mining environment in the Eclipse IDE. Consists of the following functional components –Flexible.
1 Using XML. 2 The Ticket Booth System We need a way to retain information between program runs. In real life, we would probably use a database system.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Python Functions.
 Create a free account  Verify your address.
Webview and Web services. Web Apps You can make your web content available to users in two ways in a traditional web browser in an Android application,
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
ASHIMA KALRA  INTRODUCTION OF XML INTRODUCTION OF XML  XML FEATURES XML FEATURES  XML SYNTAX XML SYNTAX  XML ELEMENTS XML ELEMENTS  XML ATTRIBUTES.
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Forms.
Welcome to Azure App Services! Amie Seisay
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
ContentXXL – Sharepoint Connector (STP). contentXXL Sharepoint Offline-Connector (STP) 1.Overview 2.Configuration 3.How it is implemented 4. Limitations.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Today… Style, Cont. – Naming Things! Methods and Functions Aside - Python Help System Punctuation Winter 2016CISC101 - Prof. McLeod1.
Quiz 3 Topics Functions – using and writing. Lists: –operators used with lists. –keywords used with lists. –BIF’s used with lists. –list methods. Loops.
Apache Avro CMSC 491 Hadoop-Based Distributed Computing Spring 2016 Adam Shook.
Front End Design By Sylvester Ndung’u
HTML CS 4640 Programming Languages for Web Applications
C++ First Steps.
Essential Tags Web Design – Sec 3-3
Node.js Express Web Applications
Node.js Express Web Services
Style Generally style is built into Python, as it demands indents. However, good Python style is set out in PEP8:
Lesson 4 Best Practices.
Winter 2018 CISC101 11/27/2018 CISC101 Reminders
CSCE 590 Web Scraping: Lecture 2
CISC101 Reminders All assignments are now posted.
CSCE 590 Web Scraping: Lecture 2
HTML CS 4640 Programming Languages for Web Applications
Chapter 9: Implementation
Presentation transcript:

Development Environment: Connectors Prepared by T280 Dec, 2014

Contents 1. SDK connectors Overview Requirements Capability data model Python lib 2.

SDK connectors: overview 3 OAuth2 not implemented! b85d7bb4b77f7f3663f0923/client- installed/src/test/java/eu/limetri/ygg/client/installed /YggClientManual.java?at=default ygg-client-installed

SDK connectors: overview 4 User’s program (myTest) begin 1.AuthFunction 2.FunctionX 3.FunctionY 4.FunctionZ 5.…… end User’s program (myTest) begin 1.AuthFunction 2.FunctionX 3.FunctionY 4.FunctionZ 5.…… end SDK Connector (myLib) AuthFunction ( user, passw, url ) GetCapabilityTypes () GetCapabilityType ( param ) NewCapabilityType ( params ) UpdateCapabilityType ( params ) RemoveCapabilityType ( param ) GetBusinessProcesses () GetBusinessProcess ( param ) NewBusinessProcess ( params ) UpdateBusinessProcess ( params ) RemoveBusinessProcess ( param ) … SDK Connector (myLib) AuthFunction ( user, passw, url ) GetCapabilityTypes () GetCapabilityType ( param ) NewCapabilityType ( params ) UpdateCapabilityType ( params ) RemoveCapabilityType ( param ) GetBusinessProcesses () GetBusinessProcess ( param ) NewBusinessProcess ( params ) UpdateBusinessProcess ( params ) RemoveBusinessProcess ( param ) … /api GET /api/capability-types GET /api/capability-types/{capability-type} POST /api/capability-types /{capability-type} PUT /api/capability-types /{capability-type} DELETE /api/capability-types /{capability-type} GET /api/business-processes GET /api/business-processes/{business-process} POST /api/business-processes/{business-process} PUT /api/business-processes/{business-process} DELETE /api/business-processes/{business-process} … /api GET /api/capability-types GET /api/capability-types/{capability-type} POST /api/capability-types /{capability-type} PUT /api/capability-types /{capability-type} DELETE /api/capability-types /{capability-type} GET /api/business-processes GET /api/business-processes/{business-process} POST /api/business-processes/{business-process} PUT /api/business-processes/{business-process} DELETE /api/business-processes/{business-process} …

SDK connectors: overview 5

SDK connectors: requirements Roles: – App developer for creating capabilities and business processes. – Business architect for creating capability types and business process templates. – User for using the capabilities. How to configure KeyCloak: An example in archetypehttps://bitbucket.org/fispace/core/issue/1110/decoupled-backend- archetype Schema: ( ygg / api / src / main / resources / eu / limetri / ygg / schema / yggModel.xsdhttps://bitbucket.org/limetri (All the fields are mandatory.) OAuth2.0: 6

SDK connectors: requirements Capability type: CapabilityType contains the definition of a Capability. The requestMessageType and responseMessageType should match the root element of those messages. Example: TEST SDK TESTPushMessage TESTResponseMessage classpath:/schema/domain/lg/TEST.xsd eu.fispace.api.TEST 7

SDK connectors: requirements Business process template: Example: MY_business_process 25 Optional the following fields, I guess: TEST SDK TESTPushMessage TESTResponseMessage classpath:/schema/domain/lg/TEST.xsd eu.fispace.api.TEST 8

SDK connectors: requirements Business process: Example: PIA_to_PIA_business_process_SUPPLIER 1 IT IS NECESSARY (business process template) 2 receive_shipment_status_CUSTOMER provide_shipment_details_SUPPLIER ReceiveRTIStatus_BOXMAN 6 9

SDK connectors: requirements Capability: Capability defines that a party is capable of delivering this type of feature. Example: OBSOLETE, I think Capability Registration ID_CAPABILITY_TYPE 10

SDK connectors: capability data model Capability model (care with the data types!) 11

SDK connectors: C# : an OAuth client implementation in C# 12

SDK connectors: JavaScript See the Reference Guide for using the JavaScript adapter just provided by KeyCloak: 13

SDK connectors: PHP

SDK connectors: PYTHON Tutorial: Tutorial: For Python, PEP 8 has emerged as the style guide that most projects adhere to; it promotes a very readable and eye-pleasing coding style. Every Python developer should read it at some point; here are the most important points extracted for you: Use 4-space indentation, and no tabs. 4 spaces are a good compromise between small indentation (allows greater nesting depth) and large indentation (easier to read). Tabs introduce confusion, and are best left out. Wrap lines so that they don’t exceed 79 characters. This helps users with small displays and makes it possible to have several code files side-by-side on larger displays. Use blank lines to separate functions and classes, and larger blocks of code inside functions. When possible, put comments on a line of their own. Use docstrings. Use spaces around operators and after commas, but not directly inside bracketing constructs: a = f(1, 2) + g(3, 4). Name your classes and functions consistently; the convention is to use CamelCase for classes and lower_case_with_underscores for functions and methods. Always use self as the name for the first method argument (see A First Look at Classes for more on classes and methods). Don’t use fancy encodings if your code is meant to be used in international environments. Python’s default, UTF-8, or even plain ASCII work best in any case. Likewise, don’t use non-ASCII characters in identifiers if there is only the slightest chance people speaking a different language will read or maintain the code. import sys, os, urllib.request, dir(sys) from urllib.request import urlopen RAUTH: C:\Users\S287526\MVJ\ARI\FISPACE\Miscellanea\py\MyExamples\rauth-master\tests\...AOuth2… C:\Users\S287526\MVJ\ARI\FISPACE\Miscellanea\py\MyExamples\rauth-master\examples\..github…. 15

Resources FIspace SDK – Collection of plugins developed for the Eclipse platform.Eclipse – FIspaceStudio Tool – The binary distribution of FIspace SDK. – User Guides – started/sdk-tutorial started/sdk-tutorial – started/FIspaceStudio-tutorial started/FIspaceStudio-tutorial –

Thanks! Thank You!