Commit Graph

106 Commits

Author SHA1 Message Date
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
c89f8516e8 feat:[AH-938]: fix for get artifacts API (#3358)
* feat:[AH-938]: fix for get artifacts API
* feat:[AH-938]: fix for get artifacts API
2025-01-31 06:55:46 +00:00
Sourabh Awashti
1478d44c2e feat:[AH-938]: bug fixes for generic artifacts (#3351)
* feat:[AH-938]: fix checks
* feat:[AH-938]: bug fixes for generic artifacts
2025-01-30 09:20:58 +00:00
Pragyesh Mishra
2990923f15 [feat]: [AH-152]: maven download url fix (#3339)
* [feat]: [AH-152]: maven download url fix
* [feat]: [AH-152]: maven download url fix
* [feat]: [AH-152]: maven download url fix
* [feat]: [AH-152]: maven download url fix
2025-01-29 05:32:15 +00:00
Pragyesh Mishra
4eb00eae4c [feat]: [AH-152]: fix maven files count (#3335)
* [feat]: [AH-152]: pr check
* [feat]: [AH-152]: pr check
* [feat]: [AH-152]: pr check
* [feat]: [AH-152]: pr check
* [feat]: [AH-152]: pr check
* [feat]: [AH-152]: fix files count
* [feat]: [AH-152]: fix files count
* [feat]: [AH-152]: fix files count
2025-01-28 17:59:33 +00:00
Sourabh Awashti
b058448e19 feat:[AH-926]: update in get artifacts query (#3332)
* feat:[AH-926]: review changes
* Revert "feat:[AH-926]: review changes"

This reverts commit d2e581f0358f54f47b2cd2702751b71b719e1e8b.
* feat:[AH-926]: review changes
* feat:[AH-926]: update in get artifacts query
2025-01-28 08:45:00 +00:00
Sourabh Awashti
1b70a9407c feat:[AH-926]: router changes for generic artifacts (#3330)
* feat:[AH-926]: review changes
* feat:[AH-926]: review changes
* feat:[AH-926]: router changes for generic artifacts
* feat:[AH-926]: router changes for generic artifacts
2025-01-28 05:47:52 +00:00
Pragyesh Mishra
7e777093a4 [feat]: [AH-152]: get files maven api (#3329)
* [AH-152]: get files maven api
* [AH-152]: get files maven api
* [AH-152]: get files maven api
* [feat]: [AH-152]: support get artifact files for maven
* [feat]: [AH-152]: support get artifact files for maven
2025-01-27 17:22:49 +00:00
Sourabh Awashti
e36647c78d feat:[AH-928]: Query changes for artifact and version lisiting for non OCI packages (#3323)
* feat:[AH-928]: fix checks
* feat:[AH-928]: review changes
* feat:[AH-928]: Query changes for artifact and version lisiting for non OCI packages
2025-01-27 16:29:33 +00:00
Sourabh Awashti
b501dbe44a feat:[AH-927]: generic artifact router and redirect url changes (#3322)
* feat:[AH-927]: fix checks
* feat:[AH-926]: fix checks
* feat:[AH-927]: fix checks
* feat:[AH-927]: fix checks
* feat:[AH-927]: generic artifact router and redirect url changes
2025-01-27 07:26:26 +00:00
Sourabh Awashti
c41a615394 feat:[AH-926]: get client setup and artifact details api for generic artifacts (#3321)
* feat:[AH-926]: fix checks
* feat:[Ah-926]: fix checks
* feat:[AH-926]: get client setup and artifact details api for generic artifacts
2025-01-27 06:58:17 +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
Pragyesh Mishra
8342bf839a [feat]: [AH-147]: maven client setup api changes (#3312)
* [feat]: [AH-147]: maven client setup api
* [feat]: [AH-147]: maven client setup api
* [feat]: [AH-147]: API changes
2025-01-24 12:12:35 +00:00
Sourabh Awashti
321a1cc8d2 feat:[AH-400]: upload and download flow for generic artifacts (#3298)
* feat:[AH-400]: fix checks
* feat:[AH-400]: fix checks
* Merge branch 'AH-400' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-400
* feat:[AH-400]: fix checks
* Merge branch 'main' into AH-400
* feat:[AH-400]: review changes
* feat:[AH-400]: upload and download flow for generic artifacts
2025-01-24 09:31:00 +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
9290cf559e [feat]: [AH-147]: Get Maven Artifact Detail API and proxy changes (#3302)
* [feat]: [AH-147]: pr check
* [fix]: [AH-147]: fix pr check
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into maven-remote-changes
* [feat]: [AH-147]: Get Maven Artifact Detail API
* [feat]: [AH-147]: Get Maven Artifact Detail API
2025-01-21 15:24:14 +00:00
Sourabh Awashti
a532c9c386 feat:[AH-628]: Add queries for node and generic blob tables (#3295)
* [fix]: [AH-629]: FIXED PR CHECK
* feat:[AH-629]: fix checks
* Merge branch 'main' into AH-629-db
* feat:[AH-629]: fix checks
* feat:[AH-628]: Add queries for node and generic blob tables
2025-01-21 11:25:54 +00:00
Pragyesh Mishra
eb778919ee [feat]: [AH-147]: maven api base (#3282)
* [feat]: [AH-147]: comment out file manager dependency
* [feat]: [AH-147]: comment out file manager dependency
* [feat]: [AH-147]: comment out file manager dependency
* [feat]: [AH-147]: remote methods
* [feat]: [AH-147]: maven apis
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into maven-apis
* [feat]: [AH-147]: maven apis
* [feat]: [AH-147]: maven apis
* [feat]: [AH-147]: maven api contract
* [feat]: [AH-147]: maven api contract
* [feat]: [AH-147]: maven api contract
* [feat]: [AH-147]: maven api contract
2025-01-20 13:26:20 +00:00
Sourabh Awashti
3e17a7e7fc feat:[AH-630]: File manager support for HAR (#3251)
* feat:[AH-630]: fix checks
* feat:[AH-630]: fix checks
* feat:[AH-630]: fix checks
* Merge branch 'main' into AH-630
* feat:[AH-630]: review changes
* feat:[AH-630]: File manager support for HAR
2025-01-17 12:22:51 +00:00
Ritek Rounak
57a071c6dd fix: [AH-865]: Fix Repetitive Delete Success | gitness (#3283)
* fix: [AH-865]: Fix Lint
* fix: [AH-865]: Fix Repeative Delete Success
2025-01-17 06:15:32 +00:00
Pragyesh Mishra
862ce90d21 [feat]: [AH-147]: generic and maven api contract (#3285)
* [feat]: [AH-147]: generic and maven api contract
2025-01-16 16:15:08 +00:00
Tudor Macari
ad7c8d51f2 fix: [AH-889]: fix pull from different space upstream (#3275)
* fix: [AH-889]: fix pull from different space upstream
2025-01-15 16:19:52 +00:00
Ritek Rounak
77e8ef45d1 fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272)
* fix: [AH-831]: Updated Manifest_reference Foreign
* fix: [AH-831]: Updated Error Message for Upstream Delete Fail
2025-01-15 12:30:13 +00:00
Pragyesh Mishra
af016422cd [feat]: [AH-147]: added maven integration api handlers (#3269)
* [feat]: [AH-147]: added maven handlers, routers
* [feat]: [AH-147]: added maven handlers, routers
* [feat]: [AH-147]: added maven handlers, routers
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into maven-integration-api-handler
* [feat]: [AH-147]: added maven handlers, routers
* [feat]: [AH-147]: added maven handlers, routers
2025-01-15 12:23:21 +00:00
Arvind Choudhary
90858bcbaa fix: [AH-889]: Updated query Registry.GetByIDIn() (#3264)
* [AH-889]: Updated query Registry.GetByIDIn()
2025-01-14 21:56:04 +00:00
Arvind Choudhary
4337a9be4b fix: [AH-820]: Fixed virtual registry behaviour due to auto library prefix implementation (#3242)
* [AH-820]: Fixed virtual registry behaviour due to auto library prefix implementation:
2025-01-14 21:24:26 +00:00
Arvind Choudhary
362e64fd62 feat: [AH-786]: Updated Layer query to fix allowing duplicate layers (#3253)
* [AH-786]: Updated Layer query to fix allowing duplicate layers
2025-01-14 06:19:29 +00:00
Pragyesh Mishra
8b06e30bb9 [fix]: [AH-724]: support public ecr proxy (#3247)
* [fix]: [AH-724]: support public ecr
* [fix]: [AH-724]: support public ecr
2025-01-13 14:06:52 +00:00
Sourabh Awashti
e226397585 feat:[AH-628]: Generic blob store support (#3220)
* [AH-628]: Updated PR
* feat:[Ah-628]: fix checks
* feat:[AH-628]: review changes
* feat:[Ah-628]: review changes
* Merge branch 'main' into AH-628-generic-blob-store
* feat:[AH-628]: review changes
* feat:[AH-628]: merge conflicts
* feat:[AH-628]: merge conflicts
* feat:[AH-628]: added the generic blob store
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* Merge branch 'main' into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: file manager changes with some DB and swagger changes
* feat:[Ah-628]: File manager framwork migrations
2025-01-10 05:09:14 +00:00
Shivakumar Ningappa
2b59a4f68f fix: [AH-793]: edge-case: if the link from leaf to root is broken, also include registries at root-level (#3235)
* fix: [AH-793]: edge-case: if the link from leaf to root is broken, also include registries at root-level
* fix: [AH-793]: edge-case: if the link from leaf to root is broken, also include registries at root-level
2025-01-07 11:36:57 +00:00
Pragyesh Mishra
09a6e983ae [fix]: [AH-724]: fix access key secret issue (#3228)
* [fix]: [AH-724]: fix secret issue
2025-01-06 11:34:11 +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
Arvind Choudhary
0ac9a3aac1 feat: [AH-783]: Added middleware for original URL (#3221)
* [AH-783]: Updated method names
* [AH-783]: Lint fixed
* [AH-783]: Added middleware for original URL
2025-01-03 23:00:20 +00:00
Ritek Rounak
dec251e385 fix: [AH-578]: Fixed Sort By DownloadCount | Gitness (#3217)
* fix: [AH-578]: Fixed Sort By DownloadCount
* fix: [AH-578]: Fixed Sort By DownloadCount
* fix: [AH-578]: Fixed Sort By DownloadCount
2025-01-03 21:12:48 +00:00
Arvind Choudhary
15f4adcbe0 feat:[AH-628]: File manager framework DB migration and objects (#3207)
* Merge commit
* [AH-628]: Updated schema
2024-12-30 11:09:06 +00:00
Arvind Choudhary
5d17af97d3 feat:[AH-628]: File manager framework DB migration and objects (#2954) (#3206)
* Revert "feat:[AH-628]: File manager framework DB migration and objects (#2954)"

This reverts commit ea1d934dec.
2024-12-26 21:49:35 +00:00
Sourabh Awashti
ea1d934dec feat:[AH-628]: File manager framework DB migration and objects (#2954)
* [AH-628]: Renamed files
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: fix uts
* feat:[AH-628]: fix node object
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* Merge branch 'main' into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: file manager changes with some DB and swagger changes
* feat:[Ah-628]: File manager framwork migrations
2024-12-26 19:34:12 +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
Arvind Choudhary
aaebea0c5d feat: [AH-687]: Added PR check script for code coverage (#3135)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-687-PR-checks
* [AH-687]: Updated format
* [AH-687]: Updated copyright
* [AH-687]: updated script
* [AH-687]: updated script
* [AH-687]: updated script
* [AH-687]: Cleanup
* [AH-687]: updated script
* []: updated
* []: updated script
* []: updated script
* []: updated script
* []: added test
* []: Added utils
* []: updated script
* []: updated script
* []: updated script
* []: updated script
* []: updated script
* []: updated script
* []: added temp utils files
* []: Updated dummy_arvind
* []: Updated dummy_arvind
* []: Updated dummy_arvind
2024-12-19 09:31:11 +00:00
Ritek Rounak
c73014bc83 fix: [AH-790] Improve error handling for duplicate Artifact Registry | Gitness (#3170)
* fix: [AH-790] Improve error handling for duplicate Artifact Registry
2024-12-17 12:58:28 +00:00
Ritek Rounak
f463f8f7f5 fix: [AH-745] fix summary page sql query for sqlite | Gitness (#3110)
* fix: [AH-745] Added sql query in logs
* feat: [AH-745] Added Separate Queries for Postgres & Sqlite
* fix: [AH-745] fix summary page sql query for sqlite
2024-12-09 18:08:32 +00:00
Ritek Rounak
ff1cbd654e fix: [AH-556] fix error on creation of duplicate artifact registry | Gitness (#3117)
* fix: [AH-556] Fix NilError Lint
* fix: [AH-556] fix error on creation of duplicate artifact registry
2024-12-09 14:26:41 +00:00
Tudor Macari
9cd6480f9d fix: [AH-757]: do nothing if manifets manifest is already referenced (#3128)
* fix: [AH-757]: do nothing if manifets manifest is already referenced
2024-12-09 09:53:31 +00:00
Arvind Choudhary
cfa4e351c4 fix: [AH-717]: Added fix to return 404 in case manifest or blobs are not available (#3107)
* [AH-717]: updated lint issues
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-717-404-fix-registry
* [AH-717]: Added fix to return 404 in case manifest or blobs are not available
2024-12-06 03:33:51 +00:00
Shivakumar Ningappa
aea3067a06 fix: [AH-746]: add separate sql syntax for sqlite while recursively listing registries (#3104)
* fix: [AH-746]: add separate sql syntax for sqlite while recursively listing registries
2024-12-04 05:40:57 +00:00
Ritek Rounak
d4987eb0cb fix: [AH-489] Fix Docker & Helm DownloadCount | Gitness (#3032)
* fix: [AH-489] Update Tag DB Queries
* fix: [AH-489] Fix Docker Download Count in Get Manifests
* add Download Count in Docker manifest Details
* fix: [AH-489] Fix Docker DownloadCount in Details Page
* fix: [AH-489] Fix Helm DownloadCount DB Query
2024-12-04 03:16:17 +00:00
Tudor Macari
ed2597bdcc feat: [AH-713]: add method to get base UI url (#3103)
* feat: [AH-713]: add method to get base UI url
2024-12-03 13:37:48 +00:00
Shivakumar Ningappa
393a14682f fix: [AH-674]: support upstream proxies at org/acct - minor refactor for better readability (#3076)
* fix: [AH-674]: support upstream proxies at org/acct - minor refactor for better readability
2024-11-29 13:22:43 +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
Pragyesh Mishra
91aad4cf96 [fix]: [AH-528]: Fixed upstream proxy flow for without /library for dockerhub images (#3073)
* [fix]: [AH-528]: Fixed upstream proxy flow for without /library for dockerhub images
2024-11-28 14:34:49 +00:00