diff options
author | Arthur Martella <arthur.martella.1@att.com> | 2019-03-15 12:28:33 -0400 |
---|---|---|
committer | Arthur Martella <arthur.martella.1@att.com> | 2019-03-15 12:28:33 -0400 |
commit | 6b7d6f0b3ebe74ddb93bcbf44e3853e0027be0be (patch) | |
tree | 16ef5382c3470255842068fefcc216f9abae3b62 /valetapi/kubernetes/org-onap-fgps-dev/resources/config | |
parent | 45d1330477382bed46418936e89c0ce0e6f9dcc8 (diff) |
Initial upload of F-GPS seed code 12/21
Includes:
API helm chart
API dockerfile
Change-Id: Ic04ceb43be33055eb6e76d086bef9ce18a629c72
Issue-ID: OPTFRA-440
Signed-off-by: arthur.martella.1@att.com
Diffstat (limited to 'valetapi/kubernetes/org-onap-fgps-dev/resources/config')
7 files changed, 223 insertions, 0 deletions
diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/application.properties b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/application.properties new file mode 100755 index 0000000..36eea73 --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/application.properties @@ -0,0 +1,33 @@ + +# ============LICENSE_START======================================================= +# ONAP - F-GPS +# ================================================================================ +# Copyright (C) 2019 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============================================ +# =================================================================== +# +### + +server.contextPath={{.Values.appProperties.server.contextpath}} +server.port={{.Values.appProperties.server.port}} +server.ssl.enabled={{.Values.appProperties.server.sslenabled}} +server.ssl.key-store={{.Values.appProperties.server.sslkeystore}} +server.ssl.key-store-type={{.Values.appProperties.server.sslkeystoretype}} +server.ssl.key-store-password={{.Values.appProperties.server.sslkeystorepassword}} +server.ssl.key-alias={{.Values.appProperties.server.sslkeyalias}} +server.http.port={{.Values.appProperties.server.httpport}} +valet.dark={{.Values.appProperties.valetdark}} +aaf.url.base={{.Values.appProperties.aafurl}} diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/auth.properties b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/auth.properties new file mode 100755 index 0000000..14385d9 --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/auth.properties @@ -0,0 +1,28 @@ + +# ============LICENSE_START======================================================= +# ONAP - F-GPS +# ================================================================================ +# Copyright (C) 2019 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============================================ +# =================================================================== +# +### + +mso.name={{.Values.auth.msoName}} +mso.pass={{.Values.auth.msoPass}} +valet.aaf.name={{.Values.auth.aafName}} +valet.aaf.pass={{.Values.auth.aasPassword}} +portal.admin.role={{.Values.auth.portalRole}} diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml new file mode 100755 index 0000000..71f466f --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logback.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <appender name="FILE-AUDIT" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <file>/api/valet/debug123.log</file> + <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> + <Pattern> + %d{yyyy-MM-dd HH:mm:ss} - %msg%n + </Pattern> + </encoder> + + <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> + <!-- rollover daily --> + <fileNamePattern>/api/valet/archived/api123.%d{yyyy-MM-dd}.%i.log + </fileNamePattern> + <timeBasedFileNamingAndTriggeringPolicy + class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"> + <maxFileSize>10MB</maxFileSize> + </timeBasedFileNamingAndTriggeringPolicy> + </rollingPolicy> + </appender> + <logger name="com.valet" level="info" additivity="false"> + <appender-ref ref="FILE-AUDIT" /> + </logger> + <root level="INFO"> + <appender-ref ref="FILE-AUDIT" /> + </root> +</configuration> diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logmessages.properties b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logmessages.properties new file mode 100755 index 0000000..b3b163d --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/logmessages.properties @@ -0,0 +1,29 @@ + +# ============LICENSE_START======================================================= +# ONAP - F-GPS +# ================================================================================ +# Copyright (C) 2019 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============================================ +# =================================================================== +# +### + +RESTSERVICE_HELLO=SERVICE0001I|Get a quick hello|No resolution needed|No action is required +RESTSERVICE_HELLO_NAME=SERVICE0002I|Get a quick hello for {0}|No resolution needed|No action is required +SPRINSERVICE_HELLO=SERVICE0003I|Say a quick hello|No resolution needed|No action is required +SPRINSERVICE_HELLO_NAME=SERVICE0004I|Say a quick hello for {0}|No resolution needed|No action is required +SPRINSERVICE_HELLO_MESSAGE=SERVICE0005I|Say hello message: {0}|No resolution needed|No action is required +SPRINSERVICE_HELLO_MESSAGE_NAME=SERVICE0006I|Say hello message object:{0}|No resolution needed|No action is required diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/resources.properties b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/resources.properties new file mode 100755 index 0000000..7959caa --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/resources.properties @@ -0,0 +1,34 @@ + +# ============LICENSE_START======================================================= +# ONAP - F-GPS +# ================================================================================ +# Copyright (C) 2019 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============================================ +# =================================================================== +# +### + +musicdb.ip.1={{.Values.music.ipOne}} +musicdb.ip.2={{.Values.music.ipTwo}} +musicdb.ip.3={{.Values.music.ipThree}} +db.create={{.Values.music.dbCreate}} +music.MUSIC_DB_PORT={{.Values.music.port}} +music.MUSIC_DB_URL={{.Values.music.url}} +music.Keyspace={{.Values.music.Keyspace}} +musicdb.namespace={{.Values.music.namespace}} +musicdb.userId={{.Values.music.userid}} +musicdb.password={{.Values.music.password}} +instanceId={{.Values.music.instanceid}} diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/system.properties b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/system.properties new file mode 100755 index 0000000..43e497b --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/system.properties @@ -0,0 +1,44 @@ + +# ============LICENSE_START======================================================= +# ONAP - F-GPS +# ================================================================================ +# Copyright (C) 2019 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============================================ +# =================================================================== +# +### + +# If the environment property system_properties_path contains a path to a file , System properties created using the file. If the environment variable not present, system.properties in the class path is used for system property creation + +org.onap.eelf.logging.file={{.Values.sysProperties.loggingFile}} + +# change as per logback.xml path +org.onap.eelf.logging.path={{.Values.sysProperties.loggingPath}} +logging.config={{.Values.sysProperties.loggingConfig}} + + +# Default parameters during application startup. +info.build.artifact={{.Values.sysProperties.buildInfo.artifact}} +info.build.name={{.Values.sysProperties.buildInfo.name}} +info.build.version={{.Values.sysProperties.buildInfo.version}} + +# Spring configuration files +spring.config.location={{.Values.sysProperties.springConfig.location}} +spring.config.name={{.Values.sysProperties.springConfig.name}} + +kubernetes.namespace={{.Values.sysProperties.kubeNamespace}} + +routeoffer={{.Values.sysProperties.routeOffer}} diff --git a/valetapi/kubernetes/org-onap-fgps-dev/resources/config/version.properties b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/version.properties new file mode 100755 index 0000000..4f81f19 --- /dev/null +++ b/valetapi/kubernetes/org-onap-fgps-dev/resources/config/version.properties @@ -0,0 +1,27 @@ + +# ============LICENSE_START======================================================= +# ONAP - F-GPS +# ================================================================================ +# Copyright (C) 2019 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============================================ +# =================================================================== +# +### + +version.major={{.Values.version.major}} +version.minor={{.Values.version.minor}} +version.patch={{.Values.version.patch}} +version.full={{.Values.version.full}} |