diff --git a/monitoring/FNL-Monitoring-List.csv b/monitoring/FNL-Monitoring-List.csv index 19f3f858..3ba8c7b3 100644 --- a/monitoring/FNL-Monitoring-List.csv +++ b/monitoring/FNL-Monitoring-List.csv @@ -1,5 +1,5 @@ -Project_Name,Project_Acronym,Program,Tier,Endpoint_Name,URL,Endpoint_Query,Validation_Text,Private_Location,Slack_Channel,Alert_Email,Monitored_Resources,Browser_Query -Clinical Trial Data Commons,ctdc,CRDC,Dev,Portal,https://clinical-dev.datacommons.cancer.gov,,,TRUE,C051XGDRQG6,,opensearch +Project_Name,Project_Acronym,Program,Tier,Endpoint_Name,URL,Endpoint_Query,Validation_Text,Private_Location,Slack_Channel,Alert_Email,Monitored_Resources,Browser_Query +Clinical Trial Data Commons,ctdc,CRDC,Dev,Portal,https://clinical-dev.datacommons.cancer.gov,,,TRUE,C051XGDRQG6,,opensearch, Clinical Trial Data Commons,ctdc,CRDC,Dev,API,https://clinical-dev.datacommons.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://clinical-dev.datacommons.cancer.gov/v1/graphql', @@ -24,9 +24,9 @@ $http.post('https://clinical-dev.datacommons.cancer.gov/v1/graphql', assert.match(body.data.idsLists.case_ids[0], /CTDC-/); } -);",,TRUE,C051XGDRQG6,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,Dev,Files,https://clinical-dev.datacommons.cancer.gov/api/files,,,TRUE,C051XGDRQG6,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,QA,Portal,https://clinical-qa.datacommons.cancer.gov,,,TRUE,C051XGDRQG6,,opensearch +);",,TRUE,C051XGDRQG6,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,Dev,Files,https://clinical-dev.datacommons.cancer.gov/api/files,,,TRUE,C051XGDRQG6,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,QA,Portal,https://clinical-qa.datacommons.cancer.gov,,,TRUE,C051XGDRQG6,,opensearch, Clinical Trial Data Commons,ctdc,CRDC,QA,API,https://clinical-qa.datacommons.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://clinical-qa.datacommons.cancer.gov/v1/graphql', @@ -51,9 +51,9 @@ $http.post('https://clinical-qa.datacommons.cancer.gov/v1/graphql', assert.match(body.data.idsLists.case_ids[0], /CTDC-/); } -);",,TRUE,C051XGDRQG6,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,QA,Files,https://clinical-qa.datacommons.cancer.gov/api/files,,,TRUE,C051XGDRQG6,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,Stage,Portal,https://clinical-stage.datacommons.cancer.gov,,,TRUE,C07PLM910KT,,opensearch +);",,TRUE,C051XGDRQG6,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,QA,Files,https://clinical-qa.datacommons.cancer.gov/api/files,,,TRUE,C051XGDRQG6,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,Stage,Portal,https://clinical-stage.datacommons.cancer.gov,,,TRUE,C07PLM910KT,,opensearch, Clinical Trial Data Commons,ctdc,CRDC,Stage,API,https://clinical-stage.datacommons.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://clinical-stage.datacommons.cancer.gov/v1/graphql/', @@ -78,9 +78,9 @@ $http.post('https://clinical-stage.datacommons.cancer.gov/v1/graphql/', assert.match(body.data.idsLists.case_ids[0], /CTDC-/); } -);",,TRUE,C07PLM910KT,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,Stage,Files,https://clinical-stage.datacommons.cancer.gov/api/files,,,TRUE,C07PLM910KT,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,Prod,Portal,https://clinical.datacommons.cancer.gov/,,,TRUE,C07PLM910KT,,opensearch +);",,TRUE,C07PLM910KT,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,Stage,Files,https://clinical-stage.datacommons.cancer.gov/api/files,,,TRUE,C07PLM910KT,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,Prod,Portal,https://clinical.datacommons.cancer.gov/,,,TRUE,C07PLM910KT,,opensearch, Clinical Trial Data Commons,ctdc,CRDC,Prod,API,https://clinical.datacommons.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://clinical.datacommons.cancer.gov/v1/graphql/', @@ -105,9 +105,9 @@ $http.post('https://clinical.datacommons.cancer.gov/v1/graphql/', assert.match(body.data.idsLists.case_ids[0], /CTDC-/); } -);",,TRUE,C07PLM910KT,,opensearch -Clinical Trial Data Commons,ctdc,CRDC,Prod,Files,https://clinical.datacommons.cancer.gov/api/files,,,TRUE,C07PLM910KT,,opensearch -Canine Data Commons,icdc,CRDC,Dev,Portal,https://caninecommons-dev.cancer.gov,,,TRUE,C04DYU071MG,,opensearch +);",,TRUE,C07PLM910KT,,opensearch, +Clinical Trial Data Commons,ctdc,CRDC,Prod,Files,https://clinical.datacommons.cancer.gov/api/files,,,TRUE,C07PLM910KT,,opensearch, +Canine Data Commons,icdc,CRDC,Dev,Portal,https://caninecommons-dev.cancer.gov,,,TRUE,C04DYU071MG,,opensearch, Canine Data Commons,icdc,CRDC,Dev,API,https://caninecommons-dev.cancer.gov/v1/graphql/,"var assert = require('assert'); $http.post('https://caninecommons-dev.cancer.gov/v1/graphql/', @@ -130,9 +130,9 @@ $http.post('https://caninecommons-dev.cancer.gov/v1/graphql/', assert.ok('numberOfStudies' in body.data); } -);",,TRUE,C04DYU071MG,,opensearch -Canine Data Commons,icdc,CRDC,Dev,Files,https://caninecommons-dev.cancer.gov/api/files,,,TRUE,C04DYU071MG,,opensearch -Canine Data Commons,icdc,CRDC,QA,Portal,https://caninecommons-qa.cancer.gov,,,TRUE,C04DYU071MG,,opensearch +);",,TRUE,C04DYU071MG,,opensearch, +Canine Data Commons,icdc,CRDC,Dev,Files,https://caninecommons-dev.cancer.gov/api/files,,,TRUE,C04DYU071MG,,opensearch, +Canine Data Commons,icdc,CRDC,QA,Portal,https://caninecommons-qa.cancer.gov,,,TRUE,C04DYU071MG,,opensearch, Canine Data Commons,icdc,CRDC,QA,API,https://caninecommons-qa.cancer.gov/v1/graphql/,"var assert = require('assert'); $http.post('https://caninecommons-qa.cancer.gov/v1/graphql/', @@ -155,9 +155,9 @@ $http.post('https://caninecommons-qa.cancer.gov/v1/graphql/', assert.ok('numberOfStudies' in body.data); } -);",,TRUE,C04DYU071MG,,opensearch -Canine Data Commons,icdc,CRDC,QA,Files,https://caninecommons-qa.cancer.gov/api/files,,,TRUE,C04DYU071MG,,opensearch -Canine Data Commons,icdc,CRDC,Stage,Portal,https://caninecommons-stage.cancer.gov,,,TRUE,C04DYU071MG,,opensearch +);",,TRUE,C04DYU071MG,,opensearch, +Canine Data Commons,icdc,CRDC,QA,Files,https://caninecommons-qa.cancer.gov/api/files,,,TRUE,C04DYU071MG,,opensearch, +Canine Data Commons,icdc,CRDC,Stage,Portal,https://caninecommons-stage.cancer.gov,,,TRUE,C04DYU071MG,,opensearch, Canine Data Commons,icdc,CRDC,Stage,API,https://caninecommons-stage.cancer.gov/v1/graphql/,"var assert = require('assert'); $http.post('https://caninecommons-stage.cancer.gov/v1/graphql/', @@ -180,9 +180,9 @@ $http.post('https://caninecommons-stage.cancer.gov/v1/graphql/', assert.ok('numberOfStudies' in body.data); } -);",,TRUE,C04DYU071MG,,opensearch -Canine Data Commons,icdc,CRDC,Stage,Files,https://caninecommons-stage.cancer.gov/api/files,,,TRUE,C04DYU071MG,,opensearch -Canine Data Commons,icdc,CRDC,Prod,Portal,https://caninecommons.cancer.gov,,,FALSE,C04E1C69JBE,,opensearch +);",,TRUE,C04DYU071MG,,opensearch, +Canine Data Commons,icdc,CRDC,Stage,Files,https://caninecommons-stage.cancer.gov/api/files,,,TRUE,C04DYU071MG,,opensearch, +Canine Data Commons,icdc,CRDC,Prod,Portal,https://caninecommons.cancer.gov,,,FALSE,C04E1C69JBE,,opensearch, Canine Data Commons,icdc,CRDC,Prod,API,https://caninecommons.cancer.gov/v1/graphql/,"var assert = require('assert'); $http.post('https://caninecommons.cancer.gov/v1/graphql/', @@ -205,9 +205,9 @@ $http.post('https://caninecommons.cancer.gov/v1/graphql/', assert.ok('numberOfStudies' in body.data); } -);",,FALSE,C04E1C69JBE,,opensearch -Canine Data Commons,icdc,CRDC,Prod,Files,https://caninecommons.cancer.gov/api/files,,,FALSE,C04E1C69JBE,,opensearch -Molecular Targets Platform,mtp,CCDI,Prod,Portal,https://moleculartargets.ccdi.cancer.gov,,,FALSE,C049Z0RVCCD,,opensearch +);",,FALSE,C04E1C69JBE,,opensearch, +Canine Data Commons,icdc,CRDC,Prod,Files,https://caninecommons.cancer.gov/api/files,,,FALSE,C04E1C69JBE,,opensearch, +Molecular Targets Platform,mtp,CCDI,Prod,Portal,https://moleculartargets.ccdi.cancer.gov,,,FALSE,C049Z0RVCCD,,opensearch, Molecular Targets Platform,mtp,CCDI,Prod,API,https://moleculartargets.ccdi.cancer.gov/api/v4/graphql,"var assert = require('assert'); $http.post('https://moleculartargets.ccdi.cancer.gov/api/v4/graphql', @@ -231,8 +231,8 @@ $http.post('https://moleculartargets.ccdi.cancer.gov/api/v4/graphql', assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); } -);",,FALSE,C049Z0RVCCD,,opensearch -Index of NCI Studies,ins,CCDI,Dev,Portal,https://studycatalog-dev.cancer.gov,,,TRUE,C04693BUC9M,,opensearch +);",,FALSE,C049Z0RVCCD,,opensearch, +Index of NCI Studies,ins,CCDI,Dev,Portal,https://studycatalog-dev.cancer.gov,,,TRUE,C04693BUC9M,,opensearch, Index of NCI Studies,ins,CCDI,Dev,API,https://studycatalog-dev.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://studycatalog-dev.cancer.gov/v1/graphql/', @@ -256,8 +256,8 @@ $http.post('https://studycatalog-dev.cancer.gov/v1/graphql/', assert.ok('case_ids' in body.data.idsLists); assert.match(body.data.idsLists.case_ids[0], /INS-/); } -);",,TRUE,C04693BUC9M,,opensearch -Index of NCI Studies,ins,CCDI,QA,Portal,https://studycatalog-qa.cancer.gov,,,TRUE,C04693BUC9M,,opensearch +);",,TRUE,C04693BUC9M,,opensearch, +Index of NCI Studies,ins,CCDI,QA,Portal,https://studycatalog-qa.cancer.gov,,,TRUE,C04693BUC9M,,opensearch, Index of NCI Studies,ins,CCDI,QA,API,https://studycatalog-qa.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://studycatalog-qa.cancer.gov/v1/graphql/', @@ -281,8 +281,8 @@ $http.post('https://studycatalog-qa.cancer.gov/v1/graphql/', assert.ok('case_ids' in body.data.idsLists); assert.match(body.data.idsLists.case_ids[0], /INS-/); } -);",,TRUE,C04693BUC9M,,opensearch -Index of NCI Studies,ins,CCDI,Stage,Portal,https://studycatalog-stage.cancer.gov,,,TRUE,C04693BUC9M,,opensearch +);",,TRUE,C04693BUC9M,,opensearch, +Index of NCI Studies,ins,CCDI,Stage,Portal,https://studycatalog-stage.cancer.gov,,,TRUE,C04693BUC9M,,opensearch, Index of NCI Studies,ins,CCDI,Stage,API,https://studycatalog-stage.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://studycatalog-stage.cancer.gov/v1/graphql/', @@ -306,8 +306,8 @@ $http.post('https://studycatalog-stage.cancer.gov/v1/graphql/', assert.ok('case_ids' in body.data.idsLists); assert.match(body.data.idsLists.case_ids[0], /INS-/); } -);",,TRUE,C04693BUC9M,,opensearch -Index of NCI Studies,ins,CCDI,Prod,Portal,https://studycatalog.cancer.gov,,,TRUE,C04693BUC9M,,opensearch +);",,TRUE,C04693BUC9M,,opensearch, +Index of NCI Studies,ins,CCDI,Prod,Portal,https://studycatalog.cancer.gov,,,TRUE,C04693BUC9M,,opensearch, Index of NCI Studies,ins,CCDI,Prod,API,https://studycatalog.cancer.gov/v1/graphql,"var assert = require('assert'); $http.post('https://studycatalog.cancer.gov/v1/graphql/', @@ -331,12 +331,12 @@ $http.post('https://studycatalog.cancer.gov/v1/graphql/', assert.ok('case_ids' in body.data.idsLists); assert.match(body.data.idsLists.case_ids[0], /INS-/); } -);",,TRUE,C04693BUC9M,,opensearch -Childhood Cancer Data Catalog,ccdc,CCDI,Dev,Portal,https://datacatalog-dev.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch -Childhood Cancer Data Catalog,ccdc,CCDI,QA,Portal,https://datacatalog-qa.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch -Childhood Cancer Data Catalog,ccdc,CCDI,Stage,Portal,https://datacatalog-stage.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch -Childhood Cancer Data Catalog,ccdc,CCDI,Prod,Portal,https://datacatalog.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch -Metamodel Database,mdb,CCDI,Dev,Portal,https://sts-dev.cancer.gov,,STS,TRUE,C09CQQ3ALGP,, +);",,TRUE,C04693BUC9M,,opensearch, +Childhood Cancer Data Catalog,ccdc,CCDI,Dev,Portal,https://datacatalog-dev.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch, +Childhood Cancer Data Catalog,ccdc,CCDI,QA,Portal,https://datacatalog-qa.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch, +Childhood Cancer Data Catalog,ccdc,CCDI,Stage,Portal,https://datacatalog-stage.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch, +Childhood Cancer Data Catalog,ccdc,CCDI,Prod,Portal,https://datacatalog.ccdi.cancer.gov,,,TRUE,C049VAP8DEJ,,opensearch, +Metamodel Database,mdb,CCDI,Dev,Portal,https://sts-dev.cancer.gov,,STS,TRUE,C09CQQ3ALGP,,, Metamodel Database,mdb,CCDI,Dev,API,https://sts-dev.cancer.gov/v1/models,"var assert = require('assert'); $http.get('https://sts-dev.cancer.gov/v1/models', function (err, response, body) { @@ -351,7 +351,7 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); assert.ok('count' in body, 'Response should contain count'); assert.ok(Array.isArray(body.models), 'Response should contain models array'); assert.ok(body.models.length > 0, 'Models array should not be empty'); -});",,TRUE,C09CQQ3ALGP,, +});",,TRUE,C09CQQ3ALGP,,, Metamodel Database,mdb,CCDI,Dev,API2,https://sts-dev.cancer.gov/v2/models/count,"var assert = require('assert'); $http.get('https://sts-dev.cancer.gov/v2/models/count', function (err, response, body) { @@ -367,8 +367,8 @@ var count = Number(String(body)); assert.ok(!isNaN(count), 'Response should be a number'); assert.ok(count > 0, 'Count should be greater than 0'); console.log('Count:', count); -});",,TRUE,C09CQQ3ALGP,, -Metamodel Database,mdb,CCDI,QA,Portal,https://sts-qa.cancer.gov,,STS,TRUE,C09CQQ3ALGP,, +});",,TRUE,C09CQQ3ALGP,,, +Metamodel Database,mdb,CCDI,QA,Portal,https://sts-qa.cancer.gov,,STS,TRUE,C09CQQ3ALGP,,, Metamodel Database,mdb,CCDI,QA,API,https://sts-qa.cancer.gov/v1/models,"var assert = require('assert'); $http.get('https://sts-qa.cancer.gov/v1/models', function (err, response, body) { @@ -383,7 +383,7 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); assert.ok('count' in body, 'Response should contain count'); assert.ok(Array.isArray(body.models), 'Response should contain models array'); assert.ok(body.models.length > 0, 'Models array should not be empty'); -});",,TRUE,C09CQQ3ALGP,, +});",,TRUE,C09CQQ3ALGP,,, Metamodel Database,mdb,CCDI,QA,API2,https://sts-qa.cancer.gov/v2/models/count,"var assert = require('assert'); $http.get('https://sts-qa.cancer.gov/v2/models/count', function (err, response, body) { @@ -399,8 +399,8 @@ var count = Number(String(body)); assert.ok(!isNaN(count), 'Response should be a number'); assert.ok(count > 0, 'Count should be greater than 0'); console.log('Count:', count); -});",,TRUE,C09CQQ3ALGP,, -Metamodel Database,mdb,CCDI,Stage,Portal,https://sts-stage.cancer.gov,,STS,TRUE,C09CQQ3ALGP,, +});",,TRUE,C09CQQ3ALGP,,, +Metamodel Database,mdb,CCDI,Stage,Portal,https://sts-stage.cancer.gov,,STS,TRUE,C09CQQ3ALGP,,, Metamodel Database,mdb,CCDI,Stage,API,https://sts-stage.cancer.gov/v1/models,"var assert = require('assert'); $http.get('https://sts-stage.cancer.gov/v1/models', function (err, response, body) { @@ -415,7 +415,7 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); assert.ok('count' in body, 'Response should contain count'); assert.ok(Array.isArray(body.models), 'Response should contain models array'); assert.ok(body.models.length > 0, 'Models array should not be empty'); -});",,TRUE,C09CQQ3ALGP,, +});",,TRUE,C09CQQ3ALGP,,, Metamodel Database,mdb,CCDI,Stage,API2,https://sts-stage.cancer.gov/v2/models/count,"var assert = require('assert'); $http.get('https://sts-stage.cancer.gov/v2/models/count', function (err, response, body) { @@ -431,8 +431,8 @@ var count = Number(String(body)); assert.ok(!isNaN(count), 'Response should be a number'); assert.ok(count > 0, 'Count should be greater than 0'); console.log('Count:', count); -});",,TRUE,C09CQQ3ALGP,, -Metamodel Database,mdb,CCDI,Prod,Portal,https://sts.cancer.gov,,STS,TRUE,C09DEANF1RC,, +});",,TRUE,C09CQQ3ALGP,,, +Metamodel Database,mdb,CCDI,Prod,Portal,https://sts.cancer.gov,,STS,TRUE,C09DEANF1RC,,, Metamodel Database,mdb,CCDI,Prod,API,https://sts.cancer.gov/v1/models,"var assert = require('assert'); $http.get('https://sts.cancer.gov/v1/models', function (err, response, body) { @@ -447,7 +447,7 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); assert.ok('count' in body, 'Response should contain count'); assert.ok(Array.isArray(body.models), 'Response should contain models array'); assert.ok(body.models.length > 0, 'Models array should not be empty'); -});",,TRUE,C09DEANF1RC,, +});",,TRUE,C09DEANF1RC,,, Metamodel Database,mdb,CCDI,Prod,API2,https://sts.cancer.gov/v2/models/count,"var assert = require('assert'); $http.get('https://sts.cancer.gov/v2/models/count', function (err, response, body) { @@ -463,8 +463,8 @@ var count = Number(String(body)); assert.ok(!isNaN(count), 'Response should be a number'); assert.ok(count > 0, 'Count should be greater than 0'); console.log('Count:', count); -});",,TRUE,C09DEANF1RC,, -Cancer Research Data Commons Hub,crdc-hub,CRDC,Dev,Portal,https://hub-dev.datacommons.cancer.gov,,CRDC,TRUE,C05KUCFPV50,, +});",,TRUE,C09DEANF1RC,,, +Cancer Research Data Commons Hub,crdc-hub,CRDC,Dev,Portal,https://hub-dev.datacommons.cancer.gov,,CRDC,TRUE,C05KUCFPV50,,, Cancer Research Data Commons Hub,crdc-hub,CRDC,Dev,API,https://hub-dev.datacommons.cancer.gov/version,"var assert = require('assert'); $http.get('https://hub-dev.datacommons.cancer.gov/version', @@ -482,8 +482,8 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); dateObject = new Date(); assert.ok(dateObject.getTime() === dateObject.getTime()); -} );",,TRUE,C05KUCFPV50,, -Cancer Research Data Commons Hub,crdc-hub,CRDC,QA,Portal,https://hub-qa.datacommons.cancer.gov,,CRDC,TRUE,C05KUCFPV50,, +} );",,TRUE,C05KUCFPV50,,, +Cancer Research Data Commons Hub,crdc-hub,CRDC,QA,Portal,https://hub-qa.datacommons.cancer.gov,,CRDC,TRUE,C05KUCFPV50,,, Cancer Research Data Commons Hub,crdc-hub,CRDC,QA,API,https://hub-qa.datacommons.cancer.gov/version,"var assert = require('assert'); $http.get('https://hub-qa.datacommons.cancer.gov/version', @@ -501,8 +501,8 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); dateObject = new Date(); assert.ok(dateObject.getTime() === dateObject.getTime()); -} );",,TRUE,C05KUCFPV50,, -Cancer Research Data Commons Hub,crdc-hub,CRDC,Stage,Portal,https://hub-stage.datacommons.cancer.gov,,CRDC,TRUE,C05KUCFPV50,, +} );",,TRUE,C05KUCFPV50,,, +Cancer Research Data Commons Hub,crdc-hub,CRDC,Stage,Portal,https://hub-stage.datacommons.cancer.gov,,CRDC,TRUE,C05KUCFPV50,,, Cancer Research Data Commons Hub,crdc-hub,CRDC,Stage,API,https://hub-stage.datacommons.cancer.gov/version,"var assert = require('assert'); $http.get('https://hub-stage.datacommons.cancer.gov/version', @@ -520,8 +520,8 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); dateObject = new Date(); assert.ok(dateObject.getTime() === dateObject.getTime()); -} );",,TRUE,C05KUCFPV50,, -Cancer Research Data Commons Hub,crdc-hub,CRDC,Prod,Portal,https://hub.datacommons.cancer.gov,,CRDC,FALSE,C05LJ3E72V6,, +} );",,TRUE,C05KUCFPV50,,, +Cancer Research Data Commons Hub,crdc-hub,CRDC,Prod,Portal,https://hub.datacommons.cancer.gov,,CRDC,FALSE,C05LJ3E72V6,,, Cancer Research Data Commons Hub,crdc-hub,CRDC,Prod,API,https://hub.datacommons.cancer.gov/version,"var assert = require('assert'); $http.get('https://hub.datacommons.cancer.gov/version', @@ -539,17 +539,17 @@ assert.equal(response.statusCode, 200, 'Expected a 200 OK response'); dateObject = new Date(); assert.ok(dateObject.getTime() === dateObject.getTime()); -} );",,FALSE,C05LJ3E72V6,, -CCDI Hub,ccdi-hub,CCDI,Dev,Portal,https://ccdi-dev.cancer.gov/,,,TRUE,C061YHQ6MED,, -CCDI Hub,ccdi-hub,CCDI,QA,Portal,https://ccdi-qa.cancer.gov/,,,TRUE,C061YHQ6MED,, -CCDI Hub,ccdi-hub,CCDI,Stage,Portal,https://ccdi-stage.cancer.gov/,,,TRUE,C061YHQ6MED,, -CCDI Hub,ccdi-hub,CCDI,Prod,Portal,https://ccdi.cancer.gov/,,,FALSE,C061YHQ6MED,, -CCDI C3DC,c3dc,CCDI,Dev,Portal,https://clinicalcommons-dev.ccdi.cancer.gov,,,TRUE,C065RHDELPQ,, -CCDI C3DC,c3dc,CCDI,QA,Portal,https://clinicalcommons-qa.ccdi.cancer.gov,,,TRUE,C065RHDELPQ,, -CCDI C3DC,c3dc,CCDI,Stage,Portal,https://clinicalcommons-stage.ccdi.cancer.gov,,,TRUE,C065HLMAM47,, -CCDI C3DC,c3dc,CCDI,Prod,Portal,https://clinicalcommons.ccdi.cancer.gov,,,FALSE,C065HLMAM47,, -Bento,bento,FNL,Dev,Portal,https://bento-dev.bento-tools.org/,,Bento,FALSE,C065PL460CW,, -Bento,bento,FNL,Dev,Files,https://bento-dev.bento-tools.org/api/files/version,,version,FALSE,C065PL460CW,, +} );",,FALSE,C05LJ3E72V6,,, +CCDI Hub,ccdi-hub,CCDI,Dev,Portal,https://ccdi-dev.cancer.gov/,,,TRUE,C061YHQ6MED,,, +CCDI Hub,ccdi-hub,CCDI,QA,Portal,https://ccdi-qa.cancer.gov/,,,TRUE,C061YHQ6MED,,, +CCDI Hub,ccdi-hub,CCDI,Stage,Portal,https://ccdi-stage.cancer.gov/,,,TRUE,C061YHQ6MED,,, +CCDI Hub,ccdi-hub,CCDI,Prod,Portal,https://ccdi.cancer.gov/,,,FALSE,C061YHQ6MED,,, +CCDI C3DC,c3dc,CCDI,Dev,Portal,https://clinicalcommons-dev.ccdi.cancer.gov,,,TRUE,C065RHDELPQ,,, +CCDI C3DC,c3dc,CCDI,QA,Portal,https://clinicalcommons-qa.ccdi.cancer.gov,,,TRUE,C065RHDELPQ,,, +CCDI C3DC,c3dc,CCDI,Stage,Portal,https://clinicalcommons-stage.ccdi.cancer.gov,,,TRUE,C065HLMAM47,,, +CCDI C3DC,c3dc,CCDI,Prod,Portal,https://clinicalcommons.ccdi.cancer.gov,,,FALSE,C065HLMAM47,,, +Bento,bento,FNL,Dev,Portal,https://bento-dev.bento-tools.org/,,Bento,FALSE,C065PL460CW,,, +Bento,bento,FNL,Dev,Files,https://bento-dev.bento-tools.org/api/files/version,,version,FALSE,C065PL460CW,,, Bento,bento,FNL,Dev,API,https://bento-dev.bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-dev.bento-tools.org/v1/public-graphql/', @@ -573,7 +573,7 @@ $http.post('https://bento-dev.bento-tools.org/v1/public-graphql/', assert.ok('program_count' in body.data.publicGlobalSearch); } -);",,FALSE,C065PL460CW,, +);",,FALSE,C065PL460CW,,, Bento,bento,FNL,Dev,API-OS,https://bento-dev.bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-dev.bento-tools.org/v1/public-graphql/', @@ -597,9 +597,9 @@ $http.post('https://bento-dev.bento-tools.org/v1/public-graphql/', assert.ok('numberOfPrograms' in body.data); } -);",,FALSE,C065PL460CW,, -Bento,bento,FNL,QA,Portal,https://bento-qa.bento-tools.org/,,Bento,FALSE,C06AYDW6S2Z,, -Bento,bento,FNL,QA,Files,https://bento-qa.bento-tools.org/api/files/version,,version,FALSE,C06AYDW6S2Z,, +);",,FALSE,C065PL460CW,,, +Bento,bento,FNL,QA,Portal,https://bento-qa.bento-tools.org/,,Bento,FALSE,C06AYDW6S2Z,,, +Bento,bento,FNL,QA,Files,https://bento-qa.bento-tools.org/api/files/version,,version,FALSE,C06AYDW6S2Z,,, Bento,bento,FNL,QA,API,https://bento-qa.bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-qa.bento-tools.org/v1/public-graphql/', @@ -623,7 +623,7 @@ $http.post('https://bento-qa.bento-tools.org/v1/public-graphql/', assert.ok('program_count' in body.data.publicGlobalSearch); } -);",,FALSE,C065PL460CW,, +);",,FALSE,C065PL460CW,,, Bento,bento,FNL,QA,API-OS,https://bento-qa.bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-qa.bento-tools.org/v1/public-graphql/', @@ -647,9 +647,9 @@ $http.post('https://bento-qa.bento-tools.org/v1/public-graphql/', assert.ok('numberOfPrograms' in body.data); } -);",,FALSE,C065PL460CW,, -Bento,bento,FNL,Perf,Portal,https://bento-perf.bento-tools.org/,,Bento,FALSE,C065PL460CW,, -Bento,bento,FNL,Perf,Files,https://bento-perf.bento-tools.org/api/files/version,,version,FALSE,C065PL460CW,, +);",,FALSE,C065PL460CW,,, +Bento,bento,FNL,Perf,Portal,https://bento-perf.bento-tools.org/,,Bento,FALSE,C065PL460CW,,, +Bento,bento,FNL,Perf,Files,https://bento-perf.bento-tools.org/api/files/version,,version,FALSE,C065PL460CW,,, Bento,bento,FNL,Perf,API,https://bento-perf.bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-perf.bento-tools.org/v1/public-graphql/', @@ -673,7 +673,7 @@ $http.post('https://bento-perf.bento-tools.org/v1/public-graphql/', assert.ok('program_count' in body.data.publicGlobalSearch); } -);",,FALSE,C065PL460CW,, +);",,FALSE,C065PL460CW,,, Bento,bento,FNL,Perf,API-OS,https://bento-perf.bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-perf.bento-tools.org/v1/public-graphql/', @@ -697,9 +697,9 @@ $http.post('https://bento-perf.bento-tools.org/v1/public-graphql/', assert.ok('numberOfPrograms' in body.data); } -);",,FALSE,C065PL460CW,, -Bento,bento,FNL,Prod,Portal,https://bento-tools.org/,,Bento,FALSE,C06AYDW6S2Z,, -Bento,bento,FNL,Prod,Files,https://bento-tools.org/api/files/version,,version,FALSE,C06AYDW6S2Z,, +);",,FALSE,C065PL460CW,,, +Bento,bento,FNL,Prod,Portal,https://bento-tools.org/,,Bento,FALSE,C06AYDW6S2Z,,, +Bento,bento,FNL,Prod,Files,https://bento-tools.org/api/files/version,,version,FALSE,C06AYDW6S2Z,,, Bento,bento,FNL,Prod,API,https://bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-tools.org/v1/public-graphql/', @@ -723,7 +723,7 @@ $http.post('https://bento-tools.org/v1/public-graphql/', assert.ok('program_count' in body.data.publicGlobalSearch); } -);",,FALSE,C06AYDW6S2Z,, +);",,FALSE,C06AYDW6S2Z,,, Bento,bento,FNL,Prod,API-OS,https://bento-tools.org//v1/public-graphql/,"var assert = require('assert'); $http.post('https://bento-tools.org/v1/public-graphql/', @@ -747,11 +747,11 @@ $http.post('https://bento-tools.org/v1/public-graphql/', assert.ok('numberOfPrograms' in body.data); } -);",,FALSE,C06AYDW6S2Z,, -Computation Resources for Cancer Research,CRCR,DOERC,dev,Portal,https://computational-dev.cancer.gov/,,,TRUE,C071J4NEJJ3,NCI-CRCR-development@mail.nih.gov, -Computation Resources for Cancer Research,CRCR,DOERC,qa,Portal,https://computational-qa.cancer.gov/,,,TRUE,C071J4NEJJ3,NCI-CRCR-development@mail.nih.gov, -Computation Resources for Cancer Research,CRCR,DOERC,stage,Portal,https://computational-stage.cancer.gov/,,,TRUE,C071J5E4RU7,NCI-CRCR-development@mail.nih.gov, -Populatioin Sciences Data Commons,Popsci,CRDC,dev,Portal,https://populationsciences-dev.datacommons.cancer.gov/,,Population,TRUE,C07E28M8R7T,, +);",,FALSE,C06AYDW6S2Z,,, +Computation Resources for Cancer Research,CRCR,DOERC,dev,Portal,https://computational-dev.cancer.gov/,,,TRUE,C071J4NEJJ3,NCI-CRCR-development@mail.nih.gov,, +Computation Resources for Cancer Research,CRCR,DOERC,qa,Portal,https://computational-qa.cancer.gov/,,,TRUE,C071J4NEJJ3,NCI-CRCR-development@mail.nih.gov,, +Computation Resources for Cancer Research,CRCR,DOERC,stage,Portal,https://computational-stage.cancer.gov/,,,TRUE,C071J5E4RU7,NCI-CRCR-development@mail.nih.gov,, +Populatioin Sciences Data Commons,Popsci,CRDC,dev,Portal,https://populationsciences-dev.datacommons.cancer.gov/,,Population,TRUE,C07E28M8R7T,,, Populatioin Sciences Data Commons,Popsci,CRDC,dev,API-OS,https://populationsciences-dev.datacommons.cancer.gov/v1/public-graphql/,"var assert = require('assert'); $http.post('https://populationsciences-dev.datacommons.cancer.gov/v1/graphql/', @@ -775,8 +775,8 @@ $http.post('https://populationsciences-dev.datacommons.cancer.gov/v1/graphql/', assert.ok('studyFiles' in body.data); } -);",,TRUE,C07E28M8R7T,, -Populatioin Sciences Data Commons,Popsci,CRDC,qa,Portal,https://populationsciences-qa.datacommons.cancer.gov/,,Population,TRUE,C07E28M8R7T,, +);",,TRUE,C07E28M8R7T,,, +Populatioin Sciences Data Commons,Popsci,CRDC,qa,Portal,https://populationsciences-qa.datacommons.cancer.gov/,,Population,TRUE,C07E28M8R7T,,, Populatioin Sciences Data Commons,Popsci,CRDC,qa,API-OS,https://populationsciences-qa.datacommons.cancer.gov/v1/public-graphql/,"var assert = require('assert'); $http.post('https://populationsciences-qa.datacommons.cancer.gov/v1/graphql/', @@ -800,8 +800,8 @@ $http.post('https://populationsciences-qa.datacommons.cancer.gov/v1/graphql/', assert.ok('studyFiles' in body.data); } -);",,TRUE,C07E28M8R7T,, -cBioPortal for Cancer Genomics,cbioportal,CCDI,Dev,Portal,https://cbioportal-dev.ccdi.cancer.gov,,Datasets,TRUE,C09KQ60AGRY,, +);",,TRUE,C07E28M8R7T,,, +cBioPortal for Cancer Genomics,cbioportal,CCDI,Dev,Portal,https://cbioportal-dev.ccdi.cancer.gov,,Datasets,TRUE,C09KQ60AGRY,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Dev,Content,https://cbioportal-dev-content.ccdi.cancer.gov,,,TRUE,C09KQ60AGRY,,,"const assert = require('assert'); const CONFIG = { @@ -829,7 +829,7 @@ async function runMonitor() { runMonitor().catch(err => { console.error('Monitor Failed:', err.message); throw err; -});" +});" cBioPortal for Cancer Genomics,cbioportal,CCDI,Dev,About,https://cbioportal-dev-about.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-dev-about.ccdi.cancer.gov/version.json', @@ -847,7 +847,7 @@ $http.get('https://cbioportal-dev-about.ccdi.cancer.gov/version.json', assert.ok('version' in body, 'Expected object to have version key'); } -);",,TRUE,C09KQ60AGRY,, +);",,TRUE,C09KQ60AGRY,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Dev,API,https://cbioportal-api-dev.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-api-dev.ccdi.cancer.gov/api/cancer-types', @@ -867,8 +867,8 @@ $http.get('https://cbioportal-api-dev.ccdi.cancer.gov/api/cancer-types', const firstObj = body[0]; assert.ok('cancerTypeId' in firstObj, 'Expected object to have cancerTypeId key'); } -);",,TRUE,C09KQ60AGRY,, -cBioPortal for Cancer Genomics,cbioportal,CCDI,Qa,Portal,https://cbioportal-qa.ccdi.cancer.gov,,Datasets,TRUE,C09KQ60AGRY,, +);",,TRUE,C09KQ60AGRY,,, +cBioPortal for Cancer Genomics,cbioportal,CCDI,Qa,Portal,https://cbioportal-qa.ccdi.cancer.gov,,Datasets,TRUE,C09KQ60AGRY,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Qa,Content,https://cbioportal-qa-content.ccdi.cancer.gov,,,TRUE,C09KQ60AGRY,,,"const assert = require('assert'); const CONFIG = { @@ -896,7 +896,7 @@ async function runMonitor() { runMonitor().catch(err => { console.error('Monitor Failed:', err.message); throw err; -});" +});" cBioPortal for Cancer Genomics,cbioportal,CCDI,Qa,About,https://cbioportal-qa-about.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-qa-about.ccdi.cancer.gov/version.json', @@ -914,7 +914,7 @@ $http.get('https://cbioportal-qa-about.ccdi.cancer.gov/version.json', assert.ok('version' in body, 'Expected object to have version key'); } -);",,TRUE,C09KQ60AGRY,, +);",,TRUE,C09KQ60AGRY,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Qa,API,https://cbioportal-api-qa.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-api-qa.ccdi.cancer.gov/api/cancer-types', @@ -935,8 +935,8 @@ $http.get('https://cbioportal-api-qa.ccdi.cancer.gov/api/cancer-types', assert.ok('cancerTypeId' in firstObj, 'Expected object to have cancerTypeId key'); } -);",,TRUE,C09KQ60AGRY,, -cBioPortal for Cancer Genomics,cbioportal,CCDI,Stage,Portal,https://cbioportal-stage.ccdi.cancer.gov,,Datasets,TRUE,C09KQ60AGRY,, +);",,TRUE,C09KQ60AGRY,,, +cBioPortal for Cancer Genomics,cbioportal,CCDI,Stage,Portal,https://cbioportal-stage.ccdi.cancer.gov,,Datasets,TRUE,C09KQ60AGRY,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Stage,Content,https://cbioportal-stage-content.ccdi.cancer.gov,,,TRUE,C09KQ60AGRY,,,"const assert = require('assert'); const CONFIG = { @@ -964,7 +964,7 @@ async function runMonitor() { runMonitor().catch(err => { console.error('Monitor Failed:', err.message); throw err; -});" +});" cBioPortal for Cancer Genomics,cbioportal,CCDI,Stage,About,https://cbioportal-stage-about.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-stage-about.ccdi.cancer.gov/version.json', @@ -982,7 +982,7 @@ $http.get('https://cbioportal-stage-about.ccdi.cancer.gov/version.json', assert.ok('version' in body, 'Expected object to have version key'); } -);",,TRUE,C09KQ60AGRY,, +);",,TRUE,C09KQ60AGRY,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Stage,API,https://cbioportal-api-stage.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-api-stage.ccdi.cancer.gov/api/cancer-types', @@ -1003,8 +1003,8 @@ $http.get('https://cbioportal-api-stage.ccdi.cancer.gov/api/cancer-types', assert.ok('cancerTypeId' in firstObj, 'Expected object to have cancerTypeId key'); } -);",,TRUE,C09KQ60AGRY,, -cBioPortal for Cancer Genomics,cbioportal,CCDI,Prod,Portal,https://cbioportal.ccdi.cancer.gov,,Datasets,TRUE,C09TVCQB108,, +);",,TRUE,C09KQ60AGRY,,, +cBioPortal for Cancer Genomics,cbioportal,CCDI,Prod,Portal,https://cbioportal.ccdi.cancer.gov,,Datasets,TRUE,C09TVCQB108,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Prod,Content,https://cbioportal-content.ccdi.cancer.gov,,,TRUE,C09TVCQB108,,,"const assert = require('assert'); const CONFIG = { @@ -1032,7 +1032,7 @@ async function runMonitor() { runMonitor().catch(err => { console.error('Monitor Failed:', err.message); throw err; -});" +});" cBioPortal for Cancer Genomics,cbioportal,CCDI,Prod,About,https://cbioportal-about.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-about.ccdi.cancer.gov/version.json', @@ -1050,7 +1050,7 @@ $http.get('https://cbioportal-about.ccdi.cancer.gov/version.json', assert.ok('version' in body, 'Expected object to have version key'); } -);",,TRUE,C09TVCQB108,, +);",,TRUE,C09TVCQB108,,, cBioPortal for Cancer Genomics,cbioportal,CCDI,Prod,API,https://cbioportal-api.ccdi.cancer.gov,"var assert = require('assert'); $http.get('https://cbioportal-api.ccdi.cancer.gov/api/cancer-types', @@ -1071,7 +1071,7 @@ $http.get('https://cbioportal-api.ccdi.cancer.gov/api/cancer-types', assert.ok('cancerTypeId' in firstObj, 'Expected object to have cancerTypeId key'); } -);",,TRUE,C09TVCQB108,, +);",,TRUE,C09TVCQB108,,, Cancer Data Aggregator,CDA,CRDC,Dev,API,https://cda-dev.datacommons.cancer.gov/,"var assert = require('assert'); $http.get('https://cda-dev.datacommons.cancer.gov/columns/', @@ -1094,7 +1094,7 @@ $http.get('https://cda-dev.datacommons.cancer.gov/columns/', assert.ok('nullable' in firstObj, 'Expected object to have nullable key.'); assert.ok('description' in firstObj, 'Expected object to have description key.'); } -);",,TRUE,C0A1NM8PRAP,, +);",,TRUE,C0A1NM8PRAP,,, Cancer Data Aggregator,CDA,CRDC,Qa,API,https://cda-qa.datacommons.cancer.gov/,"var assert = require('assert'); $http.get('https://cda-qa.datacommons.cancer.gov/columns/', @@ -1117,7 +1117,7 @@ $http.get('https://cda-qa.datacommons.cancer.gov/columns/', assert.ok('nullable' in firstObj, 'Expected object to have nullable key.'); assert.ok('description' in firstObj, 'Expected object to have description key.'); } -);",,TRUE,C0A1NM8PRAP,, +);",,TRUE,C0A1NM8PRAP,,, Cancer Data Aggregator,CDA,CRDC,Stage,API,https://cda-stage.datacommons.cancer.gov/,"var assert = require('assert'); $http.get('https://cda-stage.datacommons.cancer.gov/columns/', @@ -1140,7 +1140,7 @@ $http.get('https://cda-stage.datacommons.cancer.gov/columns/', assert.ok('nullable' in firstObj, 'Expected object to have nullable key.'); assert.ok('description' in firstObj, 'Expected object to have description key.'); } -);",,TRUE,C0A1NM8PRAP,, +);",,TRUE,C0A1NM8PRAP,,, Cancer Data Aggregator,CDA,CRDC,Prod,API,https://cda.datacommons.cancer.gov/,"var assert = require('assert'); $http.get('https://cda.datacommons.cancer.gov/columns/', @@ -1163,4 +1163,164 @@ $http.get('https://cda.datacommons.cancer.gov/columns/', assert.ok('nullable' in firstObj, 'Expected object to have nullable key.'); assert.ok('description' in firstObj, 'Expected object to have description key.'); } -);",,TRUE,C0A1RL83C05,, +);",,TRUE,C0A1RL83C05,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/subject?sex=M&page=1,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/subject?sex=M&page=1'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('Subject response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(json.hasOwnProperty('data'), 'Expected top-level ""data""'); + assert.ok(Array.isArray(json.data), '""data"" should be an array'); +});",,TRUE,C09K0DDBMK8,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/sample?page=1,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/sample?page=1'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('Sample response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(json.hasOwnProperty('data'), 'Expected top-level ""data""'); + assert.ok(Array.isArray(json.data), '""data"" should be an array'); +});",,TRUE,C09K0DDBMK8,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/file?page=1,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/file?page=1'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('File response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(json.hasOwnProperty('data'), 'Expected top-level ""data""'); + assert.ok(Array.isArray(json.data), '""data"" should be an array'); +});",,TRUE,C09K0DDBMK8,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/metadata/fields/sample,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/metadata/fields/sample'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('Metadata fields response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(json.hasOwnProperty('fields'), 'Expected top-level ""fields""'); + assert.ok(Array.isArray(json.fields), '""fields"" should be an array'); +});",,TRUE,C09K0DDBMK8,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/namespace,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/namespace'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('Namespace response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(Array.isArray(json), 'Expected response to be an array'); +});",,TRUE,C09K0DDBMK8,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/sample-diagnosis?page=1,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/sample-diagnosis?page=1'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('Sample-diagnosis response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(json.hasOwnProperty('data'), 'Expected top-level ""data""'); + assert.ok(Array.isArray(json.data), '""data"" should be an array'); +});",,TRUE,C09K0DDBMK8,,, +DataCentric Federation,DCC,CCDI,Dev,API,https://dcc-dev.ccdi.cancer.gov/api/v1/subject-diagnosis?page=1,"var assert = require('assert'); + +function parseJson(body) { + if (body == null) throw new Error('Empty response body'); + if (typeof body === 'object') return body; + return JSON.parse(body); +} + +var url = 'https://dcc-dev.ccdi.cancer.gov/api/v1/subject-diagnosis?page=1'; +var start = Date.now(); + +$http.get({ url: url, timeout: 30000 }, function (err, response, body) { + if (err) throw new Error(err); + + console.log('Status:', response.statusCode); + console.log('Subject-diagnosis response time (ms):', Date.now() - start); + + assert.equal(response.statusCode, 200, 'Expected 200 OK'); + + var json = parseJson(body); + assert.ok(json.hasOwnProperty('data'), 'Expected top-level ""data""'); + assert.ok(Array.isArray(json.data), '""data"" should be an array'); +});",,TRUE,C09K0DDBMK8,,, \ No newline at end of file