Search in sources :

Example 1 with MiArtifactsManager

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();
}
Also used : MiArtifactsManager(org.wso2.ei.dashboard.micro.integrator.MiArtifactsManager) UpdateArtifactObject(org.wso2.ei.dashboard.core.rest.delegates.UpdateArtifactObject)

Aggregations

UpdateArtifactObject (org.wso2.ei.dashboard.core.rest.delegates.UpdateArtifactObject)1 MiArtifactsManager (org.wso2.ei.dashboard.micro.integrator.MiArtifactsManager)1