diff --git a/cypress/fixtures/network/38/opening_a_sql_query_(with_variables).json b/cypress/fixtures/network/38/opening_a_sql_query_(with_variables).json new file mode 100644 index 0000000..b2134b0 --- /dev/null +++ b/cypress/fixtures/network/38/opening_a_sql_query_(with_variables).json @@ -0,0 +1,130 @@ +[ + { + "path": "/api/38/systemSettings/helpPageLink", + "featureName": "Opening a SQL Query (with variables)", + "static": false, + "count": 7, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"helpPageLink\":\"https://dhis2.github.io/dhis2-docs/master/en/user/html/dhis2_user_manual_en.html\"}", + "responseSize": 99, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "cache-control": "no-cache, private", + "content-type": "application/json;charset=utf-8", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/qMYMT0iUGkG?paging=false&fields=id%2Cname%2Ctype%2CsqlQuery", + "featureName": "Opening a SQL Query (with variables)", + "static": false, + "count": 7, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"name\":\"Data element by value type\",\"id\":\"qMYMT0iUGkG\",\"sqlQuery\":\"select * from dataelement where valuetype='${valueType}';\",\"type\":\"QUERY\"}", + "responseSize": 142, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "cache-control": "no-cache, private", + "content-type": "application/json", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/qMYMT0iUGkG/data?paging=false&var=valueType%3A", + "featureName": "Opening a SQL Query (with variables)", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 409, + "responseBody": "{\"httpStatus\":\"Conflict\",\"httpStatusCode\":409,\"status\":\"ERROR\",\"message\":\"SQL query contains variables not provided in request: `[valueType]`\",\"errorCode\":\"E4307\"}", + "responseSize": 163, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "content-type": "application/json;charset=utf-8", + "cache-control": "max-age=1209600, public", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/qMYMT0iUGkG/data?paging=false&var=valueType%3AINTEGER", + "featureName": "Opening a SQL Query (with variables)", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"listGrid\":{\"metaData\":{},\"subtitle\":\"Data element by value type\",\"headerWidth\":27,\"width\":27,\"title\":\"Data element by value type\",\"height\":26,\"headers\":[{\"hidden\":false,\"meta\":false,\"column\":\"dataelementid\",\"name\":\"dataelementid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"name\",\"name\":\"name\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"shortname\",\"name\":\"shortname\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"code\",\"name\":\"code\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"description\",\"name\":\"description\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"valuetype\",\"name\":\"valuetype\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"aggregationtype\",\"name\":\"aggregationtype\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"parentid\",\"name\":\"parentid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"categorycomboid\",\"name\":\"categorycomboid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"url\",\"name\":\"url\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"domaintype\",\"name\":\"domaintype\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"lastupdated\",\"name\":\"lastupdated\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"zeroissignificant\",\"name\":\"zeroissignificant\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"formname\",\"name\":\"formname\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"uid\",\"name\":\"uid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"optionsetid\",\"name\":\"optionsetid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"created\",\"name\":\"created\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"userid\",\"name\":\"userid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"publicaccess\",\"name\":\"publicaccess\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"commentoptionsetid\",\"name\":\"commentoptionsetid\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"lastupdatedby\",\"name\":\"lastupdatedby\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"style\",\"name\":\"style\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"fieldmask\",\"name\":\"fieldmask\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"translations\",\"name\":\"translations\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"attributevalues\",\"name\":\"attributevalues\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"sharing\",\"name\":\"sharing\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"valuetypeoptions\",\"name\":\"valuetypeoptions\",\"type\":\"java.lang.String\"}],\"rows\":[[1496296,\"Residents in household who slept under a net the previous night\",\"Slept under net\",null,\"The number of residents within a household who slept under a net the previous night\",\"INTEGER\",\"SUM\",null,3,null,\"TRACKER\",\"2019-08-21T13:08:02.031\",false,null,\"KA6RY4BB41F\",null,\"2016-05-04T22:37:07.764\",1151265,\"r-------\",null,1150127,null,null,{},{},{},null],[424054,\"Voucher IUCD\",\"Voucher IUCD\",\"DE_424054\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:04:25.234\",false,null,\"Qz3kfeKgLgL\",null,\"2015-10-20T12:01:06.507\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1496346,\"Residents had malaria past month\",\"Residents had malaria past month\",null,\"The number of residents in the household who had malaria within the previous month\",\"INTEGER\",\"SUM\",null,3,null,\"TRACKER\",\"2019-08-21T13:08:02.032\",false,\"Residents in household who had malaria within the previous month\",\"ECjafwJrxL5\",null,\"2016-05-04T22:40:36.728\",1151265,\"r-------\",null,1150127,null,null,{},{},{},null],[359706,\"BCG doses given\",\"BCG doses given\",\"DE_359706\",\"BCG doses administered.\",\"INTEGER\",\"SUM\",null,288,\"\",\"AGGREGATE\",\"2015-04-02T19:51:21.183\",false,null,\"s46m5MS0hxu\",null,\"2010-02-05T10:58:19.053\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151062,\"Inpatient malaria cases\",\"Inpatient malaria cases\",\"DE_1151062\",null,\"INTEGER\",\"SUM\",null,1151057,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.432\",false,\"\",\"p4K11MFEWtw\",null,\"2013-04-09T14:46:40.923\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151060,\"Inpatient cases\",\"Inpatient cases\",\"DE_1151060\",null,\"INTEGER\",\"SUM\",null,1151057,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.441\",false,\"\",\"WHBtsCMZVAE\",null,\"2013-04-09T14:45:58.243\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151042,\"MNCH vacuum/forceps delivery\",\"MNCH vacuum/forceps delivery\",\"DE_1151042\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.438\",false,\"\",\"g9Tso8plX88\",null,\"2013-04-09T14:27:24.265\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[3000003,\"Age in years\",\"Age in years\",\"DE_3000003\",\"Age of person in years.\",\"INTEGER\",\"AVERAGE\",null,3,null,\"TRACKER\",\"2017-06-02T11:41:14.500\",false,\"Age (years)\",\"qrur9Dvnyt5\",null,\"2012-11-14T14:41:39.639\",1150127,\"rw------\",null,1150127,null,null,{},{},{},null],[1151043,\"MNCH Destructive operations delivery\",\"MNCH Destructive operations delivery\",\"DE_1151043\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.439\",false,null,\"Q8lOv2CAUjf\",null,\"2013-04-09T14:27:40.469\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151063,\"Inpatient malaria deaths\",\"Inpatient malaria deaths\",\"DE_1151063\",null,\"INTEGER\",\"SUM\",null,1151057,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.442\",false,\"\",\"wWy5TE9cQ0V\",null,\"2013-04-09T14:46:52.364\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151034,\"MNCH ANC registrants\",\"MNCH ANC registrants\",\"DE_1151034\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.594\",false,\"\",\"iYCGteGcr6Q\",null,\"2013-04-09T14:22:52.792\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151035,\"MNCH ANC Attendance\",\"MNCH ANC Attendance\",\"DE_1151035\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.433\",false,\"\",\"WQSdEl9xUMA\",null,\"2013-04-09T14:23:07.196\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151036,\"MNCH Heamoglobin checks performed during ANC\",\"MNCH Heamoglobin checks performed\",\"DE_1151036\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.434\",false,null,\"aLF5wmCZrKF\",null,\"2013-04-09T14:23:24.613\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151037,\"MNCH Cases of anaemia during ANC\",\"MNCH Cases of anaemia during ANC\",\"DE_1151037\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.434\",false,null,\"QhKQD2wHowC\",null,\"2013-04-09T14:23:53.267\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151039,\"MNCH Normal deliveries\",\"MNCH Normal deliveries\",\"DE_1151039\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.435\",false,\"\",\"SqvCDfGBFzM\",null,\"2013-04-09T14:25:45.070\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151040,\"MNCH Caesarean section deliveries\",\"MNCH Caesarean section deliveries\",\"DE_1151040\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.436\",false,\"\",\"DosHq4vnsYv\",null,\"2013-04-09T14:26:32.486\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151041,\"MNCH Breech/shoulder delivery\",\"MNCH Breech/shoulder delivery\",\"DE_1151041\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.437\",false,\"\",\"ijIsjbvXFJL\",null,\"2013-04-09T14:27:01.790\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[1151061,\"Inpatient deaths\",\"Inpatient deaths\",\"DE_1151061\",null,\"INTEGER\",\"SUM\",null,1151057,\"\",\"AGGREGATE\",\"2014-11-11T21:56:05.441\",false,\"\",\"ZRVfMoPKK05\",null,\"2013-04-09T14:46:12.965\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[424050,\"Voucher HTC\",\"Voucher HTC\",\"DE_424050\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:03:58.972\",false,null,\"b6dOUjAarHD\",null,\"2015-10-20T12:01:05.290\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[424051,\"Voucher IMCI\",\"Voucher IMCI\",\"DE_424051\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:04:04.010\",false,null,\"W7aC8jLASW8\",null,\"2015-10-20T12:01:05.624\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[424056,\"Voucher VMMC\",\"Voucher VMMC\",\"DE_424056\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:04:42.991\",false,null,\"HyJL2Lt37jN\",null,\"2015-10-20T12:01:07.125\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[424055,\"Voucher Pills\",\"Voucher Pills\",\"DE_424055\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:04:34.920\",false,null,\"UwCXONyUtGs\",null,\"2015-10-20T12:01:06.781\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[424052,\"Voucher Implants\",\"Voucher Implants\",\"DE_424052\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:04:08.634\",false,null,\"fqnXmRYo5Cz\",null,\"2015-10-20T12:01:05.896\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[424053,\"Voucher Injections\",\"Voucher Injections\",\"DE_424053\",null,\"INTEGER\",\"SUM\",null,3,\"\",\"TRACKER\",\"2015-10-20T12:04:17.133\",false,null,\"HrJmqlBqTFG\",null,\"2015-10-20T12:01:06.239\",1150127,\"rw------\",null,null,null,null,{},{},{},null],[890618,\"WHOMCH Gestational age at visit\",\"WHOMCH Gestational age at visit\",null,null,\"INTEGER\",\"SUM\",null,3,null,\"TRACKER\",\"2017-05-22T22:26:36.224\",false,\"Gestational age at visit\",\"roKuXYfw1BW\",null,\"2017-05-22T22:26:36.224\",1151265,\"rw------\",null,1151265,null,null,{},{},{},null],[1203028,\"XX MAL RDT TRK - Age\",\"XX MAL RDT - Age\",null,null,\"INTEGER\",\"SUM\",null,3,null,\"TRACKER\",\"2018-08-28T12:22:38.815\",true,null,\"vcSXdYGa5St\",null,\"2018-08-28T12:22:38.815\",1151265,\"rw------\",null,1151265,{},null,{},{},{},null]]}}", + "responseSize": 9604, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "content-type": "application/json;charset=utf-8", + "cache-control": "max-age=1209600, public", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + } +] \ No newline at end of file diff --git a/cypress/fixtures/network/38/opening_a_sql_view_(no_variables).json b/cypress/fixtures/network/38/opening_a_sql_view_(no_variables).json new file mode 100644 index 0000000..9d66ac3 --- /dev/null +++ b/cypress/fixtures/network/38/opening_a_sql_view_(no_variables).json @@ -0,0 +1,221 @@ +[ + { + "path": "/api/38/systemSettings/helpPageLink", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 8, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"helpPageLink\":\"https://dhis2.github.io/dhis2-docs/master/en/user/html/dhis2_user_manual_en.html\"}", + "responseSize": 99, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "cache-control": "no-cache, private", + "content-type": "application/json;charset=utf-8", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/cOfhJIFGqhP?paging=false&fields=id%2Cname%2Ctype%2CsqlQuery", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 7, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"name\":\"Code list data sets\",\"id\":\"cOfhJIFGqhP\",\"sqlQuery\":\"SELECT name, code from dataset ds order by ds.name;\",\"type\":\"VIEW\"}", + "responseSize": 128, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "cache-control": "no-cache, private", + "content-type": "application/json", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/cOfhJIFGqhP/execute", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 7, + "nonDeterministic": false, + "method": "POST", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "content-length": "0", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 201, + "responseBody": "{\"httpStatus\":\"Created\",\"httpStatusCode\":201,\"status\":\"OK\",\"message\":\"SQL view created\"}", + "responseSize": 88, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "content-type": "application/json", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/cOfhJIFGqhP/data?paging=false&var=", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"listGrid\":{\"metaData\":{},\"subtitle\":\"Code list data sets\",\"headerWidth\":2,\"width\":2,\"title\":\"Code list data sets\",\"height\":27,\"headers\":[{\"hidden\":false,\"meta\":false,\"column\":\"name\",\"name\":\"name\",\"type\":\"java.lang.String\"},{\"hidden\":false,\"meta\":false,\"column\":\"code\",\"name\":\"code\",\"type\":\"java.lang.String\"}],\"rows\":[[\"0-CatOptionExpiry\",null],[\"ART monthly summary\",\"DS_394131\"],[\"Child Health\",\"DS_359711\"],[\"Clinical Monitoring Checklist \",\"DS_217115\"],[\"EPI Stock\",\"DS_1149441\"],[\"Emergency Response\",null],[\"Expenditures\",\"EXP\"],[\"Facility Assessment\",\"DS_1151444\"],[\"HIV Care Monthly\",\"HIV_CARE\"],[\"HIV Peadiatric monthly summary\",\"DS_377538\"],[\"IDSR Weekly\",null],[\"IDSR Weekly (Start Wednesday)\",null],[\"Inpatient Morbidity/Mortality Summary\",\"DS_1151033\"],[\"Life-Saving Commodities\",\"DS_1153709\"],[\"MNCH Quarterly Report\",\"DS_1151032\"],[\"Morbidity\",\"DS_359414\"],[\"Mortality < 5 years\",\"DS_1148628\"],[\"Mortality < 5 years Narratives\",\"DS_283467\"],[\"Mortality < 5 years by age group\",\"DS_242322\"],[\"Mortality < 5 years by gender\",\"DS_812532\"],[\"PMTCT monthly summary\",\"DS_363642\"],[\"Population\",\"DS_490350\"],[\"Project Management\",\"DS_123523\"],[\"Reproductive Health\",\"DS_359593\"],[\"Staffing\",\"DS_360545\"],[\"TB Facility Reporting Form\",\"DS_543073\"],[\"TB/HIV (VCCT) monthly summary\",\"DS_387142\"]]}}", + "responseSize": 1305, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "content-type": "application/json;charset=utf-8", + "cache-control": "max-age=1209600, public", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/cOfhJIFGqhP/data.csv?paging=false&var=", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "navigate" + }, + "statusCode": 200, + "responseBody": "\"name,code\\n0-CatOptionExpiry,\\nART monthly summary,DS_394131\\nChild Health,DS_359711\\nClinical Monitoring Checklist,DS_217115\\nEPI Stock,DS_1149441\\nEmergency Response,\\nExpenditures,EXP\\nFacility Assessment,DS_1151444\\nHIV Care Monthly,HIV_CARE\\nHIV Peadiatric monthly summary,DS_377538\\nIDSR Weekly,\\nIDSR Weekly (Start Wednesday),\\nInpatient Morbidity/Mortality Summary,DS_1151033\\nLife-Saving Commodities,DS_1153709\\nMNCH Quarterly Report,DS_1151032\\nMorbidity,DS_359414\\nMortality < 5 years,DS_1148628\\nMortality < 5 years Narratives,DS_283467\\nMortality < 5 years by age group,DS_242322\\nMortality < 5 years by gender,DS_812532\\nPMTCT monthly summary,DS_363642\\nPopulation,DS_490350\\nProject Management,DS_123523\\nReproductive Health,DS_359593\\nStaffing,DS_360545\\nTB Facility Reporting Form,DS_543073\\nTB/HIV (VCCT) monthly summary,DS_387142\\n\"", + "responseSize": 852, + "responseHeaders": { + "content-type": "application/csv; charset=UTF-8", + "cache-control": "max-age=1209600, public", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews?paging=false&fields=id%2Cname%2CdisplayName", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 200, + "responseBody": "{\"sqlViews\":[{\"name\":\"Category option combo overview\",\"id\":\"QAlOivHBY3a\",\"displayName\":\"Category option combo overview\"},{\"name\":\"Code list data sets\",\"id\":\"cOfhJIFGqhP\",\"displayName\":\"Code list data sets\"},{\"name\":\"Data element by value type\",\"id\":\"qMYMT0iUGkG\",\"displayName\":\"Data element by value type\"},{\"name\":\"audit log\",\"id\":\"UBAJznheLEl\",\"displayName\":\"audit log\"},{\"name\":\"audits\",\"id\":\"cPP9j7x7bQ4\",\"displayName\":\"audits\"},{\"name\":\"booleans\",\"id\":\"MnAjuCZtbYt\",\"displayName\":\"booleans\"}]}", + "responseSize": 498, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "cache-control": "no-cache, private", + "content-type": "application/json", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + }, + { + "path": "/api/38/sqlViews/cat?paging=false&fields=id%2Cname%2Ctype%2CsqlQuery", + "featureName": "Opening a SQL View (no variables)", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 404, + "responseBody": "{\"httpStatus\":\"Not Found\",\"httpStatusCode\":404,\"status\":\"ERROR\",\"message\":\"SqlView with id cat could not be found.\"}", + "responseSize": 116, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "cache-control": "no-cache, private", + "content-type": "application/json", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } + } +] \ No newline at end of file diff --git a/cypress/fixtures/network/38/selecting_a_sql_query.json b/cypress/fixtures/network/38/selecting_a_sql_query.json index 72daec8..67924f7 100644 --- a/cypress/fixtures/network/38/selecting_a_sql_query.json +++ b/cypress/fixtures/network/38/selecting_a_sql_query.json @@ -3,7 +3,7 @@ "path": "/api/38/systemSettings/helpPageLink", "featureName": "Selecting a SQL Query", "static": false, - "count": 3, + "count": 7, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -35,7 +35,7 @@ "path": "/api/38/sqlViews?paging=false&fields=id%2Cname%2CdisplayName", "featureName": "Selecting a SQL Query", "static": false, - "count": 3, + "count": 8, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -48,8 +48,8 @@ "sec-fetch-mode": "cors" }, "statusCode": 200, - "responseBody": "{\"sqlViews\":[{\"name\":\"Category option combo overview\",\"id\":\"QAlOivHBY3a\",\"displayName\":\"Category option combo overview\"},{\"name\":\"Code list category option combos\",\"id\":\"YOaOY605rzh\",\"displayName\":\"Code list category option combos\"},{\"name\":\"Code list data elements\",\"id\":\"GCZ01m3pIRd\",\"displayName\":\"Code list data elements\"},{\"name\":\"Code list data sets\",\"id\":\"cOfhJIFGqhP\",\"displayName\":\"Code list data sets\"},{\"name\":\"Code list organisation units\",\"id\":\"w3UxFykyHFy\",\"displayName\":\"Code list organisation units\"},{\"name\":\"Data element by value type\",\"id\":\"qMYMT0iUGkG\",\"displayName\":\"Data element by value type\"},{\"name\":\"Data elements\",\"id\":\"tw3A6ZXOdbA\",\"displayName\":\"Data elements\"},{\"name\":\"Data set approval\",\"id\":\"NdbAwXmwE8N\",\"displayName\":\"Data set approval\"},{\"name\":\"Datavalue\",\"id\":\"ITDzVWfa8DN\",\"displayName\":\"Datavalue\"},{\"name\":\"Facility Overview\",\"id\":\"dI68mLkP1wN\",\"displayName\":\"Facility Overview\"}]}", - "responseSize": 922, + "responseBody": "{\"sqlViews\":[{\"name\":\"Category option combo overview\",\"id\":\"QAlOivHBY3a\",\"displayName\":\"Category option combo overview\"},{\"name\":\"Code list data sets\",\"id\":\"cOfhJIFGqhP\",\"displayName\":\"Code list data sets\"},{\"name\":\"Data element by value type\",\"id\":\"qMYMT0iUGkG\",\"displayName\":\"Data element by value type\"},{\"name\":\"audit log\",\"id\":\"UBAJznheLEl\",\"displayName\":\"audit log\"},{\"name\":\"audits\",\"id\":\"cPP9j7x7bQ4\",\"displayName\":\"audits\"},{\"name\":\"booleans\",\"id\":\"MnAjuCZtbYt\",\"displayName\":\"booleans\"}]}", + "responseSize": 498, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", @@ -67,7 +67,7 @@ "path": "/api/38/sqlViews/QAlOivHBY3a?paging=false&fields=id%2Cname%2Ctype%2CsqlQuery", "featureName": "Selecting a SQL Query", "static": false, - "count": 1, + "count": 3, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -94,5 +94,37 @@ "x-frame-options": "SAMEORIGIN", "server": "Jetty(10.0.7)" } + }, + { + "path": "/api/38/sqlViews/QAlOivHBY3a/data?paging=false&var=", + "featureName": "Selecting a SQL Query", + "static": false, + "count": 1, + "nonDeterministic": false, + "method": "GET", + "requestBody": "", + "requestHeaders": { + "host": "localhost:8080", + "proxy-connection": "keep-alive", + "accept": "application/json", + "origin": "http://localhost:3000", + "sec-fetch-site": "same-site", + "sec-fetch-mode": "cors" + }, + "statusCode": 500, + "responseBody": "{\"httpStatus\":\"Internal Server Error\",\"httpStatusCode\":500,\"status\":\"ERROR\",\"message\":\"An unexpected error has occured. Please contact your system administrator\"}", + "responseSize": 162, + "responseHeaders": { + "access-control-allow-credentials": "true", + "access-control-allow-origin": "http://localhost:3000", + "vary": "Origin", + "access-control-expose-headers": "ETag, Location", + "content-type": "application/json;charset=utf-8", + "cache-control": "max-age=1209600, public", + "x-content-type-options": "nosniff", + "x-xss-protection": "1; mode=block", + "x-frame-options": "SAMEORIGIN", + "server": "Jetty(10.0.7)" + } } -] +] \ No newline at end of file diff --git a/cypress/fixtures/network/38/static_resources.json b/cypress/fixtures/network/38/static_resources.json index dfc4aa4..f5fda9c 100644 --- a/cypress/fixtures/network/38/static_resources.json +++ b/cypress/fixtures/network/38/static_resources.json @@ -3,7 +3,7 @@ "path": "/api/system/info", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": true, "method": "GET", "requestBody": "", @@ -17,11 +17,30 @@ }, "statusCode": 200, "responseBody": [ - "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-01-04T14:44:39.785\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-08-11T10:17:24.083\",\"intervalSinceLastAnalyticsTableSuccess\":\"3509 h, 27 m, 15 s\",\"lastAnalyticsTableRuntime\":\"444576\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"d6490bf\",\"buildTime\":\"2021-12-17T17:04:44.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"fileStoreProvider\":\"filesystem\",\"readOnlyMode\":\"off\",\"nodeId\":\"\",\"javaVersion\":\"11.0.13\",\"javaVendor\":\"Oracle Corporation\",\"osName\":\"Mac OS X\",\"osArchitecture\":\"x86_64\",\"osVersion\":\"10.14.6\",\"externalDirectory\":\"/usr/local/var/dhis2\",\"databaseInfo\":{\"name\":\"dhis2\",\"user\":\"thomaszemp\",\"url\":\"jdbc:postgresql:dhis2\",\"databaseVersion\":\"PostgreSQL 13.2\",\"spatialSupport\":true},\"readReplicaCount\":0,\"memoryInfo\":\"Mem Total in JVM: 579 Free in JVM: 214 Max Limit: 2048\",\"cpuCores\":4,\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", - "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-01-04T14:44:45.692\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-08-11T10:17:24.083\",\"intervalSinceLastAnalyticsTableSuccess\":\"3509 h, 27 m, 21 s\",\"lastAnalyticsTableRuntime\":\"444576\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"d6490bf\",\"buildTime\":\"2021-12-17T17:04:44.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"fileStoreProvider\":\"filesystem\",\"readOnlyMode\":\"off\",\"nodeId\":\"\",\"javaVersion\":\"11.0.13\",\"javaVendor\":\"Oracle Corporation\",\"osName\":\"Mac OS X\",\"osArchitecture\":\"x86_64\",\"osVersion\":\"10.14.6\",\"externalDirectory\":\"/usr/local/var/dhis2\",\"databaseInfo\":{\"name\":\"dhis2\",\"user\":\"thomaszemp\",\"url\":\"jdbc:postgresql:dhis2\",\"databaseVersion\":\"PostgreSQL 13.2\",\"spatialSupport\":true},\"readReplicaCount\":0,\"memoryInfo\":\"Mem Total in JVM: 579 Free in JVM: 214 Max Limit: 2048\",\"cpuCores\":4,\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", - "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-01-04T14:44:50.119\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-08-11T10:17:24.083\",\"intervalSinceLastAnalyticsTableSuccess\":\"3509 h, 27 m, 26 s\",\"lastAnalyticsTableRuntime\":\"444576\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"d6490bf\",\"buildTime\":\"2021-12-17T17:04:44.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"fileStoreProvider\":\"filesystem\",\"readOnlyMode\":\"off\",\"nodeId\":\"\",\"javaVersion\":\"11.0.13\",\"javaVendor\":\"Oracle Corporation\",\"osName\":\"Mac OS X\",\"osArchitecture\":\"x86_64\",\"osVersion\":\"10.14.6\",\"externalDirectory\":\"/usr/local/var/dhis2\",\"databaseInfo\":{\"name\":\"dhis2\",\"user\":\"thomaszemp\",\"url\":\"jdbc:postgresql:dhis2\",\"databaseVersion\":\"PostgreSQL 13.2\",\"spatialSupport\":true},\"readReplicaCount\":0,\"memoryInfo\":\"Mem Total in JVM: 579 Free in JVM: 214 Max Limit: 2048\",\"cpuCores\":4,\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}" + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:18.777\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 15 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:19.759\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 16 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:21.011\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 17 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:21.846\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 18 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:23.151\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 19 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:24.259\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 20 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:25.964\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 22 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:33.739\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 30 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:36.321\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 32 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:37.815\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 34 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:39.051\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 35 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:40.175\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 36 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:42.099\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 38 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:45.427\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 41 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:48:49.643\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 45 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:00.233\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 56 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:01.544\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 17 m, 57 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:04.509\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 18 m\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:06.604\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 18 m, 2 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:10.143\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 18 m, 6 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:11.282\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 18 m, 7 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}", + "{\"contextPath\":\"http://localhost:8080\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/9.2.0 Chrome/94.0.4606.81 Electron/15.2.0 Safari/537.36\",\"calendar\":\"iso8601\",\"dateFormat\":\"yyyy-mm-dd\",\"serverDate\":\"2022-02-18T11:49:12.195\",\"serverTimeZoneId\":\"Europe/Oslo\",\"serverTimeZoneDisplayName\":\"Central European Standard Time\",\"lastAnalyticsTableSuccess\":\"2021-12-21T12:31:03.723\",\"intervalSinceLastAnalyticsTableSuccess\":\"1415 h, 18 m, 8 s\",\"lastAnalyticsTableRuntime\":\"00:09:10.735\",\"lastSystemMonitoringSuccess\":\"2019-03-26T18:07:15.418\",\"version\":\"2.38-SNAPSHOT\",\"revision\":\"02f296f\",\"buildTime\":\"2022-02-09T14:07:18.000\",\"jasperReportsVersion\":\"6.18.1\",\"environmentVariable\":\"DHIS2_HOME\",\"databaseInfo\":{\"spatialSupport\":true},\"encryption\":false,\"emailConfigured\":false,\"redisEnabled\":false,\"systemId\":\"eed3d451-4ff5-4193-b951-ffcc68954299\",\"systemName\":\"DHIS 2 Demo - Sierra Leone\",\"clusterHostname\":\"\",\"isMetadataVersionEnabled\":true,\"metadataSyncEnabled\":false}" ], - "responseSize": 1461, + "responseSize": 1027, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", @@ -34,13 +53,36 @@ "x-frame-options": "SAMEORIGIN", "server": "Jetty(10.0.7)" }, - "responseLookup": [0, 1, 2] + "responseLookup": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ] }, { - "path": "/api/38/userSettings", + "path": "/api/38/me?fields=authorities,avatar,email,name,settings", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -53,15 +95,15 @@ "sec-fetch-mode": "cors" }, "statusCode": 200, - "responseBody": "{\"keyMessageSmsNotification\":false,\"keyDbLocale\":\"en\",\"keyCurrentStyle\":\"light_blue/light_blue.css\",\"keyTrackerDashboardLayout\":\"{\\\"ur1Edk5Oe2n\\\":{\\\"widgets\\\":[{\\\"title\\\":\\\"enrollment\\\",\\\"view\\\":\\\"components/enrollment/enrollment.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"indicators\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"dataentry\\\",\\\"view\\\":\\\"components/dataentry/dataentry.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"report\\\",\\\"view\\\":\\\"components/report/tei-report.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"current_selections\\\",\\\"view\\\":\\\"components/selected/selected.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"feedback\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"profile\\\",\\\"view\\\":\\\"components/profile/profile.html\\\",\\\"show\\\":true,\\\"expand\\\":false,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"relationships\\\",\\\"view\\\":\\\"components/relationship/relationship.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"notes\\\",\\\"view\\\":\\\"components/notes/notes.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":4},{\\\"title\\\":\\\"messaging\\\",\\\"view\\\":\\\"components/messaging/messaging.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"dataentryTabular\\\",\\\"view\\\":\\\"components/dataentry/dataentry-tabular-layout.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3}],\\\"program\\\":\\\"ur1Edk5Oe2n\\\"}}\",\"keyStyle\":\"light_blue/light_blue.css\",\"keyUiLocale\":\"en\",\"keyAnalysisDisplayProperty\":\"shortName\",\"keyMessageEmailNotification\":false}", - "responseSize": 1952, + "responseBody": "{\"name\":\"John Traore\",\"email\":\"dummy@dhis2.org\",\"settings\":{\"keyMessageSmsNotification\":false,\"keyCurrentStyle\":\"light_blue/light_blue.css\",\"keyTrackerDashboardLayout\":\"{\\\"IpHINAT79UW\\\":{\\\"widgets\\\":[{\\\"title\\\":\\\"enrollment\\\",\\\"view\\\":\\\"components/enrollment/enrollment.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"indicators\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"dataentry\\\",\\\"view\\\":\\\"components/dataentry/dataentry.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"report\\\",\\\"view\\\":\\\"components/report/tei-report.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"current_selections\\\",\\\"view\\\":\\\"components/selected/selected.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"feedback\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"profile\\\",\\\"view\\\":\\\"components/profile/profile.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"relationships\\\",\\\"view\\\":\\\"components/relationship/relationship.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":4},{\\\"title\\\":\\\"notes\\\",\\\"view\\\":\\\"components/notes/notes.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"messaging\\\",\\\"view\\\":\\\"components/messaging/messaging.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"dataentryTabular\\\",\\\"view\\\":\\\"components/dataentry/dataentry-tabular-layout.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3}],\\\"program\\\":\\\"IpHINAT79UW\\\"},\\\"ur1Edk5Oe2n\\\":{\\\"widgets\\\":[{\\\"title\\\":\\\"enrollment\\\",\\\"view\\\":\\\"components/enrollment/enrollment.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"indicators\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"dataentry\\\",\\\"view\\\":\\\"components/dataentry/dataentry.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"report\\\",\\\"view\\\":\\\"components/report/tei-report.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"current_selections\\\",\\\"view\\\":\\\"components/selected/selected.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"feedback\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"profile\\\",\\\"view\\\":\\\"components/profile/profile.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"relationships\\\",\\\"view\\\":\\\"components/relationship/relationship.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"notes\\\",\\\"view\\\":\\\"components/notes/notes.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":4},{\\\"title\\\":\\\"messaging\\\",\\\"view\\\":\\\"components/messaging/messaging.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"dataentryTabular\\\",\\\"view\\\":\\\"components/dataentry/dataentry-tabular-layout.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3}],\\\"program\\\":\\\"ur1Edk5Oe2n\\\"}}\",\"keyStyle\":\"light_blue/light_blue.css\",\"keyUiLocale\":\"en\",\"keyAnalysisDisplayProperty\":\"name\",\"keyMessageEmailNotification\":false},\"authorities\":[\"F_PROGRAM_INDICATOR_PUBLIC_ADD\",\"F_SQLVIEW_EXECUTE\",\"F_USER_VIEW\",\"F_GENERATE_MIN_MAX_VALUES\",\"F_VALIDATIONRULE_PUBLIC_ADD\",\"F_CATEGORY_PRIVATE_ADD\",\"F_INDICATORGROUPSET_PUBLIC_ADD\",\"F_DATAVALUE_DELETE\",\"F_EXTERNAL_MAP_LAYER_PRIVATE_ADD\",\"F_RELATIONSHIPTYPE_DELETE\",\"F_CATEGORY_OPTION_PRIVATE_ADD\",\"F_SINGLE_EVENT_DATA_ENTRY\",\"F_CATEGORY_OPTION_GROUP_PUBLIC_ADD\",\"F_GIS_ADMIN\",\"M_dhis-web-event-capture\",\"F_SEND_EMAIL\",\"F_ORGUNITGROUPSET_PRIVATE_ADD\",\"F_INDICATOR_DELETE\",\"M_dhis-web-event-reports\",\"F_VIEW_UNAPPROVED_DATA\",\"F_USERGROUP_MANAGING_RELATIONSHIPS_VIEW\",\"F_TRACKED_ENTITY_INSTANCE_CHANGE_LOCATION\",\"F_OPTIONGROUPSET_DELETE\",\"F_USERGROUP_PUBLIC_ADD\",\"F_PROGRAM_INDICATOR_GROUP_PRIVATE_ADD\",\"F_DOCUMENT_EXTERNAL\",\"F_PROGRAM_TRACKING_MANAGEMENT\",\"F_TRACKED_ENTITY_ATTRIBUTE_PUBLIC_ADD\",\"F_GENERATE_PROGRAM_SUMMARY_REPORT\",\"F_PROGRAM_INDICATOR_DELETE\",\"F_MOBILE_SENDSMS\",\"F_TRACKED_ENTITY_ADD\",\"F_TRACKED_ENTITY_MANAGEMENT\",\"F_RELATIONSHIP_DELETE\",\"F_VALIDATIONRULEGROUP_PUBLIC_ADD\",\"F_REPORT_EXTERNAL\",\"F_DOCUMENT_PRIVATE_ADD\",\"M_dhis-web-reports\",\"F_TRACKED_ENTITY_DELETE\",\"F_USERGROUP_DELETE\",\"F_PROGRAM_PRIVATE_ADD\",\"F_CATEGORY_COMBO_PRIVATE_ADD\",\"F_SCHEDULING_SEND_MESSAGE\",\"F_EXTERNAL_MAP_LAYER_PUBLIC_ADD\",\"F_PROGRAM_INDICATOR_GROUP_DELETE\",\"F_ORGANISATIONUNIT_MOVE\",\"M_dhis-web-usage-analytics\",\"F_COLOR_DELETE\",\"F_INDICATORGROUP_DELETE\",\"F_ORGANISATIONUNIT_DELETE\",\"F_PROGRAM_RULE_ADD\",\"M_dhis-web-light\",\"F_OPTIONGROUPSET_PRIVATE_ADD\",\"F_DATA_MART_ADMIN\",\"M_dhis-web-maintenance-mobile\",\"F_DATASET_PUBLIC_ADD\",\"F_CATEGORY_COMBO_DELETE\",\"F_SECTION_DELETE\",\"F_USER_DELETE\",\"F_INDICATORGROUPSET_PRIVATE_ADD\",\"F_PROGRAM_INDICATOR_PRIVATE_ADD\",\"F_METADATA_IMPORT\",\"M_dhis-web-maintenance-appmanager\",\"F_EXPORT_EVENTS\",\"M_dhis-web-maintenance-settings\",\"F_SQLVIEW_PUBLIC_ADD\",\"F_PERFORM_MAINTENANCE\",\"F_COLOR_SET_ADD\",\"F_PROGRAM_STAGE_INSTANCE_DELETE\",\"F_METADATA_EXPORT\",\"F_MINMAX_DATAELEMENT_ADD\",\"F_PROGRAMSTAGE_SECTION_ADD\",\"F_DATAELEMENTGROUP_PRIVATE_ADD\",\"F_VALIDATIONRULE_PRIVATE_ADD\",\"F_APPROVE_DATA\",\"M_dhis-web-mapping\",\"F_DATAELEMENT_PRIVATE_ADD\",\"F_VALIDATIONCRITERIA_ADD\",\"F_TRACKED_ENTITY_INSTANCE_SEARCH_IN_ALL_ORGUNITS\",\"F_IGNORE_TRACKER_REQUIRED_VALUE_VALIDATION\",\"F_PROGRAM_PUBLIC_ADD\",\"F_CATEGORY_OPTION_GROUP_SET_PRIVATE_ADD\",\"F_CATEGORY_OPTION_GROUP_SET_DELETE\",\"F_USER_ADD_WITHIN_MANAGED_GROUP\",\"M_Web_Portal\",\"F_ORGANISATIONUNIT_ADD\",\"M_dhis-web-user\",\"F_LEGEND_SET_PUBLIC_ADD\",\"F_CONSTANT_ADD\",\"F_PREDICTORGROUP_DELETE\",\"F_TRACKED_ENTITY_COMMENT_ADD\",\"F_TRACKED_ENTITY_INSTANCE_MANAGEMENT\",\"M_dhis-web-visualizer\",\"F_INDICATOR_PUBLIC_ADD\",\"F_INDICATORGROUP_PUBLIC_ADD\",\"F_TRACKED_ENTITY_ATTRIBUTE_PRIVATE_ADD\",\"M_dhis-web-maintenance\",\"M_dhis-web-approval\",\"F_PROGRAM_RULE_MANAGEMENT\",\"F_TEI_CASCADE_DELETE\",\"F_FRED_UPDATE\",\"F_VISUALIZATION_EXTERNAL\",\"M_dhis-web-cache-cleaner\",\"F_EDIT_EXPIRED\",\"F_ACCESS_TRACKED_ENTITY_ATTRIBUTES\",\"F_PROGRAM_DASHBOARD_CONFIG_ADMIN\",\"F_EVENT_VISUALIZATION_EXTERNAL\",\"F_ORGANISATIONUNITLEVEL_UPDATE\",\"F_CATEGORY_OPTION_PUBLIC_ADD\",\"M_dhis-web-datastore\",\"F_CATEGORY_OPTION_DELETE\",\"M_Data_Table\",\"M_dhis-web-menu-management\",\"F_REPORT_PUBLIC_ADD\",\"F_VALIDATIONRULEGROUP_DELETE\",\"F_PROGRAM_TRACKED_ENTITY_ATTRIBUTE_GROUP_ADD\",\"F_RELATIONSHIP_MANAGEMENT\",\"F_COLOR_ADD\",\"F_OPTIONSET_PRIVATE_ADD\",\"F_PROGRAM_RULE_DELETE\",\"F_GENERATE_STATISTICAL_PROGRAM_REPORT\",\"F_ORGUNITGROUP_DELETE\",\"F_DATAELEMENTGROUPSET_PRIVATE_ADD\",\"M_dhis-web-tracker-capture\",\"F_LOCALE_ADD\",\"F_LEGEND_ADD\",\"F_CATEGORY_OPTION_GROUP_PRIVATE_ADD\",\"F_PROGRAM_INSTANCE_MANAGEMENT\",\"M_dhis-web-reporting\",\"F_CATEGORY_PUBLIC_ADD\",\"F_SECTION_ADD\",\"F_CATEGORY_COMBO_PUBLIC_ADD\",\"M_dhis-web-maintenance-datadictionary\",\"F_DATASET_DELETE\",\"F_INDICATORGROUPSET_DELETE\",\"F_USER_DELETE_WITHIN_MANAGED_GROUP\",\"F_ADD_TRACKED_ENTITY_FORM\",\"M_dhis-web-scheduler\",\"F_OPTIONGROUP_PUBLIC_ADD\",\"F_USERROLE_PRIVATE_ADD\",\"M_dhis-web-messaging\",\"M_dhis-web-maintenance-program\",\"F_EXTERNALFILERESOURCE_ADD\",\"F_MAP_EXTERNAL\",\"M_bna_widget\",\"F_DATAELEMENTGROUPSET_PUBLIC_ADD\",\"F_DATAELEMENTGROUP_DELETE\",\"F_USERGROUP_MANAGING_RELATIONSHIPS_ADD\",\"F_RELATIONSHIP_ADD\",\"F_ORGUNITGROUP_PRIVATE_ADD\",\"F_DATAELEMENTGROUP_PUBLIC_ADD\",\"F_USER_GROUPS_READ_ONLY_ADD_MEMBERS\",\"F_LOCALE_DELETE\",\"F_PREDICTOR_RUN\",\"F_DATAELEMENT_DELETE\",\"F_OPTIONGROUP_DELETE\",\"F_LEGEND_SET_PRIVATE_ADD\",\"F_PROGRAMSTAGE_DELETE\",\"F_ATTRIBUTE_PUBLIC_ADD\",\"F_TRACKED_ENTITY_FORM_DELETE\",\"F_USERROLE_DELETE\",\"F_DOCUMENT_DELETE\",\"F_ORGUNITGROUPSET_DELETE\",\"M_dhis-web-translations\",\"M_dhis-web-sms\",\"F_SCHEDULING_CASE_AGGREGATE_QUERY_BUILDER\",\"F_PROGRAM_DELETE\",\"F_VALIDATIONRULE_DELETE\",\"F_PROGRAMDATAELEMENT_ADD\",\"M_dhis-web-mobile\",\"F_ACTIVITY_PLAN\",\"F_RELATIONSHIPTYPE_PUBLIC_ADD\",\"F_PREDICTOR_ADD\",\"F_SQLVIEW_PRIVATE_ADD\",\"F_EXPORT_DATA\",\"F_OAUTH2_CLIENT_MANAGE\",\"F_EVENT_VISUALIZATION_PUBLIC_ADD\",\"F_ORGUNITGROUP_PUBLIC_ADD\",\"F_APPROVE_DATA_LOWER_LEVELS\",\"M_Social_Media_Video\",\"F_OPTIONSET_PUBLIC_ADD\",\"F_EVENTCHART_EXTERNAL\",\"M_dhis-web-dataentry\",\"F_PROGRAM_TRACKING_SEARCH\",\"M_dhis-web-maintenance-dataset\",\"F_USERROLE_LIST\",\"M_dhis-web-import-export\",\"M_dhis-web-caseentry\",\"F_USERROLE_PUBLIC_ADD\",\"M_dhis-web-importexport\",\"M_InterpretationsTest\",\"F_ORGUNITGROUPSET_PUBLIC_ADD\",\"F_SQLVIEW_EXTERNAL\",\"F_REPORT_DELETE\",\"F_DASHBOARD_PUBLIC_ADD\",\"F_CONSTANT_DELETE\",\"M_dhis-web-maintenance-user\",\"F_PREDICTOR_DELETE\",\"M_dhis-web-data-visualizer\",\"F_DATASET_PRIVATE_ADD\",\"F_EVENTREPORT_PUBLIC_ADD\",\"F_PROGRAMSTAGE_SECTION_DELETE\",\"F_TRACKED_ENTITY_UPDATE\",\"F_CATEGORY_OPTION_GROUP_SET_PUBLIC_ADD\",\"F_TRACKED_ENTITY_INSTANCE_DASHBOARD\",\"F_METADATA_MANAGE\",\"F_ANALYTICSTABLEHOOK_DELETE\",\"F_UNCOMPLETE_EVENT\",\"M_dhis-web-sms-configuration\",\"M_dhis-web-interpretation\",\"F_LEGEND_DELETE\",\"M_Custom_Js_Css\",\"F_PROGRAM_INDICATOR_MANAGEMENT\",\"F_ANONYMOUS_DATA_ENTRY\",\"F_MAP_PUBLIC_ADD\",\"F_PROGRAM_VALIDATION\",\"F_SCHEDULING_ADMIN\",\"F_TRACKED_ENTITY_COMMENT_DELETE\",\"F_DATAELEMENT_MINMAX_DELETE\",\"F_MOBILE_SETTINGS\",\"F_PREDICTORGROUP_ADD\",\"F_REPORT_PRIVATE_ADD\",\"F_VALIDATIONRULEGROUP_PRIVATE_ADD\",\"F_PUSH_ANALYSIS_DELETE\",\"F_REPLICATE_USER\",\"F_DATAVALUE_ADD\",\"M_dhis-web-maintenance-organisationunit\",\"F_INSERT_CUSTOM_JS_CSS\",\"F_DATAELEMENTGROUPSET_DELETE\",\"F_SQLVIEW_DELETE\",\"F_ENROLLMENT_CASCADE_DELETE\",\"F_PROGRAMDATAELEMENT_DELETE\",\"F_TRACKED_ENTITY_INSTANCE_LIST\",\"F_INDICATORTYPE_ADD\",\"F_LEGEND_SET_DELETE\",\"F_VIEW_EVENT_ANALYTICS\",\"F_PROGRAMSTAGE_SECTION_MANAGEMENT\",\"F_IMPORT_EVENTS\",\"F_PROGRAM_INSTANCE_DELETE\",\"F_INDICATOR_PRIVATE_ADD\",\"F_TRACKED_ENTITY_INSTANCE_HISTORY\",\"F_FRED_CREATE\",\"F_EVENTCHART_PUBLIC_ADD\",\"F_PUSH_ANALYSIS_ADD\",\"M_dhis-web-event-visualizer\",\"F_USER_ADD\",\"F_EXTERNAL_MAP_LAYER_DELETE\",\"F_SYSTEM_SETTING\",\"F_ANALYTICSTABLEHOOK_ADD\",\"F_ATTRIBUTE_PRIVATE_ADD\",\"F_DOCUMENT_PUBLIC_ADD\",\"F_TRACKED_ENTITY_ATTRIBUTE_DELETE\",\"M_Easy_Visualization\",\"F_VISUALIZATION_PUBLIC_ADD\",\"F_DATAELEMENT_MINMAX_ADD\",\"M_dhis-web-data-quality\",\"M_dhis-web-pivot\",\"F_EVENTREPORT_EXTERNAL\",\"F_PROGRAM_RULE_UPDATE\",\"F_DATAELEMENT_PUBLIC_ADD\",\"M_dhis-web-validationrule\",\"F_CONSTANT_MANAGEMENT\",\"F_RUN_VALIDATION\",\"F_MANAGE_TICKETS\",\"F_GENERATE_BENEFICIARY_TABULAR_REPORT\",\"F_OPTIONGROUP_PRIVATE_ADD\",\"F_CATEGORY_OPTION_GROUP_DELETE\",\"M_User_Administration\",\"M_dhis-web-settings\",\"F_IMPORT_DATA\",\"F_VIEW_DATABROWSER\",\"F_MOBILE_DELETE_SMS\",\"F_OPTIONSET_MANAGEMENT\",\"F_SEND_MESSAGE\",\"F_PROGRAMSTAGE_ADD\",\"M_dhis-web-maps\",\"F_MINMAX_DATAELEMENT_DELETE\",\"F_ATTRIBUTE_DELETE\",\"F_OPTIONSET_DELETE\",\"F_PROGRAM_TRACKING_LIST\",\"M_dhis-web-dashboard\",\"M_dhis-web-data-administration\",\"F_ACCEPT_DATA_LOWER_LEVELS\",\"F_PROGRAM_TRACKED_ENTITY_ATTRIBUTE_GROUP_DELETE\",\"F_OPTIONGROUPSET_PUBLIC_ADD\",\"M_dhis-web-capture\",\"F_PROGRAM_INDICATOR_GROUP_PUBLIC_ADD\",\"F_CATEGORY_DELETE\",\"F_COLOR_SET_DELETE\",\"M_dhis-web-app-management\",\"F_INDICATORTYPE_DELETE\",\"F_NAME_BASED_DATA_ENTRY\",\"F_INDICATORGROUP_PRIVATE_ADD\",\"F_FRED_DELETE\",\"F_VALIDATIONCRITERIA_DELETE\",\"F_PROGRAM_STAGE_INSTANCE_SEARCH\"]}", + "responseSize": 11543, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", "vary": "Origin", "access-control-expose-headers": "ETag, Location", - "cache-control": "no-cache, private", "content-type": "application/json", + "cache-control": "no-cache, no-store, max-age=0, must-revalidate", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "x-frame-options": "SAMEORIGIN", @@ -69,10 +111,10 @@ } }, { - "path": "/api/38/me?fields=authorities,avatar,email,name,settings", + "path": "/dhis-web-commons/menu/getModules.action", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -85,26 +127,27 @@ "sec-fetch-mode": "cors" }, "statusCode": 200, - "responseBody": "{\"name\":\"Tom Wakiki\",\"settings\":{\"keyMessageSmsNotification\":false,\"keyDbLocale\":\"en\",\"keyCurrentStyle\":\"light_blue/light_blue.css\",\"keyTrackerDashboardLayout\":\"{\\\"ur1Edk5Oe2n\\\":{\\\"widgets\\\":[{\\\"title\\\":\\\"enrollment\\\",\\\"view\\\":\\\"components/enrollment/enrollment.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"indicators\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"dataentry\\\",\\\"view\\\":\\\"components/dataentry/dataentry.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"report\\\",\\\"view\\\":\\\"components/report/tei-report.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"current_selections\\\",\\\"view\\\":\\\"components/selected/selected.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"feedback\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"profile\\\",\\\"view\\\":\\\"components/profile/profile.html\\\",\\\"show\\\":true,\\\"expand\\\":false,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"relationships\\\",\\\"view\\\":\\\"components/relationship/relationship.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"notes\\\",\\\"view\\\":\\\"components/notes/notes.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":4},{\\\"title\\\":\\\"messaging\\\",\\\"view\\\":\\\"components/messaging/messaging.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"dataentryTabular\\\",\\\"view\\\":\\\"components/dataentry/dataentry-tabular-layout.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3}],\\\"program\\\":\\\"ur1Edk5Oe2n\\\"}}\",\"keyStyle\":\"light_blue/light_blue.css\",\"keyUiLocale\":\"en\",\"keyAnalysisDisplayProperty\":\"shortName\",\"keyMessageEmailNotification\":false},\"authorities\":[\"ALL\"]}", - "responseSize": 2007, + "responseBody": "{\"modules\":[{\"name\":\"dhis-web-dashboard\",\"namespace\":\"/dhis-web-dashboard\",\"defaultAction\":\"../dhis-web-dashboard/index.action\",\"displayName\":\"Dashboard\",\"icon\":\"../icons/dhis-web-dashboard.png\",\"description\":\"\"},{\"name\":\"dhis-web-maps\",\"namespace\":\"/dhis-web-maps\",\"defaultAction\":\"../dhis-web-maps/index.action\",\"displayName\":\"Maps\",\"icon\":\"../icons/dhis-web-maps.png\",\"description\":\"\"},{\"name\":\"dhis-web-data-visualizer\",\"namespace\":\"/dhis-web-data-visualizer\",\"defaultAction\":\"../dhis-web-data-visualizer/index.action\",\"displayName\":\"Data Visualizer\",\"icon\":\"../icons/dhis-web-data-visualizer.png\",\"description\":\"\"},{\"name\":\"dhis-web-event-visualizer\",\"namespace\":\"/dhis-web-event-visualizer\",\"defaultAction\":\"../dhis-web-event-visualizer/index.action\",\"displayName\":\"Event Visualizer\",\"icon\":\"../icons/dhis-web-event-visualizer.png\",\"description\":\"\"},{\"name\":\"dhis-web-event-reports\",\"namespace\":\"/dhis-web-event-reports\",\"defaultAction\":\"../dhis-web-event-reports/index.action\",\"displayName\":\"Event Reports\",\"icon\":\"../icons/dhis-web-event-reports.png\",\"description\":\"\"},{\"name\":\"dhis-web-dataentry\",\"namespace\":\"/dhis-web-dataentry\",\"defaultAction\":\"../dhis-web-dataentry/index.action\",\"displayName\":\"Data Entry\",\"icon\":\"../icons/dhis-web-dataentry.png\",\"description\":\"\"},{\"name\":\"dhis-web-tracker-capture\",\"namespace\":\"/dhis-web-tracker-capture\",\"defaultAction\":\"../dhis-web-tracker-capture/index.action\",\"displayName\":\"Tracker Capture\",\"icon\":\"../icons/dhis-web-tracker-capture.png\",\"description\":\"\"},{\"name\":\"dhis-web-maintenance\",\"namespace\":\"/dhis-web-maintenance\",\"defaultAction\":\"../dhis-web-maintenance/index.action\",\"displayName\":\"Maintenance\",\"icon\":\"../icons/dhis-web-maintenance.png\",\"description\":\"\"},{\"name\":\"dhis-web-scheduler\",\"namespace\":\"/dhis-web-scheduler\",\"defaultAction\":\"../dhis-web-scheduler/index.action\",\"displayName\":\"Scheduler\",\"icon\":\"../icons/dhis-web-scheduler.png\",\"description\":\"\"},{\"name\":\"dhis-web-settings\",\"namespace\":\"/dhis-web-settings\",\"defaultAction\":\"../dhis-web-settings/index.action\",\"displayName\":\"System Settings\",\"icon\":\"../icons/dhis-web-settings.png\",\"description\":\"\"},{\"name\":\"dhis-web-usage-analytics\",\"namespace\":\"/dhis-web-usage-analytics\",\"defaultAction\":\"../dhis-web-usage-analytics/index.action\",\"displayName\":\"Usage Analytics\",\"icon\":\"../icons/dhis-web-usage-analytics.png\",\"description\":\"\"},{\"name\":\"dhis-web-interpretation\",\"namespace\":\"/dhis-web-interpretation\",\"defaultAction\":\"../dhis-web-interpretation/index.action\",\"displayName\":\"Interpretations\",\"icon\":\"../icons/dhis-web-interpretation.png\",\"description\":\"\"},{\"name\":\"dhis-web-datastore\",\"namespace\":\"/dhis-web-datastore\",\"defaultAction\":\"../dhis-web-datastore/index.action\",\"displayName\":\"Datastore Management\",\"icon\":\"../icons/dhis-web-datastore.png\",\"description\":\"\"},{\"name\":\"dhis-web-app-management\",\"namespace\":\"/dhis-web-app-management\",\"defaultAction\":\"../dhis-web-app-management/index.action\",\"displayName\":\"App Management\",\"icon\":\"../icons/dhis-web-app-management.png\",\"description\":\"\"},{\"name\":\"dhis-web-cache-cleaner\",\"namespace\":\"/dhis-web-cache-cleaner\",\"defaultAction\":\"../dhis-web-cache-cleaner/index.action\",\"displayName\":\"Browser Cache Cleaner\",\"icon\":\"../icons/dhis-web-cache-cleaner.png\",\"description\":\"\"},{\"name\":\"dhis-web-translations\",\"namespace\":\"/dhis-web-translations\",\"defaultAction\":\"../dhis-web-translations/index.action\",\"displayName\":\"Translations\",\"icon\":\"../icons/dhis-web-translations.png\",\"description\":\"\"},{\"name\":\"dhis-web-capture\",\"namespace\":\"/dhis-web-capture\",\"defaultAction\":\"../dhis-web-capture/index.action\",\"displayName\":\"Capture\",\"icon\":\"../icons/dhis-web-capture.png\",\"description\":\"\"},{\"name\":\"dhis-web-data-administration\",\"namespace\":\"/dhis-web-data-administration\",\"defaultAction\":\"../dhis-web-data-administration/index.action\",\"displayName\":\"Data Administration\",\"icon\":\"../icons/dhis-web-data-administration.png\",\"description\":\"\"},{\"name\":\"dhis-web-data-quality\",\"namespace\":\"/dhis-web-data-quality\",\"defaultAction\":\"../dhis-web-data-quality/index.action\",\"displayName\":\"Data Quality\",\"icon\":\"../icons/dhis-web-data-quality.png\",\"description\":\"\"},{\"name\":\"dhis-web-user\",\"namespace\":\"/dhis-web-user\",\"defaultAction\":\"../dhis-web-user/index.action\",\"displayName\":\"Users\",\"icon\":\"../icons/dhis-web-user.png\",\"description\":\"\"},{\"name\":\"dhis-web-approval\",\"namespace\":\"/dhis-web-approval\",\"defaultAction\":\"../dhis-web-approval/index.action\",\"displayName\":\"Data Approval\",\"icon\":\"../icons/dhis-web-approval.png\",\"description\":\"\"},{\"name\":\"dhis-web-import-export\",\"namespace\":\"/dhis-web-import-export\",\"defaultAction\":\"../dhis-web-import-export/index.action\",\"displayName\":\"Import/Export\",\"icon\":\"../icons/dhis-web-import-export.png\",\"description\":\"\"},{\"name\":\"dhis-web-menu-management\",\"namespace\":\"/dhis-web-menu-management\",\"defaultAction\":\"../dhis-web-menu-management/index.action\",\"displayName\":\"Menu Management\",\"icon\":\"../icons/dhis-web-menu-management.png\",\"description\":\"\"},{\"name\":\"dhis-web-reports\",\"namespace\":\"/dhis-web-reports\",\"defaultAction\":\"../dhis-web-reports/index.action\",\"displayName\":\"Reports\",\"icon\":\"../icons/dhis-web-reports.png\",\"description\":\"\"},{\"name\":\"dhis-web-sms-configuration\",\"namespace\":\"/dhis-web-sms-configuration\",\"defaultAction\":\"../dhis-web-sms-configuration/index.action\",\"displayName\":\"SMS Configuration\",\"icon\":\"../icons/dhis-web-sms-configuration.png\",\"description\":\"\"},{\"name\":\"SQLViewer\",\"namespace\":\"SQLViewer\",\"defaultAction\":\"/apps/SQLViewer/index.html\",\"displayName\":\"SQL Viewer\",\"icon\":\"/apps/SQLViewer/dhis2-app-icon.png\",\"description\":\"SQL Viewer provides easier viewing of data from SQL Views and SQL queries, allow\"}]}", + "responseSize": 5695, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", "vary": "Origin", "access-control-expose-headers": "ETag, Location", - "content-type": "application/json", "cache-control": "no-cache, no-store, max-age=0, must-revalidate", + "content-type": "application/json;charset=utf-8", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "x-frame-options": "SAMEORIGIN", + "transfer-encoding": "chunked", "server": "Jetty(10.0.7)" } }, { - "path": "/api/38/me/dashboard", + "path": "/api/38/systemSettings/applicationTitle", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -117,15 +160,15 @@ "sec-fetch-mode": "cors" }, "statusCode": 200, - "responseBody": "{\"unreadInterpretations\":42,\"unreadMessageConversations\":153}", - "responseSize": 61, + "responseBody": "{\"applicationTitle\":\"DHIS 2 Demo - Sierra Leone\"}", + "responseSize": 49, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", "vary": "Origin", "access-control-expose-headers": "ETag, Location", - "cache-control": "no-cache, no-store, max-age=0, must-revalidate", - "content-type": "application/json", + "cache-control": "no-cache, private", + "content-type": "application/json;charset=utf-8", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "x-frame-options": "SAMEORIGIN", @@ -133,10 +176,10 @@ } }, { - "path": "/dhis-web-commons/menu/getModules.action", + "path": "/api/38/userSettings", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -149,27 +192,26 @@ "sec-fetch-mode": "cors" }, "statusCode": 200, - "responseBody": "{\"modules\":[{\"name\":\"dhis-web-dashboard\",\"namespace\":\"/dhis-web-dashboard\",\"defaultAction\":\"../dhis-web-dashboard/index.action\",\"displayName\":\"Dashboard\",\"icon\":\"../icons/dhis-web-dashboard.png\",\"description\":\"\"},{\"name\":\"dhis-web-maps\",\"namespace\":\"/dhis-web-maps\",\"defaultAction\":\"../dhis-web-maps/index.action\",\"displayName\":\"Maps\",\"icon\":\"../icons/dhis-web-maps.png\",\"description\":\"\"},{\"name\":\"dhis-web-data-visualizer\",\"namespace\":\"/dhis-web-data-visualizer\",\"defaultAction\":\"../dhis-web-data-visualizer/index.action\",\"displayName\":\"Data Visualizer\",\"icon\":\"../icons/dhis-web-data-visualizer.png\",\"description\":\"\"},{\"name\":\"dhis-web-event-visualizer\",\"namespace\":\"/dhis-web-event-visualizer\",\"defaultAction\":\"../dhis-web-event-visualizer/index.action\",\"displayName\":\"Event Visualizer\",\"icon\":\"../icons/dhis-web-event-visualizer.png\",\"description\":\"\"},{\"name\":\"dhis-web-dataentry\",\"namespace\":\"/dhis-web-dataentry\",\"defaultAction\":\"../dhis-web-dataentry/index.action\",\"displayName\":\"Data Entry\",\"icon\":\"../icons/dhis-web-dataentry.png\",\"description\":\"\"},{\"name\":\"dhis-web-event-reports\",\"namespace\":\"/dhis-web-event-reports\",\"defaultAction\":\"../dhis-web-event-reports/index.action\",\"displayName\":\"Event Reports\",\"icon\":\"../icons/dhis-web-event-reports.png\",\"description\":\"\"},{\"name\":\"dhis-web-maintenance\",\"namespace\":\"/dhis-web-maintenance\",\"defaultAction\":\"../dhis-web-maintenance/index.action\",\"displayName\":\"Maintenance\",\"icon\":\"../icons/dhis-web-maintenance.png\",\"description\":\"\"},{\"name\":\"dhis-web-tracker-capture\",\"namespace\":\"/dhis-web-tracker-capture\",\"defaultAction\":\"../dhis-web-tracker-capture/index.action\",\"displayName\":\"Tracker Capture\",\"icon\":\"../icons/dhis-web-tracker-capture.png\",\"description\":\"\"},{\"name\":\"dhis-web-interpretation\",\"namespace\":\"/dhis-web-interpretation\",\"defaultAction\":\"../dhis-web-interpretation/index.action\",\"displayName\":\"Interpretations\",\"icon\":\"../icons/dhis-web-interpretation.png\",\"description\":\"\"},{\"name\":\"dhis-web-scheduler\",\"namespace\":\"/dhis-web-scheduler\",\"defaultAction\":\"../dhis-web-scheduler/index.action\",\"displayName\":\"Scheduler\",\"icon\":\"../icons/dhis-web-scheduler.png\",\"description\":\"\"},{\"name\":\"dhis-web-settings\",\"namespace\":\"/dhis-web-settings\",\"defaultAction\":\"../dhis-web-settings/index.action\",\"displayName\":\"System Settings\",\"icon\":\"../icons/dhis-web-settings.png\",\"description\":\"\"},{\"name\":\"dhis-web-usage-analytics\",\"namespace\":\"/dhis-web-usage-analytics\",\"defaultAction\":\"../dhis-web-usage-analytics/index.action\",\"displayName\":\"Usage Analytics\",\"icon\":\"../icons/dhis-web-usage-analytics.png\",\"description\":\"\"},{\"name\":\"dhis-web-app-management\",\"namespace\":\"/dhis-web-app-management\",\"defaultAction\":\"../dhis-web-app-management/index.action\",\"displayName\":\"App Management\",\"icon\":\"../icons/dhis-web-app-management.png\",\"description\":\"\"},{\"name\":\"dhis-web-datastore\",\"namespace\":\"/dhis-web-datastore\",\"defaultAction\":\"../dhis-web-datastore/index.action\",\"displayName\":\"Datastore Management\",\"icon\":\"../icons/dhis-web-datastore.png\",\"description\":\"\"},{\"name\":\"dhis-web-cache-cleaner\",\"namespace\":\"/dhis-web-cache-cleaner\",\"defaultAction\":\"../dhis-web-cache-cleaner/index.action\",\"displayName\":\"Browser Cache Cleaner\",\"icon\":\"../icons/dhis-web-cache-cleaner.png\",\"description\":\"\"},{\"name\":\"dhis-web-translations\",\"namespace\":\"/dhis-web-translations\",\"defaultAction\":\"../dhis-web-translations/index.action\",\"displayName\":\"Translations\",\"icon\":\"../icons/dhis-web-translations.png\",\"description\":\"\"},{\"name\":\"dhis-web-capture\",\"namespace\":\"/dhis-web-capture\",\"defaultAction\":\"../dhis-web-capture/index.action\",\"displayName\":\"Capture\",\"icon\":\"../icons/dhis-web-capture.png\",\"description\":\"\"},{\"name\":\"dhis-web-data-administration\",\"namespace\":\"/dhis-web-data-administration\",\"defaultAction\":\"../dhis-web-data-administration/index.action\",\"displayName\":\"Data Administration\",\"icon\":\"../icons/dhis-web-data-administration.png\",\"description\":\"\"},{\"name\":\"dhis-web-data-quality\",\"namespace\":\"/dhis-web-data-quality\",\"defaultAction\":\"../dhis-web-data-quality/index.action\",\"displayName\":\"Data Quality\",\"icon\":\"../icons/dhis-web-data-quality.png\",\"description\":\"\"},{\"name\":\"dhis-web-user\",\"namespace\":\"/dhis-web-user\",\"defaultAction\":\"../dhis-web-user/index.action\",\"displayName\":\"Users\",\"icon\":\"../icons/dhis-web-user.png\",\"description\":\"\"},{\"name\":\"dhis-web-approval\",\"namespace\":\"/dhis-web-approval\",\"defaultAction\":\"../dhis-web-approval/index.action\",\"displayName\":\"Data Approval\",\"icon\":\"../icons/dhis-web-approval.png\",\"description\":\"\"},{\"name\":\"dhis-web-approval-classic\",\"namespace\":\"/dhis-web-approval-classic\",\"defaultAction\":\"../dhis-web-approval-classic/index.action\",\"displayName\":\"Data Approval Classic\",\"icon\":\"../icons/dhis-web-approval-classic.png\",\"description\":\"\"},{\"name\":\"dhis-web-import-export\",\"namespace\":\"/dhis-web-import-export\",\"defaultAction\":\"../dhis-web-import-export/index.action\",\"displayName\":\"Import/Export\",\"icon\":\"../icons/dhis-web-import-export.png\",\"description\":\"\"},{\"name\":\"dhis-web-menu-management\",\"namespace\":\"/dhis-web-menu-management\",\"defaultAction\":\"../dhis-web-menu-management/index.action\",\"displayName\":\"Menu Management\",\"icon\":\"../icons/dhis-web-menu-management.png\",\"description\":\"\"},{\"name\":\"dhis-web-reports\",\"namespace\":\"/dhis-web-reports\",\"defaultAction\":\"../dhis-web-reports/index.action\",\"displayName\":\"Reports\",\"icon\":\"../icons/dhis-web-reports.png\",\"description\":\"\"},{\"name\":\"dhis-web-sms-configuration\",\"namespace\":\"/dhis-web-sms-configuration\",\"defaultAction\":\"../dhis-web-sms-configuration/index.action\",\"displayName\":\"SMS Configuration\",\"icon\":\"../icons/dhis-web-sms-configuration.png\",\"description\":\"\"}]}", - "responseSize": 5628, + "responseBody": "{\"keyMessageSmsNotification\":false,\"keyCurrentStyle\":\"light_blue/light_blue.css\",\"keyTrackerDashboardLayout\":\"{\\\"IpHINAT79UW\\\":{\\\"widgets\\\":[{\\\"title\\\":\\\"enrollment\\\",\\\"view\\\":\\\"components/enrollment/enrollment.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"indicators\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"dataentry\\\",\\\"view\\\":\\\"components/dataentry/dataentry.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"report\\\",\\\"view\\\":\\\"components/report/tei-report.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"current_selections\\\",\\\"view\\\":\\\"components/selected/selected.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"feedback\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"profile\\\",\\\"view\\\":\\\"components/profile/profile.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"relationships\\\",\\\"view\\\":\\\"components/relationship/relationship.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":4},{\\\"title\\\":\\\"notes\\\",\\\"view\\\":\\\"components/notes/notes.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"messaging\\\",\\\"view\\\":\\\"components/messaging/messaging.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"dataentryTabular\\\",\\\"view\\\":\\\"components/dataentry/dataentry-tabular-layout.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3}],\\\"program\\\":\\\"IpHINAT79UW\\\"},\\\"ur1Edk5Oe2n\\\":{\\\"widgets\\\":[{\\\"title\\\":\\\"enrollment\\\",\\\"view\\\":\\\"components/enrollment/enrollment.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"indicators\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"dataentry\\\",\\\"view\\\":\\\"components/dataentry/dataentry.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"report\\\",\\\"view\\\":\\\"components/report/tei-report.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"current_selections\\\",\\\"view\\\":\\\"components/selected/selected.html\\\",\\\"show\\\":false,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":0},{\\\"title\\\":\\\"feedback\\\",\\\"view\\\":\\\"components/rulebound/rulebound.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":1},{\\\"title\\\":\\\"profile\\\",\\\"view\\\":\\\"components/profile/profile.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":2},{\\\"title\\\":\\\"relationships\\\",\\\"view\\\":\\\"components/relationship/relationship.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":3},{\\\"title\\\":\\\"notes\\\",\\\"view\\\":\\\"components/notes/notes.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":4},{\\\"title\\\":\\\"messaging\\\",\\\"view\\\":\\\"components/messaging/messaging.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"smallerWidget\\\",\\\"order\\\":5},{\\\"title\\\":\\\"dataentryTabular\\\",\\\"view\\\":\\\"components/dataentry/dataentry-tabular-layout.html\\\",\\\"show\\\":true,\\\"expand\\\":true,\\\"parent\\\":\\\"biggerWidget\\\",\\\"order\\\":3}],\\\"program\\\":\\\"ur1Edk5Oe2n\\\"}}\",\"keyStyle\":\"light_blue/light_blue.css\",\"keyUiLocale\":\"en\",\"keyAnalysisDisplayProperty\":\"name\",\"keyMessageEmailNotification\":false}", + "responseSize": 3609, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", "vary": "Origin", "access-control-expose-headers": "ETag, Location", - "cache-control": "no-cache, no-store, max-age=0, must-revalidate", - "content-type": "application/json;charset=utf-8", + "cache-control": "no-cache, private", + "content-type": "application/json", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "x-frame-options": "SAMEORIGIN", - "transfer-encoding": "chunked", "server": "Jetty(10.0.7)" } }, { - "path": "/api/38/systemSettings/applicationTitle", + "path": "/api/38/me/dashboard", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -182,15 +224,15 @@ "sec-fetch-mode": "cors" }, "statusCode": 200, - "responseBody": "{\"applicationTitle\":\"DHIS 2 Demo - Sierra Leone\"}", - "responseSize": 49, + "responseBody": "{\"unreadInterpretations\":41,\"unreadMessageConversations\":171}", + "responseSize": 61, "responseHeaders": { "access-control-allow-credentials": "true", "access-control-allow-origin": "http://localhost:3000", "vary": "Origin", "access-control-expose-headers": "ETag, Location", - "cache-control": "no-cache, private", - "content-type": "application/json;charset=utf-8", + "cache-control": "no-cache, no-store, max-age=0, must-revalidate", + "content-type": "application/json", "x-content-type-options": "nosniff", "x-xss-protection": "1; mode=block", "x-frame-options": "SAMEORIGIN", @@ -201,7 +243,7 @@ "path": "/api/38/staticContent/logo_banner", "featureName": null, "static": true, - "count": 3, + "count": 22, "nonDeterministic": false, "method": "GET", "requestBody": "", @@ -229,4 +271,4 @@ "server": "Jetty(10.0.7)" } } -] +] \ No newline at end of file diff --git a/cypress/fixtures/network/38/summary.json b/cypress/fixtures/network/38/summary.json index 402a018..6252ea3 100644 --- a/cypress/fixtures/network/38/summary.json +++ b/cypress/fixtures/network/38/summary.json @@ -1,8 +1,13 @@ { - "count": 28, - "totalResponseSize": 12527, - "duplicates": 18, - "nonDeterministicResponses": 2, - "apiVersion": "38", - "fixtureFiles": ["static_resources.json", "selecting_a_sql_query.json"] -} + "count": 215, + "totalResponseSize": 36185, + "duplicates": 193, + "nonDeterministicResponses": 21, + "apiVersion": 38, + "fixtureFiles": [ + "static_resources.json", + "opening_a_sql_query_(with_variables).json", + "opening_a_sql_view_(no_variables).json", + "selecting_a_sql_query.json" + ] +} \ No newline at end of file diff --git a/package.json b/package.json index f1d9734..15953c2 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "cy:start": "BROWSER=none yarn start", "cy:open": "wait-on 'http-get://localhost:3000' && cypress open", "cy:run": "wait-on 'http-get://localhost:3000' && cypress run", - "cy:capture": "concurrently 'yarn cy:start' 'yarn cy:run --env networkMode=capture' --kill-others --success first", - "cy:stub": "concurrently 'yarn cy:start' 'yarn cy:run --env networkMode=stub' --kill-others --success first" + "cy:capture-38": "concurrently 'yarn cy:start' 'yarn cy:run --env networkMode=capture,dhis2ApiVersion=38' --kill-others --success first", + "cy:stub-38": "concurrently 'yarn cy:start' 'yarn cy:run --env networkMode=stub,dhis2ApiVersion=38' --kill-others --success first" }, "devDependencies": { "@dhis2/cli-app-scripts": "^6.1.3",