Sample service is a basic hello-world application that is used by the EdgeX DevOps working group for build automation / validation of Jenkins Pipelines.
The base functionality is derived from the ‘device-random’ service. This is a working service that will generate a random int8 value when queried.
The command endpoint for ‘GenerateRandomValue_Int8’ will be displayed and can be directly accessed. Take note that edge-core-command should be replaced by ‘localhost’ if you are running locally and the ‘‘ fields are unique to your instance of EdgeX.
sample-service
Not for production use
Sample service is a basic hello-world application that is used by the EdgeX DevOps working group for build automation / validation of Jenkins Pipelines.
The base functionality is derived from the ‘device-random’ service. This is a working service that will generate a random int8 value when queried.
Get an edgeX docker-compose from developer-scripts
To start the sample-service:
Confirm the service
edgexfoundry/docker-sample-service-gois running:To access the API endpoints, in a webbrowser, CURL or POSTMAN,
The command endpoint for ‘GenerateRandomValue_Int8’ will be displayed and can be directly accessed. Take note that
edge-core-commandshould be replaced by ‘localhost’ if you are running locally and the ‘‘ fields are unique to your instance of EdgeX.Useful References:
edgex-examples
device-random