Modify sme invoker to discover the endpoints by itself
[nonrtric.git] / sample-services / hello-world-sme-invoker / README.md
1 # Hello World Sme Invoker Service\r
2 \r
3 This repository contains a Spring Boot application serving as Hello World SME invoker application.\r
4 The application can be built and run using the provided script - ``hello-world-sme-invoker-build-start.sh``.\r
5 \r
6 ## Prerequisites\r
7 \r
8 - Docker installed on your machine.\r
9 \r
10 ## Building and Running the Application\r
11 Run the script:\r
12 \r
13 ```bash\r
14   ./hello-world-sme-invoker-build-start.sh\r
15 ```\r
16 \r
17 The script will build a Docker image and run a container with the Hello World SME service. After the container starts,\r
18 wait for a few seconds to ensure the Spring Boot application is fully initialized. Next, it will make an HTTP request to the\r
19 Hello World SME endpoint on the interval of 5 seconds and displays the response:\r
20 \r
21 To stop and remove the Docker container:\r
22 \r
23 ```bash\r
24   docker stop hello-world-sme-invoker\r
25   docker rm hello-world-sme-invoker\r
26 ```\r
27 \r