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
Merge requests
!16
DLT component (and related) improvements
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
DLT component (and related) improvements
feat/dlt-component
into
develop
Overview
0
Commits
45
Pipelines
0
Changes
51
Merged
Lluis Gifre Renom
requested to merge
feat/dlt-component
into
develop
2 years ago
Overview
0
Commits
45
Pipelines
0
Changes
51
Expand
Common:
Extended common/object_factory
Added DLT_GATEWAY ServiceName for test and debug purposes
Implemented MockMessageBroker for test and debug purposes
Extended MockServicerImpl_Context with MockMessageBroker and refactored code
Implemented MockServicerImpl_DltGateway
Extended deploy.sh script to support DLT components
Removed unneeded genproto.sh script
Context:
Improved Context/EventsCollector generic client
DLT:
Separated DLT component into Connector and Gateway
Implemented MockBockchain component exposing DLT Gateway API to facilitate debugging
Implemented/Extended/Corrected Dockerfiles, manifests, etc. for DLT components
Implemented preliminary version of CI/CD pipeline definition for DLT (still not integrated in pipeline)
DLT Connector:
Implemented DltConnectorClient
Implemented DltEventsCollector
Implemented DltGatewayClient
Initial (incomplete) implementation of DltConnector
Initial (incomplete) unitary test for DltConnector
DLT Gateway:
Extended logic of DltGateway
Edited
2 years ago
by
Lluis Gifre Renom
0
0
Merge request reports
Compare
develop
version 2
394586c3
2 years ago
version 1
076c9366
2 years ago
develop (base)
and
latest version
latest version
b8501763
45 commits,
2 years ago
version 2
394586c3
44 commits,
2 years ago
version 1
076c9366
42 commits,
2 years ago
51 files
+
2490
−
458
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
51
Search (e.g. *.vue) (Ctrl+P)
manifests/dltservice.yaml
0 → 100644
+
86
−
0
Options
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
dltservice
spec
:
selector
:
matchLabels
:
app
:
dltservice
template
:
metadata
:
labels
:
app
:
dltservice
spec
:
terminationGracePeriodSeconds
:
5
containers
:
-
name
:
connector
image
:
registry.gitlab.com/teraflow-h2020/controller/dlt-connector:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
8080
env
:
-
name
:
LOG_LEVEL
value
:
"
INFO"
readinessProbe
:
exec
:
command
:
[
"
/bin/grpc_health_probe"
,
"
-addr=:8080"
]
livenessProbe
:
exec
:
command
:
[
"
/bin/grpc_health_probe"
,
"
-addr=:8080"
]
resources
:
requests
:
cpu
:
250m
memory
:
512Mi
limits
:
cpu
:
700m
memory
:
1024Mi
-
name
:
gateway
image
:
registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest
imagePullPolicy
:
Always
#readinessProbe:
# httpGet:
# path: /health
# port: 8081
# initialDelaySeconds: 5
# timeoutSeconds: 5
#livenessProbe:
# httpGet:
# path: /health
# port: 8081
# initialDelaySeconds: 5
# timeoutSeconds: 5
resources
:
requests
:
cpu
:
250m
memory
:
512Mi
limits
:
cpu
:
700m
memory
:
1024Mi
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
dltservice
spec
:
type
:
ClusterIP
selector
:
app
:
dltservice
ports
:
-
name
:
grpc
protocol
:
TCP
port
:
8080
targetPort
:
8080
Loading