summaryrefslogtreecommitdiffstats
path: root/django/engagementmanager/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'django/engagementmanager/migrations')
-rw-r--r--django/engagementmanager/migrations/0001_initial.py235
-rw-r--r--django/engagementmanager/migrations/0001_squashed_initial.py824
-rw-r--r--django/engagementmanager/migrations/0002_auto_20160704_1028.py51
-rw-r--r--django/engagementmanager/migrations/0003_auto_20160713_0929.py53
-rw-r--r--django/engagementmanager/migrations/0004_auto_20160720_2143.py25
-rw-r--r--django/engagementmanager/migrations/0005_auto_20160815_1248.py25
-rw-r--r--django/engagementmanager/migrations/0006_auto_20160825_0644.py243
-rw-r--r--django/engagementmanager/migrations/0007_auto_20160922_0421.py21
-rw-r--r--django/engagementmanager/migrations/0008_auto_20161009_1210.py41
-rw-r--r--django/engagementmanager/migrations/0009_auto_20161018_0740.py41
-rw-r--r--django/engagementmanager/migrations/0010_auto_20161025_0838.py72
-rw-r--r--django/engagementmanager/migrations/0011_auto_20161109_0811.py26
-rw-r--r--django/engagementmanager/migrations/0012_auto_20161109_0822.py37
-rw-r--r--django/engagementmanager/migrations/0013_auto_20161128_1159.py40
-rw-r--r--django/engagementmanager/migrations/0014_auto_20161129_1145.py70
-rw-r--r--django/engagementmanager/migrations/0015_engagementstatus.py37
-rw-r--r--django/engagementmanager/migrations/0016_auto_20161208_0842.py18
-rw-r--r--django/engagementmanager/migrations/0017_auto_20161215_1535.py16
-rw-r--r--django/engagementmanager/migrations/0018_set_old_notif_true.py7
-rw-r--r--django/engagementmanager/migrations/0019_auto_20170104_1715.py20
-rw-r--r--django/engagementmanager/migrations/0020_add_indexes_20170108.py22
-rw-r--r--django/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py13
-rw-r--r--django/engagementmanager/migrations/0022_auto_20170118_1520.py224
-rw-r--r--django/engagementmanager/migrations/0023_auto_20170123_1445.py18
-rw-r--r--django/engagementmanager/migrations/0024_auto_20170227_1224.py31
-rw-r--r--django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py12
-rw-r--r--django/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py7
-rw-r--r--django/engagementmanager/migrations/0027_add_version_to_vf.py4
-rw-r--r--django/engagementmanager/migrations/0028_auto_20170425_1310.py158
-rw-r--r--django/engagementmanager/migrations/0029_auto_20170504_0749.py4
-rw-r--r--django/engagementmanager/migrations/0030_engagement_archived_time.py7
-rw-r--r--django/engagementmanager/migrations/0031_auto_20170620_1312.py35
-rw-r--r--django/engagementmanager/migrations/0032_auto_20170702_1435.py18
-rw-r--r--django/engagementmanager/migrations/0033_auto_20170704_0635.py92
-rw-r--r--django/engagementmanager/migrations/0034_engagement_is_with_files.py4
-rw-r--r--django/engagementmanager/migrations/0035_rgwa_fields.py44
-rw-r--r--django/engagementmanager/migrations/0036_auto_20170906_0935.py4
-rw-r--r--django/engagementmanager/migrations/__init__.py4
38 files changed, 1971 insertions, 632 deletions
diff --git a/django/engagementmanager/migrations/0001_initial.py b/django/engagementmanager/migrations/0001_initial.py
index ffbb95a..ddbe92f 100644
--- a/django/engagementmanager/migrations/0001_initial.py
+++ b/django/engagementmanager/migrations/0001_initial.py
@@ -1,5 +1,4 @@
-#
-# ============LICENSE_START==========================================
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -59,12 +58,17 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Activity',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False, unique=True)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False,
+ unique=True)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now)),
('description', models.CharField(max_length=512)),
('is_notification', models.BooleanField(default=False)),
('activity_type', models.CharField(choices=[
- (b'3', b'eng_validation_request'), (b'4', b'next_steps'), (b'2', b'ssh_key_added'), (b'1', b'user_joined_eng')], max_length=36)),
+ (b'3', b'eng_validation_request'), (b'4', b'next_steps'),
+ (b'2', b'ssh_key_added'), (b'1', b'user_joined_eng')],
+ max_length=36)),
('metadata', models.CharField(max_length=1024)),
],
options={
@@ -75,7 +79,9 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ApplicationServiceInfrastructure',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('name', models.CharField(max_length=100, unique=True)),
('uuid', models.CharField(max_length=36, unique=True)),
],
@@ -86,12 +92,17 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ContactRequest',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
('uuid', models.CharField(max_length=36, unique=True)),
('fname', models.CharField(max_length=50)),
('lname', models.CharField(max_length=50)),
- ('email', models.EmailField(max_length=254, verbose_name='email')),
+ ('email', models.EmailField(max_length=254,
+ verbose_name='email')),
('company', models.CharField(max_length=50)),
('phone_number', models.CharField(max_length=30)),
('message', models.TextField()),
@@ -103,7 +114,8 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='DeploymentTarget',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
('name', models.CharField(max_length=45)),
('version', models.CharField(max_length=100)),
],
@@ -114,12 +126,16 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Engagement',
fields=[
- ('uuid', models.CharField(max_length=64, primary_key=True, serialize=False)),
- ('engagement_manual_id', models.CharField(blank=True, max_length=36, null=True)),
+ ('uuid', models.CharField(max_length=64,
+ primary_key=True, serialize=False)),
+ ('engagement_manual_id', models.CharField(
+ blank=True, max_length=36, null=True)),
('progress', models.IntegerField(default=0)),
- ('target_completion_date', models.DateField(blank=True, default=datetime.datetime(
- 2016, 6, 29, 14, 7, 41, 103000, tzinfo=utc), null=True)),
- ('engagement_stage', models.CharField(default=b'Intake', max_length=15)),
+ ('target_completion_date',
+ models.DateField(blank=True, default=datetime.datetime(
+ 2016, 6, 29, 14, 7, 41, 103000, tzinfo=utc), null=True)),
+ ('engagement_stage', models.CharField(
+ default=b'Intake', max_length=15)),
],
options={
'db_table': 'ice_engagement',
@@ -128,19 +144,25 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='EngagementRequest',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
('uuid', models.CharField(max_length=36, unique=True)),
('fname', models.CharField(max_length=50)),
('lname', models.CharField(max_length=50)),
- ('email', models.EmailField(max_length=254, verbose_name='email')),
+ ('email', models.EmailField(max_length=254,
+ verbose_name='email')),
('company', models.CharField(max_length=50)),
('country_code', models.CharField(max_length=5)),
('phone_number', models.CharField(max_length=30)),
('vf_csv', models.CharField(max_length=80)),
('att_contact_fname', models.CharField(max_length=50)),
('att_contact_lname', models.CharField(max_length=50)),
- ('att_contact_email', models.EmailField(max_length=254, verbose_name='email')),
+ ('att_contact_email', models.EmailField(
+ max_length=254, verbose_name='email')),
('att_contact_phone', models.CharField(max_length=30)),
('request_type', models.CharField(max_length=20)),
('description', models.TextField()),
@@ -153,24 +175,36 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='IceUser',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('uuid', models.CharField(max_length=36, unique=True)),
('phone_number', models.CharField(max_length=30)),
('full_name', models.CharField(max_length=30)),
- ('email', models.EmailField(max_length=254, unique=True, verbose_name='email')),
+ ('email', models.EmailField(
+ max_length=254,
+ unique=True, verbose_name='email')),
('password', models.CharField(max_length=256)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last_login')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('last_login', models.DateTimeField(
+ blank=True, null=True, verbose_name='last_login')),
('ssh_public_key', models.CharField(
- blank=True, max_length=1024, null=True, verbose_name='ssh_public_key')),
+ blank=True, max_length=1024, null=True,
+ verbose_name='ssh_public_key')),
('regular_email_updates', models.BooleanField(default=False)),
- ('email_updates_on_every_notification', models.BooleanField(default=True)),
- ('email_updates_daily_digest', models.BooleanField(default=False)),
+ ('email_updates_on_every_notification',
+ models.BooleanField(default=True)),
+ ('email_updates_daily_digest',
+ models.BooleanField(default=False)),
('is_active', models.BooleanField()),
('is_att_contact', models.BooleanField()),
- ('activation_token', models.CharField(max_length=128, unique=True)),
+ ('activation_token', models.CharField(max_length=128,
+ unique=True)),
('activation_token_create_time', models.DateTimeField(
- default=django.utils.timezone.now, verbose_name='activation_token_create_time')),
+ default=django.utils.timezone.now,
+ verbose_name='activation_token_create_time')),
],
options={
'db_table': 'ice_user',
@@ -179,21 +213,31 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='NextStep',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
('last_update_time', models.DateTimeField(
- default=django.utils.timezone.now, verbose_name='last update time')),
- ('last_update_type', models.CharField(default='Added', max_length=15)),
+ default=django.utils.timezone.now,
+ verbose_name='last update time')),
+ ('last_update_type', models.CharField(
+ default='Added', max_length=15)),
('position', models.IntegerField()),
('description', models.TextField()),
('state', models.CharField(max_length=15)),
('engagement_stage', models.CharField(max_length=15)),
- ('creator', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
- related_name='NextStep_creator', to='engagementmanager.IceUser')),
+ ('creator', models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='NextStep_creator',
+ to='engagementmanager.IceUser')),
('engagement', models.ForeignKey(
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement')),
- ('last_updater', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='NextStep_last_updater', to='engagementmanager.IceUser')),
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement')),
+ ('last_updater', models.ForeignKey(
+ null=True, on_delete=django.db.models.deletion.PROTECT,
+ related_name='NextStep_last_updater',
+ to='engagementmanager.IceUser')),
],
options={
'db_table': 'ice_next_step',
@@ -203,13 +247,17 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Notification',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False, unique=True)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False,
+ unique=True)),
('is_sent', models.BooleanField(default=False)),
('is_read', models.BooleanField(default=False)),
('activity', models.ForeignKey(
- null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Activity')),
+ null=True, on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Activity')),
('user', models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUser')),
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUser')),
],
options={
'db_table': 'ice_notification',
@@ -218,7 +266,9 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Role',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('uuid', models.CharField(max_length=36, unique=True)),
('name', models.CharField(max_length=36, unique=True)),
],
@@ -229,7 +279,9 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Test',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('name', models.CharField(max_length=45)),
('uuid', models.CharField(max_length=36, unique=True)),
],
@@ -240,7 +292,9 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ValidationCycle',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('uuid', models.CharField(max_length=36, unique=True)),
('start_date', models.DateTimeField()),
('end_date', models.DateTimeField()),
@@ -264,7 +318,9 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ValidationException',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('uuid', models.CharField(max_length=36, unique=True)),
('type', models.CharField(max_length=45)),
('external_ref_id', models.CharField(max_length=45)),
@@ -276,16 +332,24 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ValidationSteps',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('uuid', models.CharField(max_length=36)),
- ('requirment_id', models.CharField(blank=True, max_length=36, null=True)),
+ ('requirment_id', models.CharField(
+ blank=True, max_length=36, null=True)),
('passed', models.BooleanField()),
('log', models.BinaryField()),
- ('validation_notes', models.CharField(blank=True, max_length=200, null=True)),
- ('test', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Test')),
+ ('validation_notes', models.CharField(
+ blank=True, max_length=200, null=True)),
+ ('test', models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Test')),
('validation_cycle', models.ForeignKey(
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.ValidationCycle')),
- ('validation_exceptions', models.ManyToManyField(to='engagementmanager.ValidationException')),
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.ValidationCycle')),
+ ('validation_exceptions', models.ManyToManyField(
+ to='engagementmanager.ValidationException')),
],
options={
'db_table': 'ice_validation_step',
@@ -295,7 +359,9 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Vendor',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('uuid', models.CharField(max_length=36, unique=True)),
('name', models.CharField(max_length=100, unique=True)),
],
@@ -307,16 +373,25 @@ class Migration(migrations.Migration):
name='VF',
fields=[
('name', models.CharField(max_length=100)),
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False, unique=True)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False,
+ unique=True)),
('is_att_internal', models.BooleanField(default=False)),
- ('git_repo_url', models.CharField(blank=True, max_length=512, null=True)),
- ('target_lab_entry_date', models.DateField(verbose_name='target_lab_entry_date')),
- ('deployment_target', models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.SET_NULL, to='engagementmanager.DeploymentTarget')),
- ('engagement', models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.SET_NULL, to='engagementmanager.Engagement')),
+ ('git_repo_url', models.CharField(
+ blank=True, max_length=512, null=True)),
+ ('target_lab_entry_date', models.DateField(
+ verbose_name='target_lab_entry_date')),
+ ('deployment_target', models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.SET_NULL,
+ to='engagementmanager.DeploymentTarget')),
+ ('engagement', models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.SET_NULL,
+ to='engagementmanager.Engagement')),
('vendor', models.ForeignKey(
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Vendor')),
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Vendor')),
],
options={
'db_table': 'ice_vf',
@@ -325,12 +400,17 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='VFC',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('name', models.CharField(max_length=45)),
('version', models.CharField(max_length=45)),
('uuid', models.CharField(max_length=36, unique=True)),
- ('vf_acronym', models.CharField(blank=True, max_length=100, null=True)),
- ('vf', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.VF')),
+ ('vf_acronym', models.CharField(
+ blank=True, max_length=100, null=True)),
+ ('vf', models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.VF')),
],
options={
'db_table': 'ice_vfc',
@@ -343,28 +423,37 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='validationcycle',
name='vfc',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.VFC'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.VFC'),
),
migrations.AddField(
model_name='iceuser',
name='company',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Vendor'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Vendor'),
),
migrations.AddField(
model_name='iceuser',
name='role',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Role'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Role'),
),
migrations.AddField(
model_name='engagement',
name='contact_user',
- field=models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='engagement',
name='engagement_team',
- field=models.ManyToManyField(related_name='members', to='engagementmanager.IceUser'),
+ field=models.ManyToManyField(
+ related_name='members', to='engagementmanager.IceUser'),
),
migrations.AlterUniqueTogether(
name='deploymenttarget',
@@ -377,13 +466,17 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='activity',
name='activity_owner',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='activity',
name='engagement',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement'),
),
migrations.AlterUniqueTogether(
name='vfc',
diff --git a/django/engagementmanager/migrations/0001_squashed_initial.py b/django/engagementmanager/migrations/0001_squashed_initial.py
index ae740e2..6ca999e 100644
--- a/django/engagementmanager/migrations/0001_squashed_initial.py
+++ b/django/engagementmanager/migrations/0001_squashed_initial.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -41,13 +41,11 @@ from django.conf import settings
import django.contrib.auth.models
from django.db import models
import django.db.models.deletion
-from django.utils.timezone import utc
import django.utils.timezone
import engagementmanager.models
import uuid
import os
from django.db import migrations, connection
-import engagementmanager
from engagementmanager.service.logging_service import LoggingServiceFactory
logger = LoggingServiceFactory.get_logger()
@@ -55,27 +53,34 @@ logger = LoggingServiceFactory.get_logger()
def forwards(apps, schema_editor):
if not schema_editor.connection.alias == 'default' \
- or settings.DATABASES["default"]["ENGINE"] == "django.db.backends.sqlite3":
+ or settings.DATABASES["default"]["ENGINE"] == \
+ "django.db.backends.sqlite3":
return
cursor = connection.cursor()
- cursor.execute(open(os.path.join(os.path.dirname(engagementmanager.__file__),
- 'sql-scripts/generate_excel_overview_sheet_procedure.sql'), "r").read())
+ cursor.execute(
+ open(
+ os.path.join(
+ os.path.dirname(
+ engagementmanager.__file__),
+ 'sql-scripts/generate_excel_overview_sheet_procedure.sql'),
+ "r").read())
def create_user_for_pre_user_profiles(apps, schema_editor):
CustomUser = apps.get_model("engagementmanager", "CustomUser")
IceUserProfile = apps.get_model("engagementmanager", "IceUserProfile")
users_list = IceUserProfile.objects.filter(user=None)
- count = 0
for profile in users_list:
try:
- custom_user, created = CustomUser.objects.get_or_create(username=profile.email)
+ custom_user, created = CustomUser.objects.get_or_create(
+ username=profile.email)
custom_user.is_active = profile.is_active
custom_user.email = profile.email
custom_user.activation_token = profile.activation_token
custom_user.password = profile.password
- custom_user.activation_token_create_time = profile.activation_token_create_time
+ custom_user.activation_token_create_time = \
+ profile.activation_token_create_time
custom_user.save()
profile.user = custom_user
profile.save()
@@ -86,27 +91,54 @@ def create_user_for_pre_user_profiles(apps, schema_editor):
class Migration(migrations.Migration):
- replaces = [('engagementmanager', '0001_initial'), ('engagementmanager', '0002_auto_20160704_1028'),
- ('engagementmanager', '0003_auto_20160713_0929'), ('engagementmanager', '0004_auto_20160720_2143'),
- ('engagementmanager', '0005_auto_20160815_1248'), ('engagementmanager', '0006_auto_20160825_0644'),
- ('engagementmanager', '0007_auto_20160922_0421'), ('engagementmanager', '0008_auto_20161009_1210'),
- ('engagementmanager', '0009_auto_20161018_0740'), ('engagementmanager', '0010_auto_20161025_0838'),
- ('engagementmanager', '0011_auto_20161109_0811'), ('engagementmanager', '0012_auto_20161109_0822'),
- ('engagementmanager', '0013_auto_20161128_1159'), ('engagementmanager', '0014_auto_20161129_1145'),
- ('engagementmanager', '0015_engagementstatus'), ('engagementmanager', '0016_auto_20161208_0842'),
- ('engagementmanager', '0017_auto_20161215_1535'), ('engagementmanager', '0018_set_old_notif_true'),
- ('engagementmanager', '0019_auto_20170104_1715'), ('engagementmanager', '0020_add_indexes_20170108'),
- ('engagementmanager', '0021_generate_excel_overview_sheet_procedure_20170110'),
- ('engagementmanager', '0022_auto_20170118_1520'), ('engagementmanager', '0023_auto_20170123_1445'),
+ replaces = [('engagementmanager', '0001_initial'),
+ ('engagementmanager', '0002_auto_20160704_1028'),
+ ('engagementmanager', '0003_auto_20160713_0929'),
+ ('engagementmanager', '0004_auto_20160720_2143'),
+ ('engagementmanager', '0005_auto_20160815_1248'),
+ ('engagementmanager',
+ '0006_auto_20160825_0644'),
+ ('engagementmanager', '0007_auto_20160922_0421'),
+ ('engagementmanager',
+ '0008_auto_20161009_1210'),
+ ('engagementmanager', '0009_auto_20161018_0740'),
+ ('engagementmanager',
+ '0010_auto_20161025_0838'),
+ ('engagementmanager', '0011_auto_20161109_0811'),
+ ('engagementmanager',
+ '0012_auto_20161109_0822'),
+ ('engagementmanager', '0013_auto_20161128_1159'),
+ ('engagementmanager',
+ '0014_auto_20161129_1145'),
+ ('engagementmanager', '0015_engagementstatus'),
+ ('engagementmanager',
+ '0016_auto_20161208_0842'),
+ ('engagementmanager', '0017_auto_20161215_1535'),
+ ('engagementmanager',
+ '0018_set_old_notif_true'),
+ ('engagementmanager', '0019_auto_20170104_1715'),
+ ('engagementmanager',
+ '0020_add_indexes_20170108'),
+ ('engagementmanager',
+ '0021_generate_excel_overview_sheet_procedure_20170110'),
+ ('engagementmanager', '0022_auto_20170118_1520'),
+ ('engagementmanager',
+ '0023_auto_20170123_1445'),
('engagementmanager', '0024_auto_20170227_1224'),
('engagementmanager', '0025_change_nextsteps_to_new_state'),
- ('engagementmanager', '0026_add_slack_handle_to_ice_user_profile'),
- ('engagementmanager', '0027_add_version_to_vf'), ('engagementmanager', '0028_auto_20170425_1310'),
+ ('engagementmanager',
+ '0026_add_slack_handle_to_ice_user_profile'),
+ ('engagementmanager', '0027_add_version_to_vf'),
+ ('engagementmanager',
+ '0028_auto_20170425_1310'),
('engagementmanager', '0029_auto_20170504_0749'),
('engagementmanager', '0030_engagement_archived_time'),
- ('engagementmanager', '0031_auto_20170620_1312'), ('engagementmanager', '0032_auto_20170702_1435'),
+ ('engagementmanager', '0031_auto_20170620_1312'),
+ ('engagementmanager',
+ '0032_auto_20170702_1435'),
('engagementmanager', '0033_auto_20170704_0635'),
- ('engagementmanager', '0034_engagement_is_with_files'), ('engagementmanager', '0035_rgwa_fields'),
+ ('engagementmanager', '0034_engagement_is_with_files'),
+ ('engagementmanager', '0035_rgwa_fields'),
('engagementmanager', '0036_auto_20170906_0935')]
initial = True
@@ -119,11 +151,34 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Activity',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4, max_length=36,
+ primary_key=True, serialize=False,
+ unique=True)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now)),
('description', models.CharField(max_length=512)),
('is_notification', models.BooleanField(default=False)),
- ('activity_type', models.CharField(choices=[('user_joined_eng', 'user_joined_eng'), ('ssh_key_added', 'ssh_key_added'), ('eng_validation_request', 'eng_validation_request'), ('update_next_steps', 'update_next_steps'), ('vfc', 'vfc'), ('change_checklist_state', 'change_checklist_state'), ('vf_provisioning_event', 'vf_provisioning_event'), ('test_finished_event', 'test_finished_event'), ('change_engagement_stage', 'change_engagement_stage'), ('add_next_steps', 'add_next_steps'), ('delete_next_steps', 'delete_next_steps'), ('notice_empty_engagement', 'notice_empty_engagement')], max_length=36)),
+ ('activity_type', models.CharField(
+
+ choices=[('user_joined_eng', 'user_joined_eng'),
+ ('ssh_key_added', 'ssh_key_added'),
+ ('eng_validation_request',
+ 'eng_validation_request'),
+ ('update_next_steps', 'update_next_steps'),
+ ('vfc', 'vfc'), ('change_checklist_state',
+ 'change_checklist_state'),
+ ('vf_provisioning_event',
+ 'vf_provisioning_event'),
+ ('test_finished_event', 'test_finished_event'),
+ ('change_engagement_stage',
+ 'change_engagement_stage'),
+ ('add_next_steps', 'add_next_steps'),
+ ('delete_next_steps', 'delete_next_steps'),
+ ('notice_empty_engagement',
+ 'notice_empty_engagement')],
+ max_length=36)),
('metadata', models.CharField(max_length=1024)),
],
options={
@@ -134,9 +189,15 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ApplicationServiceInfrastructure',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('id', models.AutoField(
+ auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
('name', models.CharField(max_length=100, unique=True)),
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, unique=True)),
+ ('uuid', models.CharField(
+
+
+ default=uuid.uuid4, max_length=36, unique=True)),
],
options={
'db_table': 'ice_application_service_infrastructure',
@@ -145,14 +206,37 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Checklist',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='checklist name')),
- ('state', models.CharField(choices=[('automation', 'automation'), ('review', 'review'), ('peer_review', 'peer_review'), ('approval', 'approval'), ('handoff', 'handoff'), ('closed', 'closed'), ('archive', 'archive'), ('pending', 'pending')], default='pending', max_length=36)),
- ('validation_cycle', models.IntegerField(verbose_name='validation cycle')),
- ('weight', models.FloatField(default=0, verbose_name='checklist weight')),
- ('associated_files', models.TextField(verbose_name='list of files from gitlab')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(
+ max_length=255,
+ verbose_name='checklist name')),
+ ('state', models.CharField(
+ choices=[('automation', 'automation'),
+ ('review', 'review'),
+ ('peer_review', 'peer_review'),
+ ('approval', 'approval'), (
+ 'handoff', 'handoff'), ('closed', 'closed'),
+ ('archive', 'archive'), ('pending', 'pending')],
+ default='pending', max_length=36)),
+ ('validation_cycle', models.IntegerField(
+
+ verbose_name='validation cycle')),
+ ('weight', models.FloatField(
+ default=0,
+ verbose_name='checklist weight')),
+ ('associated_files', models.TextField(
+
+ verbose_name='list of files from gitlab')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
],
options={
'db_table': 'ice_checklist',
@@ -161,12 +245,24 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistAuditLog',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
('category', models.CharField(max_length=255)),
('description', models.TextField()),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
- ('checklist', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Checklist')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
+ ('checklist', models.ForeignKey(
+ blank=True, null=True,
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Checklist')),
],
options={
'db_table': 'ice_checklist_audit_log',
@@ -175,12 +271,31 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistDecision',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('review_value', models.CharField(choices=[('approved', 'approved'), ('denied', 'denied'), ('not_relevant', 'not_relevant'), ('na', 'na')], max_length=36)),
- ('peer_review_value', models.CharField(choices=[('approved', 'approved'), ('denied', 'denied'), ('not_relevant', 'not_relevant'), ('na', 'na')], max_length=36)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
- ('checklist', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Checklist')),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('review_value', models.CharField(
+ choices=[('approved', 'approved'), (
+ 'denied', 'denied'),
+ ('not_relevant', 'not_relevant'),
+ ('na', 'na')], max_length=36)),
+ ('peer_review_value', models.CharField(
+ choices=[('approved', 'approved'), (
+ 'denied', 'denied'),
+ ('not_relevant', 'not_relevant'),
+ ('na', 'na')], max_length=36)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
+ ('checklist', models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Checklist')),
],
options={
'db_table': 'ice_checklist_decision',
@@ -189,14 +304,31 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistLineItem',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='line name')),
- ('weight', models.FloatField(verbose_name='line weight')),
- ('description', models.TextField(verbose_name='line description')),
- ('line_type', models.CharField(choices=[('auto', 'auto'), ('manual', 'manual')], default='auto', max_length=36)),
- ('validation_instructions', models.TextField(verbose_name='line validation instructions')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=255,
+ verbose_name='line name')),
+ ('weight', models.FloatField(
+ verbose_name='line weight')),
+ ('description', models.TextField(
+ verbose_name='line description')),
+ ('line_type', models.CharField(
+ choices=[
+ ('auto', 'auto'), ('manual', 'manual')],
+ default='auto',
+ max_length=36)),
+ ('validation_instructions', models.TextField(
+
+ verbose_name='line validation instructions')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
],
options={
'db_table': 'ice_checklist_line_item',
@@ -205,14 +337,32 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistSection',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='section name')),
- ('weight', models.FloatField(verbose_name='checklist weight')),
- ('description', models.TextField(verbose_name='section description')),
- ('validation_instructions', models.TextField(verbose_name='section validation instructions')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
- ('parent_section', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistSection')),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=255,
+ verbose_name='section name')),
+ ('weight', models.FloatField(
+ verbose_name='checklist weight')),
+ ('description', models.TextField(
+
+ verbose_name='section description')),
+ ('validation_instructions', models.TextField(
+
+ verbose_name='section validation instructions')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
+ ('parent_section', models.ForeignKey(
+ blank=True, null=True,
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistSection')),
],
options={
'db_table': 'ice_checklist_section',
@@ -221,12 +371,27 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistTemplate',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='template name')),
- ('category', models.CharField(choices=[('overall', 'overall'), ('heat', 'heat'), ('glance', 'glance'), ('instantiation', 'instantiation'), ('asdc', 'asdc')], default='overall', max_length=36)),
- ('version', models.IntegerField(verbose_name='template version')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=255,
+ verbose_name='template name')),
+ ('category', models.CharField(
+ choices=[('overall', 'overall'),
+ ('heat', 'heat'), ('glance', 'glance'), (
+ 'instantiation', 'instantiation'), ('asdc', 'asdc')],
+ default='overall',
+ max_length=36)),
+ ('version', models.IntegerField(
+ verbose_name='template version')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
],
options={
'db_table': 'ice_checklist_template',
@@ -235,10 +400,19 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='CustomUser',
fields=[
- ('user_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
- ('activation_token', models.CharField(max_length=128, null=True, unique=True)),
- ('activation_token_create_time', models.DateTimeField(default=django.utils.timezone.now, null=True, verbose_name='activation_token_create_time')),
- ('temp_password', models.CharField(blank=True, default=None, max_length=256, null=True)),
+ ('user_ptr', models.OneToOneField(
+ auto_created=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ parent_link=True, primary_key=True, serialize=False,
+ to=settings.AUTH_USER_MODEL)),
+ ('activation_token', models.CharField(
+ max_length=128, null=True, unique=True)),
+ ('activation_token_create_time', models.DateTimeField(
+ default=django.utils.timezone.now, null=True,
+ verbose_name='activation_token_create_time')),
+ ('temp_password', models.CharField(
+
+ blank=True, default=None, max_length=256, null=True)),
],
options={
'db_table': 'ice_custom_user',
@@ -251,7 +425,10 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='DeploymentTarget',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
('name', models.CharField(max_length=45)),
('version', models.CharField(max_length=100)),
('weight', models.IntegerField(default=1)),
@@ -264,7 +441,10 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='DeploymentTargetSite',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
('name', models.CharField(max_length=45)),
],
options={
@@ -274,7 +454,10 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ECOMPRelease',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
('name', models.CharField(max_length=45)),
('weight', models.IntegerField(default=1)),
('ui_visibility', models.BooleanField(default=True)),
@@ -286,23 +469,68 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Engagement',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=64, primary_key=True, serialize=False)),
- ('engagement_manual_id', models.CharField(db_index=True, default=-1, max_length=36)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=64, primary_key=True, serialize=False)),
+ ('engagement_manual_id', models.CharField(
+ db_index=True, default=-1, max_length=36)),
('progress', models.IntegerField(default=0)),
- ('target_completion_date', models.DateField(blank=True, default=engagementmanager.models.get_default_target_completion_date, null=True)),
- ('engagement_stage', models.CharField(choices=[('Intake', 'Intake'), ('Active', 'Active'), ('Validated', 'Validated'), ('Completed', 'Completed'), ('Archived', 'Archived')], db_index=True, default='Intake', max_length=15)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('heat_validated_time', models.DateTimeField(blank=True, null=True, verbose_name='heat validated time')),
- ('image_scan_time', models.DateTimeField(blank=True, null=True, verbose_name='image scan time')),
- ('aic_instantiation_time', models.DateTimeField(blank=True, null=True, verbose_name='aic instantiation time')),
- ('asdc_onboarding_time', models.DateTimeField(blank=True, null=True, verbose_name='asdc onboarding time')),
- ('started_state_time', models.DateTimeField(blank=True, null=True, verbose_name='started state time')),
- ('intake_time', models.DateTimeField(blank=True, null=True, verbose_name='intake time')),
- ('active_time', models.DateTimeField(blank=True, null=True, verbose_name='active time')),
- ('validated_time', models.DateTimeField(blank=True, null=True, verbose_name='validated time')),
- ('completed_time', models.DateTimeField(blank=True, null=True, verbose_name='completed time')),
+ ('target_completion_date', models.DateField(
+
+ blank=True,
+ default=engagementmanager.models.
+ get_default_target_completion_date, null=True)),
+ ('engagement_stage', models.CharField(
+ choices=[('Intake', 'Intake'), ('Active', 'Active'),
+ ('Validated', 'Validated'), (
+ 'Completed', 'Completed'), ('Archived', 'Archived')],
+ db_index=True,
+ default='Intake', max_length=15)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('heat_validated_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='heat validated time')),
+ ('image_scan_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='image scan time')),
+ ('aic_instantiation_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='aic instantiation time')),
+ ('asdc_onboarding_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='asdc onboarding time')),
+ ('started_state_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='started state time')),
+ ('intake_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='intake time')),
+ ('active_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='active time')),
+ ('validated_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='validated time')),
+ ('completed_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='completed time')),
('archive_reason', models.TextField(default=None, null=True)),
- ('archived_time', models.DateTimeField(blank=True, null=True, verbose_name='archived time')),
+ ('archived_time', models.DateTimeField(
+
+ blank=True, null=True,
+ verbose_name='archived time')),
('is_with_files', models.BooleanField(default=False)),
],
options={
@@ -312,10 +540,15 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='EngagementStatus',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=64, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=64, primary_key=True, serialize=False)),
('description', models.CharField(max_length=256)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
- ('update_time', models.DateTimeField(default=django.utils.timezone.now)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now)),
+ ('update_time', models.DateTimeField(
+ default=django.utils.timezone.now)),
],
options={
'db_table': 'ice_engagement_status',
@@ -324,9 +557,15 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Feedback',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
- ('description', models.TextField(verbose_name='feedback_description')),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4, max_length=36,
+ primary_key=True, serialize=False, unique=True)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now)),
+ ('description', models.TextField(
+
+ verbose_name='feedback_description')),
],
options={
'db_table': 'ice_feedback',
@@ -335,20 +574,41 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='IceUserProfile',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, unique=True)),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
+ ('uuid', models.CharField(
+
+
+ default=uuid.uuid4, max_length=36, unique=True)),
('phone_number', models.CharField(max_length=30)),
('full_name', models.CharField(max_length=30)),
- ('email', models.EmailField(db_index=True, max_length=254, unique=True, verbose_name='email')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('ssh_public_key', models.CharField(blank=True, max_length=1024, null=True, verbose_name='ssh_public_key')),
+ ('email', models.EmailField(db_index=True,
+ max_length=254, unique=True,
+ verbose_name='email')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('ssh_public_key', models.CharField(
+ blank=True,
+ max_length=1024, null=True,
+ verbose_name='ssh_public_key')),
('regular_email_updates', models.BooleanField(default=False)),
- ('email_updates_on_every_notification', models.BooleanField(default=True)),
- ('email_updates_daily_digest', models.BooleanField(default=False)),
- ('is_service_provider_contact', models.BooleanField(default=False)),
- ('rgwa_access_key', models.CharField(blank=True, max_length=1024, null=True, unique=True)),
- ('rgwa_secret_key', models.CharField(blank=True, max_length=1024, null=True, unique=True)),
- ('slack_handle', models.CharField(blank=True, default=None, max_length=64, null=True)),
+ ('email_updates_on_every_notification',
+ models.BooleanField(default=True)),
+ ('email_updates_daily_digest',
+ models.BooleanField(default=False)),
+ ('is_service_provider_contact',
+ models.BooleanField(default=False)),
+ ('rgwa_access_key', models.CharField(
+
+ blank=True, max_length=1024, null=True, unique=True)),
+ ('rgwa_secret_key', models.CharField(
+
+ blank=True, max_length=1024, null=True, unique=True)),
+ ('slack_handle', models.CharField(
+
+ blank=True, default=None, max_length=64, null=True)),
],
options={
'db_table': 'ice_user_profile',
@@ -357,13 +617,21 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Invitation',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('engagement_uuid', models.CharField(db_index=True, max_length=64)),
- ('invited_by_user_uuid', models.CharField(db_index=True, max_length=64)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('engagement_uuid', models.CharField(
+ db_index=True, max_length=64)),
+ ('invited_by_user_uuid', models.CharField(
+ db_index=True, max_length=64)),
('email', models.CharField(max_length=255)),
- ('invitation_token', models.CharField(db_index=True, max_length=1024)),
+ ('invitation_token', models.CharField(
+ db_index=True, max_length=1024)),
('accepted', models.BooleanField(default=False)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='invitation creation time')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='invitation creation time')),
],
options={
'db_table': 'ice_invitation',
@@ -372,22 +640,60 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='NextStep',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('last_update_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='last update time')),
- ('last_update_type', models.CharField(default='Added', max_length=15)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=36, primary_key=True, serialize=False)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('last_update_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='last update time')),
+ ('last_update_type', models.CharField(
+ default='Added', max_length=15)),
('position', models.IntegerField()),
('description', models.TextField()),
- ('state', models.CharField(choices=[('Incomplete', 'Incomplete'), ('Completed', 'Completed')], max_length=15)),
+ ('state', models.CharField(
+ choices=[
+ ('Incomplete', 'Incomplete'),
+ ('Completed', 'Completed')], max_length=15)),
('engagement_stage', models.CharField(max_length=15)),
- ('next_step_type', models.CharField(choices=[('set_ssh', 'set_ssh'), ('trial_agreements', 'trial_agreements'), ('add_contact_person', 'add_contact_person'), ('submit_vf_package', 'submit_vf_package'), ('el_handoff', 'el_handoff'), ('user_defined', 'user_defined')], default='user_defined', max_length=36)),
- ('files', models.TextField(null=True, verbose_name='list of files')),
- ('due_date', models.DateField(null=True, verbose_name='due_date')),
- ('assignees', models.ManyToManyField(related_name='assignees', to='engagementmanager.IceUserProfile')),
- ('creator', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='NextStep_creator', to='engagementmanager.IceUserProfile')),
- ('engagement', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement')),
- ('last_updater', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='NextStep_last_updater', to='engagementmanager.IceUserProfile')),
- ('owner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.IceUserProfile')),
+ ('next_step_type', models.CharField(
+ choices=[('set_ssh', 'set_ssh'),
+ ('trial_agreements', 'trial_agreements'),
+ ('add_contact_person', 'add_contact_person'), (
+ 'submit_vf_package', 'submit_vf_package'),
+ ('el_handoff', 'el_handoff'),
+ ('user_defined', 'user_defined')],
+ default='user_defined',
+ max_length=36)),
+ ('files', models.TextField(null=True,
+ verbose_name='list of files')),
+ ('due_date', models.DateField(null=True,
+ verbose_name='due_date')),
+ ('assignees', models.ManyToManyField(
+ related_name='assignees',
+ to='engagementmanager.IceUserProfile')),
+ ('creator', models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='NextStep_creator',
+ to='engagementmanager.IceUserProfile')),
+ ('engagement', models.ForeignKey(
+ blank=True, null=True,
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement')),
+ ('last_updater', models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='NextStep_last_updater',
+ to='engagementmanager.IceUserProfile')),
+ ('owner', models.ForeignKey(
+ blank=True, null=True,
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.IceUserProfile')),
],
options={
'verbose_name_plural': 'Next steps',
@@ -397,11 +703,20 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Notification',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4, max_length=36,
+ primary_key=True, serialize=False, unique=True)),
('is_sent', models.BooleanField(default=False)),
('is_read', models.BooleanField(default=False)),
- ('activity', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Activity')),
- ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile')),
+ ('activity', models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Activity')),
+ ('user', models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile')),
],
options={
'db_table': 'ice_notification',
@@ -410,10 +725,23 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='RecentEngagement',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=64, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4,
+ max_length=64, primary_key=True, serialize=False)),
('user_uuid', models.CharField(max_length=64)),
- ('action_type', models.CharField(choices=[('JOINED_TO_ENGAGEMENT', 'JOINED_TO_ENGAGEMENT'), ('NEXT_STEP_ASSIGNED', 'NEXT_STEP_ASSIGNED'), ('GOT_OWNERSHIP_OVER_ENGAGEMENT', 'GOT_OWNERSHIP_OVER_ENGAGEMENT'), ('NAVIGATED_INTO_ENGAGEMENT', 'NAVIGATED_INTO_ENGAGEMENT'), ('NEW_VF_CREATED', 'NEW_VF_CREATED')], max_length=36)),
- ('last_update', models.DateTimeField(default=django.utils.timezone.now, verbose_name='update time')),
+ ('action_type', models.CharField(
+ choices=[('JOINED_TO_ENGAGEMENT', 'JOINED_TO_ENGAGEMENT'),
+ ('NEXT_STEP_ASSIGNED', 'NEXT_STEP_ASSIGNED'), (
+ 'GOT_OWNERSHIP_OVER_ENGAGEMENT',
+ 'GOT_OWNERSHIP_OVER_ENGAGEMENT'),
+ ('NAVIGATED_INTO_ENGAGEMENT',
+ 'NAVIGATED_INTO_ENGAGEMENT'),
+ ('NEW_VF_CREATED', 'NEW_VF_CREATED')],
+ max_length=36)),
+ ('last_update', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='update time')),
],
options={
'db_table': 'ice_recent_engagement',
@@ -422,8 +750,13 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Role',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, unique=True)),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
+ ('uuid', models.CharField(
+
+
+ default=uuid.uuid4, max_length=36, unique=True)),
('name', models.CharField(max_length=36, unique=True)),
],
options={
@@ -433,8 +766,13 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Vendor',
fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, unique=True)),
+ ('id', models.AutoField(auto_created=True,
+ primary_key=True, serialize=False,
+ verbose_name='ID')),
+ ('uuid', models.CharField(
+
+
+ default=uuid.uuid4, max_length=36, unique=True)),
('name', models.CharField(max_length=100, unique=True)),
('public', models.BooleanField()),
],
@@ -446,16 +784,40 @@ class Migration(migrations.Migration):
name='VF',
fields=[
('name', models.CharField(db_index=True, max_length=100)),
- ('version', models.CharField(db_index=True, max_length=100, null=True)),
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True)),
- ('is_service_provider_internal', models.BooleanField(default=False)),
- ('git_repo_url', models.CharField(default=-1, max_length=512)),
- ('target_lab_entry_date', models.DateField(verbose_name='target_lab_entry_date')),
- ('deployment_target', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='engagementmanager.DeploymentTarget')),
- ('deployment_target_sites', models.ManyToManyField(blank=True, default=None, related_name='DeployTarget_sites', to='engagementmanager.DeploymentTargetSite')),
- ('ecomp_release', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ECOMPRelease')),
- ('engagement', models.OneToOneField(default=-1, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Engagement')),
- ('vendor', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Vendor')),
+ ('version', models.CharField(
+ db_index=True, max_length=100, null=True)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4, max_length=36,
+ primary_key=True, serialize=False, unique=True)),
+ ('is_service_provider_internal',
+ models.BooleanField(default=False)),
+ ('git_repo_url', models.CharField(default=-1,
+ max_length=512)),
+ ('target_lab_entry_date', models.DateField(
+
+ verbose_name='target_lab_entry_date')),
+ ('deployment_target', models.ForeignKey(
+ blank=True, null=True,
+
+ on_delete=django.db.models.deletion.SET_NULL,
+ to='engagementmanager.DeploymentTarget')),
+ ('deployment_target_sites', models.ManyToManyField(
+ blank=True, default=None,
+ related_name='DeployTarget_sites',
+ to='engagementmanager.DeploymentTargetSite')),
+ ('ecomp_release', models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ECOMPRelease')),
+ ('engagement', models.OneToOneField(
+ default=-1,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement')),
+ ('vendor', models.ForeignKey(
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Vendor')),
],
options={
'db_table': 'ice_vf',
@@ -464,14 +826,31 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='VFC',
fields=[
- ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True)),
+ ('uuid', models.CharField(
+
+ default=uuid.uuid4, max_length=36,
+ primary_key=True, serialize=False, unique=True)),
('name', models.CharField(db_index=True, max_length=100)),
- ('external_ref_id', models.CharField(default='', max_length=20)),
+ ('external_ref_id', models.CharField(default='',
+ max_length=20)),
('ice_mandated', models.BooleanField(default=False)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('company', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='engagementmanager.Vendor')),
- ('creator', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='Vfc_creator', to='engagementmanager.IceUserProfile')),
- ('vf', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.VF')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+
+ verbose_name='creation time')),
+ ('company', models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.SET_NULL,
+ to='engagementmanager.Vendor')),
+ ('creator', models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Vfc_creator',
+ to='engagementmanager.IceUserProfile')),
+ ('vf', models.ForeignKey(
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.VF')),
],
options={
'db_table': 'ice_vfc',
@@ -480,7 +859,10 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='recentengagement',
name='vf',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.VF'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.VF'),
),
migrations.AlterUniqueTogether(
name='invitation',
@@ -489,62 +871,102 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='iceuserprofile',
name='company',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Vendor'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Vendor'),
),
migrations.AddField(
model_name='iceuserprofile',
name='role',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Role'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Role'),
),
migrations.AddField(
model_name='iceuserprofile',
name='user',
- field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.CustomUser'),
+ field=models.OneToOneField(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.CustomUser'),
),
migrations.AddField(
model_name='feedback',
name='user',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagementstatus',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='status_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='status_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagementstatus',
name='engagement',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement'),
),
migrations.AddField(
model_name='engagement',
name='contact_user',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='Engagement_contact_user', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_contact_user',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagement',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='Engagement_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagement',
name='engagement_team',
- field=models.ManyToManyField(related_name='members', to='engagementmanager.IceUserProfile'),
+ field=models.ManyToManyField(
+ related_name='members',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagement',
name='peer_reviewer',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='Engagement_peer_reviewer', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_peer_reviewer',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagement',
name='reviewer',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='Engagement_el_reviewer', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_el_reviewer',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='engagement',
name='starred_engagement',
- field=models.ManyToManyField(blank=True, default=None, to='engagementmanager.IceUserProfile'),
+ field=models.ManyToManyField(
+
+ blank=True, default=None,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterUniqueTogether(
name='deploymenttarget',
@@ -553,57 +975,93 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='checklistsection',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AddField(
model_name='checklistlineitem',
name='section',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistSection'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistSection'),
),
migrations.AddField(
model_name='checklistlineitem',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AddField(
model_name='checklistdecision',
name='lineitem',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistLineItem'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistLineItem'),
),
migrations.AddField(
model_name='checklistdecision',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AddField(
model_name='checklistauditlog',
name='creator',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='checklistauditlog',
name='decision',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistDecision'),
+ field=models.ForeignKey(
+
+ blank=True, null=True,
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistDecision'),
),
migrations.AddField(
model_name='checklist',
name='creator',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='checklist_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name='checklist_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='checklist',
name='engagement',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement'),
),
migrations.AddField(
model_name='checklist',
name='owner',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='checklist_owner', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name='checklist_owner',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='checklist',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AlterUniqueTogether(
name='applicationserviceinfrastructure',
@@ -612,12 +1070,18 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='activity',
name='activity_owner',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AddField(
model_name='activity',
name='engagement',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement'),
),
migrations.AlterIndexTogether(
name='notification',
diff --git a/django/engagementmanager/migrations/0002_auto_20160704_1028.py b/django/engagementmanager/migrations/0002_auto_20160704_1028.py
index 682394a..a32c2d2 100644
--- a/django/engagementmanager/migrations/0002_auto_20160704_1028.py
+++ b/django/engagementmanager/migrations/0002_auto_20160704_1028.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -85,24 +85,34 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='create_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time'),
),
migrations.AddField(
model_name='engagement',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_creator', to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_creator',
+ to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='vfc',
name='create_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time'),
),
migrations.AddField(
model_name='vfc',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Vfc_creator', to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Vfc_creator',
+ to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='vfc',
@@ -117,20 +127,29 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='activity',
name='activity_owner',
- field=models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUser'),
),
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[(b'3', b'eng_validation_request'), (b'4', b'next_steps'),
- (b'2', b'ssh_key_added'), (b'1', b'user_joined_eng'), (b'5', b'vfc')], max_length=36),
+ field=models.CharField(
+ choices=[(b'3', b'eng_validation_request'),
+ (b'4', b'next_steps'),
+ (b'2', b'ssh_key_added'),
+ (b'1', b'user_joined_eng'),
+ (b'5', b'vfc')], max_length=36),
),
migrations.AlterField(
model_name='engagement',
name='contact_user',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_contact_user', to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_contact_user',
+ to='engagementmanager.IceUser'),
),
migrations.AlterField(
model_name='engagement',
@@ -146,7 +165,9 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='vfc',
name='uuid',
- field=models.CharField(max_length=36, primary_key=True, serialize=False, unique=True),
+ field=models.CharField(
+ max_length=36, primary_key=True,
+ serialize=False, unique=True),
),
migrations.AlterUniqueTogether(
name='vfc',
diff --git a/django/engagementmanager/migrations/0003_auto_20160713_0929.py b/django/engagementmanager/migrations/0003_auto_20160713_0929.py
index 3bc94a0..39cc9cb 100644
--- a/django/engagementmanager/migrations/0003_auto_20160713_0929.py
+++ b/django/engagementmanager/migrations/0003_auto_20160713_0929.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -56,30 +56,61 @@ class Migration(migrations.Migration):
operations = [
migrations.AlterModelOptions(
name='nextstep',
- options={'verbose_name_plural': 'Next steps'},
+ options={
+ 'verbose_name_plural': 'Next steps'},
),
migrations.AddField(
model_name='nextstep',
name='next_step_type',
- field=models.CharField(choices=[(b'(3,)', b'add_contact_person'), (b'(5,)', b'el_handoff'), (b'(1,)', b'set_ssh'), (
- b'(4,)', b'submit_vf_package'), (b'(2,)', b'trial_agreements'), (b'6', b'user_defined')], default=b'user_defined', max_length=36),
+ field=models.CharField(
+ choices=[
+ (b'(3,)',
+ b'add_contact_person'),
+ (b'(5,)',
+ b'el_handoff'),
+ (b'(1,)',
+ b'set_ssh'),
+ (b'(4,)',
+ b'submit_vf_package'),
+ (b'(2,)',
+ b'trial_agreements'),
+ (b'6',
+ b'user_defined')],
+ default=b'user_defined',
+ max_length=36),
),
migrations.AddField(
model_name='nextstep',
name='owner',
- field=models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.IceUser'),
),
migrations.AlterField(
model_name='engagement',
name='target_completion_date',
- field=models.DateField(blank=True, default=datetime.datetime(
- 2016, 7, 29, 9, 29, 32, 642800, tzinfo=utc), null=True),
+ field=models.DateField(
+ blank=True,
+ default=datetime.datetime(
+ 2016,
+ 7,
+ 29,
+ 9,
+ 29,
+ 32,
+ 642800,
+ tzinfo=utc),
+ null=True),
),
migrations.AlterField(
model_name='nextstep',
name='engagement',
- field=models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement'),
),
]
diff --git a/django/engagementmanager/migrations/0004_auto_20160720_2143.py b/django/engagementmanager/migrations/0004_auto_20160720_2143.py
index cfc04d3..452770f 100644
--- a/django/engagementmanager/migrations/0004_auto_20160720_2143.py
+++ b/django/engagementmanager/migrations/0004_auto_20160720_2143.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -57,12 +57,27 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='iceuser',
name='temp_password',
- field=models.CharField(blank=True, default=None, max_length=256, null=True, unique=True),
+ field=models.CharField(
+ blank=True,
+ default=None,
+ max_length=256,
+ null=True,
+ unique=True),
),
migrations.AlterField(
model_name='engagement',
name='target_completion_date',
- field=models.DateField(blank=True, default=datetime.datetime(
- 2016, 8, 5, 18, 43, 43, 473000, tzinfo=utc), null=True),
+ field=models.DateField(
+ blank=True,
+ default=datetime.datetime(
+ 2016,
+ 8,
+ 5,
+ 18,
+ 43,
+ 43,
+ 473000,
+ tzinfo=utc),
+ null=True),
),
]
diff --git a/django/engagementmanager/migrations/0005_auto_20160815_1248.py b/django/engagementmanager/migrations/0005_auto_20160815_1248.py
index decbe51..35b4878 100644
--- a/django/engagementmanager/migrations/0005_auto_20160815_1248.py
+++ b/django/engagementmanager/migrations/0005_auto_20160815_1248.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -56,7 +56,8 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='DeploymentTargetSite',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
('name', models.CharField(max_length=45)),
],
options={
@@ -72,24 +73,30 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='vfc',
name='company',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL,
- to='engagementmanager.Vendor'),
+ field=models.ForeignKey(
+ null=True, on_delete=django.db.models.deletion.SET_NULL,
+ to='engagementmanager.Vendor'),
),
migrations.AlterField(
model_name='engagement',
name='target_completion_date',
field=models.DateField(
- blank=True, default=engagementmanager.models.get_default_target_completion_date, null=True),
+ blank=True,
+ default=engagementmanager.models.
+ get_default_target_completion_date, null=True),
),
migrations.AlterField(
model_name='iceuser',
name='temp_password',
- field=models.CharField(blank=True, default=None, max_length=256, null=True),
+ field=models.CharField(
+ blank=True, default=None, max_length=256, null=True),
),
migrations.AddField(
model_name='vf',
name='deployment_target_sites',
- field=models.ManyToManyField(blank=True, default=None, related_name='DeployTarget_sites',
- to='engagementmanager.DeploymentTargetSite'),
+ field=models.ManyToManyField(
+ blank=True, default=None,
+ related_name='DeployTarget_sites',
+ to='engagementmanager.DeploymentTargetSite'),
),
]
diff --git a/django/engagementmanager/migrations/0006_auto_20160825_0644.py b/django/engagementmanager/migrations/0006_auto_20160825_0644.py
index 285631d..d361a3d 100644
--- a/django/engagementmanager/migrations/0006_auto_20160825_0644.py
+++ b/django/engagementmanager/migrations/0006_auto_20160825_0644.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -55,17 +55,38 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Checklist',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='checklist name')),
- ('state', models.CharField(choices=[(b'(4,)', b'approval'), (b'(7,)', b'archive'), (b'(1,)', b'automation'), (b'(6,)', b'closed'), (
- b'(5,)', b'handoff'), (b'(3,)', b'peer_review'), (b'8', b'pending'), (b'(2,)', b'review')], default=b'automation', max_length=36)),
- ('validation_cycle', models.IntegerField(verbose_name='validation cycle')),
- ('weight', models.FloatField(default=0, verbose_name='checklist weight')),
- ('associated_files', models.TextField(verbose_name='list of files from gitlab')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
- ('creator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- related_name='checklist_creator', to='engagementmanager.IceUser')),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
+ ('name', models.CharField(
+ max_length=255,
+ verbose_name='checklist name')),
+ ('state', models.CharField(
+ choices=[(b'(4,)', b'approval'),
+ (b'(7,)', b'archive'),
+ (b'(1,)', b'automation'), (b'(6,)', b'closed'), (
+ b'(5,)', b'handoff'), (b'(3,)', b'peer_review'),
+ (b'8', b'pending'), (b'(2,)', b'review')],
+ default=b'automation', max_length=36)),
+ ('validation_cycle', models.IntegerField(
+
+ verbose_name='validation cycle')),
+ ('weight', models.FloatField(
+ default=0,
+ verbose_name='checklist weight')),
+ ('associated_files', models.TextField(
+
+ verbose_name='list of files from gitlab')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
+ ('creator', models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name='checklist_creator',
+ to='engagementmanager.IceUser')),
],
options={
'db_table': 'ice_checklist',
@@ -74,15 +95,25 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistAuditLog',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
('category', models.CharField(max_length=255)),
('description', models.TextField()),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
- ('checklist', models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Checklist')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
+ ('checklist', models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Checklist')),
('creator', models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUser')),
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUser')),
],
options={
'db_table': 'ice_checklist_audit_log',
@@ -91,15 +122,25 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistDecision',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
('review_value', models.CharField(choices=[
- (b'(1,)', b'approved'), (b'(2,)', b'denied'), (b'4', b'na'), (b'(3,)', b'not_relevant')], max_length=36)),
+ (b'(1,)', b'approved'), (b'(2,)', b'denied'), (b'4', b'na'),
+ (b'(3,)', b'not_relevant')], max_length=36)),
('peer_review_value', models.CharField(choices=[
- (b'(1,)', b'approved'), (b'(2,)', b'denied'), (b'4', b'na'), (b'(3,)', b'not_relevant')], max_length=36)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
+ (b'(1,)', b'approved'), (b'(2,)', b'denied'), (b'4', b'na'),
+ (b'(3,)', b'not_relevant')], max_length=36)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
('checklist', models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Checklist')),
+
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Checklist')),
],
options={
'db_table': 'ice_checklist_decision',
@@ -108,15 +149,27 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistLineItem',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='line name')),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=255,
+ verbose_name='line name')),
('weight', models.FloatField(verbose_name='line weight')),
- ('description', models.TextField(verbose_name='line description')),
- ('line_type', models.CharField(choices=[(b'(1,)', b'auto'),
- (b'2', b'manual')], default=b'auto', max_length=36)),
- ('validation_instructions', models.TextField(verbose_name='line validation instructions')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
+ ('description', models.TextField(
+ verbose_name='line description')),
+ ('line_type', models.CharField(
+ choices=[(b'(1,)', b'auto'),
+ (b'2', b'manual')],
+ default=b'auto', max_length=36)),
+ ('validation_instructions', models.TextField(
+
+ verbose_name='line validation instructions')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
],
options={
'db_table': 'ice_checklist_line_item',
@@ -125,15 +178,28 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistSection',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='section name')),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=255,
+ verbose_name='section name')),
('weight', models.FloatField(verbose_name='checklist weight')),
- ('description', models.TextField(verbose_name='section description')),
- ('validation_instructions', models.TextField(verbose_name='section validation instructions')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
- ('parent_section', models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.ChecklistSection')),
+ ('description', models.TextField(
+
+ verbose_name='section description')),
+ ('validation_instructions', models.TextField(
+
+ verbose_name='section validation instructions')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
+ ('parent_section',
+ models.ForeignKey(blank=True, null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistSection')),
],
options={
'db_table': 'ice_checklist_section',
@@ -142,13 +208,24 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ChecklistTemplate',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=255, verbose_name='template name')),
- ('category', models.CharField(choices=[
- (b'3', b'glance'), (b'(2,)', b'heat'), (b'(1,)', b'overall')], default=b'overall', max_length=36)),
- ('version', models.IntegerField(verbose_name='template version')),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now, verbose_name='creation time')),
- ('update_time', models.DateTimeField(blank=True, null=True, verbose_name='last update time')),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=255,
+ verbose_name='template name')),
+ ('category', models.CharField(
+ choices=[
+ (b'3', b'glance'), (b'(2,)', b'heat'),
+ (b'(1,)', b'overall')],
+ default=b'overall', max_length=36)),
+ ('version', models.IntegerField(
+ verbose_name='template version')),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='creation time')),
+ ('update_time', models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='last update time')),
],
options={
'db_table': 'ice_checklist_template',
@@ -157,81 +234,103 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='peer_reviewer',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_peer_reviewer', to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_peer_reviewer',
+ to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='nextstep',
name='assignees',
- field=models.ManyToManyField(related_name='assignees', to='engagementmanager.IceUser'),
+ field=models.ManyToManyField(
+ related_name='assignees', to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='nextstep',
name='due_date',
- field=models.DateField(null=True, verbose_name='due_date'),
+ field=models.DateField(null=True,
+ verbose_name='due_date'),
),
migrations.AddField(
model_name='nextstep',
name='files',
- field=models.TextField(null=True, verbose_name='list of files'),
+ field=models.TextField(null=True,
+ verbose_name='list of files'),
),
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[(b'6', b'change_checklist_state'), (b'3', b'eng_validation_request'), (
- b'4', b'next_steps'), (b'2', b'ssh_key_added'), (b'1', b'user_joined_eng'), (b'5', b'vfc')], max_length=36),
+ field=models.CharField(
+ choices=[(b'6', b'change_checklist_state'),
+ (b'3', b'eng_validation_request'), (
+ b'4', b'next_steps'), (b'2', b'ssh_key_added'),
+ (b'1', b'user_joined_eng'), (b'5', b'vfc')],
+ max_length=36),
),
migrations.AddField(
model_name='checklistsection',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
- to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AddField(
model_name='checklistlineitem',
name='section',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.ChecklistSection'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistSection'),
),
migrations.AddField(
model_name='checklistlineitem',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AddField(
model_name='checklistdecision',
name='lineitem',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.ChecklistLineItem'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistLineItem'),
),
migrations.AddField(
model_name='checklistdecision',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistTemplate'),
),
migrations.AddField(
model_name='checklistauditlog',
name='decision',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.ChecklistDecision'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ChecklistDecision'),
),
migrations.AddField(
model_name='checklist',
name='engagement',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement'),
),
migrations.AddField(
model_name='checklist',
name='owner',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- related_name='checklist_owner', to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name='checklist_owner',
+ to='engagementmanager.IceUser'),
),
migrations.AddField(
model_name='checklist',
name='template',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
- to='engagementmanager.ChecklistTemplate'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.ChecklistTemplate'),
),
]
diff --git a/django/engagementmanager/migrations/0007_auto_20160922_0421.py b/django/engagementmanager/migrations/0007_auto_20160922_0421.py
index 655f30d..2224a49 100644
--- a/django/engagementmanager/migrations/0007_auto_20160922_0421.py
+++ b/django/engagementmanager/migrations/0007_auto_20160922_0421.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,8 +54,14 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='ECOMPRelease',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=45)),
+ ('uuid',
+ models.CharField(
+ max_length=36,
+ primary_key=True,
+ serialize=False)),
+ ('name',
+ models.CharField(
+ max_length=45)),
],
options={
'db_table': 'ice_ecomp_release',
@@ -64,7 +70,10 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='vf',
name='ecomp_release',
- field=models.ForeignKey(blank=True, null=True,
- on_delete=django.db.models.deletion.SET_NULL, to='engagementmanager.ECOMPRelease'),
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.SET_NULL,
+ to='engagementmanager.ECOMPRelease'),
),
]
diff --git a/django/engagementmanager/migrations/0008_auto_20161009_1210.py b/django/engagementmanager/migrations/0008_auto_20161009_1210.py
index ce6ddcc..75af591 100644
--- a/django/engagementmanager/migrations/0008_auto_20161009_1210.py
+++ b/django/engagementmanager/migrations/0008_auto_20161009_1210.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -55,12 +55,34 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='RecentEngagement',
fields=[
- ('uuid', models.CharField(max_length=64, primary_key=True, serialize=False)),
- ('user_uuid', models.CharField(max_length=64)),
- ('action_type', models.CharField(choices=[(b'(3,)', b'GOT_OWNERSHIP_OVER_ENGAGEMENT'), (b'(1,)', b'JOINED_TO_ENGAGEMENT'), (
- b'(4,)', b'NAVIGATED_INTO_ENGAGEMENT'), (b'(2,)', b'NEXT_STEP_ASSIGNED')], max_length=36)),
- ('last_update', models.DateTimeField(default=django.utils.timezone.now, verbose_name='update time')),
- ('vf', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.VF')),
+ ('uuid',
+ models.CharField(
+ max_length=64,
+ primary_key=True,
+ serialize=False)),
+ ('user_uuid',
+ models.CharField(
+ max_length=64)),
+ ('action_type',
+ models.CharField(
+ choices=[
+ (b'(3,)',
+ b'GOT_OWNERSHIP_OVER_ENGAGEMENT'),
+ (b'(1,)',
+ b'JOINED_TO_ENGAGEMENT'),
+ (b'(4,)',
+ b'NAVIGATED_INTO_ENGAGEMENT'),
+ (b'(2,)',
+ b'NEXT_STEP_ASSIGNED')],
+ max_length=36)),
+ ('last_update',
+ models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='update time')),
+ ('vf',
+ models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.VF')),
],
options={
'db_table': 'ice_recent_engagement',
@@ -69,6 +91,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='starred_engagement',
- field=models.ManyToManyField(to='engagementmanager.IceUser'),
+ field=models.ManyToManyField(
+ to='engagementmanager.IceUser'),
),
]
diff --git a/django/engagementmanager/migrations/0009_auto_20161018_0740.py b/django/engagementmanager/migrations/0009_auto_20161018_0740.py
index 5536536..252d16c 100644
--- a/django/engagementmanager/migrations/0009_auto_20161018_0740.py
+++ b/django/engagementmanager/migrations/0009_auto_20161018_0740.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,13 +53,42 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='checklist',
name='state',
- field=models.CharField(choices=[(b'(4,)', b'approval'), (b'(7,)', b'archive'), (b'(1,)', b'automation'), (b'(6,)', b'closed'), (
- b'(5,)', b'handoff'), (b'(3,)', b'peer_review'), (b'8', b'pending'), (b'(2,)', b'review')], default=b'pending', max_length=36),
+ field=models.CharField(
+ choices=[
+ (b'(4,)',
+ b'approval'),
+ (b'(7,)',
+ b'archive'),
+ (b'(1,)',
+ b'automation'),
+ (b'(6,)',
+ b'closed'),
+ (b'(5,)',
+ b'handoff'),
+ (b'(3,)',
+ b'peer_review'),
+ (b'8',
+ b'pending'),
+ (b'(2,)',
+ b'review')],
+ default=b'pending',
+ max_length=36),
),
migrations.AlterField(
model_name='recentengagement',
name='action_type',
- field=models.CharField(choices=[(b'(3,)', b'GOT_OWNERSHIP_OVER_ENGAGEMENT'), (b'(1,)', b'JOINED_TO_ENGAGEMENT'), (
- b'(4,)', b'NAVIGATED_INTO_ENGAGEMENT'), (b'(5,)', b'NEW_VF_CREATED'), (b'(2,)', b'NEXT_STEP_ASSIGNED')], max_length=36),
+ field=models.CharField(
+ choices=[
+ (b'(3,)',
+ b'GOT_OWNERSHIP_OVER_ENGAGEMENT'),
+ (b'(1,)',
+ b'JOINED_TO_ENGAGEMENT'),
+ (b'(4,)',
+ b'NAVIGATED_INTO_ENGAGEMENT'),
+ (b'(5,)',
+ b'NEW_VF_CREATED'),
+ (b'(2,)',
+ b'NEXT_STEP_ASSIGNED')],
+ max_length=36),
),
]
diff --git a/django/engagementmanager/migrations/0010_auto_20161025_0838.py b/django/engagementmanager/migrations/0010_auto_20161025_0838.py
index 19f8db6..aa4c78d 100644
--- a/django/engagementmanager/migrations/0010_auto_20161025_0838.py
+++ b/django/engagementmanager/migrations/0010_auto_20161025_0838.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,54 +53,88 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[(b'change_checklist_state', b'change_checklist_state'), (b'eng_validation_request', b'eng_validation_request'), (
- b'next_steps', b'next_steps'), (b'ssh_key_added', b'ssh_key_added'), (b'user_joined_eng', b'user_joined_eng'), (b'vfc', b'vfc')], max_length=36),
+ field=models.CharField(
+ choices=[(b'change_checklist_state',
+ b'change_checklist_state'),
+ (b'eng_validation_request',
+ b'eng_validation_request'), (
+ b'next_steps', b'next_steps'),
+ (b'ssh_key_added', b'ssh_key_added'),
+ (b'user_joined_eng', b'user_joined_eng'),
+ (b'vfc', b'vfc')], max_length=36),
),
migrations.AlterField(
model_name='checklist',
name='state',
- field=models.CharField(choices=[(b'approval', b'approval'), (b'archive', b'archive'), (b'automation', b'automation'), (b'closed', b'closed'), (
- b'handoff', b'handoff'), (b'peer_review', b'peer_review'), (b'pending', b'pending'), (b'review', b'review')], default=b'pending', max_length=36),
+ field=models.CharField(
+ choices=[(b'approval', b'approval'),
+ (b'archive', b'archive'),
+ (b'automation', b'automation'),
+ (b'closed', b'closed'), (
+ b'handoff', b'handoff'), (b'peer_review', b'peer_review'),
+ (b'pending', b'pending'), (b'review', b'review')],
+ default=b'pending', max_length=36),
),
migrations.AlterField(
model_name='checklistdecision',
name='peer_review_value',
- field=models.CharField(choices=[(b'approved', b'approved'), (b'denied', b'denied'),
- (b'na', b'na'), (b'not_relevant', b'not_relevant')], max_length=36),
+ field=models.CharField(
+ choices=[(b'approved', b'approved'), (b'denied', b'denied'),
+ (b'na', b'na'), (b'not_relevant', b'not_relevant')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklistdecision',
name='review_value',
- field=models.CharField(choices=[(b'approved', b'approved'), (b'denied', b'denied'),
- (b'na', b'na'), (b'not_relevant', b'not_relevant')], max_length=36),
+ field=models.CharField(
+ choices=[(b'approved', b'approved'), (b'denied', b'denied'),
+ (b'na', b'na'), (b'not_relevant', b'not_relevant')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklistlineitem',
name='line_type',
- field=models.CharField(choices=[(b'auto', b'auto'), (b'manual', b'manual')],
- default=b'auto', max_length=36),
+ field=models.CharField(
+ choices=[(b'auto', b'auto'), (b'manual', b'manual')],
+ default=b'auto', max_length=36),
),
migrations.AlterField(
model_name='checklisttemplate',
name='category',
- field=models.CharField(choices=[(b'glance', b'glance'), (b'heat', b'heat'),
- (b'overall', b'overall')], default=b'overall', max_length=36),
+ field=models.CharField(
+ choices=[(b'glance', b'glance'), (b'heat', b'heat'),
+ (b'overall', b'overall')], default=b'overall',
+ max_length=36),
),
migrations.AlterField(
model_name='engagement',
name='starred_engagement',
- field=models.ManyToManyField(blank=True, to='engagementmanager.IceUser'),
+ field=models.ManyToManyField(
+ blank=True, to='engagementmanager.IceUser'),
),
migrations.AlterField(
model_name='nextstep',
name='next_step_type',
- field=models.CharField(choices=[(b'add_contact_person', b'add_contact_person'), (b'el_handoff', b'el_handoff'), (b'set_ssh', b'set_ssh'), (
- b'submit_vf_package', b'submit_vf_package'), (b'trial_agreements', b'trial_agreements'), (b'user_defined', b'user_defined')], default=b'user_defined', max_length=36),
+ field=models.CharField(
+ choices=[(b'add_contact_person', b'add_contact_person'),
+ (b'el_handoff', b'el_handoff'),
+ (b'set_ssh', b'set_ssh'), (
+ b'submit_vf_package', b'submit_vf_package'),
+ (b'trial_agreements', b'trial_agreements'),
+ (b'user_defined', b'user_defined')],
+ default=b'user_defined', max_length=36),
),
migrations.AlterField(
model_name='recentengagement',
name='action_type',
- field=models.CharField(choices=[(b'GOT_OWNERSHIP_OVER_ENGAGEMENT', b'GOT_OWNERSHIP_OVER_ENGAGEMENT'), (b'JOINED_TO_ENGAGEMENT', b'JOINED_TO_ENGAGEMENT'), (
- b'NAVIGATED_INTO_ENGAGEMENT', b'NAVIGATED_INTO_ENGAGEMENT'), (b'NEW_VF_CREATED', b'NEW_VF_CREATED'), (b'NEXT_STEP_ASSIGNED', b'NEXT_STEP_ASSIGNED')], max_length=36),
+ field=models.CharField(
+ choices=[(b'GOT_OWNERSHIP_OVER_ENGAGEMENT',
+ b'GOT_OWNERSHIP_OVER_ENGAGEMENT'),
+ (b'JOINED_TO_ENGAGEMENT', b'JOINED_TO_ENGAGEMENT'), (
+ b'NAVIGATED_INTO_ENGAGEMENT',
+ b'NAVIGATED_INTO_ENGAGEMENT'),
+ (b'NEW_VF_CREATED', b'NEW_VF_CREATED'),
+ (b'NEXT_STEP_ASSIGNED', b'NEXT_STEP_ASSIGNED')],
+ max_length=36),
),
]
diff --git a/django/engagementmanager/migrations/0011_auto_20161109_0811.py b/django/engagementmanager/migrations/0011_auto_20161109_0811.py
index 9bcf50c..d359667 100644
--- a/django/engagementmanager/migrations/0011_auto_20161109_0811.py
+++ b/django/engagementmanager/migrations/0011_auto_20161109_0811.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,28 +54,38 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='engagement',
name='engagement_manual_id',
- field=models.CharField(max_length=36),
+ field=models.CharField(
+ max_length=36),
),
migrations.AlterField(
model_name='engagement',
name='starred_engagement',
- field=models.ManyToManyField(blank=True, default=None, to='engagementmanager.IceUser'),
+ field=models.ManyToManyField(
+ blank=True,
+ default=None,
+ to='engagementmanager.IceUser'),
),
migrations.AlterField(
model_name='vf',
name='ecomp_release',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.ECOMPRelease'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.ECOMPRelease'),
),
migrations.AlterField(
model_name='vf',
name='engagement',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement'),
),
migrations.AlterField(
model_name='vf',
name='git_repo_url',
- field=models.CharField(default='', max_length=512),
+ field=models.CharField(
+ default='',
+ max_length=512),
preserve_default=False,
),
]
diff --git a/django/engagementmanager/migrations/0012_auto_20161109_0822.py b/django/engagementmanager/migrations/0012_auto_20161109_0822.py
index 79214dc..7036260 100644
--- a/django/engagementmanager/migrations/0012_auto_20161109_0822.py
+++ b/django/engagementmanager/migrations/0012_auto_20161109_0822.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,29 +54,46 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='reviewer',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_el_reviewer', to='engagementmanager.IceUser'),
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_el_reviewer',
+ to='engagementmanager.IceUser'),
),
migrations.AlterField(
model_name='engagement',
name='engagement_manual_id',
- field=models.CharField(default=-1, max_length=36),
+ field=models.CharField(
+ default=-1,
+ max_length=36),
),
migrations.AlterField(
model_name='nextstep',
name='state',
- field=models.CharField(choices=[(b'Completed', b'Completed'), (b'Confirmed',
- b'Confirmed'), (b'TODO', b'TODO')], max_length=15),
+ field=models.CharField(
+ choices=[
+ (b'Completed',
+ b'Completed'),
+ (b'Confirmed',
+ b'Confirmed'),
+ (b'TODO',
+ b'TODO')],
+ max_length=15),
),
migrations.AlterField(
model_name='vf',
name='engagement',
- field=models.ForeignKey(default=-1, on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ default=-1,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement'),
),
migrations.AlterField(
model_name='vf',
name='git_repo_url',
- field=models.CharField(default=-1, max_length=512),
+ field=models.CharField(
+ default=-1,
+ max_length=512),
),
]
diff --git a/django/engagementmanager/migrations/0013_auto_20161128_1159.py b/django/engagementmanager/migrations/0013_auto_20161128_1159.py
index 06a55c1..395d01d 100644
--- a/django/engagementmanager/migrations/0013_auto_20161128_1159.py
+++ b/django/engagementmanager/migrations/0013_auto_20161128_1159.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,46 +54,64 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='active_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='active time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='active time'),
),
migrations.AddField(
model_name='engagement',
name='aic_instantiation_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='aic instantiation time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='aic instantiation time'),
),
migrations.AddField(
model_name='engagement',
name='asdc_onboarding_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='asdc onboarding time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='asdc onboarding time'),
),
migrations.AddField(
model_name='engagement',
name='completed_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='completed time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='completed time'),
),
migrations.AddField(
model_name='engagement',
name='heat_validated_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='heat validated time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='heat validated time'),
),
migrations.AddField(
model_name='engagement',
name='image_scan_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='image scan time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='image scan time'),
),
migrations.AddField(
model_name='engagement',
name='intake_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='intake time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='intake time'),
),
migrations.AddField(
model_name='engagement',
name='started_state_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='started state time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='started state time'),
),
migrations.AddField(
model_name='engagement',
name='validated_time',
- field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='validated time'),
+ field=models.DateTimeField(
+ default=django.utils.timezone.now,
+ verbose_name='validated time'),
),
]
diff --git a/django/engagementmanager/migrations/0014_auto_20161129_1145.py b/django/engagementmanager/migrations/0014_auto_20161129_1145.py
index ee4efd4..bde0b91 100644
--- a/django/engagementmanager/migrations/0014_auto_20161129_1145.py
+++ b/django/engagementmanager/migrations/0014_auto_20161129_1145.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,52 +53,96 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[(b'change_checklist_state', b'change_checklist_state'), (b'eng_validation_request', b'eng_validation_request'), (b'next_steps', b'next_steps'), (b'ssh_key_added', b'ssh_key_added'), (
- b'test_finished_event', b'test_finished_event'), (b'user_joined_eng', b'user_joined_eng'), (b'vf_provisioing_event', b'vf_provisioing_event'), (b'vfc', b'vfc')], max_length=36),
+ field=models.CharField(
+ choices=[
+ (b'change_checklist_state',
+ b'change_checklist_state'),
+ (b'eng_validation_request',
+ b'eng_validation_request'),
+ (b'next_steps',
+ b'next_steps'),
+ (b'ssh_key_added',
+ b'ssh_key_added'),
+ (b'test_finished_event',
+ b'test_finished_event'),
+ (b'user_joined_eng',
+ b'user_joined_eng'),
+ (b'vf_provisioing_event',
+ b'vf_provisioing_event'),
+ (b'vfc',
+ b'vfc')],
+ max_length=36),
),
migrations.AlterField(
model_name='engagement',
name='active_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='active time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='active time'),
),
migrations.AlterField(
model_name='engagement',
name='aic_instantiation_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='aic instantiation time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='aic instantiation time'),
),
migrations.AlterField(
model_name='engagement',
name='asdc_onboarding_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='asdc onboarding time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='asdc onboarding time'),
),
migrations.AlterField(
model_name='engagement',
name='completed_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='completed time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='completed time'),
),
migrations.AlterField(
model_name='engagement',
name='heat_validated_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='heat validated time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='heat validated time'),
),
migrations.AlterField(
model_name='engagement',
name='image_scan_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='image scan time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='image scan time'),
),
migrations.AlterField(
model_name='engagement',
name='intake_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='intake time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='intake time'),
),
migrations.AlterField(
model_name='engagement',
name='started_state_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='started state time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='started state time'),
),
migrations.AlterField(
model_name='engagement',
name='validated_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='validated time'),
+ field=models.DateTimeField(
+ blank=True,
+ null=True,
+ verbose_name='validated time'),
),
]
diff --git a/django/engagementmanager/migrations/0015_engagementstatus.py b/django/engagementmanager/migrations/0015_engagementstatus.py
index 84eee4d..0b9247c 100644
--- a/django/engagementmanager/migrations/0015_engagementstatus.py
+++ b/django/engagementmanager/migrations/0015_engagementstatus.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -55,14 +55,31 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='EngagementStatus',
fields=[
- ('uuid', models.CharField(max_length=64, primary_key=True, serialize=False)),
- ('description', models.CharField(max_length=256)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
- ('update_time', models.DateTimeField(default=django.utils.timezone.now)),
- ('creator', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='status_creator', to='engagementmanager.IceUser')),
- ('engagement', models.ForeignKey(
- on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement')),
+ ('uuid',
+ models.CharField(
+ max_length=64,
+ primary_key=True,
+ serialize=False)),
+ ('description',
+ models.CharField(
+ max_length=256)),
+ ('create_time',
+ models.DateTimeField(
+ default=django.utils.timezone.now)),
+ ('update_time',
+ models.DateTimeField(
+ default=django.utils.timezone.now)),
+ ('creator',
+ models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='status_creator',
+ to='engagementmanager.IceUser')),
+ ('engagement',
+ models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement')),
],
options={
'db_table': 'ice_engagement_status',
diff --git a/django/engagementmanager/migrations/0016_auto_20161208_0842.py b/django/engagementmanager/migrations/0016_auto_20161208_0842.py
index 92d1518..de53576 100644
--- a/django/engagementmanager/migrations/0016_auto_20161208_0842.py
+++ b/django/engagementmanager/migrations/0016_auto_20161208_0842.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,7 +53,17 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='engagement',
name='engagement_stage',
- field=models.CharField(choices=[(b'Active', b'Active'), (b'Completed', b'Completed'),
- (b'Intake', b'Intake'), (b'Validated', b'Validated')], default=b'Intake', max_length=15),
+ field=models.CharField(
+ choices=[
+ (b'Active',
+ b'Active'),
+ (b'Completed',
+ b'Completed'),
+ (b'Intake',
+ b'Intake'),
+ (b'Validated',
+ b'Validated')],
+ default=b'Intake',
+ max_length=15),
),
]
diff --git a/django/engagementmanager/migrations/0017_auto_20161215_1535.py b/django/engagementmanager/migrations/0017_auto_20161215_1535.py
index c0adc38..cc264ce 100644
--- a/django/engagementmanager/migrations/0017_auto_20161215_1535.py
+++ b/django/engagementmanager/migrations/0017_auto_20161215_1535.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,14 +54,18 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Invitation',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
- ('engagement_uuid', models.CharField(db_index=True, max_length=64)),
- ('invited_by_user_uuid', models.CharField(db_index=True, max_length=64)),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False)),
+ ('engagement_uuid', models.CharField(
+ db_index=True, max_length=64)),
+ ('invited_by_user_uuid', models.CharField(
+ db_index=True, max_length=64)),
('email', models.CharField(max_length=255)),
('invitation_token', models.CharField(max_length=1024)),
('accepted', models.BooleanField(default=False)),
('create_time', models.DateTimeField(
- default=django.utils.timezone.now, verbose_name='invitation creation time')),
+ default=django.utils.timezone.now,
+ verbose_name='invitation creation time')),
],
options={
'db_table': 'ice_invitation',
diff --git a/django/engagementmanager/migrations/0018_set_old_notif_true.py b/django/engagementmanager/migrations/0018_set_old_notif_true.py
index 76e8265..6b54271 100644
--- a/django/engagementmanager/migrations/0018_set_old_notif_true.py
+++ b/django/engagementmanager/migrations/0018_set_old_notif_true.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -50,5 +50,6 @@ class Migration(migrations.Migration):
]
operations = [
- migrations.RunSQL("update ice_notification SET is_sent = 't' where is_sent = 'f';"),
+ migrations.RunSQL(
+ "update ice_notification SET is_sent = 't' where is_sent = 'f';"),
]
diff --git a/django/engagementmanager/migrations/0019_auto_20170104_1715.py b/django/engagementmanager/migrations/0019_auto_20170104_1715.py
index 329ffa3..ea919ec 100644
--- a/django/engagementmanager/migrations/0019_auto_20170104_1715.py
+++ b/django/engagementmanager/migrations/0019_auto_20170104_1715.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,7 +53,19 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='engagement',
name='engagement_stage',
- field=models.CharField(choices=[(b'Active', b'Active'), (b'Archived', b'Archived'), (b'Completed', b'Completed'), (
- b'Intake', b'Intake'), (b'Validated', b'Validated')], default=b'Intake', max_length=15),
+ field=models.CharField(
+ choices=[
+ (b'Active',
+ b'Active'),
+ (b'Archived',
+ b'Archived'),
+ (b'Completed',
+ b'Completed'),
+ (b'Intake',
+ b'Intake'),
+ (b'Validated',
+ b'Validated')],
+ default=b'Intake',
+ max_length=15),
),
]
diff --git a/django/engagementmanager/migrations/0020_add_indexes_20170108.py b/django/engagementmanager/migrations/0020_add_indexes_20170108.py
index 2b71e1e..ddb6680 100644
--- a/django/engagementmanager/migrations/0020_add_indexes_20170108.py
+++ b/django/engagementmanager/migrations/0020_add_indexes_20170108.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -65,13 +65,19 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='engagement',
name='engagement_stage',
- field=models.CharField(choices=[(b'Active', b'Active'), (b'Archived', b'Archived'), (b'Completed', b'Completed'), (
- b'Intake', b'Intake'), (b'Validated', b'Validated')], db_index=True, default=b'Intake', max_length=15),
+ field=models.CharField(
+ choices=[(b'Active', b'Active'), (b'Archived', b'Archived'),
+ (b'Completed', b'Completed'), (
+ b'Intake', b'Intake'), (b'Validated', b'Validated')],
+ db_index=True, default=b'Intake',
+ max_length=15),
),
migrations.AlterField(
model_name='iceuser',
name='email',
- field=models.EmailField(db_index=True, max_length=254, unique=True, verbose_name='email'),
+ field=models.EmailField(
+ db_index=True, max_length=254, unique=True,
+ verbose_name='email'),
),
migrations.AlterField(
model_name='invitation',
@@ -81,8 +87,10 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='vf',
name='engagement',
- field=models.OneToOneField(default=-1, on_delete=django.db.models.deletion.CASCADE,
- to='engagementmanager.Engagement'),
+ field=models.OneToOneField(
+ default=-1,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement'),
),
migrations.AlterField(
model_name='vf',
diff --git a/django/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py b/django/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py
index b902df4..6cd92cc 100644
--- a/django/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py
+++ b/django/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -50,8 +50,13 @@ def forwards(apps, schema_editor):
return
cursor = connection.cursor()
- cursor.execute(open(os.path.join(os.path.dirname(engagementmanager.__file__),
- 'sql-scripts/generate_excel_overview_sheet_procedure.sql'), "r").read())
+ cursor.execute(
+ open(
+ os.path.join(
+ os.path.dirname(
+ engagementmanager.__file__),
+ 'sql-scripts/generate_excel_overview_sheet_procedure.sql'),
+ "r").read())
class Migration(migrations.Migration):
diff --git a/django/engagementmanager/migrations/0022_auto_20170118_1520.py b/django/engagementmanager/migrations/0022_auto_20170118_1520.py
index b90451b..5769817 100644
--- a/django/engagementmanager/migrations/0022_auto_20170118_1520.py
+++ b/django/engagementmanager/migrations/0022_auto_20170118_1520.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -56,15 +56,16 @@ def create_user_for_pre_user_profiles(apps, schema_editor):
CustomUser = apps.get_model("engagementmanager", "CustomUser")
IceUserProfile = apps.get_model("engagementmanager", "IceUserProfile")
users_list = IceUserProfile.objects.filter(user=None)
- count = 0
for profile in users_list:
try:
- custom_user, created = CustomUser.objects.get_or_create(username=profile.email)
+ custom_user, created = CustomUser.objects.get_or_create(
+ username=profile.email)
custom_user.is_active = profile.is_active
custom_user.email = profile.email
custom_user.activation_token = profile.activation_token
custom_user.password = profile.password
- custom_user.activation_token_create_time = profile.activation_token_create_time
+ custom_user.activation_token_create_time = \
+ profile.activation_token_create_time
custom_user.save()
profile.user = custom_user
profile.save()
@@ -78,19 +79,28 @@ class Migration(migrations.Migration):
dependencies = [
# ('auth', '0009_auto_20170118_0740'),
- ('engagementmanager', '0021_generate_excel_overview_sheet_procedure_20170110'),
+ ('engagementmanager',
+ '0021_generate_excel_overview_sheet_procedure_20170110'),
]
operations = [
migrations.CreateModel(
name='CustomUser',
fields=[
- ('user_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE,
- parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
- ('activation_token', models.CharField(max_length=128, null=True, unique=True)),
+ ('user_ptr', models.OneToOneField(
+ auto_created=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ parent_link=True, primary_key=True,
+ serialize=False,
+ to=settings.AUTH_USER_MODEL)),
+ ('activation_token', models.CharField(
+ max_length=128, null=True, unique=True)),
('activation_token_create_time', models.DateTimeField(
- default=django.utils.timezone.now, null=True, verbose_name='activation_token_create_time')),
- ('temp_password', models.CharField(blank=True, default=None, max_length=256, null=True)),
+ default=django.utils.timezone.now, null=True,
+ verbose_name='activation_token_create_time')),
+ ('temp_password', models.CharField(
+
+ blank=True, default=None, max_length=256, null=True)),
],
options={
'abstract': False,
@@ -107,69 +117,126 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='IceUserProfile',
name='user',
- field=models.OneToOneField(null=True, on_delete=django.db.models.CASCADE, to='engagementmanager.CustomUser')
+ field=models.OneToOneField(
+ null=True, on_delete=django.db.models.CASCADE,
+ to='engagementmanager.CustomUser')
),
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[(b'user_joined_eng', b'user_joined_eng'), (b'ssh_key_added', b'ssh_key_added'), (b'eng_validation_request', b'eng_validation_request'), (b'next_steps', b'next_steps'), (
- b'vfc', b'vfc'), (b'change_checklist_state', b'change_checklist_state'), (b'vf_provisioing_event', b'vf_provisioing_event'), (b'test_finished_event', b'test_finished_event')], max_length=36),
+ field=models.CharField(
+ choices=[(b'user_joined_eng', b'user_joined_eng'),
+ (b'ssh_key_added', b'ssh_key_added'),
+ (b'eng_validation_request',
+ b'eng_validation_request'),
+ (b'next_steps', b'next_steps'), (b'vfc', b'vfc'),
+ (b'change_checklist_state',
+ b'change_checklist_state'),
+ (b'vf_provisioing_event', b'vf_provisioing_event'),
+ (b'test_finished_event', b'test_finished_event')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklist',
name='state',
- field=models.CharField(choices=[(b'pending', b'pending'), (b'automation', b'automation'), (b'review', b'review'), (b'peer_review', b'peer_review'), (
- b'approval', b'approval'), (b'handoff', b'handoff'), (b'closed', b'closed'), (b'archive', b'archive')], default=b'pending', max_length=36),
+ field=models.CharField(choices=[(b'pending', b'pending'),
+ (b'automation', b'automation'),
+ (b'review', b'review'),
+ (b'peer_review', b'peer_review'),
+ (b'approval', b'approval'),
+ (b'handoff', b'handoff'),
+ (b'closed', b'closed'),
+ (b'archive', b'archive')],
+ default=b'pending', max_length=36),
),
migrations.AlterField(
model_name='checklistdecision',
name='peer_review_value',
- field=models.CharField(choices=[(b'na', b'na'), (b'approved', b'approved'),
- (b'denied', b'denied'), (b'not_relevant', b'not_relevant')], max_length=36),
+ field=models.CharField(choices=[(b'na', b'na'),
+ (b'approved', b'approved'),
+ (b'denied', b'denied'),
+ (b'not_relevant',
+ b'not_relevant')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklistdecision',
name='review_value',
- field=models.CharField(choices=[(b'na', b'na'), (b'approved', b'approved'),
- (b'denied', b'denied'), (b'not_relevant', b'not_relevant')], max_length=36),
+ field=models.CharField(
+ choices=[(b'na', b'na'), (b'approved', b'approved'),
+ (b'denied', b'denied'),
+ (b'not_relevant',
+ b'not_relevant')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklistlineitem',
name='line_type',
field=models.CharField(
- choices=[(b'manual', b'manual'), (b'auto', b'auto')], default=b'auto', max_length=36),
+ choices=[(b'manual', b'manual'),
+ (b'auto', b'auto')],
+ default=b'auto',
+ max_length=36),
),
migrations.AlterField(
model_name='checklisttemplate',
name='category',
- field=models.CharField(choices=[(b'glance', b'glance'), (b'instantiation', b'instantiation'), (
- b'asdc', b'asdc'), (b'overall', b'overall'), (b'heat', b'heat')], default=b'overall', max_length=36),
+ field=models.CharField(
+ choices=[(b'glance', b'glance'),
+ (b'instantiation', b'instantiation'), (
+ b'asdc', b'asdc'),
+ (b'overall', b'overall'),
+ (b'heat', b'heat')],
+ default=b'overall', max_length=36),
),
migrations.AlterField(
model_name='engagement',
name='engagement_stage',
- field=models.CharField(choices=[(b'Archived', b'Archived'), (b'Intake', b'Intake'), (b'Active', b'Active'), (
- b'Validated', b'Validated'), (b'Completed', b'Completed')], db_index=True, default=b'Intake', max_length=15),
+ field=models.CharField(
+ choices=[(b'Archived', b'Archived'),
+ (b'Intake', b'Intake'),
+ (b'Active', b'Active'), (
+ b'Validated', b'Validated'),
+ (b'Completed', b'Completed')],
+ db_index=True,
+ default=b'Intake',
+ max_length=15),
),
migrations.AlterField(
model_name='nextstep',
name='next_step_type',
- field=models.CharField(choices=[(b'user_defined', b'user_defined'), (b'set_ssh', b'set_ssh'), (b'trial_agreements', b'trial_agreements'), (
- b'add_contact_person', b'add_contact_person'), (b'submit_vf_package', b'submit_vf_package'), (b'el_handoff', b'el_handoff')], default=b'user_defined', max_length=36),
+ field=models.CharField(
+ choices=[(b'user_defined', b'user_defined'),
+ (b'set_ssh', b'set_ssh'),
+ (b'trial_agreements', b'trial_agreements'), (
+ b'add_contact_person', b'add_contact_person'),
+ (b'submit_vf_package', b'submit_vf_package'),
+ (b'el_handoff', b'el_handoff')],
+ default=b'user_defined', max_length=36),
),
migrations.AlterField(
model_name='nextstep',
name='state',
field=models.CharField(
- choices=[(b'Confirmed', b'Confirmed'), (b'TODO', b'TODO'), (b'Completed', b'Completed')], max_length=15),
+ choices=[(b'Confirmed', b'Confirmed'),
+ (b'TODO', b'TODO'),
+ (b'Completed', b'Completed')],
+ max_length=15),
),
migrations.AlterField(
model_name='recentengagement',
name='action_type',
- field=models.CharField(choices=[(b'JOINED_TO_ENGAGEMENT', b'JOINED_TO_ENGAGEMENT'), (b'NEXT_STEP_ASSIGNED', b'NEXT_STEP_ASSIGNED'), (
- b'GOT_OWNERSHIP_OVER_ENGAGEMENT', b'GOT_OWNERSHIP_OVER_ENGAGEMENT'), (b'NAVIGATED_INTO_ENGAGEMENT', b'NAVIGATED_INTO_ENGAGEMENT'), (b'NEW_VF_CREATED', b'NEW_VF_CREATED')], max_length=36),
+ field=models.CharField(
+ choices=[(b'JOINED_TO_ENGAGEMENT', b'JOINED_TO_ENGAGEMENT'),
+ (b'NEXT_STEP_ASSIGNED', b'NEXT_STEP_ASSIGNED'), (
+ b'GOT_OWNERSHIP_OVER_ENGAGEMENT',
+ b'GOT_OWNERSHIP_OVER_ENGAGEMENT'),
+ (b'NAVIGATED_INTO_ENGAGEMENT',
+ b'NAVIGATED_INTO_ENGAGEMENT'),
+ (b'NEW_VF_CREATED', b'NEW_VF_CREATED')],
+ max_length=36),
),
# migrations.DeleteModel(
# name='IceUser',
@@ -178,98 +245,141 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='notification',
name='user',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='vfc',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Vfc_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Vfc_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='nextstep',
name='owner',
field=models.ForeignKey(
- blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.IceUserProfile'),
+
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagement',
name='engagement_team',
- field=models.ManyToManyField(related_name='members', to='engagementmanager.IceUserProfile'),
+ field=models.ManyToManyField(
+ related_name='members',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagement',
name='contact_user',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_contact_user', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_contact_user',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagement',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='checklistauditlog',
name='creator',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagement',
name='peer_reviewer',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_peer_reviewer', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_peer_reviewer',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagement',
name='reviewer',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='Engagement_el_reviewer', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='Engagement_el_reviewer',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagement',
name='starred_engagement',
- field=models.ManyToManyField(blank=True, default=None, to='engagementmanager.IceUserProfile'),
+ field=models.ManyToManyField(
+
+ blank=True, default=None,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='engagementstatus',
name='creator',
- field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='status_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='status_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='nextstep',
name='assignees',
- field=models.ManyToManyField(related_name='assignees', to='engagementmanager.IceUserProfile'),
+ field=models.ManyToManyField(
+ related_name='assignees',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='nextstep',
name='creator',
- field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT,
- related_name='NextStep_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='NextStep_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='nextstep',
name='last_updater',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
- related_name='NextStep_last_updater', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name='NextStep_last_updater',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='activity',
name='activity_owner',
field=models.ForeignKey(
- blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile'),
+ blank=True, null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='checklist',
name='creator',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- related_name='checklist_creator', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name='checklist_creator',
+ to='engagementmanager.IceUserProfile'),
),
migrations.AlterField(
model_name='checklist',
name='owner',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
- related_name='checklist_owner', to='engagementmanager.IceUserProfile'),
+ field=models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name='checklist_owner',
+ to='engagementmanager.IceUserProfile'),
),
]
diff --git a/django/engagementmanager/migrations/0023_auto_20170123_1445.py b/django/engagementmanager/migrations/0023_auto_20170123_1445.py
index cd01832..20526d2 100644
--- a/django/engagementmanager/migrations/0023_auto_20170123_1445.py
+++ b/django/engagementmanager/migrations/0023_auto_20170123_1445.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -82,8 +82,9 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='iceuserprofile',
name='company',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
- to='engagementmanager.Vendor'),
+ field=models.ForeignKey(
+ null=True, on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Vendor'),
),
migrations.AlterField(
model_name='iceuserprofile',
@@ -93,13 +94,16 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='iceuserprofile',
name='role',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
- to='engagementmanager.Role'),
+ field=models.ForeignKey(
+ null=True, on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Role'),
),
migrations.AlterField(
model_name='iceuserprofile',
name='user',
- field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.CustomUser'),
+ field=models.OneToOneField(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.CustomUser'),
),
migrations.AlterModelTable(
name='customuser',
diff --git a/django/engagementmanager/migrations/0024_auto_20170227_1224.py b/django/engagementmanager/migrations/0024_auto_20170227_1224.py
index 3481eb5..0919dbb 100644
--- a/django/engagementmanager/migrations/0024_auto_20170227_1224.py
+++ b/django/engagementmanager/migrations/0024_auto_20170227_1224.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,12 +53,33 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='archive_reason',
- field=models.TextField(default=None, null=True),
+ field=models.TextField(
+ default=None,
+ null=True),
),
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[(b'user_joined_eng', b'user_joined_eng'), (b'ssh_key_added', b'ssh_key_added'), (b'eng_validation_request', b'eng_validation_request'), (b'next_steps', b'next_steps'), (b'vfc', b'vfc'), (
- b'change_checklist_state', b'change_checklist_state'), (b'vf_provisioing_event', b'vf_provisioing_event'), (b'test_finished_event', b'test_finished_event'), (b'change_engagement_stage', b'change_engagement_stage')], max_length=36),
+ field=models.CharField(
+ choices=[
+ (b'user_joined_eng',
+ b'user_joined_eng'),
+ (b'ssh_key_added',
+ b'ssh_key_added'),
+ (b'eng_validation_request',
+ b'eng_validation_request'),
+ (b'next_steps',
+ b'next_steps'),
+ (b'vfc',
+ b'vfc'),
+ (b'change_checklist_state',
+ b'change_checklist_state'),
+ (b'vf_provisioing_event',
+ b'vf_provisioing_event'),
+ (b'test_finished_event',
+ b'test_finished_event'),
+ (b'change_engagement_stage',
+ b'change_engagement_stage')],
+ max_length=36),
),
]
diff --git a/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py b/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py
index bfec64d..0d5ae02 100644
--- a/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py
+++ b/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -49,6 +49,10 @@ class Migration(migrations.Migration):
]
operations = [
- migrations.RunSQL("update ice_next_step set state = 'Incomplete' where state = 'TODO';"),
- migrations.RunSQL("update ice_next_step set state = 'Completed' where state = 'Confirmed';"),
+ migrations.RunSQL(
+ "update ice_next_step set state = 'Incomplete' \
+ where state = 'TODO';"),
+ migrations.RunSQL(
+ "update ice_next_step set state = 'Completed' \
+ where state = 'Confirmed';"),
]
diff --git a/django/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py b/django/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py
index 489b6ce..0406dfa 100644
--- a/django/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py
+++ b/django/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -52,6 +52,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='iceuserprofile',
name='slack_handle',
- field=models.CharField(blank=True, default=None, max_length=64, null=True),
+ field=models.CharField(
+ blank=True, default=None, max_length=64, null=True),
),
]
diff --git a/django/engagementmanager/migrations/0027_add_version_to_vf.py b/django/engagementmanager/migrations/0027_add_version_to_vf.py
index 3bd618e..5eb2087 100644
--- a/django/engagementmanager/migrations/0027_add_version_to_vf.py
+++ b/django/engagementmanager/migrations/0027_add_version_to_vf.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
diff --git a/django/engagementmanager/migrations/0028_auto_20170425_1310.py b/django/engagementmanager/migrations/0028_auto_20170425_1310.py
index 68e15f5..d4988e9 100644
--- a/django/engagementmanager/migrations/0028_auto_20170425_1310.py
+++ b/django/engagementmanager/migrations/0028_auto_20170425_1310.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,59 +53,177 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[('user_joined_eng', 'user_joined_eng'), ('ssh_key_added', 'ssh_key_added'), ('eng_validation_request', 'eng_validation_request'), ('next_steps', 'next_steps'), ('vfc', 'vfc'), (
- 'change_checklist_state', 'change_checklist_state'), ('vf_provisioing_event', 'vf_provisioing_event'), ('test_finished_event', 'test_finished_event'), ('change_engagement_stage', 'change_engagement_stage')], max_length=36),
+ field=models.CharField(
+ choices=[
+ ('user_joined_eng',
+ 'user_joined_eng'),
+ ('ssh_key_added',
+ 'ssh_key_added'),
+ ('eng_validation_request',
+ 'eng_validation_request'),
+ ('next_steps',
+ 'next_steps'),
+ ('vfc',
+ 'vfc'),
+ ('change_checklist_state',
+ 'change_checklist_state'),
+ ('vf_provisioing_event',
+ 'vf_provisioing_event'),
+ ('test_finished_event',
+ 'test_finished_event'),
+ ('change_engagement_stage',
+ 'change_engagement_stage')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklist',
name='state',
- field=models.CharField(choices=[('automation', 'automation'), ('review', 'review'), ('peer_review', 'peer_review'), ('approval', 'approval'), (
- 'handoff', 'handoff'), ('closed', 'closed'), ('archive', 'archive'), ('pending', 'pending')], default='pending', max_length=36),
+ field=models.CharField(
+ choices=[
+ ('automation',
+ 'automation'),
+ ('review',
+ 'review'),
+ ('peer_review',
+ 'peer_review'),
+ ('approval',
+ 'approval'),
+ ('handoff',
+ 'handoff'),
+ ('closed',
+ 'closed'),
+ ('archive',
+ 'archive'),
+ ('pending',
+ 'pending')],
+ default='pending',
+ max_length=36),
),
migrations.AlterField(
model_name='checklistdecision',
name='peer_review_value',
- field=models.CharField(choices=[('approved', 'approved'), ('denied', 'denied'),
- ('not_relevant', 'not_relevant'), ('na', 'na')], max_length=36),
+ field=models.CharField(
+ choices=[
+ ('approved',
+ 'approved'),
+ ('denied',
+ 'denied'),
+ ('not_relevant',
+ 'not_relevant'),
+ ('na',
+ 'na')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklistdecision',
name='review_value',
- field=models.CharField(choices=[('approved', 'approved'), ('denied', 'denied'),
- ('not_relevant', 'not_relevant'), ('na', 'na')], max_length=36),
+ field=models.CharField(
+ choices=[
+ ('approved',
+ 'approved'),
+ ('denied',
+ 'denied'),
+ ('not_relevant',
+ 'not_relevant'),
+ ('na',
+ 'na')],
+ max_length=36),
),
migrations.AlterField(
model_name='checklistlineitem',
name='line_type',
- field=models.CharField(choices=[('auto', 'auto'), ('manual', 'manual')], default='auto', max_length=36),
+ field=models.CharField(
+ choices=[
+ ('auto',
+ 'auto'),
+ ('manual',
+ 'manual')],
+ default='auto',
+ max_length=36),
),
migrations.AlterField(
model_name='checklisttemplate',
name='category',
- field=models.CharField(choices=[('overall', 'overall'), ('heat', 'heat'), ('glance', 'glance'),
- ('instantiation', 'instantiation'), ('asdc', 'asdc')], default='overall', max_length=36),
+ field=models.CharField(
+ choices=[
+ ('overall',
+ 'overall'),
+ ('heat',
+ 'heat'),
+ ('glance',
+ 'glance'),
+ ('instantiation',
+ 'instantiation'),
+ ('asdc',
+ 'asdc')],
+ default='overall',
+ max_length=36),
),
migrations.AlterField(
model_name='engagement',
name='engagement_stage',
- field=models.CharField(choices=[('Intake', 'Intake'), ('Active', 'Active'), ('Validated', 'Validated'), (
- 'Completed', 'Completed'), ('Archived', 'Archived')], db_index=True, default='Intake', max_length=15),
+ field=models.CharField(
+ choices=[
+ ('Intake',
+ 'Intake'),
+ ('Active',
+ 'Active'),
+ ('Validated',
+ 'Validated'),
+ ('Completed',
+ 'Completed'),
+ ('Archived',
+ 'Archived')],
+ db_index=True,
+ default='Intake',
+ max_length=15),
),
migrations.AlterField(
model_name='nextstep',
name='next_step_type',
- field=models.CharField(choices=[('set_ssh', 'set_ssh'), ('trial_agreements', 'trial_agreements'), ('add_contact_person', 'add_contact_person'), (
- 'submit_vf_package', 'submit_vf_package'), ('el_handoff', 'el_handoff'), ('user_defined', 'user_defined')], default='user_defined', max_length=36),
+ field=models.CharField(
+ choices=[
+ ('set_ssh',
+ 'set_ssh'),
+ ('trial_agreements',
+ 'trial_agreements'),
+ ('add_contact_person',
+ 'add_contact_person'),
+ ('submit_vf_package',
+ 'submit_vf_package'),
+ ('el_handoff',
+ 'el_handoff'),
+ ('user_defined',
+ 'user_defined')],
+ default='user_defined',
+ max_length=36),
),
migrations.AlterField(
model_name='nextstep',
name='state',
- field=models.CharField(choices=[('Incomplete', 'Incomplete'), ('Completed', 'Completed')], max_length=15),
+ field=models.CharField(
+ choices=[
+ ('Incomplete',
+ 'Incomplete'),
+ ('Completed',
+ 'Completed')],
+ max_length=15),
),
migrations.AlterField(
model_name='recentengagement',
name='action_type',
- field=models.CharField(choices=[('JOINED_TO_ENGAGEMENT', 'JOINED_TO_ENGAGEMENT'), ('NEXT_STEP_ASSIGNED', 'NEXT_STEP_ASSIGNED'), ('GOT_OWNERSHIP_OVER_ENGAGEMENT',
- 'GOT_OWNERSHIP_OVER_ENGAGEMENT'), ('NAVIGATED_INTO_ENGAGEMENT', 'NAVIGATED_INTO_ENGAGEMENT'), ('NEW_VF_CREATED', 'NEW_VF_CREATED')], max_length=36),
+ field=models.CharField(
+ choices=[
+ ('JOINED_TO_ENGAGEMENT',
+ 'JOINED_TO_ENGAGEMENT'),
+ ('NEXT_STEP_ASSIGNED',
+ 'NEXT_STEP_ASSIGNED'),
+ ('GOT_OWNERSHIP_OVER_ENGAGEMENT',
+ 'GOT_OWNERSHIP_OVER_ENGAGEMENT'),
+ ('NAVIGATED_INTO_ENGAGEMENT',
+ 'NAVIGATED_INTO_ENGAGEMENT'),
+ ('NEW_VF_CREATED',
+ 'NEW_VF_CREATED')],
+ max_length=36),
),
]
diff --git a/django/engagementmanager/migrations/0029_auto_20170504_0749.py b/django/engagementmanager/migrations/0029_auto_20170504_0749.py
index f1a4f9a..6d609e2 100644
--- a/django/engagementmanager/migrations/0029_auto_20170504_0749.py
+++ b/django/engagementmanager/migrations/0029_auto_20170504_0749.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
diff --git a/django/engagementmanager/migrations/0030_engagement_archived_time.py b/django/engagementmanager/migrations/0030_engagement_archived_time.py
index b24f67a..0fe2b05 100644
--- a/django/engagementmanager/migrations/0030_engagement_archived_time.py
+++ b/django/engagementmanager/migrations/0030_engagement_archived_time.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,6 +53,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='engagement',
name='archived_time',
- field=models.DateTimeField(blank=True, null=True, verbose_name='archived time'),
+ field=models.DateTimeField(
+ blank=True, null=True, verbose_name='archived time'),
),
]
diff --git a/django/engagementmanager/migrations/0031_auto_20170620_1312.py b/django/engagementmanager/migrations/0031_auto_20170620_1312.py
index f1956c4..8c27f24 100644
--- a/django/engagementmanager/migrations/0031_auto_20170620_1312.py
+++ b/django/engagementmanager/migrations/0031_auto_20170620_1312.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,11 +54,38 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[('user_joined_eng', 'user_joined_eng'), ('ssh_key_added', 'ssh_key_added'), ('eng_validation_request', 'eng_validation_request'), ('update_next_steps', 'update_next_steps'), ('vfc', 'vfc'), ('change_checklist_state', 'change_checklist_state'), ('vf_provisioning_event', 'vf_provisioning_event'), ('test_finished_event', 'test_finished_event'), ('change_engagement_stage', 'change_engagement_stage'), ('add_next_steps', 'add_next_steps'), ('delete_next_steps', 'delete_next_steps')], max_length=36),
+ field=models.CharField(
+ choices=[
+ ('user_joined_eng',
+ 'user_joined_eng'),
+ ('ssh_key_added',
+ 'ssh_key_added'),
+ ('eng_validation_request',
+ 'eng_validation_request'),
+ ('update_next_steps',
+ 'update_next_steps'),
+ ('vfc',
+ 'vfc'),
+ ('change_checklist_state',
+ 'change_checklist_state'),
+ ('vf_provisioning_event',
+ 'vf_provisioning_event'),
+ ('test_finished_event',
+ 'test_finished_event'),
+ ('change_engagement_stage',
+ 'change_engagement_stage'),
+ ('add_next_steps',
+ 'add_next_steps'),
+ ('delete_next_steps',
+ 'delete_next_steps')],
+ max_length=36),
),
migrations.AlterField(
model_name='activity',
name='engagement',
- field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement'),
+ field=models.ForeignKey(
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Engagement'),
),
]
diff --git a/django/engagementmanager/migrations/0032_auto_20170702_1435.py b/django/engagementmanager/migrations/0032_auto_20170702_1435.py
index 53e5a22..11f0d86 100644
--- a/django/engagementmanager/migrations/0032_auto_20170702_1435.py
+++ b/django/engagementmanager/migrations/0032_auto_20170702_1435.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -55,10 +55,16 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Feedback',
fields=[
- ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False, unique=True)),
- ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
- ('description', models.TextField(verbose_name='feedback_description')),
- ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUserProfile')),
+ ('uuid', models.CharField(max_length=36,
+ primary_key=True, serialize=False,
+ unique=True)),
+ ('create_time', models.DateTimeField(
+ default=django.utils.timezone.now)),
+ ('description', models.TextField(
+ verbose_name='feedback_description')),
+ ('user', models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.IceUserProfile')),
],
options={
'db_table': 'ice_feedback',
diff --git a/django/engagementmanager/migrations/0033_auto_20170704_0635.py b/django/engagementmanager/migrations/0033_auto_20170704_0635.py
index c6d1bb6..08aebc8 100644
--- a/django/engagementmanager/migrations/0033_auto_20170704_0635.py
+++ b/django/engagementmanager/migrations/0033_auto_20170704_0635.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -54,116 +54,158 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='activity',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False, unique=True),
),
migrations.AlterField(
model_name='applicationserviceinfrastructure',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, unique=True),
),
migrations.AlterField(
model_name='checklist',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='checklistauditlog',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='checklistdecision',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='checklistlineitem',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='checklistsection',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='checklisttemplate',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='deploymenttarget',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='deploymenttargetsite',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='ecomprelease',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='engagement',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=64, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=64, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='engagementstatus',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=64, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=64, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='feedback',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False, unique=True),
),
migrations.AlterField(
model_name='iceuserprofile',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, unique=True),
),
migrations.AlterField(
model_name='invitation',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='nextstep',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='notification',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False, unique=True),
),
migrations.AlterField(
model_name='recentengagement',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=64, primary_key=True, serialize=False),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=64, primary_key=True,
+ serialize=False),
),
migrations.AlterField(
model_name='role',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, unique=True),
),
migrations.AlterField(
model_name='vendor',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, unique=True),
),
migrations.AlterField(
model_name='vf',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False, unique=True),
),
migrations.AlterField(
model_name='vfc',
name='uuid',
- field=models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False, unique=True),
+ field=models.CharField(
+ default=uuid.uuid4, max_length=36, primary_key=True,
+ serialize=False, unique=True),
),
]
diff --git a/django/engagementmanager/migrations/0034_engagement_is_with_files.py b/django/engagementmanager/migrations/0034_engagement_is_with_files.py
index 01d15f5..8cd6eb6 100644
--- a/django/engagementmanager/migrations/0034_engagement_is_with_files.py
+++ b/django/engagementmanager/migrations/0034_engagement_is_with_files.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
diff --git a/django/engagementmanager/migrations/0035_rgwa_fields.py b/django/engagementmanager/migrations/0035_rgwa_fields.py
index cce62bf..86b0c3a 100644
--- a/django/engagementmanager/migrations/0035_rgwa_fields.py
+++ b/django/engagementmanager/migrations/0035_rgwa_fields.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -53,16 +53,50 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='iceuserprofile',
name='rgwa_access_key',
- field=models.CharField(blank=True, max_length=1024, null=True, unique=True),
+ field=models.CharField(
+ blank=True,
+ max_length=1024,
+ null=True,
+ unique=True),
),
migrations.AddField(
model_name='iceuserprofile',
name='rgwa_secret_key',
- field=models.CharField(blank=True, max_length=1024, null=True, unique=True),
+ field=models.CharField(
+ blank=True,
+ max_length=1024,
+ null=True,
+ unique=True),
),
migrations.AlterField(
model_name='activity',
name='activity_type',
- field=models.CharField(choices=[('user_joined_eng', 'user_joined_eng'), ('ssh_key_added', 'ssh_key_added'), ('eng_validation_request', 'eng_validation_request'), ('update_next_steps', 'update_next_steps'), ('vfc', 'vfc'), ('change_checklist_state', 'change_checklist_state'), ('vf_provisioning_event', 'vf_provisioning_event'), ('test_finished_event', 'test_finished_event'), ('change_engagement_stage', 'change_engagement_stage'), ('add_next_steps', 'add_next_steps'), ('delete_next_steps', 'delete_next_steps'), ('notice_empty_engagement', 'notice_empty_engagement')], max_length=36),
+ field=models.CharField(
+ choices=[
+ ('user_joined_eng',
+ 'user_joined_eng'),
+ ('ssh_key_added',
+ 'ssh_key_added'),
+ ('eng_validation_request',
+ 'eng_validation_request'),
+ ('update_next_steps',
+ 'update_next_steps'),
+ ('vfc',
+ 'vfc'),
+ ('change_checklist_state',
+ 'change_checklist_state'),
+ ('vf_provisioning_event',
+ 'vf_provisioning_event'),
+ ('test_finished_event',
+ 'test_finished_event'),
+ ('change_engagement_stage',
+ 'change_engagement_stage'),
+ ('add_next_steps',
+ 'add_next_steps'),
+ ('delete_next_steps',
+ 'delete_next_steps'),
+ ('notice_empty_engagement',
+ 'notice_empty_engagement')],
+ max_length=36),
),
]
diff --git a/django/engagementmanager/migrations/0036_auto_20170906_0935.py b/django/engagementmanager/migrations/0036_auto_20170906_0935.py
index 7c85b6c..b37d84f 100644
--- a/django/engagementmanager/migrations/0036_auto_20170906_0935.py
+++ b/django/engagementmanager/migrations/0036_auto_20170906_0935.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
diff --git a/django/engagementmanager/migrations/__init__.py b/django/engagementmanager/migrations/__init__.py
index 1726c13..16f81cb 100644
--- a/django/engagementmanager/migrations/__init__.py
+++ b/django/engagementmanager/migrations/__init__.py
@@ -1,5 +1,5 @@
-#
-# ============LICENSE_START==========================================
+#
+# ============LICENSE_START==========================================
# org.onap.vvp/engagementmgr
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.