{"push_id":3153823442,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"4a2801e36c31d22cd30feb1aac6ac49ed974ed29","before":"a48f2421a10a5c44a0f434caaeaa54f3d5db13bc","commits":[{"sha":"4a2801e36c31d22cd30feb1aac6ac49ed974ed29","author":{"name":"Michael Kruglos","email":"25e465d6602c62a6213955925228a6093813642a@users.noreply.github.com"},"message":"Merge Gateway (#833)\n\n* WIP building request transformation\r\n\r\n* WIP\r\n\r\n* Working /api/v2/values endpoint\r\n\r\n* WIP: added initial implementation of authorization enforcement\r\n\r\n* Improved tests\r\n\r\n* small refactor and implementation of model reading and writing\r\n\r\n* Implemented tags middleware and refactored routing\r\n\r\n* v1 conttoller adde\r\n\r\n* fix\r\n\r\n* host fixed\r\n\r\n* Adding secure-gateway to CI\r\n\r\n* isAlive added\r\n\r\n* modelManagement package added\r\n\r\n* add security to modelMangement handler\r\n\r\n* exception handled\r\n\r\n* context transform added\r\n\r\n* schemas added to transformation\r\n\r\n* goThrough host to config\r\n\r\n* CI: still work in progress, need to account for v1 routes, that don't start with api/v1\r\n\r\n* Added health endpoint\r\n\r\n* refactor\r\n\r\n* Fixed integration tests and smoke tests\r\n\r\n* tiny refactor\r\n\r\n* extract from request added\r\n\r\n* added act mapping\r\n\r\n* tests added to extract\r\n\r\n* Codefresh almost works\r\n\r\n* jwt token added\r\n\r\n* jwtUtils moved package\r\n\r\n* Fixed models test\r\n\r\n* Added support for groups using casbin\r\n\r\n* Fixed and improved tests\r\n\r\n* WIP implementing git policy repository\r\n\r\n* CI fixes for policyRepositories\r\n\r\n* Fixes for CI\r\n\r\n* add mutex to jwt token creation\r\n\r\n* bug fixed in gateway\r\n\r\n* Healthcheck added to secure-gateway dockerfile (#726)\r\n\r\nHealthcheck added to secure-gateway dockerfile\r\n\r\n* 730 gateway accepts tweekinternals (#731)\r\n\r\nAdd support for tweekinternal authentication to gateway\r\n\r\n* 734 move auth midware to routes (#735)\r\n\r\nAuth middleware moved from app level to route level #734\r\n\r\n* go fmt added to linters (#733)\r\n\r\n* Go fmt linter bug fixed (#739)\r\n\r\n* No fixed...\r\n\r\n* 700 audit log (#732)\r\n\r\n* WIP audit\r\n\r\n* Implementing audit, stabilizing e2e\r\n\r\n* Adding audit interface and implementation\r\n\r\n* Returend sudo to run_tests.sh\r\n\r\n* Some fixes for review\r\n\r\n* Fixes for review\r\n\r\n* 737 store gateway rules in minio (#741)\r\n\r\nstore gateway rules in minio instead of git\r\n\r\n* Config package changed (#746)\r\n\r\nApp Config package changed from viper to configor\r\n\r\n* E2E added to gateway (#750)\r\n\r\nE2E added to gateway\r\n\r\n* Separate OpenIdConnect and Tweek Issuer jwt validation (#760)\r\n\r\n* Casbin policy refresh added (#759)\r\n\r\n* CORS support added to secure-gateway (#743)\r\n\r\nCORS support added to secure-gateway\r\n\r\n* Merge master to secure-gateway (#772)\r\n\r\n* 740 Publishing service pushes policy to minio (#765)\r\n\r\n* 738 policies (#762)\r\n\r\n* Fixed typo in comments\r\n\r\n* Changes in ExtractFromRequest to account for contexts\r\n\r\n* Added more tests and fixed bugs\r\n\r\n* Small fixes\r\n\r\n* Implementing matchResource function WIP\r\n\r\n* WIP\r\n\r\n* Some review fixes\r\n\r\n* Added regexp support and more tests WIP\r\n\r\n* Refactored code and fixed tests\r\n\r\n* Small fix\r\n\r\n* Fixed CI files\r\n\r\n* Switched from regexp to wildcard\r\n\r\n* Fixed policy.csv\r\n\r\n* Refactored: changed regexp to wildcard\r\n\r\n* Refactored map into struct\r\n\r\n* Added resource deffinition documentation\r\n\r\n* Fixes for tests\r\n\r\n* fixes for CI and tests\r\n\r\n* Fixes\r\n\r\n* 775 authorize tweek issuer by issuer w/o email check (#777)\r\n\r\n* Editor as SPA (#792)\r\n\r\n* Prevented recovery middleware from printing stack (#821)\r\n\r\n* Implemented JWK cache (#818)\r\n\r\n* Implemented JWK cache\r\n\r\n* Adjusting authorization to work as designed (#823)\r\n\r\n* Adjusting authorization to work as designed\r\n\r\n* Fix for tests\r\n\r\n* Fixed policies\r\n\r\n* Fixes for review\r\n\r\n* Fixes to simplify authorization model\r\n\r\n* Fixes for previous commit\r\n\r\n* More fixes\r\n\r\n* Updated resource deffinition document\r\n\r\n* Removed unnecessary line from policy.csv\r\n\r\n* Fixes for policy.csv\r\n\r\n* Fixes for request utils\r\n\r\n* Fixes for review\r\n\r\n* e2e integration tests for api v2 (#827)\r\n\r\n* Added tests covering v2 API\r\n\r\n* Created k8s yaml for gateway (#831)\r\n\r\n* Created k8s yaml for gateway\r\n\r\n* Fixes\r\n\r\n* Fixes for review\r\n\r\n* Renamed secure-gateway as gateway (#836)\r\n\r\n* Added pod disruption budget\r\n\r\n* Added metrics per upstream for passthrough (#840)\r\n\r\n* Added metrics per upstream for passthrough\r\n\r\n* Fixes for review\r\n\r\n* fix after merge\r\n\r\n* remove deleted files added by merge\r\n\r\n* make restore command added to gateway makefile\r\n\r\n* fix card_view after merge from master\r\n\r\n* Add editor local configuration (#853)\r\n\r\n* Allow credentials should be always true (#857)\r\n\r\n* implemented extraction of user info with opa/rego (#859)\r\n\r\n* implemented extraction of user info with opa/rego\r\n\r\n* Fix for CI\r\n\r\n* Fixes for review\r\n\r\n* Fixes for review\r\n\r\n* Renamed UserAndGroupExtractor to SubjectExtractor\r\n\r\n* Small fixes\r\n\r\n* Set editor backend url properly (#856)\r\n\r\n* Remove envVars.js\r\n\r\n* get env var from window object as fallback\r\n\r\n* PR CR changes\r\n\r\n* 846 Controller for gateway that returns status of all services (#860)\r\n\r\n* 862 - Publishing validates sub extraction rules while sync to minio (#864)\r\n\r\n* e2e editor backend url fixed\r\n\r\n* Replaced casbin with OPA (#871)\r\n\r\n* Replaced casbin with OPA\r\n\r\n* Uncommented test cases\r\n\r\n* Refactored subject treatment\r\n\r\n* Fixed requestUtils\r\n\r\n* Small naming fix\r\n\r\n* Added opa tests and fixed sub in Authorize\r\n\r\n* Added test files\r\n\r\n* Fix for docker\r\n\r\n* Made local config files not configurable (#874)\r\n\r\n* Adapted policies endpoint in authoring for use with OPA (#880)\r\n\r\n* Added rules extraction endpoint (#881)\r\n\r\n* Added rules extraction endpoint\r\n\r\n* Removed unnecessary console.log\r\n\r\n* Naming fix\r\n\r\n* Added policy validation to publishing (#882)\r\n\r\n* Policies PATCH method added to authoring (#896)\r\n\r\n* Gateway config moved to mounted volume (#855)\r\n\r\n* Gateway config moved to mounted volume\r\n\r\n* logger changed from gateway\r\n\r\n* volumes instruction fixed\r\n\r\n* small fix\r\n\r\n* .\r\n\r\n* ..\r\n\r\n* ....\r\n\r\n* Fix for Dockerfile\r\n\r\n* Revert \"....\"\r\n\r\nThis reverts commit 520e6afecc97444acc85f73cc2846dc6f1e38c9f.\r\n\r\n* Revert \"..\"\r\n\r\nThis reverts commit 364e1b88bc5e5ff6056b7de796c3d03e1e86a4d1.\r\n\r\n* Revert \".\"\r\n\r\nThis reverts commit 4e7d4c36da1de9bf5bd5470f8d438e7b86f77b9a.\r\n\r\n* Fixes for CI\r\n\r\n* Fixes for CI\r\n\r\n* Fixes for CI\r\n\r\n* Fixes for CI\r\n\r\n* Fixes for CI\r\n\r\n* Fixed merge\r\n\r\n* Fixes for CI\r\n\r\n* Fixes for merge\r\n\r\n* Fixes for merge\r\n\r\n* Pushing gateway images\r\n\r\n* Small fix\r\n\r\n* Added push step for git repository\r\n\r\n* Swagger for gateway & some more security and policy changes (#899)\r\n\r\n* Fixed regression in password verification for basic auth\r\n\r\n* Revert \"Fixed regression in password verification for basic auth\"\r\n\r\nThis reverts commit 7a7f86d1dc43276d1120e88054da405d6fb76dac.\r\n\r\n* Fixed key derivation in publishing\r\n\r\n* Fixed git repository\r\n\r\n* Implemented anonymous access (#921)\r\n\r\n* Added percentile 75 and 95 to gateway (#933)\r\n\r\n* Added percentile 75 and 95 to gateway\r\n\r\n* Fix for review\r\n\r\n* Support for serving editor through gateway (#923)\r\n\r\n* Added build id tags to gateway builds\r\n\r\n* Implemented wildcard context (#938)\r\n\r\n* Implemented Azure login (#948)\r\n\r\n* Implemented Azure login\r\n\r\n* Fixed missing configuration\r\n\r\n* Changed auth code to use id_token\r\n\r\n* Removed redundant console.log\r\n\r\n* Fixes for review\r\n\r\n* Fixed a small bug\r\n\r\n* Bug fixes for login\r\n\r\n* Added token expiration check in isAuthenticated (#952)\r\n\r\n* Impelmented userinfo endpoint (#959)\r\n\r\n* Impelmented userinfo endpoint\r\n\r\n* Added http error status\r\n\r\n* Moved the endpoint to /api/v2\r\n\r\n* Renamed the endpoint to current-user to reflect the semantics\r\n\r\n* Added /configurations endpoint (#963)\r\n\r\n* Added /configurations endpoint\r\n\r\n* Changed how /configurations/ path is mounted\r\n\r\n* Refactored passThrough (#967)\r\n\r\n* Moved security related files to security folder in repo (#969)\r\n\r\n* Moved security related files to security folder in repo\r\n\r\n* Fixed authoring\r\n\r\n* Reverted CONFIGOR_ENV in docker-compose files\r\n\r\n* Added editor context to requests for configuration (#970)\r\n\r\n* Added editor context to requests for configuration\r\n\r\n* Fixed configuration key name\r\n\r\n* Fixed getConfiguration\r\n\r\n* Fixed policy.json\r\n\r\n* Fixed status endpoint (#971)\r\n\r\n* Fixed status endpoint\r\n\r\n* Fixes for review\r\n\r\n* Fixed name and email extraction in gateway (#974)\r\n\r\n* Fixed name and email extraction in gateway\r\n\r\n* Fixes for review\r\n\r\n* Small fixes\r\n\r\n* Removed anonymous from name and email (#975)\r\n\r\n* Fixed stale revision checking (#978)\r\n\r\n* Implemented keyPath transformation (#979)\r\n\r\n* Implemented keyPath transformation\r\n\r\n* Review fixes\r\n\r\n* Fixes for review\r\n\r\n* Fixed settings.json\r\n\r\n* Added repo revision to status (#982)\r\n\r\n* Added repo revision to status\r\n\r\n* Fixes for previous commit\r\n\r\n* Fixed test\r\n\r\n* Fixed /api/v1 with no host case (#985)\r\n\r\n* Fixed swagger.yml (#988)\r\n\r\n* Fixed swagger.yml\r\n\r\n* Implemented serving swagger.yml file\r\n\r\n* Added swagger.go\r\n\r\n* Fixed StaleRevisionException being thrown when there is another problem (#1013)\r\n\r\n* Added metrics to publishing (#1015)\r\n\r\n* Fixed silent token refresh issue (#1020)\r\n\r\n* Fixed stale revision issue (#1023)\r\n\r\n* Refreshing JWKs when key is missing (#1022)\r\n\r\n* Refresh if key is missing\r\n\r\n* Fixed read for context in gateway (#1025)\r\n\r\n* Fixed login expiration (#1029)\r\n\r\n* Fixed login expiration\r\n\r\n* Fixed redirect after login (#1031)","distinct":true,"url":"https://api.github.com/repos/Soluto/tweek/commits/4a2801e36c31d22cd30feb1aac6ac49ed974ed29"}]}
{"actor":{"display_login":"michaelkruglos"}}