/**
- * Copyright 2016 ZTE Corporation.
+ * Copyright 2016 ZTE, Inc. and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.openo.msb.wrapper.serviceListener;
-import org.openo.msb.api.MicroServiceInfo;
-import org.openo.msb.api.Service;
+
+package org.onap.msb.apiroute.wrapper.serviceListener;
+
+import org.onap.msb.apiroute.api.MicroServiceFullInfo;
+import org.onap.msb.apiroute.api.Node;
public interface IMicroServiceChangeListener {
- public void onSave(Service microServiceInfo,String serverPort);
+ public void onSave(MicroServiceFullInfo microServiceInfo) throws Exception;
+
+ public void onDelete(MicroServiceFullInfo microServiceInfo) throws Exception;
- public void onChange(String serviceName,String version,Service microServiceInfo,String serverPort);
+ public void onChange(String serviceName,String version,MicroServiceFullInfo microServiceInfo) throws Exception;
- public void onStatusChange(String serviceName,String url,String version,String protocol,String status);
+ public void onStatusChange(String serviceName,String version,String host, String protocol,String publish_port,
+ String status);
- public void onDelete(String serviceName, String url,String version,String protocol,String serverPort);
+
+
}