SAP / olingo-jpa-processor-v4

The JPA Processor fills the gap between Olingo V4 and the database, by providing a mapping between JPA metadata and OData metadata, generating queries and supporting the entity manipulations.
Apache License 2.0
127 stars 79 forks source link

Context should give full root URL; if the service won't be processed by BI tools #53

Closed yathihv closed 11 months ago

yathihv commented 6 years ago

If we see - http://services.odata.org/v4/northwind/northwind.svc/ we see the context with complete host something like m:context="http://services.odata.org/V4/Northwind/Northwind.svc/$metadata" where as our project with jpa processor generates metadata:context="$metadata". Most of the BI tools which accepts OData won't work with the generated context but expects full URL which is the standard protocol.

reket commented 6 years ago

Seems this will be in next olingo release https://github.com/apache/olingo-odata4/commit/1fef3a131ea4cc334151a7f10b67cab6bb424239

wog48 commented 11 months ago

Due to clean-up action. All issues created before 2022 get closed.

In the meantime JPAODataServiceContext offeres the option to set useAbsoluteContextURL.