wizzi
The Wizzi Factory.
Work still in progress
Availability of features will be announced
Features
Exposes the main wizzi factory service components:
- WizziFactory class
- PluginsManager class
- RunnerServer class
The WizziFactory class
Is the main access point to wizzi factory services. Can be`used to`
- Execute wizzi model types generations .
- Execute artifact generations
- Execute wizzi jobs .
Instance creation
wizzi.createFactory(
userid,
role,
options,
callback
);
Methods
wizziFactoryInstance.generateModelDoms(
);
wizziFactoryInstance.generateMTree(
);
wizziFactoryInstance.generateWizziModel(
);
wizziFactoryInstance.generateArtifact(
);
wizziFactoryInstance.executeWizziJob(
);
The PluginsManager class
The RunnerServer class
Default factory (quick starter)
Loads a wizzi magical tree (mTree)
var wizzi = require('wizzi');
var ittfSourcePath = '...';
var context = {
...
};
var options = {
...
};
wizzi.mtree(
ittfSourcePath,
context,
options,
function(err, mTree) {
...
});
Loads a wizzi model
var wizzi = require('wizzi');
var ittfSourcePath = '...';
var context = {
...
};
var options = {
...
};
wizzi.model(
ittfSourcePath,
context,
options,
function(err, wizziModel) {
...
});
Generates an artifact
var wizzi = require('wizzi');
var ittfSourcePath = '...';
var artifactName = '...';
var modelContext = {
...
};
var artifactContext = {
...
};
var options = {
...
};
wizzi.model(
ittfSourcePath,
artifactName,
context,
options,
function(err, artifactText) {
...
});
Wizzi
One machinery, many productions.
Built With
License
This project is licensed under the MIT License - see the license.txt for details.