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
Darko Draskovic
0f3956696c
feat: [PIPE-22071]: Enhance pipeline list API to include last 10 execution summaries for a pipeline ( #2840 )
...
* Scan directly into types.ExecutionInfo
* Merge remote-tracking branch 'origin/main' into dd/pipeline-execs
* Merge remote-tracking branch 'origin/main' into dd/pipeline-execs
* Add last_executions param and optimize db query for last execs
* Enhance pipeline list API to include last 10 execution summaries for a pipeline
2024-10-23 16:17:25 +00:00
Deepak Bhatt
73b8beb005
fix: [CDE-390]:add sql migration for gitspace config table ( #2836 )
...
* add comment
* add sql migration for gitspace config table
2024-10-21 10:55:39 +00:00
Deepak Bhatt
b3e65f827f
fix: [CDE-202]:modify db function for gitspaces ( #2807 )
...
* modify list function for gitspaces
2024-10-21 04:35:34 +00:00
Darko Draskovic
b002a60b02
feat: [CODE-2292]: Add API for space level webhook creation ( #2730 )
...
* Merge remote-tracking branch 'origin/main' into dd/webhooks-space
* Move webphookpreprocessor to webhook controller
* Merge remote-tracking branch 'origin/main' into dd/webhooks-space
* Merge branch 'main' into dd/webhooks-space
* Add webhookpreprocessor service
* Add WebhookParentInfo type and refactor webhook svc and store to use it
* Introduce webhookpreprocessor service
* Add space webhooks
* Refactor handlers to use custom fn params
* Move everything webhook service related to webhook service
* Remove webhook parent info type
* Add webhook execution count
* Add space webhooks
2024-10-18 16:27:56 +00:00
Deepak Bhatt
21bdad8ece
feat: [CDE-390]:add can delete column in gitspace_config table ( #2827 )
...
* fix err msg
* update migration query
* fix typo
* feedback comments
* add can delete column in gitspace_config table
2024-10-18 08:38:27 +00:00
Deepak Bhatt
f2fca6808d
fix: [CDE-202]: list-dead func ( #2821 )
...
* fix list-dead func
2024-10-16 10:27:13 +00:00
Deepak Bhatt
7790c19a7f
fix: [CDE-202]: update gitspace database funcs ( #2809 )
...
* remove named returns
* update gitspace database funcs
2024-10-16 04:17:04 +00:00
Shivakumar Ningappa
6614040555
feat: [AH-433]: write DB migrator tool for Artifact Registry - export postgres FS ( #2811 )
...
* feat: [AH-433]: write DB migrator tool for Artifact Registry - export postgres FS
2024-10-14 20:57:25 +00:00
Marko Gaćeša
4d577bb378
fix: [CODE-2134]: replace include_description with exclude_description param ( #2808 )
2024-10-14 18:08:07 +00:00
Deepak Bhatt
f1cb9986c2
fix: [CDE-202]:udpate query for bulk update git instance state ( #2777 )
...
* add update all
* udpate query for bulk update git instance state
2024-10-07 15:51:31 +00:00