forked from zowe/api-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 10.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "api-layer",
"version": "3.0.0",
"description": "Zowe API Mediation Layer",
"directories": {
"doc": "docs"
},
"config": {
"jvmArgs": "--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.nio.channels.spi=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/javax.net.ssl=ALL-UNNAMED"
},
"scripts": {
"api-layer": "concurrently --names \"GS,DS,AC,DC,ZO,CS,CG\" -c cyan,yellow,white,blue,green npm:gateway-service npm:discovery-service npm:api-catalog-service npm:discoverable-client npm:mock-services npm:caching-service npm:cloud-gateway",
"api-layer-ci": "concurrently --names \"GS,DS,AC,DC,ZO,CS,NS\" -c cyan,yellow,white,blue,green,red npm:gateway-service-thin npm:discovery-service-thin npm:api-catalog-service-thin npm:discoverable-client npm:mock-services npm:caching-service npm:onboarding-enabler-nodejs-sample-app",
"api-layer-core": "concurrently --names \"GW,DS,AC\" -c cyan,yellow,white npm:gateway-service npm:discovery-service npm:api-catalog-service",
"api-layer-thin": "concurrently --names \"GW,DS,AC,DC,ZO,CS\" -c cyan,yellow,white,blue,green npm:gateway-service-thin npm:discovery-service-thin npm:api-catalog-service-thin npm:discoverable-client npm:mock-services npm:caching-service",
"api-layer-without-gateway": "concurrently --names \"DS,AC,DC\" -c yellow,white,blue npm:discovery-service npm:api-catalog-service npm:discoverable-client",
"api-layer-without-discovery": "concurrently --names \"GW,AC,DC\" -c cyan,white,blue npm:gateway-service npm:api-catalog-service npm:discoverable-client",
"api-layer-without-catalog": "concurrently --names \"GW,DS,DC\" -c cyan,yellow,blue npm:gateway-service npm:discovery-service npm:discoverable-client",
"caching-service": "java $npm_package_config_jvmArgs -jar caching-service/build/libs/caching-service.jar",
"gateway-service": "java $npm_package_config_jvmArgs -javaagent:scripts/jacocoagent.jar=includes=org.zowe.*,output=tcpserver,address=*,port=6300 -jar gateway-service/build/libs/gateway-service.jar --spring.config.additional-location=file:./config/local/gateway-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"gateway-service-ci": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar gateway-service/build/libs/gateway-service-lite.jar --spring.config.additional-location=file:./config/local/gateway-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true --spring.profiles.include=diag --apiml.security.x509.enabled=true",
"gateway-service-thin": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar gateway-service/build/libs/gateway-service-lite.jar --spring.config.additional-location=file:./config/local/gateway-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"gateway-service-debug": "java $npm_package_config_jvmArgs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5010,suspend=y -jar gateway-service/build/libs/gateway-service.jar --spring.config.additional-location=file:./config/local/gateway-service.yml",
"discovery-service-thin": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar discovery-service/build/libs/discovery-service-lite.jar --spring.profiles.active=https --spring.config.additional-location=file:./config/local/discovery-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"discovery-service": "java $npm_package_config_jvmArgs -jar discovery-service/build/libs/discovery-service.jar --spring.profiles.active=https --spring.config.additional-location=file:./config/local/discovery-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"discovery-service-debug": "java $npm_package_config_jvmArgs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5001,suspend=n -jar discovery-service/build/libs/discovery-service.jar --spring.profiles.active=https --spring.config.additional-location=file:./config/local/discovery-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"discovery-service-http": "java $npm_package_config_jvmArgs -jar discovery-service/build/libs/discovery-service.jar --spring.profiles.active=http --spring.config.additional-location=file:./config/local/discovery-service.yml",
"api-catalog-service": "java $npm_package_config_jvmArgs -jar api-catalog-services/build/libs/api-catalog-services.jar --spring.config.additional-location=file:./config/local/api-catalog-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"api-catalog-service-thin": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar api-catalog-services/build/libs/api-catalog-services-lite.jar --spring.config.additional-location=file:./config/local/api-catalog-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"api-catalog-service-debug": "java $npm_package_config_jvmArgs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5014,suspend=n -jar api-catalog-services/build/libs/api-catalog-services.jar --spring.config.additional-location=file:./config/local/api-catalog-service.yml",
"cloud-gateway": "java $npm_package_config_jvmArgs -javaagent:scripts/jacocoagent.jar=includes=org.zowe.*,output=tcpserver,address=*,port=6301 -jar cloud-gateway-service/build/libs/cloud-gateway-service.jar --spring.config.additional-location=file:./config/local/cloud-gateway-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"//1": "For api-catalog-service-standalone, api-catalog-ui needs to be built for standalone mode. See README in catalog-ui for further details",
"api-catalog-service-standalone": "java $npm_package_config_jvmArgs -jar api-catalog-services/build/libs/api-catalog-services.jar --spring.profiles.active=standalone --spring.config.additional-location=file:./config/local/api-catalog-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"discoverable-client": "java $npm_package_config_jvmArgs -jar discoverable-client/build/libs/discoverable-client.jar --spring.config.additional-location=file:./config/local/discoverable-client.yml",
"discoverable-client-debug": "java $npm_package_config_jvmArgs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5012,suspend=n -jar discoverable-client/build/libs/discoverable-client.jar --spring.config.additional-location=file:./config/local/discoverable-client.yml",
"onboarding-enabler-spring-v1-sample-app": "java $npm_package_config_jvmArgs -jar onboarding-enabler-spring-sample-app/build/libs/enabler-springboot-2.3.9.RELEASE-sample.jar --spring.config.location=classpath:/,file:./config/local/onboarding-enabler-spring-sample-app.yml",
"onboarding-enabler-nodejs-sample-app": "cd onboarding-enabler-nodejs-sample-app && npm start",
"api-layer-multi": "concurrently --names \"GS1,GS2,DS1,DS2,AC1,AC2,DC1,ZM\" -c cyan,red,yellow,green,white,blue,orange npm:gateway-service-1 npm:gateway-service-2 npm:discovery-service-1 npm:discovery-service-2 npm:api-catalog-service-1 npm:api-catalog-service-2 npm:discoverable-client-1 npm:mock-services-1",
"gateway-service-1": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar gateway-service/build/libs/gateway-service-lite.jar --spring.config.additional-location=file:./config/local-multi/gateway-service-1.yml",
"gateway-service-2": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar gateway-service/build/libs/gateway-service-lite.jar --spring.config.additional-location=file:./config/local-multi/gateway-service-2.yml",
"discovery-service-1": "java $npm_package_config_jvmArgs -jar discovery-service/build/libs/discovery-service.jar --spring.profiles.active=https --spring.config.additional-location=file:./config/local-multi/discovery-service-1.yml",
"discovery-service-2": "java $npm_package_config_jvmArgs -jar discovery-service/build/libs/discovery-service.jar --spring.profiles.active=https --spring.config.additional-location=file:./config/local-multi/discovery-service-2.yml",
"discovery-service-1-debug": "java $npm_package_config_jvmArgs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5010,suspend=n -jar discovery-service/build/libs/discovery-service.jar --spring.profiles.active=https --spring.config.additional-location=file:./config/local-multi/discovery-service-1.yml",
"api-catalog-service-1": "java $npm_package_config_jvmArgs -jar api-catalog-services/build/libs/api-catalog-services.jar --spring.config.additional-location=file:./config/local-multi/api-catalog-service-1.yml",
"api-catalog-service-2": "java $npm_package_config_jvmArgs -jar api-catalog-services/build/libs/api-catalog-services.jar --spring.config.additional-location=file:./config/local-multi/api-catalog-service-2.yml",
"discoverable-client-1": "java $npm_package_config_jvmArgs -jar discoverable-client/build/libs/discoverable-client.jar --spring.config.additional-location=file:./config/local-multi/discoverable-client.yml",
"mock-services": "java $npm_package_config_jvmArgs -jar mock-services/build/libs/mock-services.jar --spring.config.additional-location=file:./config/local/mock-services.yml",
"mock-services-1": "java $npm_package_config_jvmArgs -jar mock-services/build/libs/mock-services.jar --spring.config.additional-location=file:./config/local-multi/mock-services.yml",
"test": "./gradlew runAllIntegrationTests",
"test:local": "./gradlew runLocalIntegrationTests",
"//2": "echo \"for windows: to install sudo, run chocolatey.exe install sudo\"",
"register-certificates-win": "echo \"for windows: to install sudo, run chocolatey.exe install sudo\" & sudo . cmd /C \"certutil -enterprise -delstore Root \"Zowe Development Instances Certificate Authority\" & certutil -enterprise -f -v -AddStore Root \"keystore/local_ca/localca.cer\" || pause\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/zowe/api-layer.git"
},
"author": "",
"license": "EPL-2.0",
"bugs": {
"url": "https://github.com/zowe/api-layer/issues"
},
"homepage": "https://github.com/zowe/api-layer#readme",
"dependencies": {},
"devDependencies": {
"concurrently": "6.0.0"
}
}