-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(api-service): api for env level change fixes NV-6155 #8608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 68 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
b8c5f84
fix: wip
scopsy 528eaf3
fix: wip
scopsy 53772dd
fix: fix
scopsy 1638fef
l
scopsy 72afe8c
fix: it
scopsy 3424b16
diz: q
scopsy 43da6f5
fix
scopsy 45e754b
feat: add test
scopsy 44e0b91
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 3f354c6
Update pnpm-lock.yaml
scopsy 8ff0cc6
Replace WorkflowOriginEnum with ResourceOriginEnum
scopsy 3a2b4d1
Add step-level diff support to environment diff
scopsy 7f15289
Refactor diff to return per-entity results with metadata
scopsy ac0283b
Simplify diff summary by merging step and workflow counts
scopsy ad4ccc7
Update workflow-sync.strategy.ts
scopsy df59a32
Support workflow deletion during environment sync
scopsy 54ee1bc
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 98f9613
Include normalized step data in step diff changes
scopsy 52e2a6f
Rename 'old' to 'previous' in diff-related code
scopsy b81a247
Remove duration and timing fields from sync results
scopsy cd1fed5
Update publish-environment.dto.ts
scopsy cf4f2eb
Refactor publish summary property names for clarity
scopsy ed2c256
Remove includeInactive option from environment diff
scopsy 7edda2a
Remove includeInactive option from environment publishing
scopsy 2ea9b77
Remove skipExisting option from publish environment flow
scopsy 22d7fd1
Remove batchSize option from publish environment flow
scopsy 3f1873f
Remove unused sync result helpers from base strategy
scopsy 010836d
Update workflow-sync.strategy.ts
scopsy aad74b5
Refactor workflow sync strategy with modular operations
scopsy 9dba03a
Add userContext to workflow sync diff operations
scopsy cb95974
Update workflow-sync.constants.ts
scopsy 60053e8
Refactor sync types to use strong typing and enums
scopsy 1dff48e
Use EntityTypeEnum.WORKFLOW for entityType
scopsy 6ef9e8c
Refactor entity to resource terminology in sync logic
scopsy 8db68c7
Use workflow identifier instead of _id in sync and diff ops
scopsy 179db1d
Refactor diff DTOs and types for source/target clarity
scopsy a221f0c
Update environments-v2-diff.e2e.ts
scopsy df08c56
Refactor workflow diff to unify step actions and types
scopsy f354ae6
Rename 'diffs' and 'changes' fields for consistency
scopsy aca20df
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 68d6f00
Refactor workflow sync builders for resource type support
scopsy 6647a41
Merge branch 'nv-6155-api-for-env-level-change' of https://github.com…
scopsy 9595d51
Refactor workflow normalization and update permissions
scopsy a5edf84
Refactor workflow sync to use repository service
scopsy a8c41ea
Update workflow diff permissions and refactor types
scopsy eab59b8
Update environments.controller.ts
scopsy abd3694
Update tests to use new summary fields in publish API
scopsy 0ee276f
Add updatedBy user tracking to workflows
scopsy 804d002
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 37876f4
Add updatedBy user info to environment diff results
scopsy 64f7872
Add updatedAt fields to workflow diff results
scopsy 30570ce
Refactor resource diff structure to use nested objects
scopsy f94cbbc
Add environment type support and defaulting logic
scopsy 262a45c
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 5b8689b
Update environment.schema.ts
scopsy e91dafd
Remove payload schema fields from workflow sync DTOs
scopsy cfcbc79
Add MongoDB session support for transactional sync
scopsy f847a09
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 76b244c
Add feature flag for new environment type mechanism
scopsy 6c20904
Refactor environment validation into dedicated service
scopsy 60cc0ce
Support non-replica set MongoDB by allowing null sessions
scopsy 8971867
Exclude session property from command serialization
scopsy 7b089c3
Update get-my-environments.usecase.ts
scopsy f22f3b7
Add userId to GetMyEnvironmentsCommand
scopsy 5ba3a43
Improve workflow comparison and command serialization
scopsy 64eca22
Add updatedBy and type fields to workflow and environment DTOs
scopsy 17674e3
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy aa954ed
Exclude LayoutsController from Swagger docs
scopsy ebd3546
Merge branch 'next' into nv-6155-api-for-env-level-change
scopsy 656db5f
Remove TransactionalSyncService and refactor usage
scopsy 0e1abdb
Refactor environment diff and publish endpoints
scopsy af44cad
Refactor environment e2e tests and update SDK formatting
scopsy 771c1b1
Refactor workflow creation in e2e tests to use SDK
scopsy 4054757
Add session support to workflow and template queries
scopsy b249f62
Update publish test to reflect skipped workflow
scopsy d2cf7a2
Update .source
scopsy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@djabarovgeorge from what i've i've read in the docs, nullable !== required, where apiproprty optional only handeled the undefined state, nullable is different. and is explicitly added.