Skip to content

Feature/endpoint path paratemer - #12

Open
matusmacik wants to merge 2 commits into
mainfrom
feature/endpoint-path-paratemer
Open

Feature/endpoint path paratemer#12
matusmacik wants to merge 2 commits into
mainfrom
feature/endpoint-path-paratemer

Conversation

@matusmacik

Copy link
Copy Markdown
Contributor

Summary

Implements support for flexible path parameter resolution in endpoint URLs, addressing scenarios where the target application uses different path parameter names than those defined in the connector schema (see WP#11289).

Details

  • pathParameter("attribute", "username") :
    Uses an extractor to resolve the value of "username" and maps it to the path parameter "attribute".

  • pathParameter("attribute") :
    Implicitly uses the UID value as the path parameter for "attribute".

  • No explicit path parameter defined:
    Extracts the parameter name from the endpoint path, verifies it against the schema, and if it corresponds to the UID, uses the UID value automatically.

As defined in #11289, added support for path parameter.
Implemented for single object endpoint builder.
Also added tests for update behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant