aboutsummaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/application/etc
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-02-09 18:33:55 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-02-12 13:02:59 -0500
commit91162610de8efaa9c0bfd73ff99fcabe0ef23e8a (patch)
tree9300ec6ecba33b570812a856ca2b6955d8d268af /ms/controllerblueprints/application/etc
parent702a59b0ac36cfdd9eed43e539f953f5277877eb (diff)
Multiple fixes & enhancement
- Rework docker image build - Fix compress function - Fix node type name for source-primary-db Change-Id: Ide38e17036e76047d9f850b714ba0da4add5cd9d Issue-ID: CCSDK-414 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'ms/controllerblueprints/application/etc')
-rw-r--r--ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg71
-rw-r--r--ms/controllerblueprints/application/etc/SecurityFilterExpressionsPool.properties22
-rw-r--r--ms/controllerblueprints/application/etc/logback.xml44
-rwxr-xr-xms/controllerblueprints/application/etc/run.source13
4 files changed, 0 insertions, 150 deletions
diff --git a/ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg b/ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg
deleted file mode 100644
index 8185daa0..00000000
--- a/ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg
+++ /dev/null
@@ -1,71 +0,0 @@
-(>)\d{3,4}(<\/.*security>) $1xxxx$2
-(>)\d{11,12}(\d{4}<\/.*creditCardNumber>) $1xxxxxxxxxxxx$2
-(>)\d+(\d{4}<\/.*socialSecurityNumber.*>) $1xxxxx$2
-(>)\d{5}(\d{4}<\/.*ssn>) $1xxxxx$2
-(>)\d*(\d{3}<\/.*idNumber>) $1xxxxxx$2
-(>)\d{11,12}(\d{4}<\/cardNumber>) $1xxxxxxxxxxxx$2
-(>)[^>]*(<\/[^>]*[pP]assword>) $1xxxxxx$2
-(>)\d{3,4}(<\/cvv>) $1xxx$2
-(Card\sNumber\s=\s)\d{11,12}(\d{4}) $1xxxxxxxxxxxx$2
-(CVV\s=\s)... $1xxx
-(SSN\s=\s)\d{9} $1xxxxxxxxx
-(>)\d{11,12}(\d{4}<\/ccNum>) $1xxxxxxxxxxxx$2
-(>)\d{3,4}(<\/cvvNumber>) $1xxx$2
-(ccNum\s*=\s*)\d{11,12}(\d{4}) $1xxxxxxxxxxxx$2
-(cvvNumber\s*=\s*)\d{3,4} $1xxx$2
-(>).*(<\/passcode>) $1xxxxxx$2
-(password\s*=\s*)\S+ $1xxxxxx
-(>)\d{5}(\d{4}<\/.*businessTaxId>) $1xxxxx$2
-(tax_id\sin\srecord=\s)\d{5}(\d{4}) $1xxxxx$2
-(tax_id\sin\srequest=\s)\d{5}(\d{4}) $1xxxxx$2
-(socialSecurityNumber\s*=\s*)\d+(\d{4}) $1xxxxx$2
-(SSN\sin\srecord=)\d+(\d{4}) $1xxxxx$2
-(ssn7\s*)\d+(\d{4}) $1xxxxx$2
-(>)\d+(\d{4}<\/cam:taxId>) $1xxxxx$2
-(>)\d+(\d{4}<\/.*routingNumber>) $1xxxxx$2
-(>)\d+(\d{4}<\/bankTRN>) $1xxxxx$2
-(>)\d+(\d{4}<\/draftAccount>) $1xxxxx$2
-(SSN\sin\srequest\s=)\d+(\d{4}) $1xxxxx$2
-(Input\sto\sCasTux\sCtrl:\sSSN\s)\d+(\d{4}) $1xxxxx$2
-(businessTaxId\s)\d+(\d{4}) $1xxxxx$2
-(InquireSingleCredit\sTax_ID_Input\sin\sresponse=\s)\d+(\d{4}) $1xxxxx$2
-(<com:ssNumber>)\d+(\d{4}<\/com:ssNumber>) $1xxxxx$2
-(SsNumber:\s)\d+(\d{4}) $1xxxxx$2
-(BusinessTaxId:\s)\d+(\d{4}) $1xxxxx$2
-(<acc:passcode>).*(<\/acc:passcode>) $1xxxxxx$2
-(>)\d{4}(<\/.*creditCardExpirationDate>) $1xxxx$2
-(birthDate>)\d+(-)\d+(-)\d+(<\/.*birthDate>) $1xxxx$2xx$3xx$4
-(photoIdNumber>)\d+(\d{4}<\/.*photoIdNumber) $1xxxxxxxxxxxxxxx$2
-(socialSecurityNumber>)\d+(\d{4}<\/.*socialSecurityNumber) $1xxxxx$2
-(cardExpirationDate>)\d+(-)\d+(-)\d+(<\/.*cardExpirationDate>) $1xxxx$2xx$3xx$4
-(securityCode>)\d+(<\/.*securityCode>) $1xxxx$2
-(photo_id_nbr>)\d+(\d{4}<\/.*photo_id_nbr) $1xxxxxxxxxxxxxxx$2
-(social_security_nbr>)\d+(\d{4}<\/.*social_security_nbr) $1xxxxx$2
-(birth_date>)\d+(/)\d+(/)\d+(<\/.*birth_date>) $1xx$2xx$3xxxx$4
-(dateOfBirth>)\d+(/)\d+(/)\d+(<\/.*dateOfBirth>) $1xx$2xx$3xxxx$4
-(dateOfBirth>)\d+(-)\d+(-)\d+(<\/.*dateOfBirth>) $1xxxx$2xx$3xx$4
-(dateOfBirth>)\d+(-)\d+(-)\d+(Z<\/.*dateOfBirth>) $1xxxx$2xx$3xx$4
-(dateOfBirth>)\d+(/)\d+(/)\d+(Z<\/.*dateOfBirth>) $1xx$2xx$3xxxx$4
-(>)\w*(\w{3}<\/.*idNumber>) $1xxxxxx$2
-(taxId>)\d+(\d{4}<\/.*taxId>) $1xxxxx$2
-(accountNumber>)\d{12,19}(\d{4}<\/.*accountNumber>) $1xxxxxxxxxxxxxxx$2
-(>)[^>]*(<\/[^>]*ethnicity>) $1xxxxxx$2
-(>)[^>]*(<\/[^>]*RACE>) $1x$2
-(>)[^>]*(<\/[^>]*minority>) $1x$2
-(>)[^>]*(<\/[^>]*MINORITY>) $1x$2
-(BIRTH_DATE>)\d+(-)\d+(-)\d+(<\/.*BIRTH_DATE>) $1xx$2xx$3xxxx$4
-(custom07>)\d+(-)\d+(-)\d+(<\/.*custom07>) $1xx$2xx$3xxxx$4
-(&gt;)\d{11,12}(\d{4}&lt;\/.*creditCardNumber&gt;) $1xxxxxxxxxxxx$2
-(&gt;)\d{3,4}(&lt;\/.*security&gt;) $1xxxx$2
-(&gt;)\d{11,12}(\d{4}&lt;\/.*:.*creditCardNumber&gt;) $1xxxxxxxxxxxx$2
-(&gt;)\d{3,4}(&lt;\/.*:.*security&gt;) $1xxxx$2
-(>)\d{3,4}(<\/.*cVVCode>) $1xxxx$2
-(&gt;)\d{3,4}(&lt;\/.*cVVCode&gt;) $1xxxx$2
-(&gt;)\d{3,4}(&lt;\/.*:.*cVVCode&gt;) $1xxxx$2
-(&gt;).*(&lt;\/userPassword&gt;) $1xxxxxxx$2
-(&gt;).*(&lt;\/.*:userPassword&gt;) $1xxxxxx$2
-(&gt;).*(&lt;\/userPassword&gt;) $1xxxxxxx$2
-(\"userPassword\"\s*:\s*\")(.*?)(\") $1xxxxxx$3
-(\"cng:userPassword\"\s*:\s*\")(.*?)(\") $1xxxxxx$3
-(\"userPassword\"\s*:\s*)(\d+)(,|\s|}|]) $1xxxxxx$3
-(\"cng:userPassword\"\s*:\s*)(\d+)(,|\s|}|]) $1xxxxxx$3 \ No newline at end of file
diff --git a/ms/controllerblueprints/application/etc/SecurityFilterExpressionsPool.properties b/ms/controllerblueprints/application/etc/SecurityFilterExpressionsPool.properties
deleted file mode 100644
index acfaa454..00000000
--- a/ms/controllerblueprints/application/etc/SecurityFilterExpressionsPool.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright © 2017-2018 AT&T Intellectual Property.
-#
-# 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.
-#
-
-MaxActive=150
-#TimeBetweenEvictionRunsMillis=10
-
-#Min and Max idle are only used if TimeBetweenEvictionRunsMillis is set to a value > 0
-#MaxIdle=10
-#MinIdle=5
diff --git a/ms/controllerblueprints/application/etc/logback.xml b/ms/controllerblueprints/application/etc/logback.xml
deleted file mode 100644
index 01ae4f6c..00000000
--- a/ms/controllerblueprints/application/etc/logback.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<!--
- ~ Copyright © 2017-2018 AT&T Intellectual Property.
- ~
- ~ 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.
- -->
-
-<configuration>
-
- <property name="localPattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{100} - %msg%n" />
-
- <property name="defaultPattern" value="%date{ISO8601,UTC}|%X{RequestID}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}| %msg%n" />
-
- <property name="debugLoggerPattern" value="%date{ISO8601,UTC}|%X{RequestID}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}|%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}|%X{ClassName}|%X{Timer}|[%caller{3}]| %msg%n" />
-
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <!-- encoders are assigned the type
- ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
- <encoder>
- <pattern>${defaultPattern}</pattern>
- </encoder>
- </appender>
-
-
- <logger name="org.springframework" level="info"/>
- <logger name="org.springframework.web" level="info"/>
- <logger name="org.springframework.security.web.authentication" level="warn"/>
- <logger name="org.hibernate" level="error"/>
- <logger name="org.onap.ccsdk.apps" level="info"/>
-
- <root level="warn">
- <appender-ref ref="STDOUT"/>
- </root>
-
-</configuration>
diff --git a/ms/controllerblueprints/application/etc/run.source b/ms/controllerblueprints/application/etc/run.source
deleted file mode 100755
index 1d0ac070..00000000
--- a/ms/controllerblueprints/application/etc/run.source
+++ /dev/null
@@ -1,13 +0,0 @@
-java -classpath "/etc:${APP_HOME}/lib/*:/lib/*:/src:/schema:/generated-sources:${APP_CONFIG_HOME}:${APP_HOME}" \
--DappName=${APPLICATIONNAME} -DappVersion=${BUNDLEVERSION} \
--DrouteOffer=${ROUTEOFFER} \
--DVERSION_ROUTEOFFER_ENVCONTEXT=${BUNDLEVERSION}/${STICKYSELECTORKEY}/${ENVCONTEXT} \
--DSecurityFilePath=/etc \
--DREST_NAME_NORMALIZER_PATTERN_FILE=/etc/PatternInputs.txt \
--Dms_name=org.onap.ccsdk.apps.controllerblueprints \
--Dlogging.config=${APP_CONFIG_HOME}/logback.xml \
--Djava.security.egd=file:/dev/./urandom \
--DAPPNAME=${APP_NAME} -DAPPENV=${APP_ENV} -DAPPVERSION=${APP_VERSION} -DNAMESPACE=${NAMESPACE} \
--Dspring.config.location=${APP_CONFIG_HOME}/ \
--Dblueprints.load.initial-data=${INIT_DATA_LOAD} \
-org.onap.ccsdk.apps.controllerblueprints.ControllerBlueprintsApplication