-
Notifications
You must be signed in to change notification settings - Fork 11
Add OslcRequestParams and graph accumulation support to OslcClient #468
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
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: berezovskyi <[email protected]>
Co-authored-by: berezovskyi <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #468 +/- ##
==========================================
+ Coverage 50.69% 51.22% +0.53%
==========================================
Files 169 170 +1
Lines 10205 10309 +104
Branches 1017 1039 +22
==========================================
+ Hits 5173 5281 +108
+ Misses 4770 4761 -9
- Partials 262 267 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Addresses #325: Enables configurable request parameters and graph accumulation in
OslcClient, properly resolving #19 and #204 (header overwriting issues).Changes
OslcRequestParamsclass — Configures Accept, Content-Type, OSLC-Core-Version, and custom headers. Supports merge semantics for per-request overrides.Default,RdfXmlOnly,TurtleOnlyBuilder()APIGraph accumulation —
EnableGraphAccumulation()/DisableGraphAccumulation()for discovery phase workflows where responses should merge into a single graphPer-request parameter overrides — New overloads for
GetResourceAsyncandCreateResourceAsyncacceptingOslcRequestParamsDefaultRequestParamsproperty — Set globally in constructor or per-requestUsage
Notes
OslcRestClientremains deprecated (since 0.5.0)Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.