Class ExchangeClient
java.lang.Object
org.mule.weave.maven.plugin.client.RestClient
org.mule.weave.maven.plugin.exchange.client.ExchangeClient
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExchangeClient(String baseAnypointUrl, String username, String password, ExchangeClientLogger logger) -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishPortal(String groupId, String artifactId, String version) voidupdateAsset(String groupId, String artifactId, String name, String description) voidupdateFavicon(String groupId, String artifactId, Optional<File> maybeFavicon) voiduploadDrafts(File docsFolder, String groupId, String artifactId, String version) voiduploadPortalPages(File docsFolder, org.apache.maven.project.MavenProject project, Optional<File> maybeFavicon) Methods inherited from class org.mule.weave.maven.plugin.client.RestClient
checkResponseSuccessfulStatus, encodeUtf8, patch, patch, post, post, post, postFormUrlEncoded, postFormUrlEncoded, put
-
Field Details
-
PROD_ENV
- See Also:
-
-
Constructor Details
-
ExchangeClient
public ExchangeClient(String baseAnypointUrl, String username, String password, ExchangeClientLogger logger)
-
-
Method Details
-
getBearerToken
-
uploadPortalPages
-
publishPortal
-
uploadDrafts
-
updateAsset
-
updateFavicon
-