amalto / platform6-client-nodejs

:sparkles: Platform 6 Node.js client
MIT License
0 stars 0 forks source link

A developer should be warned if a service with the same id is already deployed on the instance #7

Closed roxanemace closed 6 years ago

roxanemace commented 6 years ago

The developer should receive an error from the instance if the deployed service already exists.

roxanemace commented 6 years ago

Fix: the deployment property node.id should not be a random string, but the instance's id.

roxanemace commented 6 years ago

It should be the host id or the Hazelcast client node's id.

roxanemace commented 6 years ago

The problem is not the node's id value, it's because the service is not properly killed. I should send a common message undeploy to the PlatformManager when I kill the running service.