public class ExchangeClient extends RestClient
| Modifier and Type | Class and Description |
|---|---|
static class |
ExchangeClient.Builder |
| Constructor and Description |
|---|
ExchangeClient(String baseAnypointUrl,
String username,
String password,
ExchangeClientLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBearerToken() |
void |
publishPortal(String groupId,
String artifactId,
String version) |
void |
updateAsset(String groupId,
String artifactId,
String name,
String description) |
void |
updateFavicon(String groupId,
String artifactId,
Optional<File> maybeFavicon) |
void |
uploadDrafts(File docsFolder,
String groupId,
String artifactId,
String version) |
void |
uploadPortalPages(File docsFolder,
org.apache.maven.project.MavenProject project,
Optional<File> maybeFavicon) |
checkResponseSuccessfulStatus, encodeUtf8, patch, patch, post, post, post, postFormUrlEncoded, postFormUrlEncoded, putpublic static final String PROD_ENV
public ExchangeClient(String baseAnypointUrl, String username, String password, ExchangeClientLogger logger)
public String getBearerToken()
public void uploadPortalPages(File docsFolder, org.apache.maven.project.MavenProject project, Optional<File> maybeFavicon)
public void uploadDrafts(File docsFolder, String groupId, String artifactId, String version)
public void updateAsset(String groupId, String artifactId, String name, String description)
Copyright © 2024. All rights reserved.