use of org.wso2.ei.dashboard.micro.integrator.MiArtifactsManager in project product-mi-tooling by wso2.
the class DelegatesUtil method updateDatabase.
private static boolean updateDatabase(String artifactType, String mgtApiUrl, String groupId, ArtifactUpdateRequest request) throws ManagementApiException {
UpdateArtifactObject updateArtifactObject = new UpdateArtifactObject(mgtApiUrl, artifactType, request.getArtifactName(), groupId, request.getNodeId());
MiArtifactsManager miArtifactsManager = new MiArtifactsManager(updateArtifactObject);
return miArtifactsManager.updateArtifactDetails();
}
Aggregations