UNPKG

k2hr3-api

Version:

K2HR3 REST API is K2hdkc based Resource and Roles and policy Rules

200 lines (199 loc) 28.6 kB
{ "name": "k2hr3-api", "version": "2.0.1", "description": "K2HR3 REST API is K2hdkc based Resource and Roles and policy Rules", "main": "dist/app.js", "dependencies": { "@kubernetes/client-node": "^1.4.0", "body-parser": "^2.2.2", "config": "^4.4.1", "cookie-parser": "~1.4.7", "dateformat": "^5.0.3", "debug": "~4.4.3", "express": "^5.2.1", "jose": "^6.2.2", "k2hdkc": "^2.0.4", "morgan": "~1.10.1", "rotating-file-stream": "^3.2.9" }, "directories": { "config": "config", "bin": "dist/src/bin", "lib": "dist/src/lib", "routes": "dist/src/routes" }, "files": [ "dist/", "!dist/tests/", "!dist/src/log/", "config/", "README.md", "LICENSE" ], "bin": { "k2hr3-api": "dist/src/bin/www.js", "k2hr3-watcher": "dist/src/bin/watcher.js" }, "devDependencies": { "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^10.0.1", "@types/body-parser": "^1.19.6", "@types/chai": "^5.2.3", "@types/config": "^4.4.0", "@types/cookie-parser": "^1.4.10", "@types/dateformat": "^5.0.3", "@types/debug": "^4.1.13", "@types/express": "^5.0.6", "@types/mocha": "^10.0.10", "@types/morgan": "^1.9.10", "@types/node": "^25.6.0", "@typescript-eslint/eslint-plugin": "^8.59.0", "@typescript-eslint/parser": "^8.59.0", "chai": "^6.2.2", "chai-http": "^5.1.2", "eslint": "^10.2.1", "globals": "^17.5.0", "mocha": "^11.7.5", "nyc": "^18.0.0", "typescript": "^5.9.3" }, "scripts": { "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'", "build": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build' && npm run build:all && echo '-> [DONE] build\n'", "build:all": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:all' && tsc && npm run build:copyfiles && echo '-> [DONE] build:all\n'", "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'", "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", "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'", "start": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start' && npm run start:production && echo '-> [DONE] start\n'", "start:prod": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod' && npm run start:production && echo '-> [DONE] start:prod\n'", "start:production": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:production' && dist/src/bin/run.sh -bg --production && echo '-> [DONE] start:production\n'", "start:prod:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:dbg' && npm run start:prod:debug && echo '-> [DONE] start:prod:dbg\n'", "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'", "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'", "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'", "start:dev": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev' && npm run start:develop && echo '-> [DONE] start:dev\n'", "start:develop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:develop' && dist/src/bin/run.sh -bg --development && echo '-> [DONE] start:develop\n'", "start:dev:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:dbg' && npm run start:dev:debug && echo '-> [DONE] start:dev:dbg\n'", "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'", "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'", "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'", "start:watcher:prod": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:prod' && npm run start:watcher:production && echo '-> [DONE] start:watcher:prod\n'", "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'", "start:watcher:dev": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:dev' && npm run start:watcher:develop && echo '-> [DONE] start:watcher:dev\n'", "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'", "start:watcher:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:watcher:dbg' && npm run start:watcher:debug && echo '-> [DONE] start:watcher:dbg\n'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "stop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] stop' && dist/src/bin/run.sh --stop && echo '-> [DONE] stop\n'", "stop:watcher": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] stop:watcher' && dist/src/bin/run.sh --stop --watcher && echo '-> [DONE] stop:watcher\n'", "test": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test' && npm run test:cover && echo '-> [DONE] test\n'", "test:lint": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:lint' && npm run test:lint:all && echo '-> [DONE] test:lint\n'", "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'", "test:lint:files": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:lint:files <file>' && eslint --ext .ts", "test:checktypes": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:checktype' && tsc --noEmit && echo '-> [DONE] test:checktype\n'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'", "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'" }, "repository": { "type": "git", "url": "git@github.com:yahoojapan/k2hr3_api.git" }, "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/yahoojapan/k2hr3_api/issues", "email": "ml-antpickax-support@lycorp.co.jp" }, "homepage": "https://k2hr3.antpick.ax/", "keywords": [ "K2HR3", "RBAC", "K2HASH", "K2HDKC", "CHMPX", "ROLE", "POLICY", "RULE", "RESOURCE", "express", "ejs", "webpack", "babel" ], "author": [ "Takeshi Nakatani <ggtakec@gmail.com> (https://github.com/ggtakec)" ], "contributors": [ "Hirotaka Wakabayashi <hiwakaba@lycorp.co.jp> (https://github.com/hiwakaba)" ], "license": "MIT" }