Add basic application framework and example application to show interaction between events an NBI
Compare changes
- André Sterba authored
+ 133
− 35
@@ -2,7 +2,6 @@ package server
@@ -2,7 +2,6 @@ package server
@@ -14,14 +13,12 @@ import (
@@ -14,14 +13,12 @@ import (
@@ -42,32 +39,59 @@ var mockPnd *mocks.NetworkDomain
@@ -42,32 +39,59 @@ var mockPnd *mocks.NetworkDomain
@@ -84,14 +108,14 @@ func TestMain(m *testing.M) {
@@ -84,14 +108,14 @@ func TestMain(m *testing.M) {
@@ -115,21 +139,96 @@ func TestMain(m *testing.M) {
@@ -115,21 +139,96 @@ func TestMain(m *testing.M) {
mockPnd.On("ChangeOND", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(uuid.Nil, nil)
@@ -165,10 +264,9 @@ func Test_pnd_Get(t *testing.T) {
@@ -165,10 +264,9 @@ func Test_pnd_Get(t *testing.T) {
@@ -184,6 +282,8 @@ func Test_pnd_Get(t *testing.T) {
@@ -184,6 +282,8 @@ func Test_pnd_Get(t *testing.T) {
@@ -209,9 +309,9 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -209,9 +309,9 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -247,9 +347,9 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -247,9 +347,9 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -279,9 +379,9 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -279,9 +379,9 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -290,9 +390,7 @@ func Test_pnd_GetPath(t *testing.T) {
@@ -290,9 +390,7 @@ func Test_pnd_GetPath(t *testing.T) {