Github Program implemented. Reports still missing.

This commit is contained in:
Luis Fernando Molina committed 2021-07-27 21:52:53 +02:00
1 parent 34670b98a6
commit b8e031856c
2 files changed
+12 -3

No files matched your search

@@ -104,6 +104,9 @@ function newGobernanceReportsSpace() {
}
function initialize() {
/*
If the workspace is not related to governance, then we exit the Intialize Function
*/
let resultsArary = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadsByNodeType('User Profile')
if (resultsArary.length === 0) { return }
@@ -33,6 +33,12 @@ function newGovernanceUserProfileSpace() {
at the Github Program.
*/
/*
If the workspace is not related to governance, then we exit the Intialize Function
*/
let resultsArary = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadsByNodeType('User Profile')
if (resultsArary.length === 0) { return }
/* Find the Username and Password */
let apisNode = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadByNodeType('APIs')
if (apisNode === undefined) {
@@ -58,7 +64,7 @@ function newGovernanceUserProfileSpace() {
return
}
requestStars()
requestStars()
function requestStars() {
httpRequest(
@@ -102,7 +108,7 @@ function newGovernanceUserProfileSpace() {
requestWatchers()
}
function onGithubWatchersResponse(err, githubData) {
//console.log(githubData)
/* Lets check the result of the call through the http interface */
@@ -115,7 +121,7 @@ function newGovernanceUserProfileSpace() {
requestForks()
}
function onGithubForksResponse(err, githubData) {
//console.log(githubData)
/* Lets check the result of the call through the http interface */