cloudux-starter-kit-service v2.2.5
MediaCentral CloudUX Service Starter kit
Starter kit for creating a service for CloudUX
Getting started
To use this application you will need following tools: 1. running MediaCentral | Cloud UX 2018.6 machine 2. node.js and npm 3. proxy ball for more information check FAQ
Installation:
Using npm type in your CLI:
npm install -g cloudux-starter-kit-service
Run from CLI:
In your CLI type:
cloudux-starter-kit-serviceto create service with creator.cloudux-starter-kit-service --helpDo display help page.
Installation can be executed by providing flags to your toolkit.
Usage :
-NNew Service-nProject name (required)-dProject description (required)-iMediaCentral server host IP (required)-rRealm (required)-vService version (required)-mFile with methods of you service (optional)-pproject path (optional)
-BBuild Service-ppath to a project root (required)-nproject name (Should match project/src/project.json under identity.appName) (required)-zapp version should match project/src/project.config.json version field (required)-oorganization should match project/src/project.config.json organization field (required)-iappID should match project/src/project.config.json appID field (required)-jappSecret should match project/src/project.config.json appID field (required)-ddeveloperID should match project/src/project.config.json developerID field (optional)-xhttpsproxy For docker build (optional)_
-IBuild DockerImage-pproject path (required)-nproject name (Should match project/src/project.json under identity.appName) (required)-zapp version should match project/src/project.config.json version field (required)-oorganization should match project/src/project.config.json organization field (required)-iappID should match project/src/project.config.json appID field (required)-jappSecret should match project/src/project.config.json appID field (required)-xhttpsproxy For docker build (optional)_-ddeveloperID should match project/src/project.config.json developerID field (optional)
-PPublish project-ppath to a project root (required)-nproject name (Should match project/src/project.json under identity.appName) (required)-zapp version should match project/src/project.config.json version field (required)-oorganization should match project/src/project.config.json organization field (required)-kprivateKeyPath should match project/src/project.config.json privateKeyPath field (required)-iappID should match project/src/project.config.json appID field (required)-jappSecret should match project/src/project.config.json appID field (required)-xhttpsproxy For docker build (optional)_-ddeveloperID should match project/src/project.config.json developerID field (optional)-spassword to ssh private key (optional)
API
const kit = require('cloudux-starter-kit-service')
kit(options)kit({options})
- For new service:
name-- project name (required)project_description-- project description (required)project_hostIp-- MediaCentral server Ip (required)relm-- realm (required)version-- Version of your service (required)project-- path to save project (optional)project_service_methods_file-- File with methods of you service (optional)
- Building Service:
build-- set build to true to build your project (required)project-- path to save project (required)name-- project name (required)https_proxy-- For docker build (optional)config-- Object with fields :version-- Version of your service (required)organization-- Name of organization (required)developerId-- Your developer ID (optional)
- Publish Service:
publish-- set publish to true to publish your project (required)build-- set build to false (required)project-- path to save project (required)name-- project name (required)password-- password to your ssh key (optional)https_proxy-- For docker build (optional)config-- path to a project config file (optional if the config is project/src/project.config.json)version-- version of your app (required)organization-- name of you organization (required)privateKeyPath-- Path to your private key (required)appID- your Application ID (required)developerID-- your developer ID (optional)
buildImage-- set buildImage to true to build image of your projectproject-- path to your project (required)name-- path to your project (required)https_proxy-- For docker build (optional)config-- path to your project (required)version-- App version (required)appID- your Application ID (required)appSecret- your Application Secret (required)organization-- Organization name (required)developerId-- Organization name (optional)
FAQ
Why am I getting '404 Not Found: proxy-bal'?
You'll need to include proxy-bal module.
How to include proxy-bal
Proxy-bal is package accesible only for developers with a Avid developer account
Steps include proxy-bal:
1. Download proxy-bal package from https://my.avid.com/cpp/sdk/apc (Avid Platform Connector Node)
2. Extract downloaded files
3. Enter the extracted directory and then node_modules directory
3. Extract proxy-bal.tgz file
4. Rename package directory to proxy-bal
5. Copy the proxy-bal directory to node_modules in service directory
6. Open command line inside proxy-bal directory and type npm update
Why my service won't connect because of 'unauthorized token'?
Because you need to receive appID and appSecret and paste it to your project.config.json. Check Development Guide to find out how optain AppID and AppSecret.
Check our CloudUX examples on Avid-Technology Github
Check our Quick Start for CloudUX
Latest Changes
2.2.4
Bug Fixes
- Umigrate to helm v3.
2.2.3
Bug Fixes
- Update dependencies. Removed critical vulnerabilities.
2.2.2
Bug Fixes
- config yaml file now is optional and not needed for the feature-pack installation without env variables.
2.2.1
Bug Fixes
- Fixed env variables.
2.2.0 (2019-11-14)
Features
2.0.3 (2019-10-20)
Bug Fixes
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago