Loading data/.gitignore 0 → 100644 +1 −0 Original line number Diff line number Diff line *.xml manifests/contextservice.yaml +0 −4 Original line number Diff line number Diff line Loading @@ -81,10 +81,6 @@ spec: selector: app: contextservice ports: - name: grpc protocol: TCP port: 1010 targetPort: 1010 - name: http protocol: TCP port: 8080 Loading manifests/deviceservice.yaml +0 −4 Original line number Diff line number Diff line Loading @@ -19,10 +19,6 @@ spec: ports: - containerPort: 2020 env: - name: DB_ENGINE value: "redis" - name: REDIS_DATABASE_ID value: "0" - name: LOG_LEVEL value: "DEBUG" readinessProbe: Loading proto/context.proto +3 −0 Original line number Diff line number Diff line syntax = "proto3"; package context; //import "kpi_sample_types.proto"; service ContextService { rpc ListContextIds (Empty ) returns ( ContextIdList ) {} rpc ListContexts (Empty ) returns ( ContextList ) {} Loading Loading @@ -241,6 +243,7 @@ message EndPointId { message EndPoint { EndPointId endpoint_id = 1; string endpoint_type = 2; //repeated kpi_sample_types.KpiSampleType kpi_sample_types = 3; } Loading proto/device.proto +13 −4 Original line number Diff line number Diff line Loading @@ -2,10 +2,19 @@ syntax = "proto3"; package device; import "context.proto"; //import "monitoring.proto"; service DeviceService { rpc AddDevice (context.Device ) returns (context.DeviceId ) {} rpc ConfigureDevice (context.Device ) returns (context.DeviceId ) {} rpc DeleteDevice (context.DeviceId ) returns (context.Empty ) {} rpc GetInitialConfig(context.DeviceId ) returns (context.DeviceConfig) {} //rpc MonitorDeviceKpi(MonitoringSettings) returns (context.Empty ) {} } //message MonitoringSettings { // monitoring.KpiId kpi_id = 1; // monitoring.KpiDescriptor kpi_descriptor = 2; // float sampling_duration_s = 3; // float sampling_interval_s = 4; //} Loading
manifests/contextservice.yaml +0 −4 Original line number Diff line number Diff line Loading @@ -81,10 +81,6 @@ spec: selector: app: contextservice ports: - name: grpc protocol: TCP port: 1010 targetPort: 1010 - name: http protocol: TCP port: 8080 Loading
manifests/deviceservice.yaml +0 −4 Original line number Diff line number Diff line Loading @@ -19,10 +19,6 @@ spec: ports: - containerPort: 2020 env: - name: DB_ENGINE value: "redis" - name: REDIS_DATABASE_ID value: "0" - name: LOG_LEVEL value: "DEBUG" readinessProbe: Loading
proto/context.proto +3 −0 Original line number Diff line number Diff line syntax = "proto3"; package context; //import "kpi_sample_types.proto"; service ContextService { rpc ListContextIds (Empty ) returns ( ContextIdList ) {} rpc ListContexts (Empty ) returns ( ContextList ) {} Loading Loading @@ -241,6 +243,7 @@ message EndPointId { message EndPoint { EndPointId endpoint_id = 1; string endpoint_type = 2; //repeated kpi_sample_types.KpiSampleType kpi_sample_types = 3; } Loading
proto/device.proto +13 −4 Original line number Diff line number Diff line Loading @@ -2,10 +2,19 @@ syntax = "proto3"; package device; import "context.proto"; //import "monitoring.proto"; service DeviceService { rpc AddDevice (context.Device ) returns (context.DeviceId ) {} rpc ConfigureDevice (context.Device ) returns (context.DeviceId ) {} rpc DeleteDevice (context.DeviceId ) returns (context.Empty ) {} rpc GetInitialConfig(context.DeviceId ) returns (context.DeviceConfig) {} //rpc MonitorDeviceKpi(MonitoringSettings) returns (context.Empty ) {} } //message MonitoringSettings { // monitoring.KpiId kpi_id = 1; // monitoring.KpiDescriptor kpi_descriptor = 2; // float sampling_duration_s = 3; // float sampling_interval_s = 4; //}