wizzi
v0.7.35
Published
The Wizzi Factory..
Downloads
27
Readme
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
- 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.