summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstark, steven <ss820f@att.com>2018-05-30 08:17:00 -0700
committerstark, steven <ss820f@att.com>2018-05-30 08:17:00 -0700
commitaff13ba866807a2ce3f73dca5b8ef40d9727efd4 (patch)
tree53033de598434b915aa22ecc92f4e1ddc43bb7d2
parent6a9eaff4cd258f90e58d762b569948030ef15ba3 (diff)
[VVP] scrub VVP repos of sensitive data
Change-Id: I6869ae85f72c4b05c180574eeed1cf2eb5e714e9 Issue-ID: VVP-61 Signed-off-by: stark, steven <ss820f@att.com>
-rw-r--r--django/engagementmanager/management/commands/initial_populate_db.py57
-rw-r--r--django/engagementmanager/models.py1
2 files changed, 22 insertions, 36 deletions
diff --git a/django/engagementmanager/management/commands/initial_populate_db.py b/django/engagementmanager/management/commands/initial_populate_db.py
index 571c7e6..d2c64f6 100644
--- a/django/engagementmanager/management/commands/initial_populate_db.py
+++ b/django/engagementmanager/management/commands/initial_populate_db.py
@@ -76,23 +76,13 @@ class Command(BaseCommand):
companies = [
- 'Affirmed Networks',
- 'Amdocs',
- 'Brocade',
- 'Ciena',
- 'Cisco',
- 'Ericsson',
- 'Fujitsu',
- 'Juniper',
- 'Metaswitch',
- 'Nokia'
+ 'Test Company 1',
+ 'Test Company 2'
]
companies_not_public = [
- 'Adtran',
- 'Velocloud',
- 'Spirent',
- 'Mitel',
+ 'Private Company 1',
+ 'Private Company 2'
]
admin_dummy_users = [['admin bogus user',
@@ -105,16 +95,16 @@ admin_ro_dummy_users = [
dummy_users = [
['Bugs Bunny', 'bb@' + Constants.service_provider_mail_domain[0],
- '+1-404-986-9624'],
+ '+1-555-555-5555'],
['CI Standard 1', 'ci_standard_1@' +
- Constants.service_provider_mail_domain[0], '+1-404-986-9624'],
+ Constants.service_provider_mail_domain[0], '+1-555-555-5555'],
]
el_dummy_users = [
['Donald Duck', 'dd1122@' +
- Constants.service_provider_mail_domain[0], '+1-404-986-9624'],
+ Constants.service_provider_mail_domain[0], '+1-555-555-5555'],
['Homer Simpson', 'hs0007@' +
- Constants.service_provider_mail_domain[0], '+1-425-281-3547']
+ Constants.service_provider_mail_domain[0], '+1-555-555-5555']
]
checklist_templates = [
@@ -448,7 +438,7 @@ checklist_templates = [
]
},
{
- 'name': 'AIC Instantiation',
+ 'name': 'OpenStack Instantiation',
'category': 'instantiation',
'version': 1,
'sections': [
@@ -483,7 +473,7 @@ checklist_templates = [
]
},
{
- 'name': 'Manual Instantiation in AIC',
+ 'name': 'Manual Instantiation in OpenStack',
'weight': 1,
'description': 'section description',
'validation_instructions': 'validation instructions',
@@ -515,8 +505,8 @@ checklist_templates = [
]
},
{
- 'name': 'ASDC Onboarding',
- 'category': 'asdc',
+ 'name': 'SDC Onboarding',
+ 'category': 'sdc',
'version': 1,
'sections': [
{
@@ -561,7 +551,7 @@ checklist_templates = [
]
},
{
- 'name': 'Onboard The VNF To The Target ASDC Environment',
+ 'name': 'Onboard The VNF To The Target SDC Environment',
'weight': 1,
'description': 'section description',
'validation_instructions': 'validation instructions',
@@ -685,11 +675,11 @@ glance_validation_tests = [
]
deployment_targets = [
- ['AIC', '2.5'],
- ['AIC', '3.0'],
- ['AIC', '3.5'],
- ['AIC', '4.0'],
- ['Other', 'No version number available']
+ ['OpenStack', 'Kilo'],
+ ['OpenStack', 'Liberty'],
+ ['OpenStack', 'Mitaka'],
+ ['OpenStack', 'Newton'],
+ ['Other', 'No version available']
]
ecomps = [
@@ -697,13 +687,10 @@ ecomps = [
]
deployment_targets_sites = [
- "Alpharetta (PDK2)",
- "Willows (RDM2)",
- "Willows (RDM3)",
- "Middletown (ICENJ)",
- "Lisle (DPA2)",
- "Lisle (DPA3)",
- "Palo Alto (PAO21)"
+ "Site 1",
+ "Site 2",
+ "Site 3",
+ "Site 4"
]
diff --git a/django/engagementmanager/models.py b/django/engagementmanager/models.py
index 0b84172..1e6f08e 100644
--- a/django/engagementmanager/models.py
+++ b/django/engagementmanager/models.py
@@ -132,7 +132,6 @@ def create_user_profile(sender, instance, created, **kwargs):
post_save.connect(create_user_profile, sender=CustomUser)
-# Represents Deployment Target Cloud Version. For example name=AIC version=2.0
class DeploymentTarget(models.Model):
uuid = models.CharField(
default=uuid.uuid4, max_length=36, primary_key=True)