public class SidecarAccessV2 extends AbstractSidecarAccess implements SidecarAccess
| Constructor and Description |
|---|
SidecarAccessV2(String sidecarBaseUrl,
Authenticator authenticator) |
| Modifier and Type | Method and Description |
|---|---|
ModelAndInformation |
getCsn(ModelId id,
String eTag)
Returns csn model as string, as returned by sidecar
|
ModelAndInformation |
getEdmx(ModelId id,
String eTag)
Returns edmx model as string, as returned by sidecar
|
callSidecarpublic SidecarAccessV2(String sidecarBaseUrl, Authenticator authenticator)
sidecarBaseUrl - URL of sidecar application without path specificationauthenticator - object that is responsible for authenticationpublic ModelAndInformation getCsn(ModelId id, String eTag) throws CdsCommunicationException
getCsn in interface SidecarAccessid - the model identifiereTag - entity tagModelAndInformationCdsCommunicationExceptionpublic ModelAndInformation getEdmx(ModelId id, String eTag) throws CdsCommunicationException
getEdmx in interface SidecarAccessid - the model identifiereTag - entity tagModelAndInformationCdsCommunicationExceptionCopyright © 2021 SAP. All rights reserved.