From 57e44938b5674d922e88d962d66596d8fa798233 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 20 Oct 2020 11:15:03 +0200 Subject: [PATCH 1/2] Add a test user to all sites --- examples/ocm-partners/users-ailleron.json | 11 +++++++++++ examples/ocm-partners/users-cern.json | 11 +++++++++++ examples/ocm-partners/users-cesnet.json | 11 +++++++++++ examples/ocm-partners/users-cubbit.json | 11 +++++++++++ examples/ocm-partners/users-surfsara.json | 11 +++++++++++ examples/ocm-partners/users-switch.json | 11 +++++++++++ examples/ocm-partners/users-wwu.json | 11 +++++++++++ 7 files changed, 77 insertions(+) diff --git a/examples/ocm-partners/users-ailleron.json b/examples/ocm-partners/users-ailleron.json index a9bb59bc68..13e47a36ca 100644 --- a/examples/ocm-partners/users-ailleron.json +++ b/examples/ocm-partners/users-ailleron.json @@ -31,5 +31,16 @@ "mail": "dawid@softwaremind.com", "display_name": "Dawid", "groups": ["quantum-lovers", "philosophy-haters", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "softwaremind.com" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@softwaremind.com", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] diff --git a/examples/ocm-partners/users-cern.json b/examples/ocm-partners/users-cern.json index 4ad82f04ff..3b6d3abd51 100644 --- a/examples/ocm-partners/users-cern.json +++ b/examples/ocm-partners/users-cern.json @@ -31,5 +31,16 @@ "mail": "samuel@cern.ch", "display_name": "Samuel Alfageme Sainz", "groups": ["quantum-lovers", "philosophy-haters", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "cern.ch" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@cern.ch", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] diff --git a/examples/ocm-partners/users-cesnet.json b/examples/ocm-partners/users-cesnet.json index 713b2a1cc2..308bccdcb2 100644 --- a/examples/ocm-partners/users-cesnet.json +++ b/examples/ocm-partners/users-cesnet.json @@ -20,5 +20,16 @@ "mail": "milan@cesnet.cz", "display_name": "Milan", "groups": ["radium-lovers", "polonium-lovers", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "cesnet.cz" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@cesnet.cz", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] diff --git a/examples/ocm-partners/users-cubbit.json b/examples/ocm-partners/users-cubbit.json index 5dd5f960de..30004d1ae2 100644 --- a/examples/ocm-partners/users-cubbit.json +++ b/examples/ocm-partners/users-cubbit.json @@ -20,5 +20,16 @@ "mail": "lorenzo@cubbit.io", "display_name": "Lorenzo", "groups": ["radium-lovers", "polonium-lovers", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "cubbit.io" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@cubbit.io", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] diff --git a/examples/ocm-partners/users-surfsara.json b/examples/ocm-partners/users-surfsara.json index c05764780e..0edb001fd6 100644 --- a/examples/ocm-partners/users-surfsara.json +++ b/examples/ocm-partners/users-surfsara.json @@ -20,5 +20,16 @@ "mail": "antoon@surfsara.nl", "display_name": "Antoon", "groups": ["radium-lovers", "polonium-lovers", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "surfsara.nl" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@surfsara.nl", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] diff --git a/examples/ocm-partners/users-switch.json b/examples/ocm-partners/users-switch.json index 142032b148..b2c080b828 100644 --- a/examples/ocm-partners/users-switch.json +++ b/examples/ocm-partners/users-switch.json @@ -31,5 +31,16 @@ "mail": "urs.schmid@switch.ch", "display_name": "Urs Schmid", "groups": ["quantum-lovers", "philosophy-haters", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "switch.ch" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@switch.ch", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] diff --git a/examples/ocm-partners/users-wwu.json b/examples/ocm-partners/users-wwu.json index 9a48f6e776..5b73f88ee0 100644 --- a/examples/ocm-partners/users-wwu.json +++ b/examples/ocm-partners/users-wwu.json @@ -20,5 +20,16 @@ "mail": "daniel@uni-muenster.de", "display_name": "Daniel", "groups": ["radium-lovers", "polonium-lovers", "physics-lovers"] + }, + { + "id": { + "opaque_id": "test4242", + "idp": "uni-muenster.de" + }, + "username": "test", + "secret": "testpass", + "mail": "test42@uni-muenster.de", + "display_name": "Testuser", + "groups": ["test-lovers", "bug-haters", "ai-lovers"] } ] From 1fdf3ff2be6e809ebd95c65be0295a9e2ad21678 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 20 Oct 2020 11:21:44 +0200 Subject: [PATCH 2/2] Add changelog --- changelog/unreleased/add-test-user.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelog/unreleased/add-test-user.md diff --git a/changelog/unreleased/add-test-user.md b/changelog/unreleased/add-test-user.md new file mode 100644 index 0000000000..e2166fb806 --- /dev/null +++ b/changelog/unreleased/add-test-user.md @@ -0,0 +1,5 @@ +Enhancement: Add a test user to all sites + +For health monitoring of all mesh sites, we need a special user account that is present on every site. This PR adds such a user to each users-*.json file so that every site will have the same test user credentials. + +https://github.com/cs3org/reva/pull/1257