-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
67 lines (67 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
{
"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 \"AZ,AD,AC,DC,ZO,CS,AG\" -c cyan,yellow,white,blue,green,orange,red npm:zaas-service npm:discovery-service npm:api-catalog-service npm:discoverable-client npm:mock-services npm:caching-service npm:gateway-service",
"api-layer-ci": "concurrently --names \"AZ,AD,AC,DC,ZO,CS,NS,AG\" -c cyan,yellow,white,blue,green,red,orange,brown npm:zaas-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 npm:gateway-service",
"api-layer-core": "concurrently --names \"AZ,AD,AC,AG\" -c cyan,yellow,white npm:zaas-service npm:discovery-service npm:api-catalog-service npm:gateway-service",
"api-layer-thin": "concurrently --names \"AZ,AD,AC,DC,ZO,CS,AG\" -c cyan,yellow,white,blue,green,orange,red npm:zaas-service-thin npm:discovery-service-thin npm:api-catalog-service-thin npm:discoverable-client npm:mock-services npm:caching-service npm:gateway-service",
"api-layer-without-gateway": "concurrently --names \"AD,AC,DC\" -c yellow,white,blue npm:discovery-service npm:api-catalog-service npm:discoverable-client",
"api-layer-without-discovery": "concurrently --names \"AZ,AG,GW,AC,DC\" -c red,cyan,yellow,white,blue npm:gateway-service npm:zaas-service npm:gateway-service npm:api-catalog-service npm:discoverable-client",
"api-layer-without-catalog": "concurrently --names \"ZO,AZ,AG,DS,DC\" -c white,cyan,yellow,blue,red npm:mock-services npm:zaas-service npm:gateway-service npm:discovery-service npm:discoverable-client",
"caching-service": "java $npm_package_config_jvmArgs -jar caching-service/build/libs/caching-service.jar",
"zaas-service": "java $npm_package_config_jvmArgs -javaagent:scripts/jacocoagent.jar=includes=org.zowe.*,output=tcpserver,address=*,port=6301 -jar zaas-service/build/libs/zaas-service.jar --spring.config.additional-location=file:./config/local/zaas-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"zaas-service-ci": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar zaas-service/build/libs/zaas-service-lite.jar --spring.config.additional-location=file:./config/local/zaas-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true --spring.profiles.include=diag --apiml.security.x509.enabled=true",
"zaas-service-thin": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar zaas-service/build/libs/zaas-service-lite.jar --spring.config.additional-location=file:./config/local/zaas-service.yml --apiml.security.ssl.verifySslCertificatesOfServices=true",
"zaas-service-debug": "java $npm_package_config_jvmArgs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=5010,suspend=y -jar zaas-service/build/libs/zaas-service.jar --spring.config.additional-location=file:./config/local/zaas-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",
"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",
"//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:zaas-service-1 npm:zaas-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",
"zaas-service-1": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar zaas-service/build/libs/zaas-service-lite.jar --spring.config.additional-location=file:./config/local-multi/zaas-service-1.yml",
"zaas-service-2": "java $npm_package_config_jvmArgs -Dloader.path=build/libs/api-layer-lite-lib-all.jar -jar zaas-service/build/libs/zaas-service-lite.jar --spring.config.additional-location=file:./config/local-multi/zaas-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",
"devDependencies": {
"concurrently": "9.1.0"
}
}