\r
package org.openecomp.dcae.apod.analytics.tca.utils;\r
\r
-import com.fasterxml.jackson.databind.JsonNode;\r
import com.google.common.base.Supplier;\r
import com.google.common.collect.ImmutableSet;\r
import com.google.common.collect.Table;\r
import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;\r
import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;\r
import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;\r
-import org.openecomp.dcae.apod.analytics.model.facade.tca.AAI;\r
import org.openecomp.dcae.apod.analytics.model.facade.tca.TCAVESResponse;\r
import org.openecomp.dcae.apod.analytics.tca.BaseAnalyticsTCAUnitTest;\r
import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFProcessorContext;\r
is("CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A"));\r
assertThat(tcaVESResponse.getVersion(), is("Test Version"));\r
assertThat(tcaVESResponse.getPolicyScope(), is("Test Policy scope"));\r
- assertNull(tcaVESResponse.getAai().getGenericVNFId());\r
- assertNotNull(tcaVESResponse.getAai().getGenericServerId());\r
+ assertNull(tcaVESResponse.getAai().getGenericVNFName());\r
+ assertNotNull(tcaVESResponse.getAai().getGenericServerName());\r
}\r
\r
@Test\r
is("CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A"));\r
assertThat(tcaVESResponse.getVersion(), is("Test Version"));\r
assertThat(tcaVESResponse.getPolicyScope(), is("Test Policy scope"));\r
- assertNotNull(tcaVESResponse.getAai().getGenericVNFId());\r
- assertNull(tcaVESResponse.getAai().getGenericServerId());\r
+ assertNotNull(tcaVESResponse.getAai().getGenericVNFName());\r
+ assertNull(tcaVESResponse.getAai().getGenericServerName());\r
+\r
}\r
\r
@Rule\r