mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-11-01 08:41:28 +01:00
Remove reference that is only used in unit test
Change-Id: I261242daedb55ecb86d8f9c862aed98230c1540c
This commit is contained in:
parent
f853b0efb6
commit
9abfc4489a
@ -39,7 +39,6 @@ import org.onosproject.net.intent.IntentCompiler;
|
||||
import org.onosproject.net.intent.IntentExtensionService;
|
||||
import org.onosproject.net.intent.OpticalPathIntent;
|
||||
import org.onosproject.net.resource.link.LinkResourceAllocations;
|
||||
import org.onosproject.net.resource.link.LinkResourceService;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@ -59,9 +58,6 @@ public class OpticalPathIntentCompiler implements IntentCompiler<OpticalPathInte
|
||||
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
|
||||
protected CoreService coreService;
|
||||
|
||||
@Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
|
||||
protected LinkResourceService resourceService;
|
||||
|
||||
private ApplicationId appId;
|
||||
|
||||
@Activate
|
||||
|
||||
@ -35,7 +35,6 @@ import org.onosproject.net.flow.TrafficTreatment;
|
||||
import org.onosproject.net.intent.FlowRuleIntent;
|
||||
import org.onosproject.net.intent.Intent;
|
||||
import org.onosproject.net.intent.IntentExtensionService;
|
||||
import org.onosproject.net.intent.IntentTestsMocks;
|
||||
import org.onosproject.net.intent.MockIdGenerator;
|
||||
import org.onosproject.net.intent.OpticalPathIntent;
|
||||
import org.onosproject.net.provider.ProviderId;
|
||||
@ -103,7 +102,6 @@ public class OpticalPathIntentCompilerTest {
|
||||
intentExtensionService.registerCompiler(OpticalPathIntent.class, sut);
|
||||
intentExtensionService.unregisterCompiler(OpticalPathIntent.class);
|
||||
sut.intentManager = intentExtensionService;
|
||||
sut.resourceService = new IntentTestsMocks.MockResourceService();
|
||||
|
||||
replay(coreService, intentExtensionService);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user