tree: ab49a195b9f6dd36791d76ec14e8239c91def5ac [path history] [tgz]
  1. hello-world-sme-invoker/
  2. src/
  3. .gitignore
  4. build.sh
  5. container-tag.yaml
  6. docker-compose.yml
  7. Dockerfile
  8. hello-world-sme-invoker-build-start.sh
  9. pom.xml
  10. README.md
sample-services/hello-world-sme-invoker/README.md

Hello World Sme Invoker Service

This repository contains a Spring Boot application serving as Hello World SME invoker application. The application can be built and run using the provided script - hello-world-sme-invoker-build-start.sh.

Prerequisites

  • Docker installed on your machine.

Building and Running the Application

Run the script:

  ./hello-world-sme-invoker-build-start.sh

The script will build a Docker image and run a container with the Hello World SME service. After the container starts, wait for a few seconds to ensure the Spring Boot application is fully initialized. Next, it will make an HTTP request to the Hello World SME endpoint on the interval of 5 seconds and displays the response:

To stop and remove the Docker container:

  docker stop hello-world-sme-invoker
  docker rm hello-world-sme-invoker