Skip to content

Commit

Permalink
Make DiscoveryServer servers' guid prefix optional (#467)
Browse files Browse the repository at this point in the history
* Remove non-mandatory guid-prefix from discovery server blackbox tests

Signed-off-by: Juan Lopez Fernandez <[email protected]>

* Raise YAML reader version

Signed-off-by: Juan Lopez Fernandez <[email protected]>

* Remove non-required guid-prefix from DiscoveryServer Docker tests

Signed-off-by: Juan Lopez Fernandez <[email protected]>

* Update documentation: version section

Signed-off-by: Juan Lopez Fernandez <[email protected]>

* Update documentation and examples: guid-less discovery server

Signed-off-by: Juan Lopez Fernandez <[email protected]>

* Update missing v4 -> v5

Signed-off-by: Juan Lopez Fernandez <[email protected]>

---------

Signed-off-by: Juan Lopez Fernandez <[email protected]>
  • Loading branch information
juanlofer-eprosima authored Sep 9, 2024
1 parent 2eb0bf5 commit ff7ff53
Show file tree
Hide file tree
Showing 153 changed files with 263 additions and 335 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ discovery_server_participant_configuration(

conf.id = core::types::ParticipantId("WanDsParticipant_" + std::to_string((this_server_id_is_1 ? 1 : 0)));

conf.discovery_server_guid_prefix = core::types::GuidPrefix((this_server_id_is_1 ? 1u : 0u));

if (tls)
{
conf.tls_configuration = tls_configuration(wan_kind);
Expand Down
2 changes: 1 addition & 1 deletion ddsrouter_test/compose/test_cases/dds/ddsrouter.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

xml:
raw: |
Expand Down
2 changes: 1 addition & 1 deletion ddsrouter_test/compose/test_cases/dds_rtps/ddsrouter.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

xml:
raw: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
version: v4.0
version: v5.0

participants:

- name: Cloud_Discovery_Server_Participant
kind: wan-ds
discovery-server-guid:
id: 0
listening-addresses:
- domain: ddsrouter_cloud
port: 11666
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand All @@ -8,12 +8,8 @@ participants:

- name: Edge_1_DS_Participant
kind: wan-ds
discovery-server-guid:
id: 1
connection-addresses:
- discovery-server-guid:
id: 0
addresses:
- addresses:
- domain: ddsrouter_cloud
port: 11666
transport: udp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand All @@ -8,12 +8,8 @@ participants:

- name: Edge_2_DS_Participant
kind: wan-ds
discovery-server-guid:
id: 2
connection-addresses:
- discovery-server-guid:
id: 0
addresses:
- addresses:
- domain: ddsrouter_cloud
port: 21666
transport: udp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:
- name: Local_80
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:
- name: Local_80
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:
- name: Local_80
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:
- name: Local_80
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0


participants:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

topics:
- name: topic_0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

topics:
- name: topic_0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

topics:
- name: topic_0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

allowlist:
- name: "*addition_service*"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

allowlist:
- name: "*addition_service*"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

participants:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

xml:
files:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v4.0
version: v5.0

xml:
files:
Expand Down
Loading

0 comments on commit ff7ff53

Please sign in to comment.