##Table of Content
- Introduction
- What is the RMS(one) Application SDK?
- What is the Application Solution Framework (ASF)?
- Installing the SDK
- Requirements
- Installing the Node Version Manager (NVM)
- Installing Node
- Installing MongoDB
- Getting the Application Container
- Running the Application Container
- Running Sample Applications
- Running Unit Tests
- Development
- Creating Applications Using the RMS(one) Application SDK
- Installing Applications in ASF
- Running Applications Using ASF
- Repository
- Documentation and Resources
- Accessing the API Documentation
- Browser Compatibility
- Change History
- Community
- Contact us
- License
- Third-Party libraries
##Introduction
The RMS(one) Application SDK empowers third-party developers by providing a simple and intuitive integration with RMS(one) APIs. Other features of the SDK include dynamic APIs, execution of Risk Analysis Langauge (RAL) commands, the ability to run High-Definition (HD) models, position metrics, and many more. [//]: # (JK: Do you want to list only currently available features? Or perhaps list all features and somehow note which are available and which planned?)
The Application Solution Framework (ASF) provides third-party developers an environment in which they can create and deploy custom web applications. Developers use the RMS(one) Application SDK to create applications that utilize the capabilities exposed by RMS(one) platform. ASF offers developers the ability to combine multiple web applications in a common RMS(one) UI and handles the submission and installation of web applications.
##Installing the SDK
To install the RMS(one) Application SDK, you need the following:
- Node >= v0.10.31
- MongoDB >= v2.6.4
- Git >= v2.0.1
- etc... (This list is not yet complete. Other requirements need to be added.) [//]: # (JK: Can/should we provide download locations for these requirements?)
To install the Node Version Manager (NVM), follow these steps:
-
Open your preferred terminal.
-
Run the following command to install NVM:
$ curl https://raw.github.com/creationix/nvm/master/install.sh | sh
-
Restart the terminal:
$ source ~/.nvm/nvm.sh
-
To see a list of all available versions of the node, enter:
$ nvm ls-remote
To install Node version 0.10.31 using NVM, enter:
$ nvm install 0.10.31
To see a list of the Node versions installed on your machine, enter:
$ nvm ls
To use a specific installed version of Node, enter:
$ nvm use 0.10.0
To check the version of Node, you can run:
$ node --version
Or you can run the Node replica with that version:
$ nvm run 0.10.0
To remove or uninstall a Node version, enter:
$ nvm uninstall 0.10.0
To install MongoDB, follow the instructions here
To get the ASF application container, clone it from GitHub:
$ git clone https://github.com/RMSone/rmsone-js-sdk.git
To run the container, follow these steps:
- Install or update the following components:
-
Update Node Package Manager (NPM):
$ npm update -g npm
- Install all the required packages:
$ npm install
- Install all the required packages:
-
Install the Grunt command line interface (CLI):
$ npm install -g grunt-cli
-
Install Bower:
$ npm install bower
-
Install all the JavaScript dependency libraries:
$ bower install
- Start the Node server:
$ grunt serve
[content pending]
[content pending]
To initialize the SDK in your application, run:
RMSONE.init(configuration, function () {
// Callback function
});
Your application must include the following reference to the location of the SDK's JavaScript library:
<script type='text/javascript' src='http://rmsone.cfapps.io/rmsone.js' > </script>
You can access the API using the SDK. For example, the following code gets a list of entities using the SDK:
// Get list of entities
RMSONE.apikit.api.entities.getEntities({}, function (data) {
// use data
}, function(error){
// error message
});
[content pending]
[content pending]
Repos | Description |
---|---|
/repo1 | description 1 |
/repo2 | description 2 |
/repo3 | description 3 |
##Documentation and Resources
To access the API documentation provided by RMS(one), follow this link.
Tier | Requirement | Browser(s) | Notes |
---|---|---|---|
Primary | Tested during development. Users have the all of the functionality and UI capability. | Chrome (Windows/OSX) | |
Compatible | Tested during hardening. Users have all of the platform functionality that the ASF supports, but not necessarily full UI capability. Degradation is documented. | IE11, Safari (OSX), Chrome (Linux) | Example: basic entity management may work certain visualization may not. |
Supported | Users may experience degraded functionality and UI capability. RMS will aim to support users of these browsers by increasing compatibility over time (if required). | IE8, IE9, IE10, Firefox, Chrome (Android), Android Browser, Safari (iOS) | These browsers are not recommended but RMS will take user feedback into consideration. |
Unsupported | RMS has no plans to support these. | All other browsers (IE earlier than 8, Opera, etc). |
- Initial release of RAAE Application Container
Send a message to the developer solutions team at #[email protected].
- AngularJS > v1.3
- Grunt
- Bower
- Karma
- Protractor
- Jasmine
- RequireJS