Skip to content

merge develop into main#716

Merged
stefanvit merged 2 commits intomainfrom
develop
May 30, 2024
Merged

merge develop into main#716
stefanvit merged 2 commits intomainfrom
develop

Conversation

@stefanvit
Copy link
Copy Markdown
Collaborator

Description

Please provide a summary of the pull request and the issue it resolves. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.

Resolves #(add issue number here and remove parentheses)

Review Time Estimate

Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

  • Immediately
  • Within a week
  • When possible

Type of changes

Please select a relevant option:

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Other (any another change that does not fall in one of the above categories.)

Checklist:

Please select all applicable options:

  • I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
  • I have updated the CHANGELOG.
  • I have read the Contributor Guidelines.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • My change requires updating the documentation.
  • I have made necessary changes to the documentation.
  • I have added tests related to my changes.
  • My changes generate no new warnings.
  • New and existing unit tests pass locally with my changes.
  • Any dependent changes have been merged and published in downstream modules.

roberlander2 and others added 2 commits May 30, 2024 09:55
* add service accounts

* add refresh service account token handler

* start updating token management

* finish updating service account endpoints

* start adding system endpoints

* updates to service account system endpoints

* more updates to service account system endpoints

* finish service account system endpoints

* update changelog

* add signature auth from auth library

* continue adding signature auth for service account tokens

* register service account and add service cred bug fixes

* signature auth bug fixes

* bugfixes

* flag accounts for deletion, add get deleted accounts endpoint

* updated changelog

* add delete accounts timer

* updated docs, service account storage model, implemented missing storage functions

* add optional search params for get service accounts

* bugfixes and improvements

* remove system endpoints used for testing

* don't delete accounts on get removed accounts

* add delete accounts period env var, add bbs permissions auth

* use profile pointer in account

* improve get deleted accounts handler

* removed commented code

* added service account id to ServiceReg and AuthServiceReg

* upgrade auth lib to 1.0.5

* upgrade auth lib to 1.0.5

* added bbs access-token endpoint

* reverted account profile to use struct, updated docs

* get deleted accounts by app_org_id

* use all in tokens for null appIDs, orgIDs

* updates for upcoming core-auth-library update [#335]

* update service accounts and tokens to use all string [#335]

* fix bbs permissions policy

* fix secrets baseline

* update go version, upgrade dependencies

* change deleted flags to date_deleted timestamps, change BBs GET deleted-accounts API response to partial memberships

* refactor bbs/deleted-accounts to bbs/deleted-memberships, improve response schema

* add DeletedMembershipContext to send additional data to each service about which data to delete per deleted membership

* bug fixes

* upgrade dependencies

* move deleted memberships to separate collection

* bug fixes

* add get_deleted-memberships bbs auth policy description

* Do not fail if a context is not passed

* Service id is not used

* Filter by time - in progress

* Filter by time - in progress

* Fix mock

* Filter by time - done

* Do not delete the removed memberships for now - we allow filtering by date

---------

Co-authored-by: Petyo Stoyanov <petyo.stoyanov@inabit.eu>
@stefanvit stefanvit requested review from petyos and shurwit as code owners May 30, 2024 07:17
@stefanvit stefanvit merged commit 1d8dc90 into main May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants