Initial TCA commit into DCAEGEN2
[dcaegen2/analytics/tca.git] / findbugs-exclude.xml
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
new file mode 100644 (file)
index 0000000..cd9e3f7
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ ===============================LICENSE_START======================================
+  ~  dcae-analytics
+  ~ ================================================================================
+  ~    Copyright © 2017 AT&T 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.
+  ~   You may obtain a copy of the License at
+  ~
+  ~          http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~  Unless required by applicable law or agreed to in writing, software
+  ~  distributed under the License is distributed on an "AS IS" BASIS,
+  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~  See the License for the specific language governing permissions and
+  ~  limitations under the License.
+  ~  ============================LICENSE_END===========================================
+  -->
+
+<FindBugsFilter>
+
+    <Match>
+        <!-- Ignore warnings for DACE Models project -->
+        <Class name="org.openecomp.dcae.apod.analytics.model.domain.cef.MeasurementsForVfScaling"/>
+    </Match>
+
+    <Match>
+        <!-- TCA Application has unconfirmed cast which is provided by CDAP -->
+        <Class name="org.openecomp.dcae.apod.analytics.cdap.tca.TCAAnalyticsApplication"/>
+        <Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
+    </Match>
+
+    <Match>
+        <!-- Ignore Metrics not serializable in DMaaPMRReceiver as metrics is a CDAP interface which is
+         not serializable -->
+        <Class name="org.openecomp.dcae.apod.analytics.cdap.plugins.streaming.dmaap.DMaaPMRReceiver"/>
+        <Bug pattern="SE_BAD_FIELD"/>
+    </Match>
+
+</FindBugsFilter>