*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import org.glassfish.jersey.client.ClientConfig;
import org.onap.aai.esr.common.Config;
import org.onap.aai.esr.externalservice.entity.ServiceRegisterEntity;
import org.glassfish.jersey.client.ClientConfig;
import org.onap.aai.esr.common.Config;
import org.onap.aai.esr.externalservice.entity.ServiceRegisterEntity;
*/
public static boolean registerService(ServiceRegisterEntity entity) {
ClientConfig config = new ClientConfig();
*/
public static boolean registerService(ServiceRegisterEntity entity) {
ClientConfig config = new ClientConfig();
try {
MicroserviceBusRest resourceserviceproxy = ConsumerFactory.createConsumer(
Config.getConfigration().getMsbServerAddr(), config, MicroserviceBusRest.class);
try {
MicroserviceBusRest resourceserviceproxy = ConsumerFactory.createConsumer(
Config.getConfigration().getMsbServerAddr(), config, MicroserviceBusRest.class);