Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 612 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 612 Bytes

coc-truck.gps-mon

Simulated GPS sensor monitoring service for IEAM demos.

This service simulates a GPS reading, and computes the current direction and speed. All data is randomly generated.

Only the log is updated with the information.

docker login 

docker build -t ibmicpcoc/coc-truck.gps-mon_amd64:1.0.0 .

hzn exchange service publish -O -f svc_def.json

hzn exchange service addpolicy --json-file=svc_policy.json coc-truck.gps-mon_1.0.0_amd64

# -----

hzn exchange business addpolicy --json-file=bus_policy.json coc-truck.gps-mon_1.0.0

# -----

hzn service log coc-truck.gps.mon