Skip to content

feat: add cookie parameter location support - #1725

Merged
lbroudoux merged 1 commit into
microcks:1.13.xfrom
varkart:fix/cookie-parameter-location-1655
Sep 12, 2025
Merged

lbroudoux merged 1 commit into
microcks:1.13.xfrom
varkart:fix/cookie-parameter-location-1655

Conversation

@varkart

@varkart varkart commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

This change fixes issue #1655 by adding cookie as a valid parameter location.

Changes:

  • Add 'cookie' to ParameterLocation enum in TypeScript model
  • Add cookie parameter validation in ParameterConstraintUtil
  • Add unit test related to change

Fixes #1655

@varkart
varkart force-pushed the fix/cookie-parameter-location-1655 branch from 0d6fd8f to 4bcc4cb Compare September 8, 2025 23:59
@lbroudoux

Copy link
Copy Markdown
Member

Hey @varkart
Thanks a lot! This is a great contribution and I'd like to merge it but we're in the same situation that in #1725. Can you please: create your branch from 1.13.x and then target 1.13.x in your PR? Many thanks!

@varkart
varkart force-pushed the fix/cookie-parameter-location-1655 branch from 4bcc4cb to 93476d7 Compare September 10, 2025 23:22
@varkart

varkart commented Sep 10, 2025

Copy link
Copy Markdown
Contributor Author

@lbroudoux sry for confusion, now I cleaned it up, my branch is based on 1.13.x.
could you plz change the the base branch of this PR from master to 1.13.x
Thank you.

@lbroudoux
lbroudoux changed the base branch from master to 1.13.x September 11, 2025 08:29
@lbroudoux

lbroudoux commented Sep 11, 2025 •

Copy link
Copy Markdown
Member

Hi @varkart
This looks nice from a commit pov but you still have a DCO check failure. Can you check and sign the commit that is not signed?

I think it's just a matter of:

git rebase HEAD~1 --signoff
git push --force-with-lease origin fix/cookie-parameter-location-1655

Thanks!

@lbroudoux lbroudoux added this to the 1.13.0 milestone Sep 11, 2025
@varkart
varkart force-pushed the fix/cookie-parameter-location-1655 branch from 93476d7 to 6a27ffe Compare September 11, 2025 23:13
@varkart
varkart marked this pull request as draft September 11, 2025 23:14
@varkart
varkart force-pushed the fix/cookie-parameter-location-1655 branch 2 times, most recently from ecdcd28 to 5ceb4f2 Compare September 11, 2025 23:39
This change fixes issue microcks#1655 by adding cookie as a valid
parameter location.

Changes:
- Add 'cookie' to ParameterLocation enum in TypeScript model
- Add cookie parameter validation in ParameterConstraintUtil
- Add unit test related to change

Fixes microcks#1655

Signed-off-by: varkart <[email protected]>
@varkart
varkart force-pushed the fix/cookie-parameter-location-1655 branch from 5ceb4f2 to a74abf5 Compare September 11, 2025 23:43

@lbroudoux lbroudoux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me even if still tagged as Draft. @varkart Can you confirme you're done here?

@varkart

varkart commented Sep 12, 2025

Copy link
Copy Markdown
Contributor Author

Hey yes it's done I wanted to check the sonar failure couldn't get to it.

@lbroudoux
lbroudoux marked this pull request as ready for review September 12, 2025 07:25
@lbroudoux
lbroudoux merged commit 26b6764 into microcks:1.13.x Sep 12, 2025
@lbroudoux

Copy link
Copy Markdown
Member

Thanks a lot @varkart!

@varkart
varkart deleted the fix/cookie-parameter-location-1655 branch December 6, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add validation of mandatory cookies in Rest mocks

2 participants