Commit Graph

498 Commits (BT-10437)

Author SHA1 Message Date
Dhruv Dhruv b1d0c945d1 feat: [CDE-572]: Adding support for features- sorting and building. (#3248)
* Addressing review comments.
* feat: [CDE-572]: Adding support for features- sorting and building.
2025-01-14 08:21:44 +00:00
Atefeh Mohseni Ejiyeh f78f767ae2 feat: [CODE-2818]: Add Archive Repo functionality (#3051) 2025-01-13 19:02:51 +00:00
Abhinav Singh 64d66772d4 feat: [CODE-2865]: ssh support changes (#3052) 2025-01-13 15:56:57 +00:00
Dhruv Dhruv 4d888b0719 feat: [CDE-572]: Adding changes to support features. (#3244)
* Changes to support sorting and building.
* Updating go.mod
* feat: [CDE-572]: Adding changes to support features. Changes to support the features property in the devcontainer.json, download features from OCI repos and http(s) URLs as tarballs and parse them to devcontainer-feature.json, resolve them and apply user options. Also added a change to use an OS library to remove comments from the json files.
* feat: [CDE-572]: Adding changes to support features. Changes to support the features property in the devcontainer.json, download features from OCI repos and http(s) URLs as tarballs and parse them to devcontainer-feature.json, resolve them and apply user options. Also added a change to use an OS library to remove comments from the json files.
2025-01-13 11:44:24 +00:00
Akhilesh Pandey 21bb774275 feat: [CODE-2573]: add scope in type for usergroupinfo (#3241) 2025-01-10 21:20:55 +00:00
Deepak Bhatt 816feec222 feat: [CDE-576]: add port for JetBrains IDEs (#3243)
* feat: [CDE-576]: fix func name
* feat: [CDE-576]: fix lint
* feat: [CDE-576]: add port for JetBrains IDEs
2025-01-10 03:22:32 +00:00
Johannes Batzill db9af2018b feat: [CODE-2565]: Add development config to support alternate UI source (#2848) (#3212) 2025-01-09 18:29:12 +00:00
Yogesh Chauhan a94be356c4 feat: [ML-531]: Introduce conversations into request DTOs for AI Devops (#3239)
* Merge branch 'main' into yogesh/ML-531-conversationsDTO
* Fixed Lint issues
* transfer fields from handler to controller
* Add to controller object
* Add conversation DTOS
2025-01-09 16:05:51 +00:00
Deepak Bhatt 19363d2b1a feat: [CDE-576]: add devcontainer config for Jetbrains (#3215)
* feat: [CDE-576]: fix hardcoding
* feat: [CDE-576]: fix lint
* feat: [CDE-576]: lint
* feat: [CDE-576]: make IDE path configurable
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-576-devcontainer-json-intellij
* feat: [CDE-576]: fix script name
* feat: [CDE-576]: configure Jetbrains IDEs
* feat: [CDE-576]: change to intellij ide type
* feat: [CDE-576]: fix comments
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-576-devcontainer-json-intellij
* feat: [CDE-576]: add devcontainer config for Jetbrains
* feat: [CDE-552]: fix lint
* feat: [CDE-552]: wait for the ide to run
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: address comments
* feat: [CDE-552}: add support for arm and amd architecture
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: fix build
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-563-intellij-support
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: add install tools, setup and run scripts for intellij
* add intellij support

# Conflicts:
#	app/gitspace/infrastructure/trigger_infra_event.go
#	app/gitspace/orchestrator/utils/script_templates/setup_intellij.sh
2025-01-07 13:10:54 +00:00
Ansuman Satapathy 2036b8e26a fix: [CDE-582]: handle serde properly for polymorphic devcontainer json objects. (#3224)
* fix: [CDE-582]: handle serde properly for polymorphic devcontainer json objects.
* fix: [CDE-582]: handle serde properly for polymorphic devcontainer json objects.
* fix: [CDE-582]: handle serde properly for polymorphic devcontainer json objects.
2025-01-03 09:57:02 +00:00
Deepak Bhatt 887379b94a feat: [CDE-563]: add intellij support (#3193)
* feat: [CDE-552]: fix lint
* feat: [CDE-552]: wait for the ide to run
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: address comments
* feat: [CDE-552}: add support for arm and amd architecture
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: fix build
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-563-intellij-support
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: add install tools, setup and run scripts for intellij
* add intellij support

# Conflicts:
#	app/gitspace/infrastructure/trigger_infra_event.go
#	app/gitspace/orchestrator/utils/script_templates/setup_intellij.sh
2024-12-30 15:19:48 +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
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
Deepak Bhatt 4f739d5127 feat: [CDE-563]: add support for intellij IDE (#3165)
* feat: [CDE-552}: add ide url scheme consts
* feat: [CDE-552}: define shell interpreter for script
* feat: [CDE-552}: add intellij port
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: add intellij integration
* feat: [CDE-552}: add intellij type
2024-12-20 04:52:13 +00:00
Vikyath Harekal 800947f7f1 feat: [CDE-511]: Add hybrid_vm to InfraProviderType enum values (#3174)
* feat: [CDE-511]: Add hybrid_vm to InfraProviderType enum values
* feat: [CDE-511]: Add hybrid_vm to InfraProviderType enum values
2024-12-19 05:02:06 +00:00
Darko Draskovic 265eb40f22 feat: [CODE-1353]: Add status check and merge check SSE events (#3146)
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add webhook create/update/delete event
* Add branch/tag created/updated deleted events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add new event types
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add logs directly to publisher
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add status check and merge check SSE events
2024-12-18 16:00:58 +00:00
Akhilesh Pandey 694e790091 feat: [CODE-2679]: Comment status update changes (#2943) (#3006)
* feat: [CODE-2472]: update wire
* feat: [CODE-2472]: update wire
* feat: [CODE-2472]: update wire
* feat: [CODE-2742]: update comments
* Merge branch 'main' into akp/CODE-2472
* feat: [CODE-2472]: naming and comment
* Apply suggestion from code review
* feat: [CODE-2472]:  remove file
* feat: [CODE-2472]:  Created issue
* feat: [CODE-2472]:  Review
* feat: [CODE-2472]:  rebase
* feat: [CODE-2679]: Comment status update changes (#2943)

* rebase
* feat: [CODE-2679]: review
* feat: [CODE-2679]: wire changes
* feat: [CODE-2679]: Comment status update changes
* feat: [CODE-2679]: Comment status update changes
* feat: [CODE-2472]: fix minor issues
* feat: [CODE-2472]: Update the timestamps
* feat: [CODE-2472]: Pullreq comment updated changes
* feat: [CODE-2472]: changes
* feat: [CODE-2472]: update name to edited
* feat: [CODE-2472]: update name to edited
* feat: [CODE-2472]: status change comment changes
* feat: [CODE-2472]: Text changes only
* feat: [CODE-2472]: initial code
2024-12-18 06:27:39 +00:00
Ansuman Satapathy 9c792e53fd fix: [CDE-555]: allow mixed data types in lifecycle command object form. (#3169)
* fix: [CDE-555]: allow mixed data types in lifecycle command object form.
* fix: [CDE-555]: allow mixed data types in lifecycle command object form.
* fix: [CDE-555]: allow mixed data types in lifecycle command object form.
2024-12-17 09:21:48 +00:00
Abhinav Singh fa675f322c fix: [CODE-2728]: fix webhook internal url to not read from db (#3002)
* fix
* 



fix: [CODE-2728]: fix webhook internal url to not read from db
2024-12-17 08:24:32 +00:00
Yogesh Chauhan aed116a24b fix: [ML-505]: changes to support update-step API for Harness Intelligence (#3156)
* Fix some lint issues
* fix more lint issues
* Fix linting
* fix: [ML-505]: add step context
* fix: [ML-505]: fix interface for update step
* fix: [ML-505]: interface for update step
* fix: [ML-505]: interface for update step
* fix: [ML-505]: structs for update step
2024-12-16 11:42:40 +00:00
Ansuman Satapathy a1c91d1aa6 fix: [CDE-555]: run lifecycle commands in paralell and allow object types for it (#3161)
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in paralell
* fix: [CDE-555]: run commands in paralell
* fix: [CDE-555]: update parsing and add discriminator
* fix: [CDE-555]: update parsing and add discriminator
2024-12-16 06:28:45 +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
Deepak Bhatt 9d1ef89e2d feat: [CDE-552]: update platform connector type (#3155)
* feat: [CDE-552}: update platform connector type
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into feat-CDE-552
* feat: [CDE-552}: update platform connector type
* feat: [CDE-552}: update platform connector type
* feat: [CDE-552}: update platform connector type
2024-12-13 08:23:31 +00:00
Abhinav Singh c7f7ade6b6 feat: [CODE-2886]: jira auth support (#3119) 2024-12-12 19:36:08 +00:00
Deepak Bhatt cb275dfafb feat: [CDE-552]: update platform connector type (#3151) 2024-12-12 05:25:16 +00:00
Darko Draskovic c05e7057dc feat: [CODE-1353]: Add SSE events for rules and reviewer add/remove (#3141)
* Add SSE events
2024-12-10 11:24:31 +00:00
Ansuman Satapathy 57a2cb6e44 feat: [CDE-545]: add a seperate events for gitspace routing (#3142)
* feat: [CDE-545]: add a seperate events for gitspace routing
* feat: [CDE-545]: add a seperate events for gitspace routing
2024-12-10 11:23:36 +00:00
Vikyath Harekal df3342aefe feat: [CDE-549]: Copy image using skopeo (#3127)
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix lint
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix
* feat: [CDE-549]: update command
* feat: [CDE-549]: Copy image using skopeo
2024-12-09 13:16:13 +00:00
Ansuman Satapathy a515a57299 feat: [CDE-545]: check during provision retry for latest instance (#3114)
* feat: [CDE-545]: check during provision retry for latest instance
* feat: [CDE-545]: check during provision retry for latest instance
2024-12-05 05:25:02 +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
Dhruv Dhruv 384fb7a7d2 fix: [CDE-513]: Sorting infra provider resources. (#3093)
* Correcting import.
* fix: [CDE-513]: Sorting infra provider resources.
2024-12-02 13:49:10 +00:00
Dhruv Dhruv 1086397b3f feat: [CDE-473]: Adding support for containerUser and remoteUser. (#3086)
* Adding support for root as remoteUser
* Changing logger from gitspace to application in config util.
* Changing logger from gitspace to application in config util.
* feat: [CDE-473]: Adding support for containerUser and remoteUser.
2024-12-01 05:03:48 +00:00
Deepak Bhatt b7cca56ec7 fix: [CDE-502]:do not add nexus connector (#3082)
* do not add nexus connector
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into nexus-support
* do not add nexus connector
* address feedback
* add nexus connector support
2024-11-30 05:49:46 +00:00
Deepak Bhatt 04c6046d70 feat: [CDE-502]: add nexus connector support (#3080)
* address feedback
* add nexus connector support
2024-11-29 11:16:42 +00:00
Yogesh Chauhan a89041e57e feat: [ML-334]: Extract interface for Intelligence service (#3066)
* Fix copyright header
* Fix lint issues wrt copyright & comment structure
* feat: [ML-334]: Extract interfae for Intelligence service
2024-11-28 10:48:23 +00:00
Ansuman Satapathy 843dc4df5f feat: [CDE-525]: Add support for customization IDE extensions from devcontainer.json (#3057)
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: setup vscode web plugins
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-27 13:14:44 +00:00
Deepak Bhatt 7765cf0d2f fix: [CDE-530]: use value for MaskSecret type (#3054)
* fix lint
* add non nil Mask secret
* add comment
* add non nil Mask secret
2024-11-27 06:53:13 +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
Deepak Bhatt deddbc8d68 feat: [CDE-530]:add mask secret (#3047)
* truncated sha256
* add hash value for MaskSecret
* mark secrets for smc creds
* fix nil reference
* fix lint
* fix unmarshall
* implement unmarshall json func
* add mask secret
2024-11-26 09:32:00 +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 8043ecc0fe feat: [CDE-525]: remove unused fields during serde from devcontainer.json (#3041)
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-25 10:42:11 +00:00
Dhruv Dhruv 7c358528ef feat: [CDE-475]: Adding support for runArgs. (#3031)
* Rebasing
* feat: [CDE-475]: Adding support for runArgs.
* WIP
* WIP
2024-11-25 09:56:30 +00:00
Deepak Bhatt 1299db775e fix:[CDE-507]: extract user from connector struct (#3040)
* change arg name
* fix user extract
2024-11-25 08:40:18 +00:00
Ansuman Satapathy 35039b9499 feat: [CDE-525]: stream pull image o/p cde, timeline events connector (#3037)
* feat: [CDE-525]: move event before network call
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-470]: execute commands with harness user
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
2024-11-25 04:43:26 +00:00
Vivek Dixit 3f54161997 [feat]: [ML-488]: Added New API for StepYamlGeneration for UI to call separately. (#3030)
* fixed go-lint issues
* [feat]: [ML-488]: Added New API for StepYamlGeneration for UI to call separately.
2024-11-22 07:55:26 +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
Deepak Bhatt 266e7a7866 feat: [CDE-507]:add connector details to gitspace config (#3020)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into pull-image-secret
* modify resume gitspace
* unchange provision func
* change provision func
* remove unnecessary arg
* add password field
* modify platform connector type
* remove unnecessary func
* fix lint
* remove docker registry
* modify event name
* add connector details package
* separate types into different files
* fix lint
* change func name
* change func name
* change connector name
* change package name
* add git config arg
* add comment
* remove unused const
* change event name
* fix wire gen
* add wire for artifact registry
* remove fmt print
* add artifact secret resolver
2024-11-22 06:21:10 +00:00
Darko Draskovic 335eaa73c1 feat: [CODE-2498]: Add time and author filter params to list commits page (#3000)
* Remove redundant consts and annotate errors
* Add a Regex bool field to the api.CommitFilter
* Add use author/commiter regex bool to list commit filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add commiter IDs
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add regex quote for author
* Add time and author filter params to list commits page
2024-11-21 10:31:32 +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