Hi all,
vRO8 is out and the Java Client is gone. The HTML Client has some very nice features but will hopefully get some improvements soon.
What I personal missing the most is the tree view of the Workflows, Actions, Resources and the Configuration. Especially the Workflows and Actions are bugging me as one needs to know what the workflow or Action is called...and that's a bit tricky...at least for me...I know where stuff is not necessarily that its called.
so I came up with a mini Workflow that will just export (to the local disk of the vRO) all Workflows, Actions, Configuration Elements and Resource Elements.
PLEASE NOTE: Even if you write to /var/run/vco/ in the vRO, the real path via SSH is /data/vco/var/run/vco (Container!!!)
I attached the Package but here is the Code too:
var myFileWriter = newFileWriter("/var/run/vco/workflows.txt");
myFileWriter.open();
myFileWriter.clean();
for each (wfc inServer.findAllForType("WorkflowCategory")){
myFileWriter.writeLine(wfc.path);
for each (wf in wfc.allWorkflows){
myFileWriter.writeLine("- "+wf.name)
}
}
myFileWriter.close();
//do Actions
var myFileWriter = newFileWriter("/var/run/vco/actions.txt");
myFileWriter.open();
myFileWriter.clean();
for each (mod inSystem.getAllModules()){
myFileWriter.writeLine(mod.name);
for each (act in mod.actionDescriptions){
myFileWriter.writeLine("- "+act.name)
}
}
myFileWriter.close();
//do Resources
var myFileWriter = newFileWriter("/var/run/vco/resourses.txt");
myFileWriter.open();
myFileWriter.clean();
for each (resCat inServer.getAllResourceElementCategories()){
myFileWriter.writeLine(resCat.name);
for each (res in resCat.allResourceElements){
myFileWriter.writeLine("- "+res.name)
}
}
myFileWriter.close();
//do Configs
//do Resources
var myFileWriter = newFileWriter("/var/run/vco/configurations.txt");
myFileWriter.open();
myFileWriter.clean();
for each (confCat inServer.getAllConfigurationElementCategories()){
myFileWriter.writeLine(confCat.name);
for each (conf in confCat.allConfigurationElements){
myFileWriter.writeLine("- "+conf.name)
}
}
myFileWriter.close();