This is an automated email from the ASF dual-hosted git repository. rantunes pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools-temporary-rnd-do-not-use.git
commit a34d0b5c9e5db6f75a8398aa89ad16ff26663b0c Author: Wagner Scholl Lemos <[email protected]> AuthorDate: Fri Nov 10 12:15:15 2023 -0300 NO-ISSUE: `start` script on `extended-services-java` should not require Docker (#2043) --- packages/extended-services-java/README.md | 4 ++-- packages/extended-services-java/env/index.js | 2 +- .../extended-services-java/src/main/resources/application.properties | 1 + packages/kie-sandbox-extended-services-image/Containerfile | 5 ----- packages/kie-sandbox-extended-services-image/README.md | 2 ++ 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/extended-services-java/README.md b/packages/extended-services-java/README.md index f1a9629577..c809e2c0ca 100644 --- a/packages/extended-services-java/README.md +++ b/packages/extended-services-java/README.md @@ -11,8 +11,8 @@ You can run it on developement mode: ## Parameters -<!-- - `-Dquarkus.http.host=<HOST>`: Sets the Quarkus app host, the default value is `0.0.0.0`. -- `-Dquarkus.http.port=<PORT_NUMBER>`: Sets the Quarkus app port, the default value is `21345`. --> +- `-Dquarkus.http.host=<HOST>` : Sets the Quarkus app host, the default value is `0.0.0.0`. +- `-Dquarkus.http.port=<PORT_NUMBER>` : Sets the Quarkus app port, the default value is `21345`. ### API diff --git a/packages/extended-services-java/env/index.js b/packages/extended-services-java/env/index.js index 9100cc450a..b53ded06d1 100644 --- a/packages/extended-services-java/env/index.js +++ b/packages/extended-services-java/env/index.js @@ -24,7 +24,7 @@ module.exports = composeEnv([require("@kie-tools/root-env/env")], { EXTENDED_SERVICES_JAVA__host: { default: "0.0.0.0", description: - "Quarkus HTTP Host. Configures the IP address or host to which a Quarkus application binds for incoming HTTP requests,", + "Quarkus HTTP Host. Configures the IP address or host to which a Quarkus application binds for incoming HTTP requests.", }, EXTENDED_SERVICES_JAVA__port: { default: "21345", diff --git a/packages/extended-services-java/src/main/resources/application.properties b/packages/extended-services-java/src/main/resources/application.properties index 180d2b6563..bc24fbe352 100644 --- a/packages/extended-services-java/src/main/resources/application.properties +++ b/packages/extended-services-java/src/main/resources/application.properties @@ -17,5 +17,6 @@ quarkus.http.cors=true quarkus.http.cors.origins=/.*/ +quarkus.devservices.enabled=false extendedServicesJava.version=${project.version} \ No newline at end of file diff --git a/packages/kie-sandbox-extended-services-image/Containerfile b/packages/kie-sandbox-extended-services-image/Containerfile index 7912315e4b..c56b32f831 100644 --- a/packages/kie-sandbox-extended-services-image/Containerfile +++ b/packages/kie-sandbox-extended-services-image/Containerfile @@ -23,11 +23,6 @@ ARG EXTENDED_SERVICES_DEFAULT_PORT ENV EXTENDED_SERVICES_HOST=$EXTENDED_SERVICES_DEFAULT_HOST ENV EXTENDED_SERVICES_PORT=$EXTENDED_SERVICES_DEFAULT_PORT -RUN echo EXTENDED_SERVICES_DEFAULT_HOST: $EXTENDED_SERVICES_DEFAULT_HOST -RUN echo EXTENDED_SERVICES_DEFAULT_PORT: $EXTENDED_SERVICES_DEFAULT_PORT -RUN echo EXTENDED_SERVICES_HOST: $EXTENDED_SERVICES_HOST -RUN echo EXTENDED_SERVICES_PORT: $EXTENDED_SERVICES_PORT - RUN mkdir kie-sandbox COPY --chown=1000:0 dist-dev/kie_sandbox_extended_services /kie-sandbox/kie_sandbox_extended_services diff --git a/packages/kie-sandbox-extended-services-image/README.md b/packages/kie-sandbox-extended-services-image/README.md index 9a9666b860..8eb3353978 100644 --- a/packages/kie-sandbox-extended-services-image/README.md +++ b/packages/kie-sandbox-extended-services-image/README.md @@ -61,8 +61,10 @@ The service will be up at http://localhost:21345 If you need to change port or Host/IP, use the following parameters: +```bash EXTENDED_SERVICES_HOST (Defaults to 0.0.0.0) EXTENDED_SERVICES_PORT (Defaults to 21345) +``` For example: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
