Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
0c5c1204
Commit
0c5c1204
authored
3 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-776
: Add configdb and observation device
parent
392c0116
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!329
L2SS-776: Add configdb and observation device
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CDB/test_environment_ConfigDb.json
+11
-0
11 additions, 0 deletions
CDB/test_environment_ConfigDb.json
docker-compose/device-observation.yml
+45
-0
45 additions, 0 deletions
docker-compose/device-observation.yml
sbin/run_integration_test.sh
+1
-0
1 addition, 0 deletions
sbin/run_integration_test.sh
with
57 additions
and
0 deletions
CDB/test_environment_ConfigDb.json
0 → 100644
+
11
−
0
View file @
0c5c1204
{
"servers"
:
{
"Observation"
:
{
"STAT"
:
{
"Observation"
:
{
"STAT/Observation/1"
:
{}
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docker-compose/device-observation.yml
0 → 100644
+
45
−
0
View file @
0c5c1204
#
# Docker compose file that launches a LOFAR2.0 station's
# Observation device.
#
# Defines:
# - device-observation: LOFAR2.0 station Observation
#
# Requires:
# - lofar-device-base.yml
#
version
:
'
2'
services
:
device-observation
:
image
:
device-observation
# build explicitly, as docker-compose does not understand a local image
# being shared among services.
build
:
context
:
..
dockerfile
:
docker-compose/lofar-device-base/Dockerfile
args
:
SOURCE_IMAGE
:
${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_USER}/tango-itango:${TANGO_ITANGO_VERSION}
container_name
:
${CONTAINER_NAME_PREFIX}device-observation
logging
:
driver
:
"
json-file"
options
:
max-size
:
"
100m"
max-file
:
"
10"
networks
:
-
control
ports
:
-
"
5717:5717"
# unique port for this DS
extra_hosts
:
-
"
host.docker.internal:host-gateway"
volumes
:
-
..:/opt/lofar/tango:rw
environment
:
-
TANGO_HOST=${TANGO_HOST}
working_dir
:
/opt/lofar/tango
entrypoint
:
-
bin/start-ds.sh
# configure CORBA to _listen_ on 0:port, but tell others we're _reachable_ through ${HOSTNAME}:port, since CORBA
# can't know about our Docker port forwarding
-
l2ss-observation Observation STAT -v -ORBendPoint giop:tcp:0:5717 -ORBendPointPublish giop:tcp:${HOSTNAME}:5717
restart
:
unless-stopped
This diff is collapsed.
Click to expand it.
sbin/run_integration_test.sh
+
1
−
0
View file @
0c5c1204
...
...
@@ -41,6 +41,7 @@ make start elk
# Update the dsconfig
# Do not remove `bash`, otherwise statement ignored by gitlab ci shell!
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/LOFAR_ConfigDb.json
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/test_environment_ConfigDb.json
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/tango-archiver-data/archiver-devices.json
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/stations/simulators_ConfigDb.json
bash
"
${
LOFAR20_DIR
}
"
/sbin/update_ConfigDb.sh
"
${
LOFAR20_DIR
}
"
/CDB/stations/dummy_positions_ConfigDb.json
...
...
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