summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/application/etc
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2018-08-09 20:47:29 +0000
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-08-10 18:48:54 +0000
commitaa7486577fb66e85a5bb220438946579695b27b8 (patch)
treefe93c4ce0441b82d9b185b5be4e93255cc2cdbac /ms/controllerblueprints/application/etc
parent3db41eeb5c71efe3153ab5761a7b0ad091a56399 (diff)
Controller Blueprints MS
Creating the base directory structure for Controller Blueprints MicroService Change-Id: I1ccf7fc76446048af3b2822f9155bb634657aee3 Issue-ID: CCSDK-410 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.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/run.source16
3 files changed, 109 insertions, 0 deletions
diff --git a/ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg b/ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg
new file mode 100644
index 00000000..8185daa0
--- /dev/null
+++ b/ms/controllerblueprints/application/etc/SecurityFilterExpressions.cfg
@@ -0,0 +1,71 @@
+(>)\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
new file mode 100644
index 00000000..acfaa454
--- /dev/null
+++ b/ms/controllerblueprints/application/etc/SecurityFilterExpressionsPool.properties
@@ -0,0 +1,22 @@
+#
+# 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/run.source b/ms/controllerblueprints/application/etc/run.source
new file mode 100644
index 00000000..cba5e1dd
--- /dev/null
+++ b/ms/controllerblueprints/application/etc/run.source
@@ -0,0 +1,16 @@
+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.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}/ \
+-Dspring.datasource.url=${DB_URL} \
+-Dspring.datasource.username=${DB_USER} \
+-Dspring.datasource.password=${DB_PASSWORD} \
+-Dblueprints.load.initial-data=${INIT_DATA_LOAD} \
+org.onap.ccsdk.apps.controllerblueprints.ControllerBluprintsApplication