GithubHelp home page GithubHelp logo

epmda's Introduction

Overview

The scaffolding for your API implementation includes 7 files

  1. package.json: This is a standard package.json file. The name, version and main sections are mandatory. You can also include an oracleMobile section that allows you to provide defaults used in your API execution. An empty example of that section is provided. The 'apis' and 'connectors' sections hold a list of dependencies where: key = uri of connector or api value = default version

  2. Your main javascript file. This provides the main body of the scaffold. The functions included in the javascript file define where we are expecting API implementation code to appear.

  3. toolsConfig.json. toolsConfig.json is used by the MCS command-line development tools packaged with the MCS SDK. The development tools include a container in which you can run and debug your APIs locally, a testing tool to submit requests to your API implementation and a deployment tool to package your implementation and deploy it to MCS. Download the SDK for more information.

In addition, the following supporting files are included:

  • RAML definition of your API
  • Swagger definition of your API
  • ReadMe.md (this file)
  • samples.txt containing code samples.

API implementations are packaged as npm modules. If you want to run your implementation locally:

  • download and install the MCS command-line tools included in the SDK
  • run "npm install" on your module
  • start your API using the offline custom code container

To deploy your implementation to MCS:

  • use the deployment tool included in the SDK
  • manually zip the custom code so that is resembles the scaffold file (the base directory appears at the base of the zip file) and upload the zip via the API Implementations page in the MCS UI.

epmda's People

Contributors

jkolden avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.