All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ibizsys.model.engine.cloud.service.client.CloudDevOpsClient Maven / Gradle / Ivy

The newest version!
package net.ibizsys.model.engine.cloud.service.client;

import java.util.LinkedHashMap;
import java.util.Map;

import net.ibizsys.model.engine.IPSModelEngine;
import net.ibizsys.model.engine.plugin.PSModelEngineAddinException;

public class CloudDevOpsClient extends CloudClientBase> implements ICloudDevOpsClient {

	
	@Override
	public String getSystemModelDigest(String id) {
		try {
			Map uriParams = new LinkedHashMap<>();
			uriParams.put("id", id);
			return this.getWebClient(false).get("/devops/systems/{id}/modeldigest", uriParams).getBody();
		}
		catch (Throwable ex) {
			throw new PSModelEngineAddinException(this, String.format("获取系统模型摘要发生异常,%1$s", ex.getMessage()), ex);
		}
	}

	@Override
	public String getName() {
		return "CloudDevOps客户端";
	}

	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy