fix(ocm): include provider field in OCMProvider serialization

- Add `provider` to `jsonSerialize()` output of OCMProvider.
- Ensures discovery consumers receive provider identifier along with
  endpoint, version, and resources.

Signed-off-by: Micke Nordin <kano@sunet.se>
pull/56056/head
Micke Nordin 2025-10-02 11:10:30 +07:00 committed by Andy Scherzinger
parent 6a0a31b60b
commit 55b980bcbd
1 changed files with 1 additions and 0 deletions

@ -269,6 +269,7 @@ class OCMProvider implements ICapabilityAwareOCMProvider {
'version' => $this->getApiVersion(), // informative but real version
'endPoint' => $this->getEndPoint(),
'publicKey' => $this->getSignatory()?->jsonSerialize(),
'provider' => $this->getProvider(),
'resourceTypes' => $resourceTypes
];