Submgr REST subscriptions in SDL Database 13/6313/2
authorKonstantinos Archangelof <konstantinos.archangelof@nokia.com>
Mon, 14 Jun 2021 09:24:00 +0000 (12:24 +0300)
committerKonstantinos Archangelof <konstantinos.archangelof@nokia.com>
Mon, 14 Jun 2021 09:52:37 +0000 (12:52 +0300)
commit268d715e3bceab8f7955d89945141efdb2c3b368
treeb618e30a63d9887634f11dbe4289389e1fa097e5
parentf0835e8ca1ca3e526132d317a9ae849103a0d6db
Submgr REST subscriptions in SDL Database
   * renamed sdl.go  to sdl_e2SubsDb.go
   * renamed sdl_test.go to sdl_e2SubsDb_test.go
   * New file sdl_restSubsDb.go implements the SDL API for the REST Subscriptions
   * New file sdl_restSubsDb_test.go implements unittests for the SDL API for the REST Subscriptions
   * New db restSubsDb defined under Control object in submgr to hold the SDL DB data structure
   * SDL API for the REST Subscriptions is called from submgr code.

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I447da9030aba2a582e38d24ef86722894d0c41e1
pkg/control/control.go
pkg/control/registry.go
pkg/control/sdl_e2SubsDb.go [moved from pkg/control/sdl.go with 88% similarity]
pkg/control/sdl_e2SubsDb_test.go [moved from pkg/control/sdl_test.go with 98% similarity]
pkg/control/sdl_restSubsDb.go [new file with mode: 0644]
pkg/control/sdl_restSubsDb_test.go [new file with mode: 0644]
pkg/control/ut_ctrl_submgr_test.go