1 Directions for API 游志誠 2 Steps for Trials (Users)(1/5) How to begin? To go to CloudBOSS UP to apply for a set of API trial keys. To.

Slides:



Advertisements
Similar presentations
1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson.
Advertisements

PRODUCT TRAINING Installation.
Welcome To ITDC e-Procurement
Using to Collaborate and to Facilitate Collaboration Amongst Your Students Shmuel Fink Touro College.
SQM Service Management Team
Mobility Solution for Panasonic Communication Platforms EVERY CALL MATTERS How to initiate the mobismaME software download process mobisma ME Version.
XMAS installation instructions Windows Version: 1.0 4/22/2008.
8/9/2015 1:47 AM SurveyCentralOverview.ppt CSC ©Copyright 2012 Online Survey Application: CSC Survey Central System Overview November 26, 2012 Supported.
Virtual Machine Management
Toll Free: Project Manager Tutorial.
© 2010 IBM Corporation ® Provisioning Network Services in ITNCM.
Digital Certificate Installation & User Guide For Class - 2 Certificates.
© 2007 ReadyTalk www.readytalk.com1598 Wynkoop, Denver, CO 80202www.readytalk.com Conferencing Service You shouldn’t need a degree in computer.
Form Builder Iteration 2 User Acceptance Testing (UAT) Denise Warzel Semantic Infrastructure Operations Team Presented to caDSR Curation Team March.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
Resume User’s Guide. “Sections?” “Formatting?” ‘What do I write?”…….
Employee Self Service (ESS) Version Employee Self Service  access from any computer  view their elected withholding, earnings summary, check.
Blackboard Pilot Tasks and Walkthroughs. Bb Test Case Training Pilot with AnswersDarek Sady - 5/4/2004 Goals:  Identify problematic areas our clients.
Customized cloud platform for computing on your terms !
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Microsoft Azure Introduction ISYS 512. Microsoft Azure Microsoft Azure is a cloud.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
E-Cert Version 2 A Presentation by Maggie Chilton for a Chamber of Commerce.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
Bonrix SMPP Client. Index Introduction Software and Hardware Requirements Architecture Set Up Installation HTTP API Features Screen-shots.
1.First Go to
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Training Guide for Inzalo SOP Users. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP applications. The scope of this.
1 MANAGEMENT OF THE ST ScI ELECTRONIC GRANTS MANAGEMENT SYSTEM BY INSTITUTIONAL ACCOUNTING STAFF January, 2001.
Team C November 30, 2012 Major Document 5.  Create a document in a Microsoft Office.  You can create a document in either Microsoft Word, Microsoft.
Chapter 9 Session Tracking. Session Tracking Basics Accessing the session object associated with the current request: Call request.getSession to get an.
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
JIRA Integration 0.04 Version of JIRA Plugin Rajesh Jain.
Software Architecture in Practice Practical Exercise in Performance Engineering.
Microsoft Virtual Academy. STANDARDIZATION SELF SERVICEAUTOMATION Give Customers of IT services the ability to identify, access and request services.
Jan 2001C.Watters1 World Wide Web and E-Commerce Client Side Processing.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
AWS Usage Tips SCS APAC MAR Agenda About Amazon Web Service Sign up the AWS account AWS Management Oracle Apps AMI – Siebel CRM – EBS R
1 Lesson 14 Sharing Documents Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
NIMAC for Accessible Media Producers: February 2013 NIMAC 2.0 for AMPs.
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
CTX Website Instructions How to Request a Login 1. Click Register at the top of the page. 2. Enter Required information such as User Name.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
WESS Application System PKI Login Registration Process
Fundamental of Databases
How to Open a Binary Options Account
Business Directory REST API
Node.js Express Web Services
CS1101 : Using Course Marker
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Testing REST IPA using POSTMAN
WESS Application System PKI Login Registration Process
Lesson 14 Sharing Documents
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
First, use our API Builder at www. apilinkbuilder
Cloud Web Filtering Platform
Testing RESTful Web APIs
WESS Application System PKI Login Registration Process
After LDG SAR Approval, you should use the following URL to access the DAAS portal and click on LDG to access Project Code Reports.
WESS Application System PKI Login Registration Process
WESS Application System PKI Login Registration Process
Presentation transcript:

1 Directions for API 游志誠

2 Steps for Trials (Users)(1/5) How to begin? To go to CloudBOSS UP to apply for a set of API trial keys. To go to UP to apply for the only set of access key and secret key for the user. To browze the methods of calculation signature or download the Java SDK of calculation signature in API developer’s platform. To browse how to calculate URI parameter signature in the API directions documents. The Java developers can also download SDK (software development kits) with calculation methods. directions document on the API developer’s platform and understand how to send a request for REST. directions document, including request parameter, response parameter, and examples. There are also detailed directions for how to send a request for REST. To begin using API To send out REST request to call for API services such as Hicloud CaaS. For API REST service, please go to hws.hicloud.hinet.net

3 Steps for Trials (Users) (2/5) API Developer’s Platform : doc/ API Directions Documents To browse API service directions. Directions for API service parameter.

4 Steps for Trials (Users) (3/5) Cloud BOSS UP Trial Environment of Cloud BOSS UP : To apply for or inquiry for API trial keys. Click the link of API data in UP, the trial keys can be applied or inquired. After clicking, the contents of secret key can be examined.

5 Steps for Trials (Users) (4/5) API Developer’s Platform : The method of signature calculation. There is a method of signature calculation in the link of “the method of calling for REST” in the API directions documents in hicloud web services which can be browsed without logging in Click the link of downloading, and the method of signature calculation can be downloaded.

6 Steps for Trials (Users) (5/5) Finally, you can begin using API to develop your application. Please use hicloud Web Services directions which include common parameter directions and wrong codes, and the development of your application program can be speeded up. To send out REST request API with signatures. To develop or use Http Client program which can send out REST request. To use secret key to calculate signature strings.

7 API orders to be used. ClassificationAPI NameDescription VM runInstances To build a VM (Clone From Template or VM Service ID can be assigned.) terminateInstancesTo delete VM. rebootInstancesTo reboot VM. startInstancesTo initiate VM. stopInstancesTo stop VM. describeInstancesTo inquiry for VM list. modifyInstanceAttribute To upgrade or degrade VM (including the change in CPU or RAM or Cloud Watch). CloudWatchgetInstancesStatsTo acquire the latest data in VM monitoring. LoadBalancer describeLoadBalancerPolicies To inquire for the list of load balancer policies. createLoadBalancerPolicyTo create load balancer policies. replaceLoadBalancerPolicyTo change load balancer policies. deleteLoadBalancerPolicyTo delete load balancer policies.

8 Calling API by REST Client Tools Firefox with RESTClient plug-in (or other REST Client) JsonView

9 Get Access Key Cloud BOSS UP Trial Environment for Cloud BOSS UP : Application or inquiry for API trial keys Click the link of API data in UP, and you can apply or inquire for keys. The contents of the secret key can be examined after the button is clicked.

10 Calculating Signature(1/2) For details, please see doc/rest/tutorial/howto-gen-signature.html This course uses REST service production (for this course only) Website to call for the service: generateApiKeySignature?chtAuthType=demopass& hnNo=${hnNo} (hnNo would be acquired from ID.) Enter the order in body (do not enter expires). Use POST.

11 Calculating Signature (2/2) About to make orders Organized API order

12 REST service website +${resultQuery} Send API query string Organized query string Results

13 Common Parameter action:API orders to be executed. version:Version of the order (Current version: ) chtAuthType:Authentication mechanism (hwspass) expires:The time of the expiration of calling time. ISO8601 time format is adopted YYYY-MM- DDThh:mm:ssZ accessKey:accessKey assigned to the customer. Captcha, to verify whether the call is legitimate.

14 To Apply for a VM (1/3) runInstances Corresponding order of runInstances To use a standard VM template Parameter –imageId:VM sample ID e.g. hi-qe4ug9ev –instanceType:Computing specification e.g. HC1.XS.LINUX –monitoringEnabled – instanceName To clone appointed VM Parameter –vm id

15 To Apply for a VM (2/3) Produced order strings Related parameters for the application of VM

16 To Apply for a VM (3/3) To send back the ID of the order The order of the new application

17 To inquire for the VM data To inquire for the VM :describeInstances Parameter businessServiceId 或 orderUuid (If there is no such a parameter, it would inquire for the whole data.) To inquire for the whole VM

18 Results of the inquiry Related VM data

19 The operation of VM Starting :startInstances Parameter: businessServiceId (Can be plural) Shutting down: stopInstances Parameter: businessServiceId (Can be plural) Rebooting : rebootInstances Parameter: businessServiceId (Can be plural.)

20 Starting a VM(1/2) To start BV VM

21 Starting a VM (2/2) To start BV VM.

22 Shutting down a VM (1/2) Shutting down order for VM BV

23 Shutting down a VM (2/2) VM BV is shutting down

24 Rebooting a VM (1/3) To reboot VM BV

25 Rebooting a VM (2/3) VM BV is shutting down

26 Rebooting a VM (2/3) VM BV has been rebooted

27 The change of VM attribute (1/4) Related orders :modifyInstanceAttribute To provide a VM to be upgraded or degraded in the original machine, or to provide the installment of monitoring function in a VM. For the VM specification capable of the upgrading and degrading of the original machine, please see The List of Original Machine Upgrading and Degrading and Computing Specification. Parameter businessServiceId :Service ID of the changed VM. instanceType:Computing Specification of the changed. monitoringEnabled:Whether a monitoring function is operated (If there is instanceType in the parameter, the parameter of monitoring Enabled will be ignored.)

28 The change of VM attribute (2/4) The computing specification of the changed VM BV is HC1. M.LINUX.

29 The change of VM attribute (3/4) The order of VM change is accepted

30 VM Monitoring (1/3) Related Order :getInstancesStats 參數 Paramter: businessServiceId (Can be plural) To inquire for the monitoring data in VM BV

31 VM Monitoring (2/3) The monitoring data in VM BV

32 LAB1 Entry of the logging in user To apply a key. Operation of Order To choose either one of the VM application imageId:hi-7ogdvkqh instanceType:HC1.XS.WIN imageId:hi-qe4ug9ev instanceType:HC1.XS.LINUX To operate VM (start, shut down, reboot) To inquire for VM monitoring data. To upgrade or degrade the VM. To download VM passwords. To log in the VM.

33 To copy a VM (1/2) To clone VM BV

34 To copy a VM (2/2) The cloning is accepted

35 To apply for load balance service (1/3) Related order :createLoadBalancerPolicy businessServiceId port 80 port SLM is set up for two VMs

36 To apply for load balance service (2/3) It is accepted successfully.

37 To inquire for load balance service (1/2) Related order :describeLoadBalancerPolicies businessServiceId (Can be plural.) To inquire for all the load balance service.

38 To inquire for load balance service (2/2) To inquire for the load balancer service BL

39 The change in load balance (1/3) Related order :replaceLoadBalancerPolicy Parameter businessServiceId:Load balance service ID. instanceBusinessServiceId:VM service ID port To change load balance service BL into 81 port and change rip.

40 The change in load balance (2/3) It is successfully accepted.

41 The change in load balance (3/3)

42 To cancel load balance service (1/2) Related order :deleteLoadBalancerPolicy Parameter: businessServiceId (Can be plural.) To cancel load balancer service BL

43 To cancel load balance service (2/2) The cancellation of load balancer service is accepted.

44 To cancel VM (1/2) Related Order :terminateInstances Parameter : businessServiceId (Can be plural.) To cancel VM BL

45 To cancel VM (2/2) The cancellation of VM BL is accepted.

46 LAB2 Operation of the orders To clone a VM. To apply for load balance. To test load balance. To inquire for load balance data. To change load balance. To cancel load balance. To cancel VM.