Support 7.2.1 VES in TCAGEN2
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dcae-analytics-tca-core / src / main / java / org / onap / dcae / analytics / tca / core / service / GenericTcaExecutionContext.java
index 6a208d2..715ed53 100644 (file)
@@ -1,6 +1,7 @@
 /*
- * ================================================================================
+ * ============LICENSE_START=======================================================
  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (c) 2022 Wipro Limited Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,6 +24,7 @@ import lombok.Builder;
 import lombok.EqualsAndHashCode;
 import lombok.Getter;
 import lombok.ToString;
+import java.util.List;
 
 import org.onap.dcae.analytics.tca.model.policy.TcaPolicy;
 
@@ -39,7 +41,7 @@ public class GenericTcaExecutionContext implements TcaExecutionContext {
     private final String transactionId;
     private final int messageIndex;
     private final String cefMessage;
-    private final TcaPolicy tcaPolicy;
+    private final List<TcaPolicy> tcaPolicy;
     private final TcaProcessingContext tcaProcessingContext;
     private final TcaResultContext tcaResultContext;
     private final TcaAbatementContext tcaAbatementContext;