Implementation of status notification mechanism 55/127455/2 0.10.0
authorLukasz Rajewski <lukasz.rajewski@orange.com>
Tue, 15 Feb 2022 21:39:37 +0000 (22:39 +0100)
committerLukasz Rajewski <lukasz.rajewski@orange.com>
Wed, 2 Mar 2022 21:46:03 +0000 (22:46 +0100)
commit5b18db4fc784763402e0898bf5e996886279347e
tree984a315638e1ef87841144fbb6a7e56484ffd12c
parenta73b42b9c3877f1a34939d85941482f7f5c44db9
Implementation of status notification mechanism

- Subscription CRUD endpoints
- Subscription notifu executor
- Cleanup of subscriptions on instance delete
- Sending notification to the specified callback

Issue-ID: MULTICLOUD-1445
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I5b867a348e916f6c2c471bcc5326c831d832f45e
12 files changed:
src/k8splugin/api/api.go
src/k8splugin/api/brokerhandler_test.go
src/k8splugin/api/defhandler_test.go
src/k8splugin/api/healthcheckhandler_test.go
src/k8splugin/api/instancehandler.go
src/k8splugin/api/instancehandler_test.go
src/k8splugin/api/profilehandler_test.go
src/k8splugin/api/statussubhandler.go [new file with mode: 0644]
src/k8splugin/cmd/main.go
src/k8splugin/internal/app/client.go
src/k8splugin/internal/app/instance.go
src/k8splugin/internal/app/subscription.go [new file with mode: 0644]