Import an OData service from its root URL
URL Import in the catalog import wizard now takes an OData service root, not only its
$metadata URL. How it works.
- Service document followed. A service root answers with the list of its entity sets. The wizard
recognizes that service document — v4 or v3 JSON, v2 or v3 verbose JSON, or Atom XML — and imports
the service's
$metadatainstead. A query string such as?sap-client=100is kept. - Same rules as the CLI. The
$metadataURL is worked out exactly asapiome import odata --discoverdoes it, so both paths import the same document. - v2 and v4 fixtures. The CLI's test fixtures now include an OData v4 service and an SAP Gateway-style v2 service, imported both from a file and from a service root.
