This example create service with mocked video files and folders, that are visible in MediaCentral | CloudUX Browse App.
- Before you will be able run this project you need to prepare and install proxy-bal.
- You need to register service in your MediaCentral | CloudUX and add proper appID and appSecret in project.config.json
- Also in project.config.json at hostIp type your MediaCentral | CloudUX machine address.
- To make function visible in ACS Monitor you need to define it in config/service.ops.config.json file. With every change in that file you need to increment service version. You can do it in project.config.json. Otherwise the changes will not be loaded.
- When you prepare files and proxy-ball type npm install for rest of modules.
- When you will download all modules type npm start to run this example.
- Go to your MediaCentral | CloudUX and in browse App You will see mocked items.
Items are mocked in browse App using ctms_provider.json Object are mocking folders, and assets Arrays are mocking video files. If you want to prepare your own mock use Objects for folders and assets Arrays in those object to create your own ctms provider.
- Add implementation for operation assets.
- Add actions Actions API.