Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomconte/solution-template-validator
https://github.com/tomconte/solution-template-validator
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tomconte/solution-template-validator
- Owner: tomconte
- Created: 2016-01-14T15:40:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T08:47:58.000Z (over 8 years ago)
- Last Synced: 2024-10-26T09:46:19.680Z (25 days ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Marketplace Solution Template parser / validator
Use Mocha to run the test:
```
$ npm install -g mocha
$ mocha
```Edit `test.js` to change the template to test:
```
var template = parser.parse('../base-solution-template', 'mainTemplate.json', 'mainTemplate.parameters.json');
```The parser will perform the following:
- Evaluate all variables
- Evaluate all expressions in the template
- Load all sub-templates, evaluate them, and merge them