beckn / beckn-onix

beckn onix
MIT License
37 stars 18 forks source link

Provide an option during install to update components #189

Open vbabuEM opened 1 month ago

vbabuEM commented 1 month ago

Problem Currently there is no option presented in Beckn-ONIX installation flow to update the software, while keeping the existing configuration intact. What we do to update components is to run the script again. However, when we do that, the script asks us again for registry, subscriber, webhook info etc. Basically we have to provide the same values as in the config file, but its possible that during this process the user might have typos etc. Additionally the installation also creates a new key pair. And due to an existing issue in Registry, this key pair update does not happen. The user has to manually update the public key in the registry.

Solution All these above problems can be solved if there is a way to update software, while keeping existing configuration intact.