diff options
author | decheng zhang <decheng.zhang@huawei.com> | 2022-09-27 14:05:58 -0400 |
---|---|---|
committer | decheng zhang <decheng.zhang@huawei.com> | 2022-09-27 15:04:41 -0400 |
commit | 63d6a20970b8b37506141a2529fe5f3e8deaa3a1 (patch) | |
tree | 79c41453bfd8fe9d52b7878844249b8f82c01864 /components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java | |
parent | f747a433bc166881619f0253f6f12730b87caeea (diff) |
[SLICEANALYSIS] Bugfix for sliceanalysis startup Exception, break the circular dependency1.1.5-slice-analysis-ms
Break the circular dependency by seperating networkpolicymonitor from bandwidthEvaluator
Issue-ID: DCAEGEN2-3270
Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Change-Id: I2632e5ea500121b8c223bdbcda16bdc24dc36895
Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Diffstat (limited to 'components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java')
-rw-r--r-- | components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java b/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java index ec864aa0..66dc6dc0 100644 --- a/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java +++ b/components/slice-analysis-ms/src/main/java/org/onap/slice/analysis/ms/service/ccvpn/FixedUpperBoundStrategy.java @@ -59,7 +59,7 @@ public class FixedUpperBoundStrategy implements EvaluationStrategy{ private static double precision; // in Mbps; @Autowired - BandwidthEvaluator bandwidthEvaluator; + NetworkPolicyMonitor networkPolicyMonitor; @Autowired CCVPNPmDatastore ccvpnPmDatastore; @@ -166,11 +166,11 @@ public class FixedUpperBoundStrategy implements EvaluationStrategy{ } /** - * Post/broadcast event to the BandwidthEvaluator + * Post/broadcast event to the networkPolicyMonitor * @param event event object */ private void post(Event event){ - bandwidthEvaluator.post(event); + networkPolicyMonitor.post(event); } private void loadConfig() { |