Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site and org associations #669

Merged
merged 48 commits into from
Jun 24, 2024
Merged

Conversation

dataclouder
Copy link
Contributor

@dataclouder dataclouder commented Apr 22, 2024

Add types and methods to run association operations between sites and between orgs:

Components:

  • Site retrieval
  • Associated site retrieval
  • Create site association
  • Remove site association
  • Associated org retrieval
  • Create org association
  • Remove org association
  • Query all orgs
  • Comprehensive test involving two sites
  • Test with org-user

To test, read the note in Test_SiteAssociations, containing the environment variables we need to set to start the test.
(Tested with 10.4.2, 10.5.1, 10.6.0)

Note: this PR includes PR #612

@dataclouder dataclouder mentioned this pull request Apr 24, 2024
Giuseppe Maxia added 15 commits April 24, 2024 09:02
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
The task of creating a connection for an existing user is now delegated
to newUserConnection

Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Giuseppe Maxia added 12 commits May 7, 2024 06:08
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
Signed-off-by: Giuseppe Maxia <[email protected]>
@dataclouder dataclouder changed the title [WIP] Site and org associations Site and org associations Jun 12, 2024
@dataclouder dataclouder marked this pull request as ready for review June 12, 2024 10:59
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - LGTM in general. A few things I noticed in comments. Getting two envs to do the test.

Signed-off-by: Giuseppe Maxia <[email protected]>
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have run both tests - successfully on 10.5.1

Copy link
Collaborator

@adambarreiro adambarreiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dataclouder dataclouder merged commit 6bcb3f4 into vmware:main Jun 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants