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

Feature/weos 1518 #175

Merged
merged 20 commits into from
Jul 13, 2022
Merged

Feature/weos 1518 #175

merged 20 commits into from
Jul 13, 2022

Commits on Jun 14, 2022

  1. feature: WEOS-1504 Add logs to container

    * Setup the echo logger as the default logger
    akeemphilbert committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    5c5cc46 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Configuration menu
    Copy the full SHA
    1d9bd48 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. Configuration menu
    Copy the full SHA
    78631ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d20b66 View commit details
    Browse the repository at this point in the history
  3. feature: WEOS-1518 WEOS-1519 WEOS-1344 Create Security Middleware for…

    … managing security configuration
    
    * Created Security Configuration struct for managing the api security
    * Add Security Configuration to the container
    * Created a concept of Authenticator which defines how each security scheme type should be implemented
    akeemphilbert committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    017c7d2 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. feature: WEOS-1344 Create Security Middleware for managing security c…

    …onfiguration
    
    * Changed Authenticators to Validators
    * Switched to using weauth configuration
    akeemphilbert committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    426ce0c View commit details
    Browse the repository at this point in the history
  2. feature: WEOS-1518 Map JWT parts to user id, role, WEOS-1344 Added su…

    …pport for multiple security schemes
    
    * Removed manually setting up OpenIDMiddleware
    * Updated security initializer to setup the security config on the container and use the middleware on the security config
    * Updated validator interface to return user id and role
    * Added new helper function to get open id config
    akeemphilbert committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    5d71d71 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. feature: WEOS-1519 Setup permission configuration

    * Upgraded GORM (the casbin adapter forced that upgrade)
    * Setup Casbin
    * Created Authorization initializer that setups a default casbin enforcer using the default GORM connection
    * Added PermissionEnforcer to the Container
    akeemphilbert committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    cdb6053 View commit details
    Browse the repository at this point in the history
  2. feature: WEOS-1519 Setup permission configuration

    * Added scope checking
    * Added role to context
    * Added permission checking using the casbin enforcer
    akeemphilbert committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    6555162 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. feature: FHIR api fixes

    * Made it so that a gorm model is only built if there is a ref on the "Items" definition
    * Started setting up item array fix (in progress)
    akeemphilbert committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    cf5e1cd View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. feature: FHIR api fixes

    * Added code to parse inline arrays (i.e arrays without schema references)
    * Added the ability parse inline objects (objects without schema references)
    akeemphilbert committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    233eee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d041004 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b017f05 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. bugfix: Fix for date time not being unmarshalled into content entity …

    …correctly
    
    * Updated getList in gorm projection so that the array that the results are unmarshalled into contains ContentEntities instantiated with the schema so that the date time conversion can happen
    akeemphilbert committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    20b8078 View commit details
    Browse the repository at this point in the history
  2. bugfix: Fix for date time not being unmarshalled into content entity …

    …correctly
    
    * Switched back to using golang time.Time in gorm model
    akeemphilbert committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    affb372 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Configuration menu
    Copy the full SHA
    aeb7a0a View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    c99a58d View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. feature: Closed #177

    * Added parameter replacement in the authorization initializer so that there is a match in casbin (note the :id parameterization didn't work so resorted to using wildcards)
    * Added check on role for authorization as well
    * Removed debug statements from gorm projections
    akeemphilbert committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    fa31f8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acfb0d0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #176 from wepala/fhir-fixes

    Fhir fixes
    akeemphilbert authored Jul 13, 2022
    Configuration menu
    Copy the full SHA
    6374da4 View commit details
    Browse the repository at this point in the history