* ============LICENSE_START=======================================================
* ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
* See the License for the specific language governing permissions and
* limitations under the License.
*
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
package org.onap.appc.sdc.listener;
+import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
import java.util.List;
import java.util.Properties;
Properties properties = new Properties();
properties.setProperty("appc.sdc.provider.url",
"http://localhost:8181/restconf/operations/SdcMessage:configuration-document-request");
- properties.setProperty("appc.ClosedLoop.poolMembers","uebsb91bodc.it.att.com:3905,uebsb92bodc.it.att.com:3905,uebsb93bodc.it.att.com:3905");
+ properties.setProperty("appc.ClosedLoop.poolMembers","localhost:3905");
SdcConfig sdc = new SdcConfig(properties);
List<String> uebAddresses = sdc.getMsgBusProperties();
- assertNotNull(uebAddresses);
+ assertFalse(uebAddresses.isEmpty());
}
}