Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomconte/solution-template-validator


https://github.com/tomconte/solution-template-validator

Last synced: 12 days ago
JSON representation

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