k2hr3-api 1.0.41 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/k2hr3-init.sh.templ +2 -2
- package/dist/.gitkeep +0 -0
- package/dist/src/app.js +262 -0
- package/{bin → dist/src/bin}/run.sh +1 -1
- package/dist/src/bin/watcher.js +113 -0
- package/dist/src/bin/www.js +217 -0
- package/dist/src/lib/basicipcheck.js +392 -0
- package/dist/src/lib/cacerts.js +106 -0
- package/dist/src/lib/dbglogging.js +190 -0
- package/dist/src/lib/dummyuserapi.js +719 -0
- package/dist/src/lib/ipwatch.js +354 -0
- package/dist/src/lib/k2hr3acrutil.js +532 -0
- package/dist/src/lib/k2hr3apiutil.js +1444 -0
- package/dist/src/lib/k2hr3cliutil.js +183 -0
- package/dist/src/lib/k2hr3config.js +832 -0
- package/dist/src/lib/k2hr3cryptutil.js +258 -0
- package/dist/src/lib/k2hr3dkc.js +12121 -0
- package/dist/src/lib/k2hr3extdata.js +198 -0
- package/dist/src/lib/k2hr3keys.js +207 -0
- package/dist/src/lib/k2hr3resutil.js +111 -0
- package/dist/src/lib/k2hr3template.js +6546 -0
- package/dist/src/lib/k2hr3tokens.js +2643 -0
- package/dist/src/lib/k2hr3userdata.js +296 -0
- package/dist/src/lib/k8soidc.js +1000 -0
- package/dist/src/lib/openstackapiv2.js +695 -0
- package/dist/src/lib/openstackapiv3.js +932 -0
- package/dist/src/lib/openstackep.js +667 -0
- package/{tests/auto_common.js → dist/src/lib/types.js} +4 -38
- package/dist/src/routes/acr.js +704 -0
- package/dist/src/routes/debugVerify.js +294 -0
- package/dist/src/routes/extdata.js +219 -0
- package/dist/src/routes/list.js +264 -0
- package/dist/src/routes/policy.js +840 -0
- package/dist/src/routes/resource.js +1489 -0
- package/dist/src/routes/role.js +2627 -0
- package/dist/src/routes/service.js +908 -0
- package/dist/src/routes/tenant.js +1141 -0
- package/dist/src/routes/userTokens.js +482 -0
- package/dist/src/routes/userdata.js +212 -0
- package/dist/src/routes/version.js +103 -0
- package/package.json +152 -121
- package/ChangeLog +0 -372
- package/app.js +0 -292
- package/bin/watcher +0 -122
- package/bin/www +0 -180
- package/eslint.config.mjs +0 -68
- package/lib/basicipcheck.js +0 -376
- package/lib/cacerts.js +0 -71
- package/lib/dbglogging.js +0 -151
- package/lib/dummyuserapi.js +0 -766
- package/lib/ipwatch.js +0 -379
- package/lib/k2hr3acrutil.js +0 -516
- package/lib/k2hr3apiutil.js +0 -1494
- package/lib/k2hr3cliutil.js +0 -191
- package/lib/k2hr3config.js +0 -826
- package/lib/k2hr3cryptutil.js +0 -254
- package/lib/k2hr3dkc.js +0 -12632
- package/lib/k2hr3extdata.js +0 -198
- package/lib/k2hr3keys.js +0 -234
- package/lib/k2hr3resutil.js +0 -100
- package/lib/k2hr3template.js +0 -6925
- package/lib/k2hr3tokens.js +0 -2799
- package/lib/k2hr3userdata.js +0 -312
- package/lib/k8soidc.js +0 -1012
- package/lib/openstackapiv2.js +0 -764
- package/lib/openstackapiv3.js +0 -1032
- package/lib/openstackep.js +0 -553
- package/routes/acr.js +0 -738
- package/routes/debugVerify.js +0 -263
- package/routes/extdata.js +0 -232
- package/routes/list.js +0 -270
- package/routes/policy.js +0 -869
- package/routes/resource.js +0 -1441
- package/routes/role.js +0 -2664
- package/routes/service.js +0 -894
- package/routes/tenant.js +0 -1095
- package/routes/userTokens.js +0 -511
- package/routes/userdata.js +0 -218
- package/routes/version.js +0 -108
- package/templ/Dockerfile.templ +0 -71
- package/tests/auto_acr.js +0 -1101
- package/tests/auto_acr_spec.js +0 -79
- package/tests/auto_all_spec.js +0 -142
- package/tests/auto_control_subprocess.sh +0 -243
- package/tests/auto_extdata.js +0 -220
- package/tests/auto_extdata_spec.js +0 -79
- package/tests/auto_init_config_json.sh +0 -275
- package/tests/auto_k2hdkc_server.ini +0 -109
- package/tests/auto_k2hdkc_slave.ini +0 -83
- package/tests/auto_list.js +0 -439
- package/tests/auto_list_spec.js +0 -79
- package/tests/auto_policy.js +0 -1579
- package/tests/auto_policy_spec.js +0 -79
- package/tests/auto_resource.js +0 -10956
- package/tests/auto_resource_spec.js +0 -79
- package/tests/auto_role.js +0 -6150
- package/tests/auto_role_spec.js +0 -79
- package/tests/auto_service.js +0 -770
- package/tests/auto_service_spec.js +0 -79
- package/tests/auto_subprocesses.js +0 -114
- package/tests/auto_template.sh +0 -126
- package/tests/auto_tenant.js +0 -1100
- package/tests/auto_tenant_spec.js +0 -79
- package/tests/auto_token_util.js +0 -219
- package/tests/auto_userdata.js +0 -292
- package/tests/auto_userdata_spec.js +0 -79
- package/tests/auto_usertokens.js +0 -565
- package/tests/auto_usertokens_spec.js +0 -79
- package/tests/auto_version.js +0 -127
- package/tests/auto_version_spec.js +0 -79
- package/tests/auto_watcher.js +0 -157
- package/tests/auto_watcher_spec.js +0 -79
- package/tests/k2hdkc_test.data +0 -986
- package/tests/k2hdkc_test_load.sh +0 -255
- package/tests/k2hr3template_test.js +0 -187
- package/tests/k2hr3template_test.sh +0 -339
- package/tests/k2hr3template_test_async.js +0 -216
- package/tests/k2hr3template_test_template.result +0 -7117
- package/tests/k2hr3template_test_template.txt +0 -3608
- package/tests/k2hr3template_test_vars.js +0 -194
- package/tests/manual_acr_delete.js +0 -143
- package/tests/manual_acr_get.js +0 -297
- package/tests/manual_acr_postput.js +0 -215
- package/tests/manual_allusertenant_get.js +0 -113
- package/tests/manual_extdata_get.js +0 -191
- package/tests/manual_k2hr3keys_get.js +0 -84
- package/tests/manual_list_gethead.js +0 -230
- package/tests/manual_policy_delete.js +0 -132
- package/tests/manual_policy_gethead.js +0 -275
- package/tests/manual_policy_postput.js +0 -297
- package/tests/manual_resource_delete.js +0 -433
- package/tests/manual_resource_gethead.js +0 -423
- package/tests/manual_resource_postput.js +0 -487
- package/tests/manual_role_delete.js +0 -404
- package/tests/manual_role_gethead.js +0 -547
- package/tests/manual_role_postput.js +0 -544
- package/tests/manual_service_delete.js +0 -153
- package/tests/manual_service_gethead.js +0 -178
- package/tests/manual_service_postput.js +0 -348
- package/tests/manual_tenant_delete.js +0 -186
- package/tests/manual_tenant_gethead.js +0 -268
- package/tests/manual_tenant_postput.js +0 -293
- package/tests/manual_test.sh +0 -352
- package/tests/manual_userdata_get.js +0 -173
- package/tests/manual_usertoken_gethead.js +0 -136
- package/tests/manual_usertoken_postput.js +0 -310
- package/tests/manual_version_get.js +0 -127
- package/tests/run_local_test_k2hdkc.sh +0 -174
- package/tests/test.sh +0 -333
package/package.json
CHANGED
|
@@ -1,135 +1,166 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "k2hr3-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "K2HR3 REST API is K2hdkc based Resource and Roles and policy Rules",
|
|
5
|
+
"main": "dist/app.js",
|
|
4
6
|
"dependencies": {
|
|
5
|
-
"@kubernetes/client-node": "^1.
|
|
6
|
-
"body-parser": "^
|
|
7
|
-
"config": "^
|
|
7
|
+
"@kubernetes/client-node": "^1.4.0",
|
|
8
|
+
"body-parser": "^2.2.2",
|
|
9
|
+
"config": "^4.4.1",
|
|
8
10
|
"cookie-parser": "~1.4.7",
|
|
9
|
-
"dateformat": "^
|
|
10
|
-
"debug": "~4.4.
|
|
11
|
-
"express": "^
|
|
12
|
-
"jose": "^
|
|
13
|
-
"k2hdkc": "^
|
|
14
|
-
"morgan": "~1.10.
|
|
15
|
-
"rotating-file-stream": "^3.2.
|
|
16
|
-
},
|
|
17
|
-
"bin": {
|
|
18
|
-
"k2hr3-api": "./bin/www",
|
|
19
|
-
"k2hr3-watcher": "./bin/watcher"
|
|
11
|
+
"dateformat": "^5.0.3",
|
|
12
|
+
"debug": "~4.4.3",
|
|
13
|
+
"express": "^5.2.1",
|
|
14
|
+
"jose": "^6.2.1",
|
|
15
|
+
"k2hdkc": "^2.0.3",
|
|
16
|
+
"morgan": "~1.10.1",
|
|
17
|
+
"rotating-file-stream": "^3.2.9"
|
|
20
18
|
},
|
|
21
|
-
"description": "K2HR3 REST API is K2hdkc based Resource and Roles and policy Rules",
|
|
22
|
-
"main": "app.js",
|
|
23
19
|
"directories": {
|
|
24
20
|
"config": "config",
|
|
25
|
-
"bin": "bin",
|
|
26
|
-
"lib": "lib",
|
|
27
|
-
"routes": "routes"
|
|
28
|
-
|
|
21
|
+
"bin": "dist/src/bin",
|
|
22
|
+
"lib": "dist/src/lib",
|
|
23
|
+
"routes": "dist/src/routes"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist/",
|
|
27
|
+
"!dist/tests/",
|
|
28
|
+
"!dist/src/log/",
|
|
29
|
+
"config/",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"bin": {
|
|
34
|
+
"k2hr3-api": "dist/src/bin/www.js",
|
|
35
|
+
"k2hr3-watcher": "dist/src/bin/watcher.js"
|
|
29
36
|
},
|
|
30
37
|
"devDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
38
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
39
|
+
"@eslint/js": "^10.0.1",
|
|
40
|
+
"@types/body-parser": "^1.19.6",
|
|
41
|
+
"@types/chai": "^5.2.3",
|
|
42
|
+
"@types/config": "^3.3.5",
|
|
43
|
+
"@types/cookie-parser": "^1.4.10",
|
|
44
|
+
"@types/dateformat": "^5.0.3",
|
|
45
|
+
"@types/debug": "^4.1.12",
|
|
46
|
+
"@types/express": "^5.0.6",
|
|
47
|
+
"@types/mocha": "^10.0.10",
|
|
48
|
+
"@types/morgan": "^1.9.10",
|
|
49
|
+
"@types/node": "^25.4.0",
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
51
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
52
|
+
"chai": "^6.2.2",
|
|
53
|
+
"chai-http": "^5.1.2",
|
|
54
|
+
"eslint": "^10.0.3",
|
|
55
|
+
"globals": "^17.4.0",
|
|
56
|
+
"mocha": "^11.7.5",
|
|
57
|
+
"nyc": "^18.0.0",
|
|
58
|
+
"typescript": "^5.9.3"
|
|
36
59
|
},
|
|
37
60
|
"scripts": {
|
|
38
|
-
"help": "echo 'command list:\n npm run start\n npm run start:prod\n npm run start:production\n npm run start:prod:dbg\n npm run start:prod:debug\n npm run start:prod:debug:break\n npm run start:prod:debug:nobreak\n npm run start:dev\n npm run start:develop\n npm run start:dev:dbg\n npm run start:dev:debug\n npm run start:dev:debug:break\n npm run start:dev:debug:nobreak\n npm run start:watcher:prod\n npm run start:watcher:production\n npm run start:watcher:dev\n npm run start:watcher:develop\n npm run start:watcher:dbg\n npm run start:watcher:debug\n npm run start:watcher:debug:break\n npm run start:watcher:debug:nobreak\n npm run start:watcher:oneshot:prod\n npm run start:watcher:oneshot:production\n npm run start:watcher:oneshot:dev\n npm run start:watcher:oneshot:develop\n npm run start:watcher:oneshot:dbg\n npm run start:watcher:oneshot:debug\n npm run start:watcher:oneshot:debug:break\n npm run start:watcher:oneshot:debug:nobreak\n npm run stop\n npm run stop:watcher\n npm run test\n npm run test:lint\n npm run test:cover\n npm run test:auto:all{:dbg}\n npm run test:auto:version{:dbg}\n npm run test:auto:usertokens{:dbg}\n npm run test:auto:list{:dbg}\n npm run test:auto:resource{:dbg}\n npm run test:auto:policy{:dbg}\n npm run test:auto:role{:dbg}\n npm run test:auto:tenant{:dbg}\n npm run test:auto:service{:dbg}\n npm run test:auto:acr{:dbg}\n npm run test:auto:userdata{:dbg}\n npm run test:auto:extdata{:dbg}\n npm run test:auto:watcher{:dbg}\n npm run test:auto:templengine\n npm run test:auto:templengine:async\n npm run test:manual:apis:version_get\n npm run test:manual:apis:usertoken_postput\n npm run test:manual:apis:usertoken_gethead\n npm run test:manual:apis:policy_postput\n npm run test:manual:apis:policy_gethead\n npm run test:manual:apis:policy_delete\n npm run test:manual:apis:resource_postput\n npm run test:manual:apis:resource_gethead\n npm run test:manual:apis:resource_delete\n npm run test:manual:apis:role_postput\n npm run test:manual:apis:role_gethead\n npm run test:manual:apis:role_delete\n npm run test:manual:apis:tenant_postput\n npm run test:manual:apis:tenant_gethead\n npm run test:manual:apis:tenant_delete\n npm run test:manual:apis:service_postput\n npm run test:manual:apis:service_gethead\n npm run test:manual:apis:service_delete\n npm run test:manual:apis:acr_postput\n npm run test:manual:apis:acr_get\n npm run test:manual:apis:acr_delete\n npm run test:manual:apis:list_gethead\n npm run test:manual:apis:userdata_get\n npm run test:manual:apis:extdata_get\n npm run test:manual:apis:allusertenant_get\n npm run test:manual:apis:k2hr3keys_get\n npm run test:manual:load:k2hdkcdata:auto\n npm run test:manual:load:k2hdkcdata:local\n npm run test:manual:templengine\n npm run test:manual:templengine:async\n'",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"start
|
|
45
|
-
"start:prod
|
|
46
|
-
"start:
|
|
47
|
-
"start:
|
|
48
|
-
"start:
|
|
49
|
-
"start:
|
|
50
|
-
"start:
|
|
51
|
-
"start:dev
|
|
52
|
-
"start:
|
|
53
|
-
"start:
|
|
54
|
-
"start:
|
|
55
|
-
"start:
|
|
56
|
-
"start:
|
|
57
|
-
"start:watcher:
|
|
58
|
-
"start:watcher:
|
|
59
|
-
"start:watcher:
|
|
60
|
-
"start:watcher:
|
|
61
|
-
"start:watcher:
|
|
62
|
-
"start:watcher:
|
|
63
|
-
"start:watcher:
|
|
64
|
-
"start:watcher:
|
|
65
|
-
"start:watcher:oneshot:
|
|
66
|
-
"start:watcher:oneshot:
|
|
67
|
-
"start:watcher:oneshot:
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
61
|
+
"help": "echo 'command list:\n npm run build\n npm run build:all\n npm run build:copyfiles\n npm run build:files\n npm run clean\n npm run start\n npm run start:prod\n npm run start:production\n npm run start:prod:dbg\n npm run start:prod:debug\n npm run start:prod:debug:break\n npm run start:prod:debug:nobreak\n npm run start:dev\n npm run start:develop\n npm run start:dev:dbg\n npm run start:dev:debug\n npm run start:dev:debug:break\n npm run start:dev:debug:nobreak\n npm run start:watcher:prod\n npm run start:watcher:production\n npm run start:watcher:dev\n npm run start:watcher:develop\n npm run start:watcher:dbg\n npm run start:watcher:debug\n npm run start:watcher:debug:break\n npm run start:watcher:debug:nobreak\n npm run start:watcher:oneshot:prod\n npm run start:watcher:oneshot:production\n npm run start:watcher:oneshot:dev\n npm run start:watcher:oneshot:develop\n npm run start:watcher:oneshot:dbg\n npm run start:watcher:oneshot:debug\n npm run start:watcher:oneshot:debug:break\n npm run start:watcher:oneshot:debug:nobreak\n npm run stop\n npm run stop:watcher\n npm run test\n npm run test:lint\n npm run test:lint:all\n npm run test:lint:files\n npm run test:checktypes\n npm run test:cover\n npm run test:auto\n npm run test:auto:all{:dbg}\n npm run test:auto:version{:dbg}\n npm run test:auto:usertokens{:dbg}\n npm run test:auto:list{:dbg}\n npm run test:auto:resource{:dbg}\n npm run test:auto:policy{:dbg}\n npm run test:auto:role{:dbg}\n npm run test:auto:tenant{:dbg}\n npm run test:auto:service{:dbg}\n npm run test:auto:acr{:dbg}\n npm run test:auto:userdata{:dbg}\n npm run test:auto:extdata{:dbg}\n npm run test:auto:watcher{:dbg}\n npm run test:auto:templengine\n npm run test:auto:templengine:async\n npm run test:manual\n npm run test:manual:apis:version_get\n npm run test:manual:apis:usertoken_postput\n npm run test:manual:apis:usertoken_gethead\n npm run test:manual:apis:policy_postput\n npm run test:manual:apis:policy_gethead\n npm run test:manual:apis:policy_delete\n npm run test:manual:apis:resource_postput\n npm run test:manual:apis:resource_gethead\n npm run test:manual:apis:resource_delete\n npm run test:manual:apis:role_postput\n npm run test:manual:apis:role_gethead\n npm run test:manual:apis:role_delete\n npm run test:manual:apis:tenant_postput\n npm run test:manual:apis:tenant_gethead\n npm run test:manual:apis:tenant_delete\n npm run test:manual:apis:service_postput\n npm run test:manual:apis:service_gethead\n npm run test:manual:apis:service_delete\n npm run test:manual:apis:acr_postput\n npm run test:manual:apis:acr_get\n npm run test:manual:apis:acr_delete\n npm run test:manual:apis:list_gethead\n npm run test:manual:apis:userdata_get\n npm run test:manual:apis:extdata_get\n npm run test:manual:apis:allusertenant_get\n npm run test:manual:apis:k2hr3keys_get\n npm run test:manual:load:k2hdkcdata:auto\n npm run test:manual:load:k2hdkcdata:local\n npm run test:manual:templengine\n npm run test:manual:templengine:async\n'",
|
|
62
|
+
"build": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build' && npm run build:all && echo '-> [DONE] build\n'",
|
|
63
|
+
"build:all": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:all' && tsc && npm run build:copyfiles && echo '-> [DONE] build:all\n'",
|
|
64
|
+
"build:copyfiles": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:copyfiles' && if [ -d dist/src/bin ]; then mkdir -p dist/src/bin >/dev/null 2>&1; fi && cp src/bin/run.sh dist/src/bin/run.sh >/dev/null 2>&1 && chmod +x dist/src/bin/run.sh >/dev/null 2>&1 && echo '-> [DONE] build:copyfiles\n'",
|
|
65
|
+
"build:files": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:files <file>' && tsc --target ES2022 --module nodenext --moduleResolution nodenext --rootDir . --outDir dist --strict --esModuleInterop --forceConsistentCasingInFileNames --skipLibCheck --resolveJsonModule --allowJs false",
|
|
66
|
+
"clean": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] clean' && if [ -d dist ]; then rm -rf dist/* >/dev/null 2>&1; fi && echo '-> [DONE] clean\n'",
|
|
67
|
+
"start": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start' && npm run start:production && echo '-> [DONE] start\n'",
|
|
68
|
+
"start:prod": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod' && npm run start:production && echo '-> [DONE] start:prod\n'",
|
|
69
|
+
"start:production": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:production' && dist/src/bin/run.sh -bg --production && echo '-> [DONE] start:production\n'",
|
|
70
|
+
"start:prod:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:dbg' && npm run start:prod:debug && echo '-> [DONE] start:prod:dbg\n'",
|
|
71
|
+
"start:prod:debug": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:debug' && npm run start:prod:debug:break && echo '-> [DONE] start:prod:debug\n'",
|
|
72
|
+
"start:prod:debug:break": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:debug:break' && dist/src/bin/run.sh --production --debug --debuglevel dbg && echo '-> [DONE] start:prod:debug:break\n'",
|
|
73
|
+
"start:prod:debug:nobreak": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:debug:nobreak' && dist/src/bin/run.sh --production --debug-nobrk --debuglevel dbg && echo '-> [DONE] start:prod:debug:nobreak\n'",
|
|
74
|
+
"start:dev": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev' && npm run start:develop && echo '-> [DONE] start:dev\n'",
|
|
75
|
+
"start:develop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:develop' && dist/src/bin/run.sh -bg --development && echo '-> [DONE] start:develop\n'",
|
|
76
|
+
"start:dev:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:dbg' && npm run start:dev:debug && echo '-> [DONE] start:dev:dbg\n'",
|
|
77
|
+
"start:dev:debug": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:debug' && npm run start:dev:debug:break && echo '-> [DONE] start:dev:debug\n'",
|
|
78
|
+
"start:dev:debug:break": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:debug:break' && dist/src/bin/run.sh --development --debug --debuglevel dbg && echo '-> [DONE] start:dev:debug:break\n'",
|
|
79
|
+
"start:dev:debug:nobreak": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:debug:nobreak' && dist/src/bin/run.sh --development --debug-nobrk --debuglevel dbg && echo '-> [DONE] start:dev:debug:nobreak\n'",
|
|
80
|
+
"start:watcher:prod": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:prod' && npm run start:watcher:production && echo '-> [DONE] start:watcher:prod\n'",
|
|
81
|
+
"start:watcher:production": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:production' && dist/src/bin/run.sh -bg --production --watcher && echo '-> [DONE] start:watcher:production\n'",
|
|
82
|
+
"start:watcher:dev": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:dev' && npm run start:watcher:develop && echo '-> [DONE] start:watcher:dev\n'",
|
|
83
|
+
"start:watcher:develop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:develop' && dist/src/bin/run.sh -bg --development --watcher && echo '-> [DONE] start:watcher:develop\n'",
|
|
84
|
+
"start:watcher:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:dbg' && npm run start:watcher:debug && echo '-> [DONE] start:watcher:dbg\n'",
|
|
85
|
+
"start:watcher:debug": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:debug' && npm run start:watcher:debug:break && echo '-> [DONE] start:watcher:debug\n'",
|
|
86
|
+
"start:watcher:debug:break": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:debug:break' && dist/src/bin/run.sh --development --watcher --debug --debuglevel dbg && echo '-> [DONE] start:watcher:debug:break\n'",
|
|
87
|
+
"start:watcher:debug:nobreak": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:debug:nobreak' && dist/src/bin/run.sh --development --watcher --debug-nobrk --debuglevel dbg && echo '-> [DONE] start:watcher:debug:nobreak\n'",
|
|
88
|
+
"start:watcher:oneshot:prod": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:prod' && npm run start:watcher:oneshot:production && echo '-> [DONE] start:watcher:oneshot:prod\n'",
|
|
89
|
+
"start:watcher:oneshot:production": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:production' && dist/src/bin/run.sh -bg --production --watcher --oneshot && echo '-> [DONE] start:watcher:oneshot:production\n'",
|
|
90
|
+
"start:watcher:oneshot:dev": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:dev' && npm run start:watcher:oneshot:develop && echo '-> [DONE] start:watcher:oneshot:dev\n'",
|
|
91
|
+
"start:watcher:oneshot:develop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:develop' && dist/src/bin/run.sh -bg --development --watcher --oneshot && echo '-> [DONE] start:watcher:oneshot:develop\n'",
|
|
92
|
+
"start:watcher:oneshot:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:dbg' && npm run start:watcher:oneshot:debug && echo '-> [DONE] start:watcher:oneshot:dbg\n'",
|
|
93
|
+
"start:watcher:oneshot:debug": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:debug' && npm run start:watcher:oneshot:debug:break && echo '-> [DONE] start:watcher:oneshot:debug\n'",
|
|
94
|
+
"start:watcher:oneshot:debug:break": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:debug:break' && dist/src/bin/run.sh --development --watcher --oneshot --debug --debuglevel dbg && echo '-> [DONE] start:watcher:oneshot:debug:break\n'",
|
|
95
|
+
"start:watcher:oneshot:debug:nobreak": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:oneshot:debug:nobreak' && dist/src/bin/run.sh --development --watcher --oneshot --debug-nobrk --debuglevel dbg && echo '-> [DONE] start:watcher:oneshot:debug:nobreak\n'",
|
|
96
|
+
"stop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] stop' && dist/src/bin/run.sh --stop && echo '-> [DONE] stop\n'",
|
|
97
|
+
"stop:watcher": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] stop:watcher' && dist/src/bin/run.sh --stop --watcher && echo '-> [DONE] stop:watcher\n'",
|
|
98
|
+
"test": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test' && npm run test:cover && echo '-> [DONE] test\n'",
|
|
99
|
+
"test:lint": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:lint' && npm run test:lint:all && echo '-> [DONE] test:lint\n'",
|
|
100
|
+
"test:lint:all": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:lint:all' && eslint --ext .ts src/lib/*.ts src/app.ts src/bin/www.ts src/bin/watcher.ts src/routes/*.ts tests/*.ts && echo '-> [DONE] test:lint:all\n'",
|
|
101
|
+
"test:lint:files": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:lint:files <file>' && eslint --ext .ts",
|
|
102
|
+
"test:checktypes": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:checktype' && tsc --noEmit && echo '-> [DONE] test:checktype\n'",
|
|
103
|
+
"test:cover": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:cover' && nyc --reporter=lcov --reporter=text npm run test:auto:all && echo '-> [DONE] test:cover\n'",
|
|
73
104
|
"test:auto": "echo 'Auto test : npm run test:auto:*\n test:auto:all{:dbg}\n test:auto:version{:dbg}\n test:auto:usertokens{:dbg}\n test:auto:list{:dbg}\n test:auto:resource{:dbg}\n test:auto:policy{:dbg}\n test:auto:role{:dbg}\n test:auto:tenant{:dbg}\n test:auto:tenant{:dbg}\n test:auto:service{:dbg}\n test:auto:acr{:dbg}\n test:auto:userdata{:dbg}\n test:auto:extdata{:dbg}\n test:auto:watcher{:dbg}\n test:auto:templengine\n test:auto:templengine:async\n'",
|
|
74
|
-
"test:auto:all": "echo '
|
|
75
|
-
"test:auto:all:dbg": "echo '
|
|
76
|
-
"test:auto:version": "echo 'Test Version' && tests/test.sh
|
|
77
|
-
"test:auto:version:dbg": "echo 'Test Version
|
|
78
|
-
"test:auto:usertokens": "echo 'Test UserTokens' && tests/test.sh
|
|
79
|
-
"test:auto:usertokens:dbg": "echo 'Test UserTokens
|
|
80
|
-
"test:auto:list": "echo 'Test List' && tests/test.sh
|
|
81
|
-
"test:auto:list:dbg": "echo 'Test List
|
|
82
|
-
"test:auto:resource": "echo 'Test Resource' && tests/test.sh
|
|
83
|
-
"test:auto:resource:dbg": "echo 'Test Resource
|
|
84
|
-
"test:auto:policy": "echo 'Test Policy' && tests/test.sh
|
|
85
|
-
"test:auto:policy:dbg": "echo 'Test Policy
|
|
86
|
-
"test:auto:role": "echo 'Test Role' && tests/test.sh
|
|
87
|
-
"test:auto:role:dbg": "echo 'Test Role
|
|
88
|
-
"test:auto:tenant": "echo 'Test Tenant' && tests/test.sh
|
|
89
|
-
"test:auto:tenant:dbg": "echo 'Test Tenant
|
|
90
|
-
"test:auto:service": "echo 'Test Service' && tests/test.sh
|
|
91
|
-
"test:auto:service:dbg": "echo 'Test Service
|
|
92
|
-
"test:auto:acr": "echo 'Test ACR' && tests/test.sh
|
|
93
|
-
"test:auto:acr:dbg": "echo 'Test ACR
|
|
94
|
-
"test:auto:userdata": "echo 'Test Userdata' && tests/test.sh
|
|
95
|
-
"test:auto:userdata:dbg": "echo 'Test Userdata
|
|
96
|
-
"test:auto:extdata": "echo 'Test Extdata' && tests/test.sh
|
|
97
|
-
"test:auto:extdata:dbg": "echo 'Test Extdata
|
|
98
|
-
"test:auto:watcher": "echo 'Test Watcher Process' && tests/test.sh
|
|
99
|
-
"test:auto:watcher:dbg": "echo 'Test Watcher Process
|
|
100
|
-
"test:auto:templengine": "echo 'Test template engine' && tests/auto_template.sh && echo '
|
|
101
|
-
"test:auto:templengine:async": "echo 'Test asynchronous template engine' && tests/auto_template.sh -a && echo '
|
|
102
|
-
"test:manual": "echo 'Manual test : npm run test:manual:*\n test:manual:apis:version_get\n test:manual:apis:usertoken_postput\n test:manual:apis:usertoken_gethead\n test:manual:apis:policy_postput\n test:manual:apis:policy_gethead\n test:manual:apis:policy_delete\n test:manual:apis:resource_postput\n test:manual:apis:resource_gethead\n test:manual:apis:resource_delete\n test:manual:apis:role_postput\n test:manual:apis:role_gethead\n test:manual:apis:role_delete\n test:manual:apis:tenant_postput\n test:manual:apis:tenant_gethead\n test:manual:apis:tenant_delete\n test:manual:apis:service_postput\n test:manual:apis:service_gethead\n test:manual:apis:service_delete\n test:manual:apis:acr_postput\n test:manual:apis:acr_get\n test:manual:apis:acr_delete\n test:manual:apis:list_gethead\n test:manual:apis:userdata_get\n test:manual:apis:extdata_get\n test:manual:apis:allusertenant_get\n test:manual:apis:k2hr3keys_get\n test:manual:load:k2hdkcdata:auto\n test:manual:load:k2hdkcdata:local\n test:manual:templengine\n test:manual:templengine:async\n'",
|
|
103
|
-
"test:manual:apis:version_get": "tests/manual_test.sh version_get",
|
|
104
|
-
"test:manual:apis:usertoken_postput": "tests/manual_test.sh usertoken_postput",
|
|
105
|
-
"test:manual:apis:usertoken_gethead": "tests/manual_test.sh usertoken_gethead",
|
|
106
|
-
"test:manual:apis:policy_postput": "tests/manual_test.sh policy_postput",
|
|
107
|
-
"test:manual:apis:policy_gethead": "tests/manual_test.sh policy_gethead",
|
|
108
|
-
"test:manual:apis:policy_delete": "tests/manual_test.sh policy_delete",
|
|
109
|
-
"test:manual:apis:resource_postput": "tests/manual_test.sh resource_postput",
|
|
110
|
-
"test:manual:apis:resource_gethead": "tests/manual_test.sh resource_gethead",
|
|
111
|
-
"test:manual:apis:resource_delete": "tests/manual_test.sh resource_delete",
|
|
112
|
-
"test:manual:apis:role_postput": "tests/manual_test.sh role_postput",
|
|
113
|
-
"test:manual:apis:role_gethead": "tests/manual_test.sh role_gethead",
|
|
114
|
-
"test:manual:apis:role_delete": "tests/manual_test.sh role_delete",
|
|
115
|
-
"test:manual:apis:tenant_postput": "tests/manual_test.sh tenant_postput",
|
|
116
|
-
"test:manual:apis:tenant_gethead": "tests/manual_test.sh tenant_gethead",
|
|
117
|
-
"test:manual:apis:tenant_delete": "tests/manual_test.sh tenant_delete",
|
|
118
|
-
"test:manual:apis:service_postput": "tests/manual_test.sh service_postput",
|
|
119
|
-
"test:manual:apis:service_gethead": "tests/manual_test.sh service_gethead",
|
|
120
|
-
"test:manual:apis:service_delete": "tests/manual_test.sh service_delete",
|
|
121
|
-
"test:manual:apis:acr_postput": "tests/manual_test.sh acr_postput",
|
|
122
|
-
"test:manual:apis:acr_get": "tests/manual_test.sh acr_get",
|
|
123
|
-
"test:manual:apis:acr_delete": "tests/manual_test.sh acr_delete",
|
|
124
|
-
"test:manual:apis:list_gethead": "tests/manual_test.sh list_gethead",
|
|
125
|
-
"test:manual:apis:userdata_get": "tests/manual_test.sh userdata_get",
|
|
126
|
-
"test:manual:apis:extdata_get": "tests/manual_test.sh extdata_get",
|
|
127
|
-
"test:manual:apis:allusertenant_get": "tests/manual_test.sh allusertenant_get",
|
|
128
|
-
"test:manual:apis:k2hr3keys_get": "tests/manual_test.sh k2hr3keys_get",
|
|
129
|
-
"test:manual:load:k2hdkcdata:auto": "tests/k2hdkc_test_load.sh --for_auto_test && echo '
|
|
130
|
-
"test:manual:load:k2hdkcdata:local": "tests/k2hdkc_test_load.sh --main 33348 --sub 37146 && echo '
|
|
131
|
-
"test:manual:templengine": "
|
|
132
|
-
"test:manual:templengine:async": "
|
|
105
|
+
"test:auto:all": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:all' && npm run test:lint && tests/test.sh all && npm run test:auto:templengine && npm run test:auto:templengine:async && echo '-> [DONE] test:auto:all\n'",
|
|
106
|
+
"test:auto:all:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:all:dbg' && npm run test:lint && tests/test.sh -d dbg all && echo '-> [DONE] test:all:dbg\n'",
|
|
107
|
+
"test:auto:version": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:version - Test Version' && tests/test.sh version && echo '-> [DONE] test:auto:version - Test Version\n'",
|
|
108
|
+
"test:auto:version:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:version:dbg - Test Version(debug)' && tests/test.sh -d dbg version && echo '-> [DONE] test:auto:version:dbg - Test Version(debug)\n'",
|
|
109
|
+
"test:auto:usertokens": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:usertokens - Test UserTokens' && tests/test.sh usertokens && echo '-> [DONE] test:auto:usertokens - Test UserTokens\n'",
|
|
110
|
+
"test:auto:usertokens:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:usertokens:dbg - Test UserTokens(debug)' && tests/test.sh -d dbg usertokens && echo '-> [DONE] test:auto:usertokens:dbg - Test UserTokens(debug)\n'",
|
|
111
|
+
"test:auto:list": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:list - Test List' && tests/test.sh list && echo '-> [DONE] test:auto:list - Test List\n'",
|
|
112
|
+
"test:auto:list:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:list:dbg - Test List(debug)' && tests/test.sh -d dbg list && echo '-> [DONE] test:auto:list:dbg - Test List(debug)\n'",
|
|
113
|
+
"test:auto:resource": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:resource - Test Resource' && tests/test.sh resource && echo '-> [DONE] test:auto:resource - Test Resource\n'",
|
|
114
|
+
"test:auto:resource:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:resource:dbg - Test Resource(debug)' && tests/test.sh -d dbg resource && echo '-> [DONE] test:auto:resource:dbg - Test Resource(debug)\n'",
|
|
115
|
+
"test:auto:policy": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:policy - Test Policy' && tests/test.sh policy && echo '-> [DONE] test:auto:policy - Test Policy\n'",
|
|
116
|
+
"test:auto:policy:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:policy:dbg - Test Policy(debug)' && tests/test.sh -d dbg policy && echo '-> [DONE] test:auto:policy:dbg - Test Policy(debug)\n'",
|
|
117
|
+
"test:auto:role": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:role - Test Role' && tests/test.sh role && echo '-> [DONE] test:auto:role - Test Role\n'",
|
|
118
|
+
"test:auto:role:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:role:dbg - Test Role(debug)' && tests/test.sh -d dbg role && echo '-> [DONE] test:auto:role:dbg - Test Role(debug)\n'",
|
|
119
|
+
"test:auto:tenant": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:tenant - Test Tenant' && tests/test.sh tenant && echo '-> [DONE] test:auto:tenant - Test Tenant\n'",
|
|
120
|
+
"test:auto:tenant:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:tenant:dbg - Test Tenant(debug)' && tests/test.sh -d dbg tenant && echo '-> [DONE] test:auto:tenant:dbg - Test Tenant(debug)\n'",
|
|
121
|
+
"test:auto:service": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:service - Test Service' && tests/test.sh service && echo '-> [DONE] test:auto:service - Test Service\n'",
|
|
122
|
+
"test:auto:service:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:service:dbg - Test Service(debug)' && tests/test.sh -d dbg service && echo '-> [DONE] test:auto:service:dbg - Test Service(debug)\n'",
|
|
123
|
+
"test:auto:acr": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:acr - Test ACR' && tests/test.sh acr && echo '-> [DONE] test:auto:acr - Test ACR\n'",
|
|
124
|
+
"test:auto:acr:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:acr:dbg - Test ACR(debug)' && tests/test.sh -d dbg acr && echo '-> [DONE] test:auto:acr:dbg - Test ACR(debug)\n'",
|
|
125
|
+
"test:auto:userdata": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:userdata - Test Userdata' && tests/test.sh userdata && echo '-> [DONE] test:auto:userdata - Test Userdata\n'",
|
|
126
|
+
"test:auto:userdata:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:userdata:dbg - Test Userdata(debug)' && tests/test.sh -d dbg userdata && echo '-> [DONE] test:auto:userdata:dbg - Test Userdata(debug)\n'",
|
|
127
|
+
"test:auto:extdata": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:extdata - Test Extdata' && tests/test.sh extdata && echo '-> [DONE] test:auto:extdata - Test Extdata\n'",
|
|
128
|
+
"test:auto:extdata:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:extdata:dbg - Test Extdata(debug)' && tests/test.sh -d dbg extdata && echo '-> [DONE] test:auto:extdata:dbg - Test Extdata(debug)\n'",
|
|
129
|
+
"test:auto:watcher": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:watcher - Test Watcher Process' && tests/test.sh watcher && echo '-> [DONE] test:auto:watcher - Test Watcher Process\n'",
|
|
130
|
+
"test:auto:watcher:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:watcher:dbg - Test Watcher Process(debug)' && tests/test.sh -d dbg watcher && echo '-> [DONE] test:auto:watcher:dbg - Test Watcher Process(debug)\n'",
|
|
131
|
+
"test:auto:templengine": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:templengine - Test template engine' && tests/auto_template.sh && echo '-> [DONE] test:auto:templengine - Test template engine\n'",
|
|
132
|
+
"test:auto:templengine:async": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:auto:templengine:async - Test asynchronous template engine' && tests/auto_template.sh -a && echo '-> [DONE] test:auto:templengine:async - Test asynchronous template engine\n'",
|
|
133
|
+
"test:manual": "echo 'Manual test : npm run test:manual:*\n npm run test:manual:apis:version_get\n npm run test:manual:apis:usertoken_postput\n npm run test:manual:apis:usertoken_gethead\n npm run test:manual:apis:policy_postput\n npm run test:manual:apis:policy_gethead\n npm run test:manual:apis:policy_delete\n npm run test:manual:apis:resource_postput\n npm run test:manual:apis:resource_gethead\n npm run test:manual:apis:resource_delete\n npm run test:manual:apis:role_postput\n npm run test:manual:apis:role_gethead\n npm run test:manual:apis:role_delete\n npm run test:manual:apis:tenant_postput\n npm run test:manual:apis:tenant_gethead\n npm run test:manual:apis:tenant_delete\n npm run test:manual:apis:service_postput\n npm run test:manual:apis:service_gethead\n npm run test:manual:apis:service_delete\n npm run test:manual:apis:acr_postput\n npm run test:manual:apis:acr_get\n npm run test:manual:apis:acr_delete\n npm run test:manual:apis:list_gethead\n npm run test:manual:apis:userdata_get\n npm run test:manual:apis:extdata_get\n npm run test:manual:apis:allusertenant_get\n npm run test:manual:apis:k2hr3keys_get\n npm run test:manual:load:k2hdkcdata:auto\n npm run test:manual:load:k2hdkcdata:local\n npm run test:manual:templengine\n npm run test:manual:templengine:async\n'",
|
|
134
|
+
"test:manual:apis:version_get": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:version_get - Manual' && tests/manual_test.sh version_get && echo '-> [DONE] test:manual:apis:version_get - Manual\n'",
|
|
135
|
+
"test:manual:apis:usertoken_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:usertoken_postput - Manual' && tests/manual_test.sh usertoken_postput && echo '-> [DONE] test:manual:apis:usertoken_postput - Manual\n'",
|
|
136
|
+
"test:manual:apis:usertoken_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:usertoken_gethead - Manual' && tests/manual_test.sh usertoken_gethead && echo '-> [DONE] test:manual:apis:usertoken_gethead - Manual\n'",
|
|
137
|
+
"test:manual:apis:policy_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:policy_postput - Manual' && tests/manual_test.sh policy_postput && echo '-> [DONE] test:manual:apis:policy_postput - Manual\n'",
|
|
138
|
+
"test:manual:apis:policy_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:policy_gethead - Manual' && tests/manual_test.sh policy_gethead && echo '-> [DONE] test:manual:apis:policy_gethead - Manual\n'",
|
|
139
|
+
"test:manual:apis:policy_delete": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:policy_delete - Manual' && tests/manual_test.sh policy_delete && echo '-> [DONE] test:manual:apis:policy_delete - Manual\n'",
|
|
140
|
+
"test:manual:apis:resource_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:resource_postput - Manual' && tests/manual_test.sh resource_postput && echo '-> [DONE] test:manual:apis:resource_postput - Manual\n'",
|
|
141
|
+
"test:manual:apis:resource_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:resource_gethead - Manual' && tests/manual_test.sh resource_gethead && echo '-> [DONE] test:manual:apis:resource_gethead - Manual\n'",
|
|
142
|
+
"test:manual:apis:resource_delete": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:resource_delete - Manual' && tests/manual_test.sh resource_delete && echo '-> [DONE] test:manual:apis:resource_delete - Manual\n'",
|
|
143
|
+
"test:manual:apis:role_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:role_postput - Manual' && tests/manual_test.sh role_postput && echo '-> [DONE] test:manual:apis:role_postput - Manual\n'",
|
|
144
|
+
"test:manual:apis:role_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:role_gethead - Manual' && tests/manual_test.sh role_gethead && echo '-> [DONE] test:manual:apis:role_gethead - Manual\n'",
|
|
145
|
+
"test:manual:apis:role_delete": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:role_delete - Manual' && tests/manual_test.sh role_delete && echo '-> [DONE] test:manual:apis:role_delete - Manual\n'",
|
|
146
|
+
"test:manual:apis:tenant_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:tenant_postput - Manual' && tests/manual_test.sh tenant_postput && echo '-> [DONE] test:manual:apis:tenant_postput - Manual\n'",
|
|
147
|
+
"test:manual:apis:tenant_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:tenant_gethead - Manual' && tests/manual_test.sh tenant_gethead && echo '-> [DONE] test:manual:apis:tenant_gethead - Manual\n'",
|
|
148
|
+
"test:manual:apis:tenant_delete": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:tenant_delete - Manual' && tests/manual_test.sh tenant_delete && echo '-> [DONE] test:manual:apis:tenant_delete - Manual\n'",
|
|
149
|
+
"test:manual:apis:service_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:service_postput - Manual' && tests/manual_test.sh service_postput && echo '-> [DONE] test:manual:apis:service_postput - Manual\n'",
|
|
150
|
+
"test:manual:apis:service_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:service_gethead - Manual' && tests/manual_test.sh service_gethead && echo '-> [DONE] test:manual:apis:service_gethead - Manual\n'",
|
|
151
|
+
"test:manual:apis:service_delete": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:service_delete - Manual' && tests/manual_test.sh service_delete && echo '-> [DONE] test:manual:apis:service_delete - Manual\n'",
|
|
152
|
+
"test:manual:apis:acr_postput": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:acr_postput - Manual' && tests/manual_test.sh acr_postput && echo '-> [DONE] test:manual:apis:acr_postput - Manual\n'",
|
|
153
|
+
"test:manual:apis:acr_get": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:acr_get - Manual' && tests/manual_test.sh acr_get && echo '-> [DONE] test:manual:apis:acr_get - Manual\n'",
|
|
154
|
+
"test:manual:apis:acr_delete": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:acr_delete - Manual' && tests/manual_test.sh acr_delete && echo '-> [DONE] test:manual:apis:acr_delete - Manual\n'",
|
|
155
|
+
"test:manual:apis:list_gethead": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:list_gethead - Manual' && tests/manual_test.sh list_gethead && echo '-> [DONE] test:manual:apis:list_gethead - Manual\n'",
|
|
156
|
+
"test:manual:apis:userdata_get": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:userdata_get - Manual' && tests/manual_test.sh userdata_get && echo '-> [DONE] test:manual:apis:userdata_get - Manual\n'",
|
|
157
|
+
"test:manual:apis:extdata_get": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:extdata_get - Manual' && tests/manual_test.sh extdata_get && echo '-> [DONE] test:manual:apis:extdata_get - Manual\n'",
|
|
158
|
+
"test:manual:apis:allusertenant_get": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:allusertenant_get - Manual' && tests/manual_test.sh allusertenant_get && echo '-> [DONE] test:manual:apis:allusertenant_get - Manual\n'",
|
|
159
|
+
"test:manual:apis:k2hr3keys_get": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:apis:k2hr3keys_get - Manual' && tests/manual_test.sh k2hr3keys_get && echo '-> [DONE] test:manual:apis:k2hr3keys_get - Manual\n'",
|
|
160
|
+
"test:manual:load:k2hdkcdata:auto": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:load:k2hdkcdata:auto - Load test data automatically' && tests/k2hdkc_test_load.sh --for_auto_test && echo '-> [DONE] test:manual:load:k2hdkcdata:auto - Load test data automatically\n'",
|
|
161
|
+
"test:manual:load:k2hdkcdata:local": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:load:k2hdkcdata:local - Load test data to local' && tests/k2hdkc_test_load.sh --main 33348 --sub 37146 && echo '-> [DONE] test:manual:load:k2hdkcdata:local - Load test data to local\n'",
|
|
162
|
+
"test:manual:templengine": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:templengine - Test template engine' && tests/auto_template.sh && echo '-> [DONE] test:manual:templengine - Test template engine\n'",
|
|
163
|
+
"test:manual:templengine:async": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:manual:templengine:async - Test asynchronous template engine' && tests/auto_template.sh -a && echo '-> [DONE] test:manual:templengine:async - Test asynchronous template engine\n'"
|
|
133
164
|
},
|
|
134
165
|
"repository": {
|
|
135
166
|
"type": "git",
|
|
@@ -140,7 +171,7 @@
|
|
|
140
171
|
},
|
|
141
172
|
"bugs": {
|
|
142
173
|
"url": "https://github.com/yahoojapan/k2hr3_api/issues",
|
|
143
|
-
"email": "antpickax-support@
|
|
174
|
+
"email": "ml-antpickax-support@lycorp.co.jp"
|
|
144
175
|
},
|
|
145
176
|
"homepage": "https://k2hr3.antpick.ax/",
|
|
146
177
|
"keywords": [
|