-
Notifications
You must be signed in to change notification settings - Fork 26
Service status driven by configuration #231
Comments
Current implementation of Currently, edgex-cli do not integrate with Registry service nor with SMA. We should work in that direction |
Diana - thanks. I tried this and it does not appear to work. As an example, here is my configuration.toml jim@jim-ubuntu:~/forks/edgex-cli/res$ more configuration.toml yet here are the results Notice, for example the device virtual is not listed. And just for your info, here are the containers that are running |
Hi Jim @jpwhitemn , you updated |
During the installation it copies the "configuration.toml" from |
@difince - Diana ok, that's great! We should document that in the READMe because it does not indicate this feature and doesn't even come with a configuration file at the root. What if there is no configuration.toml? It seems to be operating on some default? |
@jpwhitemn , all this make me think that the We won't have this problem if we consider removing the installation as you suggested in an email:
|
I missed to answer : Yes, we should update the README file about this feature :) |
🚀 Feature Request
Somewhat related to #119 and #103
Description
The CLI tool currently has a command for service status: ./edgex-cli status
Could that status command provide me the status of all the services listed in a configuration file if not from Consul/Registry?
Describe the solution you'd like
Since I may be adding / removing all sorts of services when developing (device services, app services, etc.), the status command could be particularly useful to provide me a quick status check. It would be enriched even more if it included an ability to check on various infrastructure elements
In other words, drive the list of service / infrastructure status returned by something like the following toml
[Services]
[Service]
Name = Core-data
Host = 'localhost'
Port = '48080'
Path ="/v1/api/ping"
[Service]
Name = Core-metadata
Host = 'localhost'
Port = '48081'
Path ="/v1/api/ping"
[Service]
Name = Core-data
Host = 'localhost'
Port = '48080'
Path ="/v1/api/ping"
[Infrastructure]
Name = RedisDB Server
Command ="redis-cli ping"
Describe alternatives you've considered
If you have integrated to SMA, the SMA could be called to provide the status of EdgeX services.
May not be as helpful in development environments where SMA is not always running and you want a quick check of what is working/up.
The text was updated successfully, but these errors were encountered: