-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from chaen/cs_conversion_improv
Improve CS sync
- Loading branch information
Showing
8 changed files
with
135 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
diracx-cli/tests/legacy/cs_sync/convert_integration_test.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,49 @@ DiracX | |
{ | ||
URL = https://dirac-integration-tests.invalid:1234 | ||
LegacyExchangeApiKey = diracx:legacy:ChangeME | ||
|
||
CsSync | ||
{ | ||
VOs | ||
{ | ||
Jenkins | ||
{ | ||
DefaultGroup = jenkins_user | ||
IdP | ||
{ | ||
ClientID = 995ed3b9-d5bd-49d3-a7f4-7fc7dbd5a0cd | ||
URL = https://jenkins.invalid/ | ||
} | ||
UserSubjects | ||
{ | ||
adminusername = e2cb28ec-1a1e-40ee-a56d-d899b79879ce | ||
ciuser = 26dbe36e-cf5c-4c52-a834-29a1c904ef74 | ||
trialUser = a95ab678-3fa4-41b9-b863-fe62ce8064ce | ||
} | ||
Support | ||
{ | ||
Message = Contact the help desk | ||
Email = [email protected] | ||
Webpage = https://helpdesk.vo.invalid | ||
} | ||
} | ||
vo | ||
{ | ||
DefaultGroup = dirac_user | ||
IdP | ||
{ | ||
ClientID = 072afab5-ed92-46e0-a61d-4ecbc96e0770 | ||
URL = https://vo.invalid/ | ||
} | ||
UserSubjects | ||
{ | ||
adminusername = 26b14fc9-6d40-4ca5-b014-6234eaf0fb6e | ||
ciuser = d3adc733-6588-4d6f-8581-5986b02d0c87 | ||
trialUser = ff2152ff-34f4-4739-b106-3def37e291e3 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
Systems | ||
{ | ||
|
17 changes: 17 additions & 0 deletions
17
diracx-cli/tests/legacy/cs_sync/integration_test_buggy.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
DiracX | ||
{ | ||
URL = https://dirac-integration-tests.invalid:1234 | ||
LegacyExchangeApiKey = diracx:legacy:ChangeME | ||
|
||
# # DisabledVOs cannot be set if any Legacy clients are enabled | ||
DisabledVOs = AnyVO | ||
LegacyClientEnabled | ||
{ | ||
WorkloadManagement | ||
{ | ||
JobStateUpdate = True | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
Start from DIRAC v8 | ||
|
||
Edit the CS: | ||
* DiracX/DisabledVO is all of them | ||
* DiracX/LegacyClientEnabled is empty | ||
|
||
Add in the CS: | ||
* conversion info | ||
|
||
|
||
Update to v9 | ||
|
||
Create a DiracX cluster | ||
|
||
Run the CS Sync | ||
|
||
slowly work through the Disabled VO | ||
|
||
Once it's empty, start enabling LegacyClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters