Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
12d224a1
Commit
12d224a1
authored
9 months ago
by
Waleed Akbar
Browse files
Options
Downloads
Patches
Plain Diff
cleanup for merge
parent
f0a20b9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!207
Resolve "(CTTC) Separation of Monitoring"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/kpi_value_apiservice.yaml
+1
-1
1 addition, 1 deletion
manifests/kpi_value_apiservice.yaml
manifests/kpi_value_writerservice.yaml
+1
-1
1 addition, 1 deletion
manifests/kpi_value_writerservice.yaml
src/kpi_manager/service/__main__.py
+2
-8
2 additions, 8 deletions
src/kpi_manager/service/__main__.py
with
4 additions
and
10 deletions
manifests/kpi_value_apiservice.yaml
+
1
−
1
View file @
12d224a1
...
@@ -31,7 +31,7 @@ spec:
...
@@ -31,7 +31,7 @@ spec:
terminationGracePeriodSeconds
:
5
terminationGracePeriodSeconds
:
5
containers
:
containers
:
-
name
:
server
-
name
:
server
image
:
labs.etsi.org:5050/tfs/controller/kpi_
manager
:latest
image
:
labs.etsi.org:5050/tfs/controller/kpi_
value_api
:latest
imagePullPolicy
:
Always
imagePullPolicy
:
Always
ports
:
ports
:
-
containerPort
:
30020
-
containerPort
:
30020
...
...
This diff is collapsed.
Click to expand it.
manifests/kpi_value_writerservice.yaml
+
1
−
1
View file @
12d224a1
...
@@ -31,7 +31,7 @@ spec:
...
@@ -31,7 +31,7 @@ spec:
terminationGracePeriodSeconds
:
5
terminationGracePeriodSeconds
:
5
containers
:
containers
:
-
name
:
server
-
name
:
server
image
:
labs.etsi.org:5050/tfs/controller/kpi_
manag
er:latest
image
:
labs.etsi.org:5050/tfs/controller/kpi_
value_writ
er:latest
imagePullPolicy
:
Always
imagePullPolicy
:
Always
ports
:
ports
:
-
containerPort
:
30030
-
containerPort
:
30030
...
...
This diff is collapsed.
Click to expand it.
src/kpi_manager/service/__main__.py
+
2
−
8
View file @
12d224a1
...
@@ -12,14 +12,8 @@
...
@@ -12,14 +12,8 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import
logging
,
signal
,
sys
,
threading
,
time
import
logging
,
signal
,
sys
,
threading
from
prometheus_client
import
start_http_server
from
common.Settings
import
get_log_level
from
common.Constants
import
ServiceNameEnum
from
common.Settings
import
(
ENVVAR_SUFIX_SERVICE_HOST
,
ENVVAR_SUFIX_SERVICE_PORT_GRPC
,
get_env_var_name
,
get_log_level
,
get_metrics_port
,
wait_for_environment_variables
)
from
common.proto
import
monitoring_pb2
from
.NameMapping
import
NameMapping
# import updated
from
.KpiManagerService
import
KpiManagerService
from
.KpiManagerService
import
KpiManagerService
terminate
=
threading
.
Event
()
terminate
=
threading
.
Event
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment