Skip to content

Commit

Permalink
[uss_qualifier] Upgrade to latest dss version; Add 'supports_ovn_requ…
Browse files Browse the repository at this point in the history
…est' field to dss resources
  • Loading branch information
mickmis committed Nov 12, 2024
1 parent 4f5c31a commit 550600f
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 8 deletions.
10 changes: 5 additions & 5 deletions build/dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ services:
start_interval: 5s

rid_bootstrapper:
image: interuss/dss:v0.18.0-rc1
command: /usr/bin/db-manager --schemas_dir=/db-schemas/rid --db_version "latest" --cockroach_host crdb
image: interuss/dss:v0.19.0-rc2
command: /usr/bin/db-manager migrate --schemas_dir=/db-schemas/rid --db_version "latest" --cockroach_host crdb
depends_on:
crdb:
condition: service_healthy
networks:
- dss_internal_network

scd_bootstrapper:
image: interuss/dss:v0.18.0-rc1
command: /usr/bin/db-manager --schemas_dir=/db-schemas/scd --db_version "latest" --cockroach_host crdb
image: interuss/dss:v0.19.0-rc2
command: /usr/bin/db-manager migrate --schemas_dir=/db-schemas/scd --db_version "latest" --cockroach_host crdb
depends_on:
crdb:
condition: service_healthy
Expand All @@ -44,7 +44,7 @@ services:

dss:
hostname: dss.uss1.localutm
image: interuss/dss:v0.18.0-rc1
image: interuss/dss:v0.19.0-rc2
volumes:
- $PWD/../test-certs:/var/test-certs:ro
- $PWD/startup/core_service.sh:/startup/core_service.sh:ro
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ v1:
pass_condition:
elements:
count:
equal_to: 8 # 6 CRDBAccess + 2 DSSOVNRequest scenarios are skipped
equal_to: 6 # 6 CRDBAccess scenarios are skipped
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ v1:
# A USS that hosts a DSS instance is also a participant in the test, even if they don't fulfill any other roles
participant_id: uss1_dss
base_url: http://dss.uss1.localutm
supports_ovn_request: true

dss_instances:
resource_type: resources.astm.f3548.v21.DSSInstancesResource
Expand All @@ -146,8 +147,10 @@ v1:
# Participants using a DSS instance they do not provide should be listed as users of that DSS (so that they can take credit for USS requirements enforced by the DSS)
- mock_uss # mock_uss uses this DSS instance; it does not provide its own instance
base_url: http://dss.uss1.localutm
supports_ovn_request: true
- participant_id: uss2_dss
base_url: http://dss.uss2.localutm
supports_ovn_request: true

# Mock USS that can be used in tests for flight planning, modifying data sharing behavior and recording interactions
mock_uss:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ scd_dss:
specification:
participant_id: uss1
base_url: http://dss.uss1.localutm
supports_ovn_request: true

scd_dss_instances:
$content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
Expand All @@ -199,8 +200,10 @@ scd_dss_instances:
user_participant_ids:
- mock_uss
base_url: http://dss.uss1.localutm
supports_ovn_request: true
- participant_id: uss2
base_url: http://dss.uss2.localutm
supports_ovn_request: true

# ===== DSS CockroachDB nodes =====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ scd_dss:
specification:
participant_id: uss1
base_url: http://localhost:8082
supports_ovn_request: true

scd_dss_instances:
$content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
Expand All @@ -198,8 +199,10 @@ scd_dss_instances:
user_participant_ids:
- mock_uss
base_url: http://localhost:8082
supports_ovn_request: true
- participant_id: uss2
base_url: http://localhost:8082
supports_ovn_request: true

# ===== DSS CockroachDB nodes =====

Expand Down
2 changes: 1 addition & 1 deletion monitoring/uss_qualifier/configurations/dev/uspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ v1:
pass_condition:
elements:
count:
equal_to: 6 # 4 CRDBAccess + 2 DSSOVNRequest scenarios are skipped
equal_to: 4 # 4 CRDBAccess scenarios are skipped
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ function(env) {
count: {
// We currently expect this amount of skipped scenarios: making it an equality
// to make sure this is reduced if some scenarios start to be executed
equal_to: 13,
equal_to: 11,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function(participants) {
// A USS that hosts a DSS instance is also a participant in the test, even if they don't fulfill any other roles
participant_id: 'uss1_dss',
base_url: 'http://dss.uss1.localutm',
supports_ovn_request: 'true',
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
'mock_uss', // mock_uss uses this DSS instance; it does not provide its own instance
],
base_url: 'http://dss.uss1.localutm',
supports_ovn_request: 'true',
},
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
{
participant_id: 'uss2_dss',
base_url: 'http://dss.uss2.localutm',
supports_ovn_request: 'true',
},
]
}
Expand Down

0 comments on commit 550600f

Please sign in to comment.