mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Increase timeout and modify login async (#4795)
* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
This commit is contained in:
@@ -2,7 +2,6 @@ var fs = require("fs");
|
||||
var path = require("path");
|
||||
var ejs = require("ejs");
|
||||
|
||||
|
||||
var templateFolder = path.resolve("tools", "doc", "yamlTemplates");
|
||||
var outputFolder = path.resolve("docs", "sourceinfo");
|
||||
|
||||
@@ -30,9 +29,9 @@ var template = ejs.compile(
|
||||
|
||||
searchItemsRecursively(docData);
|
||||
|
||||
|
||||
function searchItemsRecursively(item) {
|
||||
if (interestedIn(item.kind)) {
|
||||
|
||||
processItem(item);
|
||||
} else if (item.children) {
|
||||
item.children.forEach(child => {
|
||||
@@ -41,14 +40,17 @@ function searchItemsRecursively(item) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function interestedIn(itemKind) {
|
||||
return (itemKind === 128) || (itemKind === 256) || (itemKind === 4194304);
|
||||
}
|
||||
|
||||
|
||||
function processItem(item) {
|
||||
//console.log(`Generating ${item.name}`);
|
||||
var docText = template(item);
|
||||
fs.writeFileSync(path.resolve(outputFolder, item.name + ".yml"), docText);
|
||||
}
|
||||
|
||||
if( item.name === 'Widget'){
|
||||
console.log('item ' + JSON.stringify(item.name ));
|
||||
}
|
||||
|
||||
fs.writeFileSync(path.resolve(outputFolder, item.name + ".yml"), docText);
|
||||
}
|
||||
|
Reference in New Issue
Block a user