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

[management] Refactor group to use store methods #2867

Merged
merged 27 commits into from
Nov 15, 2024

Commits on Nov 7, 2024

  1. Refactor setup key handling to use store methods

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    389c961 View commit details
    Browse the repository at this point in the history
  2. add lock to get account groups

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    78044c2 View commit details
    Browse the repository at this point in the history
  3. add check for regular user

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    1a5f3c6 View commit details
    Browse the repository at this point in the history
  4. get only required groups for auto-group validation

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    931521d View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    f8b5eed View commit details
    Browse the repository at this point in the history
  2. refactor account peers update

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    106fc75 View commit details
    Browse the repository at this point in the history
  3. Refactor groups to use store methods

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    0a70e4c View commit details
    Browse the repository at this point in the history
  4. refactor GetGroupByID and add NewGroupNotFoundError

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    8126d95 View commit details
    Browse the repository at this point in the history
  5. fix tests

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ac05f69 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'feature/get-account-refactoring' into setupkey-get-acco…

    …unt-refactoring
    
    # Conflicts:
    #	management/server/sql_store.go
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    40af1a5 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'setupkey-get-account-refactoring' into groups-get-accou…

    …nt-refactoring
    
    # Conflicts:
    #	management/server/sql_store.go
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    d58cf50 View commit details
    Browse the repository at this point in the history
  8. Add AddPeer and RemovePeer methods to Group struct

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    7100be8 View commit details
    Browse the repository at this point in the history
  9. Preserve store engine in SqlStore transactions

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    6dc185e View commit details
    Browse the repository at this point in the history
  10. Run groups ops in transaction

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    bdeb95c View commit details
    Browse the repository at this point in the history
  11. fix missing group removed from setup key activity

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    3ed8b9c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cc04aef View commit details
    Browse the repository at this point in the history
  13. fix merge

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    871500c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Merge branch 'main' into groups-get-account-refactoring

    # Conflicts:
    #	management/server/group.go
    #	management/server/group/group.go
    #	management/server/setupkey.go
    #	management/server/sql_store.go
    #	management/server/status/error.go
    #	management/server/store.go
    bcmmbaga committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    010a8bf View commit details
    Browse the repository at this point in the history
  2. fix merge

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    664d138 View commit details
    Browse the repository at this point in the history
  3. fix sonar

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    ab00c41 View commit details
    Browse the repository at this point in the history
  4. Change setup key log level to debug for missing group

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    113c21b View commit details
    Browse the repository at this point in the history
  5. Retrieve modified peers once for group events

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    d23b5c8 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Add tests

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2806d73 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into groups-get-account-refactoring

    # Conflicts:
    #	management/server/account.go
    #	management/server/status/error.go
    bcmmbaga committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ed259a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Add account locking and merge group deletion methods

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ed047ec View commit details
    Browse the repository at this point in the history
  2. Fix tests

    Signed-off-by: bcmmbaga <[email protected]>
    bcmmbaga committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    a4d905f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. Merge branch 'main' into groups-get-account-refactoring

    # Conflicts:
    #	management/server/group.go
    bcmmbaga committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    92b9e11 View commit details
    Browse the repository at this point in the history