Commit Graph

22 Commits

Author SHA1 Message Date
Manjunatha EN
a73113f8e6 fix: [AH-771]: gitness unit test refactoring (#3589)
* fix merge conflicts
* fix merge conflicts
* fix review comment
* fix review comment
* fix review comment
* fix: [AH-771]: gitness unit test refactoring
* fix: [AH-771]: resolved review comments
* fix: [AH-771]: resolved review comments
* fix: [AH-771] Registry test refactoring and improvements

- Refactored registry metadata test implementations
- Improved code organization and readability
- Fixed line length issues in test files
- Removed unused fields from request.go
- Added proper license headers
- Fixed linting issues in mock files
- Simplified test setup and assertions
- Updated wire generation for cmd package
- Added nolint:exhaustive directive for package type switch

fix: [AH-771] Registry test refactoring and improvements

- Refactored registry metadata test implementations
- Improved code organization and readability
- Fixed line length issues in test files
- Removed unused fields from request.go
- Added proper license headers
- Fixed linting issues in mock files
- Simplifi
2025-04-22 14:49:24 +00:00
Tudor Macari
d84b5cc7e1 feat: [AH-1116]: remove artifact updated event (#3559)
* feat: [AH-1116]: remove artifact updated event
2025-03-24 09:08:32 +00:00
Tudor Macari
6da9821bc7 feat: [AH-933]: implement webhook execution (#3444)
* feat: [AH-933]: implement webhook execution
* feat: [AH-933]: implement webhook execution
2025-03-11 21:08:21 +00:00
Shivanand Sonnad
563fedf028 fix: [AH-818]: fix configure upstream proxy order change is not working (#3447)
* feat: [AH-818]: fix go lint errors
* feat: [AH-818]: fix PR comments
* feat: [AH-818]: fix PR comments
* feat: [AH-818]: fix linting errors
* feat: [AH-818]: fix failing lint test
* fix: [AH-818]: fix configure upstream proxy order change is not working
2025-02-27 04:53:27 +00:00
Shivakumar Ningappa
5f7808a2da feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID (#3443)
* feat: [AH-925]: fix lint errors
* feat: [AH-925]: keep original context and also async flow. also keep the linter
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - fix lint errors by ignoring problematic contextcheck
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - lint errors
* feat: [AH-925]: rebase main
* feat: [AH-925]: rebase main
* feat: [AH-925]: rebase main
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - fix lint
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: rebase main
2025-02-19 21:03:21 +00:00
Marko Gaćeša
a906259562 feat: [CODE-3148]: refactor refcache (#3390)
* linter issues fix
* reintroduce repofinder to aiagent
* Merge remote-tracking branch 'origin/main' into mg/cache/space-and-repo-finder
* removed refcache deps from aiagent
* pr comments
* fix linter issues
* refactor refcache
2025-02-12 12:42:12 +00:00
Sourabh Awashti
8d6f511fca feat:[AH-400]: Get files API support (#3316)
* feat:[AH-400]: fix checks
* feat:[AH-400]: fix checks
* feat:[AH-400]: merge conflicts
* feat:[AH-400]: review changes
* feat:[AH-400]: Get files API support
2025-01-24 14:04:21 +00:00
Tudor Macari
a655c2f8e9 feat: [AH-396]: webhook support (#2778)
* feat: [AH-396]: resolve PR comments
* feat: [AH-396]: adjust sql
* feat: [AH-396]: implement registry webhooks
2025-01-23 17:22:35 +00:00
Pragyesh Mishra
016a0ce2f5 [feat]: [AH-724]: ECR upstream proxy support (#3181)
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: fix upstream proxy update
* [fix]: [AH-724]: fix upstream proxy update
* [fix]: [AH-724]: fix upstream proxy update
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-724-schema-change
* [feat]: [AH-724]: ECR upstream proxy support
2025-01-06 07:59:59 +00:00
Shivakumar Ningappa
d29e988d86 fix: [AH-793]: fix the query while saving the upstream proxies (#3189)
* fix: [AH-793]: fix the query while saving the upstream proxies
2024-12-21 07:29:27 +00:00
Shivakumar Ningappa
facd2431a3 fix: [AH-674]: support upstream proxies at org/acct, multiple levels (#3055)
* fix: [AH-674]: support upstream proxies at org/acct, multiple levels. change the default to false:non-recursive
* fix: [AH-674]: support upstream proxies at org/acct, multiple levels. add a flag in API for recursive or non-recursive
* fix: [AH-674]: support upstream proxies at org/acct, multiple levels. combine recursive and non-recursive for better maintance, optimze quries
* fix: [AH-674]: support upstream proxies at org/acct, multiple levels
* fix: [AH-674]: support upstream proxies at org/acct, multiple levels
2024-11-29 01:54:49 +00:00
Tudor Macari
ddd8b47f62 feat: [AH-602]: refactoring (#2920)
* rezolve PR comments
* rezolve PR comments
* refactoring
* feat: [AH-602]: refactoring
2024-11-05 12:44:11 +00:00
Tudor Macari
1e305866b4 fix: [AH-492]: return history layer size (#2889)
* fix formatting
* fix: [AH-492]: return history layer size
2024-10-29 11:31:48 +00:00
Pragyesh Mishra
aabc684606 [fix]: [AH-559]: fixed upstream proxy update flow (#2883)
* [fix]: [AH-559]: fixed upstream proxy update flow
* [fix]: [AH-559]: fixed upstream proxy update flow
2024-10-28 17:15:16 +00:00
Shivakumar Ningappa
884d7b3612 feat: [AH-392]: support multiple scanners - gitness changes (#2834)
* feat: [AH-392]: support multiple scanners - review comments
* feat: [AH-392]: support multiple scanners - lint errors
* feat: [AH-392]: support multiple scanners - gitness changes
2024-10-18 20:58:44 +00:00
Pragyesh Mishra
2b3b8b3503 [feat]: [AH-363]: made few fields public in RegistryRequestParams (#2734)
* [feat]: [AH-363]: made few fields public in RegistryRequestParams
* [feat]: [AH-363]: made few fields public in RegistryRequestParams
2024-09-25 05:21:46 +00:00
Arvind Choudhary
479c9b9fe7 feat: [AH-307]: GC interface Integration, event framework; schema changes; UI changes (#2688)
* fix
* Merge branch 'main' into AH-307-plus-url-support-2_no_rbac
* resolve PR comments
* resolve PR comments
* resolve PR comments
* feat: [AH-346]: new api changes for version list and digest list (#2726)

* feat: [AH-346]: new api changes for version list and digest list
* resolve pr comments
* resolve pr comments
* feat: [AH-346]: new api yaml integration (#2716)

* feat: [AH-346]: new api yaml integration
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2_no_rbac
* fix wire check
* fix lint issues
* fix: [AH-357]: migrations
* changes for global artifact listing (#2708)

* changes for global artifact listing
* Merge branch 'main' into AH-307-plus-url-support-2_no_rbac
* merged main
* Merge branch 'main' into AH-307-plus-url-support-2_no_rbac
* [AH-307]: Updated lint
* fix comment
* add new method to spacestore
* feat: [AH-307]: fix after rebase with main
* [AH-307]: Removing comments
* [AH-307]: linting fixes
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events (#2657)

* feat: [AH-286]: publish artifact event - no row found is not error
* feat: [AH-286]: publish artifact event - no row found is not error
* feat: [AH-286]: publish artifact event - lint errors, move publishing event outside DB transaction
* feat: [AH-286]: publish artifact event - review comments
* feat: [AH-286]: publish artifact event - address review comments
* feat: [AH-286]: publish artifact event - keep payload generic
* feat: [AH-286]: publish artifact event - as sqlite locks DB, perform db operation outside goroutine publishing of events
* feat: [AH-286]: publish artifact event - make publishing event async
* feat: [AH-286]: publish artifact event - use api types
* feat: [AH-286]: Publish event for SSCA to trigger scans - no need to export spacePathStore
* feat: [AH-286]: Publish event for SSCA to trigger scans - send spacePath instead of parentID
* feat: [AH-286]: Publish event for SSCA to trigger scans - rename scanner as generic reporter
* feat: [AH-286]: Publish event for SSCA to trigger scans - rename scanner as generic reporter
* feat: [AH-286]: publish artifact event - reuse redis.Send()
* feat: [AH-286]: Publish event for SSCA to trigger scans - review comments
* feat: [AH-286]: Publish event for SSCA to trigger scans - remove unused interface
* feat: [AH-286]: Publish event for SSCA to trigger scans - update msg format
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-286]: Publish event for SSCA to trigger scans - extract acctID/orgID/projectID from spacepathStore
* feat: [AH-286]: publish artifact event - remove protobuf reference, fix lint errors
* feat: [AH-286]: publish artifact event - fix msg format
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-321]: make repo form disabled for rbac (#2687)

* feat: [AH-321]: make repo form disabled for rbac
* fix wire-gen
* GC refactoring
* feat: [AH-340]: update UI as per the product feedbacks (#2685)

* feat: [AH-340]: update UI as per the product feedbacks
* feat: [AH-44]: add module data while redirecting to pipeline execution page
* feat: [AH-44]: add build pipeline details in overview cards
* feat: [AH-44]: update view for prod and non prod tag
* feat: [AH-44]: rearrange filters on artifact list apge
* feat: [AH-10]: add schema for overview cards, update artifact list, add ai search input, update api for registry artifact list and update mapping for deployments table
* feat: [AH-307]: add secretSpacePath in upstream password field while sending to BE (#2631)

* feat: [AH-307]: add secretSpacePath in upstream password field while sending to BE
* feat: [AH-299]: support new changes for artifact list page (#2630)

* feat: update har service api version
* feat: [AH-30]: integrate API schema for deployments list content
* feat: [AH-300]: update tag colors for prod and non prod tags
* feat: [AH-300]: Add Deployments table in artiface version details page
* feat: [AH-299]: support new changes for artifact list page
* feat: [AH-299]: support new changes for artifact list page
* feat: [AH-321]: support artifact registry rbac permission on UI (#2671)

* feat: [AH-321]: support artifact registry rbac permission on UI
* enable rbac (#2664)

* fix scope
* enable rbac
* feat: [AH-307]: hide code tab from version details page for both docker and helm
* feat: [AH-240]: add custom handling for enterprise auth type field
* Merge branch 'AH-307-plus-url-support-2_no_rbac' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2_no_rbac
* feat: [AH-307]: send space_ref in query param while creating registries
* lowercase rootRef
* [AH-307]: updated route
* [AH-307]: Added logs
* [AH-307]: Added logs
* feat: [AH-317]: add space_ref query param
* local
* Merge commit
* Merge commit
* Merge commit
* Added comments
* Revert changes
* Merge commit
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* Merge branch 'AH-306d' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* fix space path handling
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* Updated URLs to support slashes with + separator
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
* feat: [AH-307]: plus url support on UI

(cherry picked from commit 3fb6add3ce03498b6668b5f8f6d547e1acedaec4)
* [AH-307]: Added examples

(cherry picked from commit e83e41303da536f421be333be04aed09fbf75f5f)
* [AH-307]: Added Regex request rewrite support

(cherry picked from commit ed7b155256bdcd1134bc228b5705556a1233add6)
* fix: [AH-306c]: fix anonymous flow
2024-09-24 12:47:53 +00:00
Pragyesh Mishra
dcc85d5545 [feat]: [AH-363]: made few fields public in registryReq (#2727)
* [feat]: [AH-363]: made few fields public in registryReq
* [feat]: [AH-363]: made few fields public in registryReq
2024-09-24 11:44:33 +00:00
Arvind Choudhary
ea3c2eda13 [AH-310]: Updated secret flows so removing foreign key constraints (#2618)
* [AH-310]: Updated secret flows
* [AH-310]: Updated secret flows so removing foreign key constraints
2024-09-06 20:48:12 +00:00
Arvind Choudhary
acef055ea2 [AH-329]: Updated manifest issue and unnecessary logging (#2648)
* [AH-329]: Updated manifest issue and unnecessary logging

(cherry picked from commit ee1bfc443ed5a6625994115ef2014b7bb568c2ec)
2024-09-03 21:21:24 +00:00
Shivakumar Ningappa
d52a142cdb fix: [AH-306c]: fix anonymous flow (#2573)
* lint fixes
* fix: [AH-306]: fix anonymous flow - address review comments
* fix: [AH-306c]: fix anonymous flow - address review comments
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
2024-08-24 02:34:05 +00:00
Tudor Macari
40ee05ca11 feat: [AH-309]: Artifact Registry integration (#2318) 2024-08-22 00:28:17 +00:00