Commit Graph

198 Commits

Author SHA1 Message Date
Akhilesh Pandey
21bb774275 feat: [CODE-2573]: add scope in type for usergroupinfo (#3241) 2025-01-10 21:20:55 +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
Sourabh Awashti
f270bc596a feat:[AH-628]: migration fix for file manager (#3219)
* feat:[AH-628]: review changes
* feat:[AH-628]: migration fix for file manager
2025-01-03 09:16:23 +00:00
Marko Gaćeša
3d5feb0315 feat: [CODE-2862]: support integer ref for repo finder (#3205) 2024-12-30 17:24:06 +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
Ansuman Satapathy
cafa55b2e5 feat: [CDE-573]: refactor to reduce number of abstractions and modules. (#3203)
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
2024-12-26 08:58:41 +00:00
Marko Gaćeša
2b959817d5 feat: [CODE-2862]: put space fetch behind a cache (#3201)
* replaced type of the inner cache to SpaceCache
* put space fetch behind a cache
2024-12-25 11:37:40 +00:00
Enver Biševac
a178e629ea fix: [code-2912]: issue with pq sql (#3185)
* requested changes
* fix issue with pqsql
2024-12-20 17:41:41 +00:00
Enver Biševac
db38802e83 feat: [code-2912]: usage service implementation (#3168)
* feat: [code-2912]: rest and ui changes (#3178)

* requested changes
* rest and ui changes
* requested changes
* add midleware to raw and archieve endpoints
* wire fixed
* requested changes
* Merge remote-tracking branch 'origin/main' into eb/code-2912
* added initial values from db
* minor improvements
* requested changes
* remove check for bandwidth
* wiring dep
* improved test
* limits check added
* config added, minor improvements
* usage service implementation
2024-12-20 10:28:47 +00:00
Abhinav Singh
4a55edad29 fix: [CODE-2954]: fix webhook query (#3175)
* fix: [CODE-2954]: fix webhook query
2024-12-19 05:02:19 +00:00
Enver Biševac
48f07f0f0c feat: [code-2912]: db layer for usage metrics (#3159)
* db layer for usage metrics
2024-12-13 21:17:28 +00:00
Johannes Batzill
69fa8f06b3 fix: [CODE-2931]: Remove leftover webhook_internal usage - make type fixed (#3150) 2024-12-11 19:10:47 +00:00
Enver Biševac
2a5b475778 fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134)
* temporary fix for listing more than 30 repos in a single request
* max repos changed to 500
2024-12-10 07:55:33 +00:00
Ansuman Satapathy
a5d442f289 feat: [CDE-544]: allow actions if stuck in starting/stopping transient state (#3113)
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
2024-12-05 05:02:57 +00:00
Abhinav Singh
bd9d15500c feat: [CODE-2885]: support for webhook type (#3098) 2024-12-05 02:01:08 +00:00
Darko Draskovic
18da27f968 feat: [CODE-2857]: Add checks API to spaces (#3084)
* Fix stmt reassignment
* Add get descendent ids helper to space store
* Add checks API to spaces
2024-12-03 15:31:56 +00:00
Ansuman Satapathy
293aa5ff29 feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command (#3087)
* feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command
2024-12-01 06:50:59 +00:00
Johannes Batzill
f2d72cba46 fix: [CODE-2631] : fix issue on label unassign activity (#3062) 2024-11-27 18:16:03 +00:00
Darko Draskovic
3a3c8e2c85 feat: [CODE-2854]: Add scope info to webhooks (#3050)
* Change space permissions to repo permissions for and add scope info to webhooks
2024-11-26 22:16:10 +00:00
Darko Draskovic
c79fe0f829 fix: [CODE-2846]: Add scope info to rule (#3045)
* Add scope info to rule
2024-11-25 17:43:21 +00:00
Ansuman Satapathy
c43d0e62a7 fix: [CDE-525]: update parsing for devcontainer.json (#3035)
* fix: [CDE-525]: fix step names
* fix: [CDE-525]: fix step names
* feat: [CDE-470]: update the parsing logic for lifecycle steps

fix: [CDE-525]: fix step names
2024-11-22 07:37:12 +00:00
Darko Draskovic
fd9a1ad400 feat: [CODE-2568]: Add rules API for space level (#2865)
* Add openapi spec for space rules
* Merge branch 'main' into dd/space-branch-rules
* Fix doc comments and space permissions
* Merge branch 'main' into dd/space-branch-rules
* Add equal check to update rule
* Merge branch 'main' into dd/space-branch-rules
* Use consistently RuleParentInfo
* Add RuleParentInfo type
* Merge branch 'main' into dd/space-branch-rules
* Rename r to rule in funcs and rule to protection
* Merge remote-tracking branch 'origin/main' into dd/space-branch-rules
* Unifiy instrumentation and audit handling
* Add delete, find, list and patch svc funcs and API endpoints
* Add rules API for space level
2024-11-19 12:52:27 +00:00
Shivakumar Ningappa
a63e2ca2a0 feat: [AH-658]: perform various query optimizations to improve docker pull and other operations (#2994)
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
2024-11-13 21:45:08 +00:00
Deepak Bhatt
f3713715c4 feat: [CDE-483]: add lastupdated filter (#2992)
* add lastupdated filter
2024-11-13 11:55:46 +00:00
Shivakumar Ningappa
edf01c5a9b fix: [AH-585]: add index to improve query performance found during load testing (#2982)
* fix: [AH-585]: add index to improve query performance found during load testing
2024-11-12 13:18:42 +00:00
Dhruv Dhruv
1781c3be70 feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state. (#2977)
* feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state.
2024-11-12 05:58:28 +00:00
Karan Saraswat
123969c7e1 feat: [PIPE-23137]: updated executionInfo struct with more data and added lastExecutions to list space pipelines API (#2958)
* fixed go lint
* fixed go lint
* feat: [CODE-23137]: added execution summary data to list space pipelines API
2024-11-08 19:08:20 +00:00
Marko Gaćeša
b630e9f248 feat: [CODE-2702]: fix string search by '_' or '%' (#2959)
* fix string search by '_' or '%'
2024-11-08 16:27:51 +00:00
Karan Saraswat
0cd3e0693f feat: [PIPE-22871]: API for listing executions for a project/space (#2941)
* fixed go lint
* added header
* Apply suggestions from code review
* feat: [PIPE-22871]: added filters for list space executions API
* feat: [PIPE-22871]: count of pipelines db query will be run if there is more than 1 page
* removed pipelineId ans repoId from executionPipelineRepoJoin
* fixed go lint
* addressed review comments
* Apply suggestions from code review
* Apply suggestions from code review
* fixed lint
* feat: [PIPE-22871]: API for listing executions for a project/space
2024-11-08 11:55:40 +00:00
Ansuman Satapathy
565820fbc8 fix: [CDE-469]: remove pointer types from gitspace scm (#2956)
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
2024-11-08 09:51:59 +00:00
Marko Gaćeša
7336cab958 feat: [CODE-2702]: fix string search by '_' or '%' (#2946)
* fix string search by '_' or '%'
2024-11-07 15:09:35 +00:00
Deepak Bhatt
d6f64c8af6 feat: [CDE-460]:filter events for cde (#2950)
* filter events
2024-11-07 14:11:51 +00:00
Deepak Bhatt
16dd28329b fix: [CDE-462]:add migration script (#2947)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-migration-script
* update migration script
* add migration file
* fix query
* add migration script
2024-11-07 13:33:25 +00:00
Deepak Bhatt
f79d785f60 fix: [CDE-438]: modify filter logic for marked-for-deletion field (#2935)
* modify delete api
* modify filter logic for marked-for-deletion field
2024-11-06 08:06:56 +00:00
Akhilesh Pandey
2f45f99f8b feat: [CODE-2573]: Allow ID to be sent in userGroupInfo object (#2923)
* feat: [CODE-2573]: Scan UserGroup ID to be returned after creation
* feat: [CODE-2573]: Allow ID to be sent in userGroupInfo object
2024-11-05 16:02:19 +00:00
Ansuman Satapathy
0ca7e83e34 fix: [CDE-454]: added null check for logs, apply state filter (#2922)
* 

fix: [CDE-454]: added null check for logs.
* 

fix: [CDE-454]: added null check for logs.
2024-11-05 03:41:57 +00:00
Ansuman Satapathy
abe335ddd2 fix: [CDE-454]: add the db filter for last used before. (#2917)
* fix: [CDE-454]: add the db filter for last used before.
2024-11-04 13:36:43 +00:00
Ansuman Satapathy
2daeee0b93 feat: [CDE-332]: added a way to filter gitspaces (#2915)
* feat: [CDE-332]: added a way to filter gitspaces
* feat: [CDE-332]: added a way to filter gitspaces
2024-11-04 06:57:06 +00:00
Ansuman Satapathy
2fc779c32a feat: [CDE-332]: updated swagger for gitspaces and sort order for gitspaces activation (#2913)
* feat: [CDE-332]: added a way to filter gitspaces
* feat: [CDE-332]: updated swagger for gitspaces and sort order for gitspaces activation
* feat: [CDE-332]: updated swagger for gitspaces
2024-11-04 04:40:28 +00:00
Marko Gaćeša
4244cbaa5a fix: [PIPE-22290]: fix check count summary query (#2911)
* fix check count summary query
2024-11-01 13:56:04 +00:00
Deepak Bhatt
516fadfe8f fix: [CDE-290]: modify list function for gitspaces (#2908)
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: remove duplication of code
* feat: [CDE-332]: remove duplication of code
* feat: [CDE-332]: remove duplication of code
* 

feat: [CDE-332]: remove duplication of code
* 





modify list all
* 





fix lint
* 





add sorting
* 





modify list function
2024-11-01 06:07:53 +00:00
Deepak Bhatt
35981e7f02 fix: [CDE-438]: add markedForDeletion filter in count (#2887)
* add markedForDeletion filter in count
2024-10-29 05:50:14 +00:00
Deepak Bhatt
178af11902 fix: [CDE-438]:modify list method for gitspace config (#2886)
* add removed params
* modify list gitspace config
2024-10-29 03:58:47 +00:00
Ansuman Satapathy
0d84fa85ff feat: [CDE-332]: remove unused and duplicate templateID gitspaces (#2884)
* feat: [CDE-332]: remove unused and duplicate templateID gitspaces
* 

feat: [CDE-332]: remove unused and duplicate templateID gitspaces
* 

feat: [CDE-332]: remove unused and duplicate templateID gitspaces
2024-10-28 13:04:17 +00:00
Deepak Bhatt
f94bc6b462 fix: [CDE-424]:add migration for gitspace_configs table (#2878)
* update query
* add migration
2024-10-28 12:43:09 +00:00
Dhruv Dhruv
69a815ee1e fix: [CDE-437]: Mapping IsMarkedForDeletion and IsDeleted when reading from db. (#2877)
* fix: [CDE-437]: Mapping IsMarkedForDeletion and IsDeleted when reading from db.
2024-10-28 08:10:15 +00:00
Deepak Bhatt
6983438ec2 feat: [CDE-391]:add infrastruce and orchestrator funcs (#2841)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* change name
* increase scope of delete
* change func name
* modify delete api
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* add delete and handler condition
* address comment
* handle cleanup event
* update enum mapping
* find destroyed infra as well
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* modify find signature
* Merge branch 'add-force-delete-job-funcs' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* 



address feedback 2
* 



address feedback
* 



Apply suggestion from code review
* 



Apply suggestion from code review
* 



remove std out
* 



add infrastruce and orchestrator funcs
* 



add and modify infra provider methods

Add cleanupInstanceResources method
Modify Deprovision method and make it idempotent
* address feedback 2
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* Merge branch 'add-force-delete-job-funcs' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* address feedback
* Apply suggestion from code review
* Apply suggestion from code review
* remove std out
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* add infrastruce and orchestrator funcs
* add and modify infra provider methods

Add cleanupInstanceResources method
Modify Deprovision method and make it idempotent
2024-10-28 05:30:14 +00:00
Marko Gaćeša
5eb79b3805 feat: [PIPE-22290]: add additional info to list branches API (#2831)
* change type of branch.SHA from string to sha.SHA
* remove code duplication, changed DB query for PRs
* add additional info to list branches API
2024-10-24 13:19:35 +00:00