summaryrefslogtreecommitdiffstats
path: root/build-tools/src
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2018-08-12 14:17:59 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-08-14 07:05:19 +0000
commit1929d75c6856e212979c3a9c7950dfd717d3bb98 (patch)
tree6b2c10c40d1b6d70b280407ebed3196e76688e49 /build-tools/src
parent1a4db8f598590cc63b6d94a8dac3489b20365f9b (diff)
Removed execution of PMD from build
Change-Id: I52d55e2585c56118c685745c00e52c2838b76d04 Issue-ID: SDC-1065 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'build-tools/src')
-rw-r--r--build-tools/src/main/resources/build-pmd-ruleset.xml42
1 files changed, 0 insertions, 42 deletions
diff --git a/build-tools/src/main/resources/build-pmd-ruleset.xml b/build-tools/src/main/resources/build-pmd-ruleset.xml
deleted file mode 100644
index dd8984a970..0000000000
--- a/build-tools/src/main/resources/build-pmd-ruleset.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<ruleset name="SDC Essential Rule-set"
- xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd http://pmd.sourceforge.net/ruleset/2.0.0 ">
-
- <description>
- Essential rules according to SonarQube. Note that it is impossible to make PMD rules exactly match the
- SonarQube ones, but they will probably catch about 90% of violations before they get into the source control.
- The advantage is that PMD can be ran locally on any development setup and does not require a license.
- </description>
-
- <!--
- All available Java rule-sets: https://pmd.github.io/pmd-5.6.1/pmd-java/rules/index.html
- -->
-
- <!-- Blocker severity in SonarQube -->
- <rule ref="rulesets/java/strictexception.xml/AvoidCatchingThrowable"/>
- <rule ref="rulesets/java/empty.xml/EmptyCatchBlock">
- <properties>
- <property name="allowCommentedBlocks" value="true"/>
- </properties>
- </rule>
-
- <!-- THERE IS NO GOOD RULE TO CATCH NULL DEREFERENCING IN PMD -->
- <rule ref="rulesets/java/basic.xml/MisplacedNullCheck"/>
- <rule ref="rulesets/java/basic.xml/BrokenNullCheck"/>
-
-
- <rule ref="rulesets/java/design.xml/CloseResource">
- <properties>
- <property name="types"
- value="java.sql.Connection,java.sql.Statement,java.sql.ResultSet,java.io.OutputStream,java.net.URLConnection,java.io.InputStream,java.io.FileInputStream,java.io.FileOutputStream,java.util.zip.ZipOutputStream,java.util.zip.ZipInputStream,java.util.jar.JarInputStream,java.util.jar.JarOutputStream,java.io.BufferedReader,java.io.BufferedWriter"/>
- </properties>
- </rule>
- <rule ref="rulesets/java/basic.xml/OverrideBothEqualsAndHashcode"/>
-
- <!--
- Critical severity in SonarQube. Should be empty until all Critical have been fixed.
- -->
-
-</ruleset> \ No newline at end of file
ight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# Copyright © 2017 Amdocs, Bell Canada
# Modifications Copyright © 2018, 2020 AT&T
#
# 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.

global:
  env:
    tomcatDir: "/usr/local/tomcat"
  # portal frontend port
  portalPort: "8989"
  portalFEPort: "30225"
  # application's front end hostname.  Must be resolvable on the client side environment
  portalHostName: "portal.api.simpledemo.onap.org"

#################################################################
# Secrets metaconfig
#################################################################
secrets:
  - uid: portal-cass
    name: &dbSecretName '{{ include "common.release" . }}-portal-cass-creds'
    type: basicAuth
    externalSecret: '{{ tpl (default "" .Values.config.casandraCredsExternalSecret) . }}'
    login: '{{ .Values.config.cassandraUsername }}'
    password: '{{ .Values.config.cassandraPassword }}'
  - uid: portal-backend-db
    name: &backendDbSecretName '{{ include "common.release" . }}-portal-backend-creds'
    type: basicAuth
    externalSecret: '{{ tpl (default "" .Values.mariadb.config.backendDbExternalSecret) . }}'
    login: '{{ .Values.mariadb.config.backendUserName }}'
    password: '{{ .Values.mariadb.config.backendPassword }}'
    passwordPolicy: required

config:
  logstashServiceName: log-ls
  logstashPort: 5044
  cassandraUsername: root
  cassandraPassword: Aa123456
# casandraCredsExternalSecret: some secret

portal-mariadb:
  nameOverride: portal-db
mariadb:
  service:
    name: portal-db
  config:
#   backendDbExternalSecret: some secret
    backendUserName: portal
    backendPassword: portal

widget:
  service:
    name: portal-widget
cassandra:
  service:
    name: portal-cassandra
  config:
    cassandraExternalSecret: *dbSecretName
portal-app:
  mariadb:
    config:
      backendDbExternalSecret: *backendDbSecretName
  cassandra:
    config:
      cassandraExternalSecret: *dbSecretName
portal-sdk:
  mariadb:
    config:
      backendDbExternalSecret: *backendDbSecretName
  cassandra:
    config:
      cassandraExternalSecret: *dbSecretName
messageRouter:
  service:
    name: message-router
ingress:
  enabled: false