--- /dev/null
+target/docker/
+
def forwards(apps, schema_editor):
- if not schema_editor.connection.alias == 'default':
+ if not schema_editor.connection.alias == 'default' \
+ or settings.DATABASES["default"]["ENGINE"] == "django.db.backends.sqlite3":
return
cursor = connection.cursor()
def setUp(self):
logger.debug("---------------------- TestCase " + self.__class__.__name__ + " ----------------------")
- self.urlPrefix = "/ice/v1/engmgr/"
+ self.urlPrefix = "/%s/v1/engmgr/" % settings.PROGRAM_NAME_URL_PREFIX
self.conn = http.client.HTTPConnection("127.0.0.1", 8000) # @UndefinedVariable
self.c = Client()
self.creator = VvpEntitiesCreator()
def setUp(self):
logger.debug("---------------------- TransactionTestCase " + self.__class__.__name__ + " ----------------------")
- self.urlPrefix = "/ice/v1/engmgr/"
+ self.urlPrefix = "/%s/v1/engmgr/" % settings.PROGRAM_NAME_URL_PREFIX
self.conn = http.client.HTTPConnection("127.0.0.1", 8000) # @UndefinedVariable
self.c = Client()
self.creator = VvpEntitiesCreator()
from engagementmanager.tests.test_base_entity import TestBaseEntity
from engagementmanager.utils.constants import EngagementStage, Constants
from engagementmanager.service.logging_service import LoggingServiceFactory
+from django.conf import settings
logger = LoggingServiceFactory.get_logger()
def testSuccessExport(self):
self.printTestName("Success export [start]")
+ if settings.DATABASES["default"]["ENGINE"] == "django.db.backends.sqlite3":
+ return
+
urlStr = self.urlPrefix + 'engagement/export/?stage=Active&keyword'
logger.debug(
"action should success (200), and return one active engagement")
from django.test.client import Client
from django.test.testcases import TransactionTestCase
from rest_framework.status import HTTP_401_UNAUTHORIZED, HTTP_200_OK
+
+from django.conf import settings
from engagementmanager.models import Vendor
from engagementmanager.tests.vvpEntitiesCreator import VvpEntitiesCreator
from engagementmanager.utils.authentication import JWTAuthentication
def childSetup(self):
logger.debug("---------------------- TestCase " + self.__class__.__name__ + " ----------------------")
- self.urlPrefix = "/ice/v1/engmgr/"
+ self.urlPrefix = "/%s/v1/engmgr/" % settings.PROGRAM_NAME_URL_PREFIX
self.c = Client()
self.creator = VvpEntitiesCreator()
from uuid import uuid4
import json
from engagementmanager.service.logging_service import LoggingServiceFactory
+from mocks.jenkins_mock.services.jenkins_tests_validation_service import JenkinsTestsResultsSvc
logger = LoggingServiceFactory.get_logger()
class TestChecklistSetState(TestBaseEntity):
+ def initCLBody(self):
+ self.clbodydata['checkListName'] = ChecklistDefaultNames.HEAT_TEMPLATES
+ self.clbodydata['checkListTemplateUuid'] = str(self.template.uuid)
+ self.clbodydata['checkListAssociatedFiles'] =\
+ "[\"file0/f69f4ce7-51d5-409c-9d0e-ec6b1e79df28\"," \
+ " \"file1/f69f4ce7-51d5-409c-9d0e-ec6b1e79df28\"," \
+ " \"file2/f69f4ce7-51d5-409c-9d0e-ec6b1e79df28\"]"
def childSetup(self):
self.createVendors([Constants.service_provider_company_name, 'Amdocs'])
self.deploymentTarget = self.creator.createDeploymentTarget(
self.randomGenerator("randomString"), self.randomGenerator("randomString"))
-# self.asInfrastructure = self.creator.createApplicationServiceInfrastructure(self.randomGenerator("randomString"))
self.vf = self.creator.createVF(self.randomGenerator("randomString"),
self.engagement, self.deploymentTarget, False, self.vendor)
-# self.vf.service_infrastructures.add(self.asInfrastructure)
self.clbodydata = dict()
self.initCLBody()
self.checklist = Checklist.objects.create(uuid=uuid4(), name=self.clbodydata['checkListName'], validation_cycle=1, associated_files=self.clbodydata[
'checkListAssociatedFiles'], engagement=self.engagement, template=self.template, creator=self.el_user, owner=self.el_user)
self.checklist.save()
- self.section = ChecklistSection.objects.create(uuid=uuid4(), name=self.randomGenerator("randomString"), weight=1.0, description=self.randomGenerator(
- "randomString"), validation_instructions=self.randomGenerator("randomString"), template=self.template)
- self.section.save()
- self.line_item = ChecklistLineItem.objects.create(uuid=uuid4(), name=self.randomGenerator("randomString"), weight=1.0, description=self.randomGenerator(
- "randomString"), line_type=CheckListLineType.auto.name, validation_instructions=self.randomGenerator("randomString"), template=self.template, section=self.section) # @UndefinedVariable
- self.line_item2 = ChecklistLineItem.objects.create(uuid=uuid4(), name=self.randomGenerator("randomString"), weight=1.0, description=self.randomGenerator(
- "randomString"), line_type=CheckListLineType.auto.name, validation_instructions=self.randomGenerator("randomString"), template=self.template, section=self.section) # @UndefinedVariable
- self.line_item.save()
- self.line_item2.save()
+
+ self.line_items = ChecklistLineItem.objects.filter(
+ template=self.checklist.template)[:JenkinsTestsResultsSvc().num_of_auto_tests]
+
self.decision = ChecklistDecision.objects.create(
- uuid=uuid4(), checklist=self.checklist, template=self.template, lineitem=self.line_item)
+ uuid=uuid4(), checklist=self.checklist, template=self.template, lineitem=self.line_items[0])
self.decision2 = ChecklistDecision.objects.create(
- uuid=uuid4(), checklist=self.checklist, template=self.template, lineitem=self.line_item2)
+ uuid=uuid4(), checklist=self.checklist, template=self.template, lineitem=self.line_items[1])
self.decision.save()
self.decision2.save()
self.data = dict()
role_standard_user = None
role_admin = None
role_admin_ro = None
- service_provider_company_name = "ExampleServiceProvider"
- service_provider_mail_domain = ["example.com"]
- service_provider_admin_mail = "admin@example.com"
- service_provider_admin_ro_mail = "admin_ro@example.com"
+ service_provider_company_name = "ServiceProvider"
+ service_provider_mail_domain = ["example-domain.com"]
+ service_provider_admin_mail = "admin@example-domain.com"
+ service_provider_admin_ro_mail = "admin_ro@example-domain.com"
ice_base_ctx = "/vvp/v1/engmgr/"
rgwa_base_url ='http://localhost:8123/admin'
default_vfc_version = "1.0.0"
dbConnectionStr = "dbname='icedb' user='iceuser' host='localhost' password='Aa123456' port='5433'"
dashboard_href = "<A href=" + \
str(settings.DOMAIN) + "/#/dashboard/" + ">Dashboard</A>"
- prodDomain = 'https://www.vvp.example.com'
+ prodDomain = 'https://www.vvp.example-domain.com'
invite_template_dir = "emails/invite/"
activate_template_dir = "emails/activate/"
notification_template_dir = "emails/notification/"
[tox]
-envlist = django1-10-6
+envlist = django1-10-6, flake-env
skipsdist = True
[testenv]
commands = django-admin.py test
PYTHONPATH={toxinidir}
SECRET_KEY=6mo22&_gtjf#wktqf1#ve^7=w6kx)uq0u*4ksk^aq8lte&)yul
ENVIRONMENT=development
- PROGRAM_NAME_URL_PREFIX=ice
+ PROGRAM_NAME_URL_PREFIX=vvp
EMAIL_HOST=localhost
EMAIL_HOST_PASSWORD=
EMAIL_HOST_USER=
[testenv:django1-10-6]
deps =
{[base]deps}
-;[testenv:coverage]
-;commands =
-; coverage run --branch --omit={envdir}/*,vvp/*.py,*/migrations/*.py {envbindir}/django-admin.py test
-; coveralls
-;deps =
-; coverage
-; coveralls
-; {[testenv:django1-10-6]deps}
+[testenv:flake-env]
+deps = flake8
+commands = flake8
-<!--
- ============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
# https://docs.djangoproject.com/en/1.10/ref/settings/#allowed-hosts
# Anything in the Host header that does not match our expected domain should
# raise SuspiciousOperation exception.
-ALLOWED_HOSTS = ['.d2ice.att.io','em','em.default']
+ALLOWED_HOSTS = ['*']
DEBUG = False
if ENVIRONMENT == 'production':
- EMAIL_BACKEND = 'django.db.backends.sqlite3'
+ EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = os.environ['EMAIL_HOST']
EMAIL_HOST_PASSWORD = os.environ['EMAIL_HOST_PASSWORD']
EMAIL_HOST_USER = os.environ['EMAIL_HOST_USER']
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.postgresql',
- 'NAME': os.environ['PGDATABASE'],
- 'USER': os.environ['PGUSER'],
- 'PASSWORD': os.environ['PGPASSWORD'],
- 'HOST': os.environ['PGHOST'],
- 'PORT': os.environ['PGPORT'],
+ 'NAME': 'emdb.db',
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'TEST_NAME': 'emdb.db'
+
+ # 'ENGINE': 'django.db.backends.postgresql',
+ # 'NAME': os.environ['PGDATABASE'],
+ # 'USER': os.environ['PGUSER'],
+ # 'PASSWORD': os.environ['PGPASSWORD'],
+ # 'HOST': os.environ['PGHOST'],
+ # 'PORT': os.environ['PGPORT'],
}
}
JENKINS_PASSWORD = os.environ['SECRET_JENKINS_PASSWORD']
IS_CL_CREATED_ON_REVIEW_STATE = False
-IS_SIGNAL_ENABLED = True
+IS_SIGNAL_ENABLED = False
RECENT_ENG_TTL = 3 # In days
CMS_URL = "http://cms/api/"
CMS_APP_CLIENT_ID = os.environ['SECRET_CMS_APP_CLIENT_ID']
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright © 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the “License”);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
{% load i18n static %}<!DOCTYPE html>
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright © 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the “License”);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
{% extends "admin/base.html" %}
{% load vvptags %}
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright © 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the “License”);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
{% extends "admin/base_site.html" %}
{% load i18n admin_static %}
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright ? 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the ?License?);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the ?License?);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
<!DOCTYPE html>
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head>
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
-{{program_name}}: Welcome - just one more step!
+{{program_name}}: Welcome - just one more step!
\ No newline at end of file
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright ? 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the ?License?);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the ?License?);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head>
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
-{{program_name}}: You have been invited as a team member to {{ vf_name }}
+{{program_name}}: You have been invited as a team member to {{ vf_name }}
\ No newline at end of file
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright ? 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the ?License?);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the ?License?);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> </head>
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
-{{program_name}}: {{notification_subject}}
+{{program_name}}: {{notification_subject}}
\ No newline at end of file
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright ? 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the ?License?);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the ?License?);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> </head>
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
-{{program_name}}: {{notification_subject}}
+{{program_name}}: {{notification_subject}}
\ No newline at end of file
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
+{#============LICENSE_START========================================== #}
+{# org.onap.vvp/engagementmgr#}
+{# ===================================================================#}
+{# Copyright ? 2017 AT&T Intellectual Property. All rights reserved.#}
+{# ===================================================================#}
+{##}
+{# Unless otherwise specified, all software contained herein is licensed#}
+{# under the Apache License, Version 2.0 (the ?License?);#}
+{# you may not use this software 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.#}
+{##}
+{##}
+{##}
+{# Unless otherwise specified, all documentation contained herein is licensed#}
+{# under the Creative Commons License, Attribution 4.0 Intl. (the ?License?);#}
+{# you may not use this documentation except in compliance with the License.#}
+{# You may obtain a copy of the License at#}
+{##}
+{# https://creativecommons.org/licenses/by/4.0/#}
+{##}
+{# Unless required by applicable law or agreed to in writing, documentation#}
+{# 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============================================#}
+{##}
+{# ECOMP is a trademark and service mark of AT&T Intellectual Property.#}
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> </head>
-<!--
-============LICENSE_START==========================================
- org.onap.vvp/engagementmgr
- ===================================================================
- Copyright © 2017 AT&T Intellectual Property. All rights reserved.
- ===================================================================
-
- Unless otherwise specified, all software contained herein is licensed
- under the Apache License, Version 2.0 (the “License”);
- you may not use this software 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.
-
-
-
- Unless otherwise specified, all documentation contained herein is licensed
- under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
- you may not use this documentation except in compliance with the License.
- You may obtain a copy of the License at
-
- https://creativecommons.org/licenses/by/4.0/
-
- Unless required by applicable law or agreed to in writing, documentation
- 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============================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.-->
-{{program_name}}: Reset Password
+{{program_name}}: Reset Password
\ No newline at end of file
--- /dev/null
+[tox]
+envlist = django1-10-6, style
+skipsdist = True
+
+[testenv]
+commands = django-admin.py test
+setenv =
+ DJANGO_SETTINGS_MODULE=vvp.settings.tox_settings
+ PYTHONPATH={toxinidir}
+ SECRET_KEY=6mo22&_gtjf#wktqf1#ve^7=w6kx)uq0u*4ksk^aq8lte&)yul
+ ENVIRONMENT=development
+ PROGRAM_NAME_URL_PREFIX=vvp
+ EMAIL_HOST=localhost
+ EMAIL_HOST_PASSWORD=
+ EMAIL_HOST_USER=
+ EMAIL_PORT=25
+ PGDATABASE=icedb
+ PGUSER=iceuser
+ PGPASSWORD=Aa123456
+ PGHOST=localhost
+ PGPORT=5433
+ SECRET_WEBHOOK_TOKEN=Aiwi8se4ien0foW6eimahch2zahshaGi
+ SECRET_GITLAB_AUTH_TOKEN=ieNgathapoo4zohvee9a
+ SECRET_JENKINS_PASSWORD=xaiyie0wuoqueuBu
+ SECRET_CMS_APP_CLIENT_ID=MHmJo0ccDheVVsIiQHZnY6LXPAC6H6HAMzhCCM16
+ SECRET_CMS_APP_CLIENT_SECRET=nI8QCFrKMpnw5nTs
+ SLACK_API_TOKEN=
+ S3_HOST=dev-s3.d2ice.att.io
+ S3_PORT=443
+ AWS_ACCESS_KEY_ID=FD21HBU2KRN3UVD1MWRN
+ AWS_SECRET_ACCESS_KEY=TKoiwxziUWG9cTYUknUkFGmmyuQ27nP2lCiutEsD
+ STATIC_ROOT=/app/htdocs
+
+[base]
+deps = -r{toxinidir}/django/requirements.txt
+
+[testenv:django1-10-6]
+deps =
+ {[base]deps}
+
+[testenv:style]
+commands = flake8
+
+[testenv:py3]
+basepython=python3
+
+[flake8]
+show-source = True
+exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build