summaryrefslogtreecommitdiffstats
path: root/django/engagementmanager/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'django/engagementmanager/migrations')
-rwxr-xr-xdjango/engagementmanager/migrations/0001_initial.py396
-rwxr-xr-xdjango/engagementmanager/migrations/0001_squashed_initial.py639
-rwxr-xr-xdjango/engagementmanager/migrations/0002_auto_20160704_1028.py176
-rwxr-xr-xdjango/engagementmanager/migrations/0003_auto_20160713_0929.py85
-rwxr-xr-xdjango/engagementmanager/migrations/0004_auto_20160720_2143.py68
-rwxr-xr-xdjango/engagementmanager/migrations/0005_auto_20160815_1248.py95
-rwxr-xr-xdjango/engagementmanager/migrations/0006_auto_20160825_0644.py237
-rwxr-xr-xdjango/engagementmanager/migrations/0007_auto_20160922_0421.py70
-rwxr-xr-xdjango/engagementmanager/migrations/0008_auto_20161009_1210.py74
-rwxr-xr-xdjango/engagementmanager/migrations/0009_auto_20161018_0740.py65
-rwxr-xr-xdjango/engagementmanager/migrations/0010_auto_20161025_0838.py106
-rwxr-xr-xdjango/engagementmanager/migrations/0011_auto_20161109_0811.py81
-rwxr-xr-xdjango/engagementmanager/migrations/0012_auto_20161109_0822.py82
-rwxr-xr-xdjango/engagementmanager/migrations/0013_auto_20161128_1159.py99
-rwxr-xr-xdjango/engagementmanager/migrations/0014_auto_20161129_1145.py104
-rwxr-xr-xdjango/engagementmanager/migrations/0015_engagementstatus.py71
-rwxr-xr-xdjango/engagementmanager/migrations/0016_auto_20161208_0842.py59
-rwxr-xr-xdjango/engagementmanager/migrations/0017_auto_20161215_1535.py74
-rwxr-xr-xdjango/engagementmanager/migrations/0018_set_old_notif_true.py54
-rwxr-xr-xdjango/engagementmanager/migrations/0019_auto_20170104_1715.py59
-rwxr-xr-xdjango/engagementmanager/migrations/0020_add_indexes_20170108.py109
-rwxr-xr-xdjango/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py65
-rwxr-xr-xdjango/engagementmanager/migrations/0022_auto_20170118_1520.py275
-rwxr-xr-xdjango/engagementmanager/migrations/0023_auto_20170123_1445.py108
-rwxr-xr-xdjango/engagementmanager/migrations/0024_auto_20170227_1224.py64
-rwxr-xr-xdjango/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py54
-rwxr-xr-xdjango/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py57
-rwxr-xr-xdjango/engagementmanager/migrations/0027_add_version_to_vf.py58
-rwxr-xr-xdjango/engagementmanager/migrations/0028_auto_20170425_1310.py111
-rwxr-xr-xdjango/engagementmanager/migrations/0029_auto_20170504_0749.py73
-rwxr-xr-xdjango/engagementmanager/migrations/0030_engagement_archived_time.py58
-rwxr-xr-xdjango/engagementmanager/migrations/0031_auto_20170620_1312.py64
-rwxr-xr-xdjango/engagementmanager/migrations/0032_auto_20170702_1435.py71
-rwxr-xr-xdjango/engagementmanager/migrations/0033_auto_20170704_0635.py169
-rwxr-xr-xdjango/engagementmanager/migrations/0034_engagement_is_with_files.py58
-rwxr-xr-xdjango/engagementmanager/migrations/0035_rgwa_fields.py68
-rwxr-xr-xdjango/engagementmanager/migrations/0036_auto_20170906_0935.py63
-rwxr-xr-xdjango/engagementmanager/migrations/__init__.py38
38 files changed, 4257 insertions, 0 deletions
diff --git a/django/engagementmanager/migrations/0001_initial.py b/django/engagementmanager/migrations/0001_initial.py
new file mode 100755
index 0000000..ffbb95a
--- /dev/null
+++ b/django/engagementmanager/migrations/0001_initial.py
@@ -0,0 +1,396 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-06-13 14:07
+from __future__ import unicode_literals
+
+import datetime
+
+from django.db import migrations, models
+import django.db.models.deletion
+from django.utils.timezone import utc
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ]
+
+ operations = [
+ 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)),
+ ('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)),
+ ('metadata', models.CharField(max_length=1024)),
+ ],
+ options={
+ 'ordering': ['-create_time'],
+ 'db_table': 'ice_activity',
+ },
+ ),
+ migrations.CreateModel(
+ name='ApplicationServiceInfrastructure',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_application_service_infrastructure',
+ },
+ ),
+ 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')),
+ ('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')),
+ ('company', models.CharField(max_length=50)),
+ ('phone_number', models.CharField(max_length=30)),
+ ('message', models.TextField()),
+ ],
+ options={
+ 'db_table': 'ice_contact_request',
+ },
+ ),
+ migrations.CreateModel(
+ name='DeploymentTarget',
+ fields=[
+ ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=45)),
+ ('version', models.CharField(max_length=100)),
+ ],
+ options={
+ 'db_table': 'ice_deployment_target',
+ },
+ ),
+ 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)),
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_engagement',
+ },
+ ),
+ 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')),
+ ('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')),
+ ('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_phone', models.CharField(max_length=30)),
+ ('request_type', models.CharField(max_length=20)),
+ ('description', models.TextField()),
+ ('mail_subscription', models.BooleanField()),
+ ],
+ options={
+ 'db_table': 'ice_engagement_request',
+ },
+ ),
+ migrations.CreateModel(
+ name='IceUser',
+ fields=[
+ ('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')),
+ ('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')),
+ ('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_active', models.BooleanField()),
+ ('is_att_contact', models.BooleanField()),
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_user',
+ },
+ ),
+ 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')),
+ ('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(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')),
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_next_step',
+ 'verbose_name_plural': 'Next steps',
+ },
+ ),
+ migrations.CreateModel(
+ name='Notification',
+ fields=[
+ ('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')),
+ ('user', models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUser')),
+ ],
+ options={
+ 'db_table': 'ice_notification',
+ },
+ ),
+ migrations.CreateModel(
+ name='Role',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_role',
+ },
+ ),
+ migrations.CreateModel(
+ name='Test',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_test',
+ },
+ ),
+ migrations.CreateModel(
+ name='ValidationCycle',
+ fields=[
+ ('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()),
+ ('validated_by', models.CharField(max_length=45)),
+ ('validated_at', models.DateTimeField()),
+ ('peer_reviewer', models.CharField(max_length=45)),
+ ('peer_reviewed_at', models.DateTimeField()),
+ ('package_uuid', models.CharField(max_length=45)),
+ ('package_cksum', models.CharField(max_length=45)),
+ ('package_approval_date', models.DateTimeField()),
+ ('package_approver', models.CharField(max_length=45)),
+ ('image_uuid', models.CharField(max_length=45)),
+ ('image_name', models.CharField(max_length=100)),
+ ('image_cksum', models.CharField(max_length=100)),
+ ('passed', models.BooleanField()),
+ ],
+ options={
+ 'db_table': 'ice_validation_cycle',
+ },
+ ),
+ migrations.CreateModel(
+ name='ValidationException',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_validation_exception',
+ },
+ ),
+ migrations.CreateModel(
+ name='ValidationSteps',
+ fields=[
+ ('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)),
+ ('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_cycle', models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.ValidationCycle')),
+ ('validation_exceptions', models.ManyToManyField(to='engagementmanager.ValidationException')),
+ ],
+ options={
+ 'db_table': 'ice_validation_step',
+ 'verbose_name_plural': 'Validation steps',
+ },
+ ),
+ migrations.CreateModel(
+ name='Vendor',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_vendor',
+ },
+ ),
+ migrations.CreateModel(
+ name='VF',
+ fields=[
+ ('name', models.CharField(max_length=100)),
+ ('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')),
+ ('vendor', models.ForeignKey(
+ on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Vendor')),
+ ],
+ options={
+ 'db_table': 'ice_vf',
+ },
+ ),
+ migrations.CreateModel(
+ name='VFC',
+ fields=[
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_vfc',
+ },
+ ),
+ migrations.AlterUniqueTogether(
+ name='validationexception',
+ unique_together=set([('uuid', 'type')]),
+ ),
+ migrations.AddField(
+ model_name='validationcycle',
+ name='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'),
+ ),
+ migrations.AddField(
+ model_name='iceuser',
+ name='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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ name='engagement_team',
+ field=models.ManyToManyField(related_name='members', to='engagementmanager.IceUser'),
+ ),
+ migrations.AlterUniqueTogether(
+ name='deploymenttarget',
+ unique_together=set([('name', 'version')]),
+ ),
+ migrations.AlterUniqueTogether(
+ name='applicationserviceinfrastructure',
+ unique_together=set([('name', 'uuid')]),
+ ),
+ migrations.AddField(
+ model_name='activity',
+ name='activity_owner',
+ 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'),
+ ),
+ migrations.AlterUniqueTogether(
+ name='vfc',
+ unique_together=set([('name', 'version')]),
+ ),
+ migrations.AlterUniqueTogether(
+ name='validationsteps',
+ unique_together=set([('uuid', 'requirment_id')]),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0001_squashed_initial.py b/django/engagementmanager/migrations/0001_squashed_initial.py
new file mode 100755
index 0000000..1be6a07
--- /dev/null
+++ b/django/engagementmanager/migrations/0001_squashed_initial.py
@@ -0,0 +1,639 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+from __future__ import unicode_literals
+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()
+
+
+def forwards(apps, schema_editor):
+ if not schema_editor.connection.alias == 'default':
+ 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())
+
+
+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.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.save()
+ profile.user = custom_user
+ profile.save()
+
+ except Exception as e:
+ logger.error("migrations fail, error:")
+ logger.error(e.message)
+
+
+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'),
+ ('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', '0029_auto_20170504_0749'),
+ ('engagementmanager', '0030_engagement_archived_time'),
+ ('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', '0036_auto_20170906_0935')]
+
+ initial = True
+
+ dependencies = [
+ ('auth', '0008_alter_user_username_max_length'),
+ ]
+
+ operations = [
+ 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)),
+ ('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)),
+ ('metadata', models.CharField(max_length=1024)),
+ ],
+ options={
+ 'db_table': 'ice_activity',
+ 'ordering': ['-create_time'],
+ },
+ ),
+ migrations.CreateModel(
+ name='ApplicationServiceInfrastructure',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_application_service_infrastructure',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist',
+ },
+ ),
+ migrations.CreateModel(
+ name='ChecklistAuditLog',
+ fields=[
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_audit_log',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_decision',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_line_item',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_section',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_template',
+ },
+ ),
+ 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)),
+ ],
+ options={
+ 'db_table': 'ice_custom_user',
+ },
+ bases=('auth.user',),
+ managers=[
+ ('objects', django.contrib.auth.models.UserManager()),
+ ],
+ ),
+ migrations.CreateModel(
+ name='DeploymentTarget',
+ fields=[
+ ('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)),
+ ('ui_visibility', models.BooleanField(default=True)),
+ ],
+ options={
+ 'db_table': 'ice_deployment_target',
+ },
+ ),
+ migrations.CreateModel(
+ name='DeploymentTargetSite',
+ fields=[
+ ('uuid', models.CharField(default=uuid.uuid4, max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=45)),
+ ],
+ options={
+ 'db_table': 'ice_deployment_target_site',
+ },
+ ),
+ migrations.CreateModel(
+ name='ECOMPRelease',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_ecomp_release',
+ },
+ ),
+ 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)),
+ ('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')),
+ ('archive_reason', models.TextField(default=None, null=True)),
+ ('archived_time', models.DateTimeField(blank=True, null=True, verbose_name='archived time')),
+ ('is_with_files', models.BooleanField(default=False)),
+ ],
+ options={
+ 'db_table': 'ice_engagement',
+ },
+ ),
+ migrations.CreateModel(
+ name='EngagementStatus',
+ fields=[
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_engagement_status',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_feedback',
+ },
+ ),
+ 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)),
+ ('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')),
+ ('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)),
+ ],
+ options={
+ 'db_table': 'ice_user_profile',
+ },
+ ),
+ 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)),
+ ('email', models.CharField(max_length=255)),
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_invitation',
+ },
+ ),
+ 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)),
+ ('position', models.IntegerField()),
+ ('description', models.TextField()),
+ ('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')),
+ ],
+ options={
+ 'verbose_name_plural': 'Next steps',
+ 'db_table': 'ice_next_step',
+ },
+ ),
+ migrations.CreateModel(
+ name='Notification',
+ fields=[
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_notification',
+ },
+ ),
+ migrations.CreateModel(
+ name='RecentEngagement',
+ fields=[
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_recent_engagement',
+ },
+ ),
+ 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)),
+ ('name', models.CharField(max_length=36, unique=True)),
+ ],
+ options={
+ 'db_table': 'ice_role',
+ },
+ ),
+ 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)),
+ ('name', models.CharField(max_length=100, unique=True)),
+ ('public', models.BooleanField()),
+ ],
+ options={
+ 'db_table': 'ice_vendor',
+ },
+ ),
+ migrations.CreateModel(
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_vf',
+ },
+ ),
+ migrations.CreateModel(
+ name='VFC',
+ fields=[
+ ('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)),
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_vfc',
+ },
+ ),
+ migrations.AddField(
+ model_name='recentengagement',
+ name='vf',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.VF'),
+ ),
+ migrations.AlterUniqueTogether(
+ name='invitation',
+ unique_together=set([('engagement_uuid', 'email')]),
+ ),
+ migrations.AddField(
+ model_name='iceuserprofile',
+ name='company',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='iceuserprofile',
+ name='user',
+ 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'),
+ ),
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagementstatus',
+ name='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'),
+ ),
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ name='engagement_team',
+ 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'),
+ ),
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ name='starred_engagement',
+ field=models.ManyToManyField(blank=True, default=None, to='engagementmanager.IceUserProfile'),
+ ),
+ migrations.AlterUniqueTogether(
+ name='deploymenttarget',
+ unique_together=set([('name', 'version')]),
+ ),
+ migrations.AddField(
+ model_name='checklistsection',
+ name='template',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklistlineitem',
+ name='template',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklistdecision',
+ name='template',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklistauditlog',
+ name='decision',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklist',
+ name='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'),
+ ),
+ migrations.AddField(
+ model_name='checklist',
+ name='template',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.ChecklistTemplate'),
+ ),
+ migrations.AlterUniqueTogether(
+ name='applicationserviceinfrastructure',
+ unique_together=set([('name', 'uuid')]),
+ ),
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='activity',
+ name='engagement',
+ field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='engagementmanager.Engagement'),
+ ),
+ migrations.AlterIndexTogether(
+ name='notification',
+ index_together=set([('user', 'is_read')]),
+ ),
+ migrations.AlterIndexTogether(
+ name='nextstep',
+ index_together=set([('engagement_stage', 'owner')]),
+ ),
+ migrations.AlterIndexTogether(
+ name='feedback',
+ index_together=set([('user',)]),
+ ),
+ migrations.AlterIndexTogether(
+ name='activity',
+ index_together=set([('engagement', 'activity_owner')]),
+ ),
+ migrations.RunPython(forwards),
+ migrations.RunPython(create_user_for_pre_user_profiles),
+ ]
diff --git a/django/engagementmanager/migrations/0002_auto_20160704_1028.py b/django/engagementmanager/migrations/0002_auto_20160704_1028.py
new file mode 100755
index 0000000..682394a
--- /dev/null
+++ b/django/engagementmanager/migrations/0002_auto_20160704_1028.py
@@ -0,0 +1,176 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-07-04 07:28
+from __future__ import unicode_literals
+
+import datetime
+
+from django.db import migrations, models
+import django.db.models.deletion
+from django.utils.timezone import utc
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='validationcycle',
+ name='vfc',
+ ),
+ migrations.DeleteModel(
+ name='ValidationException',
+ ),
+ migrations.AlterUniqueTogether(
+ name='validationsteps',
+ unique_together=set([]),
+ ),
+ migrations.RemoveField(
+ model_name='validationsteps',
+ name='test',
+ ),
+ migrations.RemoveField(
+ model_name='validationsteps',
+ name='validation_cycle',
+ ),
+ migrations.RemoveField(
+ model_name='validationsteps',
+ name='validation_exceptions',
+ ),
+ migrations.AlterModelOptions(
+ name='nextstep',
+ options={},
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ name='create_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'),
+ ),
+ migrations.AddField(
+ model_name='vfc',
+ name='create_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'),
+ ),
+ migrations.AddField(
+ model_name='vfc',
+ name='external_ref_id',
+ field=models.CharField(default='', max_length=20),
+ ),
+ migrations.AddField(
+ model_name='vfc',
+ name='ice_mandated',
+ field=models.BooleanField(default=False),
+ ),
+ 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'),
+ ),
+ 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),
+ ),
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ name='target_completion_date',
+ field=models.DateField(blank=True, default=datetime.datetime(
+ 2016, 7, 20, 7, 28, 25, 168000, tzinfo=utc), null=True),
+ ),
+ migrations.AlterField(
+ model_name='vfc',
+ name='name',
+ field=models.CharField(max_length=100),
+ ),
+ migrations.AlterField(
+ model_name='vfc',
+ name='uuid',
+ field=models.CharField(max_length=36, primary_key=True, serialize=False, unique=True),
+ ),
+ migrations.AlterUniqueTogether(
+ name='vfc',
+ unique_together=set([]),
+ ),
+ migrations.DeleteModel(
+ name='Test',
+ ),
+ migrations.DeleteModel(
+ name='ValidationCycle',
+ ),
+ migrations.DeleteModel(
+ name='ValidationSteps',
+ ),
+ migrations.RemoveField(
+ model_name='vfc',
+ name='id',
+ ),
+ migrations.RemoveField(
+ model_name='vfc',
+ name='version',
+ ),
+ migrations.RemoveField(
+ model_name='vfc',
+ name='vf_acronym',
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0003_auto_20160713_0929.py b/django/engagementmanager/migrations/0003_auto_20160713_0929.py
new file mode 100755
index 0000000..3bc94a0
--- /dev/null
+++ b/django/engagementmanager/migrations/0003_auto_20160713_0929.py
@@ -0,0 +1,85 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-07-13 09:29
+from __future__ import unicode_literals
+
+import datetime
+
+from django.db import migrations, models
+import django.db.models.deletion
+from django.utils.timezone import utc
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0002_auto_20160704_1028'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='nextstep',
+ 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),
+ ),
+ migrations.AddField(
+ model_name='nextstep',
+ name='owner',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='nextstep',
+ name='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
new file mode 100755
index 0000000..cfc04d3
--- /dev/null
+++ b/django/engagementmanager/migrations/0004_auto_20160720_2143.py
@@ -0,0 +1,68 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-07-20 18:43
+from __future__ import unicode_literals
+
+import datetime
+
+from django.db import migrations, models
+from django.utils.timezone import utc
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0003_auto_20160713_0929'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='iceuser',
+ name='temp_password',
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0005_auto_20160815_1248.py b/django/engagementmanager/migrations/0005_auto_20160815_1248.py
new file mode 100755
index 0000000..decbe51
--- /dev/null
+++ b/django/engagementmanager/migrations/0005_auto_20160815_1248.py
@@ -0,0 +1,95 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-08-15 09:48
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+import engagementmanager.models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0004_auto_20160720_2143'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='DeploymentTargetSite',
+ fields=[
+ ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=45)),
+ ],
+ options={
+ 'db_table': 'ice_deployment_target_site',
+ },
+ ),
+ migrations.AddField(
+ model_name='vendor',
+ name='public',
+ field=models.BooleanField(default=True),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='vfc',
+ name='company',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='iceuser',
+ name='temp_password',
+ 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'),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0006_auto_20160825_0644.py b/django/engagementmanager/migrations/0006_auto_20160825_0644.py
new file mode 100755
index 0000000..285631d
--- /dev/null
+++ b/django/engagementmanager/migrations/0006_auto_20160825_0644.py
@@ -0,0 +1,237 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-08-25 06:44
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0005_auto_20160815_1248'),
+ ]
+
+ operations = [
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist',
+ },
+ ),
+ migrations.CreateModel(
+ name='ChecklistAuditLog',
+ fields=[
+ ('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')),
+ ('creator', models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.IceUser')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_audit_log',
+ },
+ ),
+ migrations.CreateModel(
+ name='ChecklistDecision',
+ fields=[
+ ('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)),
+ ('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')),
+ ('checklist', models.ForeignKey(
+ on_delete=django.db.models.deletion.CASCADE, to='engagementmanager.Checklist')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_decision',
+ },
+ ),
+ 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')),
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_line_item',
+ },
+ ),
+ 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')),
+ ('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',
+ },
+ ),
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_checklist_template',
+ },
+ ),
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='nextstep',
+ name='assignees',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='nextstep',
+ name='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),
+ ),
+ migrations.AddField(
+ model_name='checklistsection',
+ name='template',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklistlineitem',
+ name='template',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklistdecision',
+ name='template',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='checklist',
+ name='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'),
+ ),
+ migrations.AddField(
+ model_name='checklist',
+ name='template',
+ 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
new file mode 100755
index 0000000..655f30d
--- /dev/null
+++ b/django/engagementmanager/migrations/0007_auto_20160922_0421.py
@@ -0,0 +1,70 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-09-22 04:21
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0006_auto_20160825_0644'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='ECOMPRelease',
+ fields=[
+ ('uuid', models.CharField(max_length=36, primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=45)),
+ ],
+ options={
+ 'db_table': 'ice_ecomp_release',
+ },
+ ),
+ 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'),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0008_auto_20161009_1210.py b/django/engagementmanager/migrations/0008_auto_20161009_1210.py
new file mode 100755
index 0000000..ce6ddcc
--- /dev/null
+++ b/django/engagementmanager/migrations/0008_auto_20161009_1210.py
@@ -0,0 +1,74 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-10-09 12:10
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0007_auto_20160922_0421'),
+ ]
+
+ operations = [
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_recent_engagement',
+ },
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ name='starred_engagement',
+ 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
new file mode 100755
index 0000000..5536536
--- /dev/null
+++ b/django/engagementmanager/migrations/0009_auto_20161018_0740.py
@@ -0,0 +1,65 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-10-18 07:40
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0008_auto_20161009_1210'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0010_auto_20161025_0838.py b/django/engagementmanager/migrations/0010_auto_20161025_0838.py
new file mode 100755
index 0000000..19f8db6
--- /dev/null
+++ b/django/engagementmanager/migrations/0010_auto_20161025_0838.py
@@ -0,0 +1,106 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-10-25 08:38
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0009_auto_20161018_0740'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ name='starred_engagement',
+ 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),
+ ),
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0011_auto_20161109_0811.py b/django/engagementmanager/migrations/0011_auto_20161109_0811.py
new file mode 100755
index 0000000..9bcf50c
--- /dev/null
+++ b/django/engagementmanager/migrations/0011_auto_20161109_0811.py
@@ -0,0 +1,81 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-11-09 08:11
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0010_auto_20161025_0838'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='engagement',
+ name='engagement_manual_id',
+ field=models.CharField(max_length=36),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ name='starred_engagement',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='vf',
+ name='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),
+ preserve_default=False,
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0012_auto_20161109_0822.py b/django/engagementmanager/migrations/0012_auto_20161109_0822.py
new file mode 100755
index 0000000..79214dc
--- /dev/null
+++ b/django/engagementmanager/migrations/0012_auto_20161109_0822.py
@@ -0,0 +1,82 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-11-09 08:22
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0011_auto_20161109_0811'),
+ ]
+
+ operations = [
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ name='engagement_manual_id',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='vf',
+ name='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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0013_auto_20161128_1159.py b/django/engagementmanager/migrations/0013_auto_20161128_1159.py
new file mode 100755
index 0000000..06a55c1
--- /dev/null
+++ b/django/engagementmanager/migrations/0013_auto_20161128_1159.py
@@ -0,0 +1,99 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-11-28 09:59
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0012_auto_20161109_0822'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AddField(
+ model_name='engagement',
+ 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
new file mode 100755
index 0000000..ee4efd4
--- /dev/null
+++ b/django/engagementmanager/migrations/0014_auto_20161129_1145.py
@@ -0,0 +1,104 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-11-29 09:45
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0013_auto_20161128_1159'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ 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
new file mode 100755
index 0000000..84eee4d
--- /dev/null
+++ b/django/engagementmanager/migrations/0015_engagementstatus.py
@@ -0,0 +1,71 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-12-07 09:15
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0014_auto_20161129_1145'),
+ ]
+
+ operations = [
+ 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')),
+ ],
+ 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
new file mode 100755
index 0000000..92d1518
--- /dev/null
+++ b/django/engagementmanager/migrations/0016_auto_20161208_0842.py
@@ -0,0 +1,59 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-12-08 08:42
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0015_engagementstatus'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0017_auto_20161215_1535.py b/django/engagementmanager/migrations/0017_auto_20161215_1535.py
new file mode 100755
index 0000000..c0adc38
--- /dev/null
+++ b/django/engagementmanager/migrations/0017_auto_20161215_1535.py
@@ -0,0 +1,74 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-12-15 13:35
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0016_auto_20161208_0842'),
+ ]
+
+ operations = [
+ 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)),
+ ('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')),
+ ],
+ options={
+ 'db_table': 'ice_invitation',
+ },
+ ),
+ migrations.AlterUniqueTogether(
+ name='invitation',
+ unique_together=set([('engagement_uuid', 'email')]),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0018_set_old_notif_true.py b/django/engagementmanager/migrations/0018_set_old_notif_true.py
new file mode 100755
index 0000000..76e8265
--- /dev/null
+++ b/django/engagementmanager/migrations/0018_set_old_notif_true.py
@@ -0,0 +1,54 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-12-29 13:49
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0017_auto_20161215_1535'),
+ ]
+
+ operations = [
+ 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
new file mode 100755
index 0000000..329ffa3
--- /dev/null
+++ b/django/engagementmanager/migrations/0019_auto_20170104_1715.py
@@ -0,0 +1,59 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2017-01-04 17:15
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0018_set_old_notif_true'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0020_add_indexes_20170108.py b/django/engagementmanager/migrations/0020_add_indexes_20170108.py
new file mode 100755
index 0000000..2b71e1e
--- /dev/null
+++ b/django/engagementmanager/migrations/0020_add_indexes_20170108.py
@@ -0,0 +1,109 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2017-01-12 08:39
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0019_auto_20170104_1715'),
+ ]
+
+ operations = [
+ migrations.DeleteModel(
+ name='ContactRequest',
+ ),
+ migrations.DeleteModel(
+ name='EngagementRequest',
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ name='engagement_manual_id',
+ field=models.CharField(db_index=True, default=-1, max_length=36),
+ ),
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='iceuser',
+ name='email',
+ field=models.EmailField(db_index=True, max_length=254, unique=True, verbose_name='email'),
+ ),
+ migrations.AlterField(
+ model_name='invitation',
+ name='invitation_token',
+ field=models.CharField(db_index=True, max_length=1024),
+ ),
+ migrations.AlterField(
+ model_name='vf',
+ name='engagement',
+ field=models.OneToOneField(default=-1, on_delete=django.db.models.deletion.CASCADE,
+ to='engagementmanager.Engagement'),
+ ),
+ migrations.AlterField(
+ model_name='vf',
+ name='name',
+ field=models.CharField(db_index=True, max_length=100),
+ ),
+ migrations.AlterField(
+ model_name='vfc',
+ name='name',
+ field=models.CharField(db_index=True, max_length=100),
+ ),
+ migrations.AlterIndexTogether(
+ name='activity',
+ index_together=set([('engagement', 'activity_owner')]),
+ ),
+ migrations.AlterIndexTogether(
+ name='nextstep',
+ index_together=set([('engagement_stage', 'owner')]),
+ ),
+ migrations.AlterIndexTogether(
+ name='notification',
+ index_together=set([('user', 'is_read')]),
+ ),
+ ]
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
new file mode 100755
index 0000000..b902df4
--- /dev/null
+++ b/django/engagementmanager/migrations/0021_generate_excel_overview_sheet_procedure_20170110.py
@@ -0,0 +1,65 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+from __future__ import unicode_literals
+
+import os
+
+from django.db import migrations, connection
+
+import engagementmanager
+
+
+def forwards(apps, schema_editor):
+ if not schema_editor.connection.alias == 'default':
+ 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())
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0020_add_indexes_20170108'),
+ ]
+
+ operations = [
+ migrations.RunPython(forwards),
+ ]
diff --git a/django/engagementmanager/migrations/0022_auto_20170118_1520.py b/django/engagementmanager/migrations/0022_auto_20170118_1520.py
new file mode 100755
index 0000000..b90451b
--- /dev/null
+++ b/django/engagementmanager/migrations/0022_auto_20170118_1520.py
@@ -0,0 +1,275 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.5 on 2017-01-18 15:20
+from __future__ import unicode_literals
+
+import logging
+
+from django.conf import settings
+import django.contrib.auth.models
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+logger = logging.getLogger('ice.logger')
+
+
+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.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.save()
+ profile.user = custom_user
+ profile.save()
+
+ except Exception as e:
+ logger.error("migrations fail, error:")
+ logger.error(e.message)
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ # ('auth', '0009_auto_20170118_0740'),
+ ('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)),
+ ('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={
+ 'abstract': False,
+ 'verbose_name': 'user',
+ 'verbose_name_plural': 'users',
+ },
+ bases=('auth.user',),
+ managers=[
+ ('objects', django.contrib.auth.models.UserManager()),
+ ],
+ ),
+ migrations.AlterModelTable('IceUser', 'ice_user_profile'),
+ migrations.RenameModel('IceUser', 'IceUserProfile'),
+ migrations.AddField(
+ model_name='IceUserProfile',
+ name='user',
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+
+ 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),
+ ),
+
+ 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),
+ ),
+ 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),
+ ),
+ # migrations.DeleteModel(
+ # name='IceUser',
+ # ),
+ migrations.RunPython(create_user_for_pre_user_profiles),
+ migrations.AlterField(
+ model_name='notification',
+ name='user',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='nextstep',
+ name='owner',
+ field=models.ForeignKey(
+ 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'),
+ ),
+ 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'),
+ ),
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='checklistauditlog',
+ name='creator',
+ 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'),
+ ),
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='engagement',
+ name='starred_engagement',
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='nextstep',
+ name='assignees',
+ 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'),
+ ),
+ 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'),
+ ),
+ 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'),
+ ),
+ migrations.AlterField(
+ model_name='checklist',
+ name='creator',
+ 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'),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0023_auto_20170123_1445.py b/django/engagementmanager/migrations/0023_auto_20170123_1445.py
new file mode 100755
index 0000000..cd01832
--- /dev/null
+++ b/django/engagementmanager/migrations/0023_auto_20170123_1445.py
@@ -0,0 +1,108 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.5 on 2017-01-23 14:45
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0022_auto_20170118_1520'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='customuser',
+ options={},
+ ),
+ migrations.RemoveField(
+ model_name='iceuserprofile',
+ name='activation_token',
+ ),
+ migrations.RemoveField(
+ model_name='iceuserprofile',
+ name='activation_token_create_time',
+ ),
+ migrations.RemoveField(
+ model_name='iceuserprofile',
+ name='is_active',
+ ),
+ migrations.RemoveField(
+ model_name='iceuserprofile',
+ name='last_login',
+ ),
+ migrations.RemoveField(
+ model_name='iceuserprofile',
+ name='password',
+ ),
+ migrations.RemoveField(
+ model_name='iceuserprofile',
+ name='temp_password',
+ ),
+ migrations.AlterField(
+ model_name='iceuserprofile',
+ name='company',
+ field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT,
+ to='engagementmanager.Vendor'),
+ ),
+ migrations.AlterField(
+ model_name='iceuserprofile',
+ name='is_att_contact',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AlterField(
+ model_name='iceuserprofile',
+ name='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'),
+ ),
+ migrations.AlterModelTable(
+ name='customuser',
+ table='ice_custom_user',
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0024_auto_20170227_1224.py b/django/engagementmanager/migrations/0024_auto_20170227_1224.py
new file mode 100755
index 0000000..3481eb5
--- /dev/null
+++ b/django/engagementmanager/migrations/0024_auto_20170227_1224.py
@@ -0,0 +1,64 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2017-02-27 12:24
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0023_auto_20170123_1445'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='engagement',
+ name='archive_reason',
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py b/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py
new file mode 100755
index 0000000..bfec64d
--- /dev/null
+++ b/django/engagementmanager/migrations/0025_change_nextsteps_to_new_state.py
@@ -0,0 +1,54 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0024_auto_20170227_1224'),
+ ]
+
+ 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';"),
+ ]
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
new file mode 100755
index 0000000..489b6ce
--- /dev/null
+++ b/django/engagementmanager/migrations/0026_add_slack_handle_to_ice_user_profile.py
@@ -0,0 +1,57 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0025_change_nextsteps_to_new_state'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='iceuserprofile',
+ name='slack_handle',
+ 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
new file mode 100755
index 0000000..3bd618e
--- /dev/null
+++ b/django/engagementmanager/migrations/0027_add_version_to_vf.py
@@ -0,0 +1,58 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-04-06 08:05
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0026_add_slack_handle_to_ice_user_profile'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='vf',
+ name='version',
+ field=models.CharField(db_index=True, max_length=100, null=True),
+ )
+ ]
diff --git a/django/engagementmanager/migrations/0028_auto_20170425_1310.py b/django/engagementmanager/migrations/0028_auto_20170425_1310.py
new file mode 100755
index 0000000..68e15f5
--- /dev/null
+++ b/django/engagementmanager/migrations/0028_auto_20170425_1310.py
@@ -0,0 +1,111 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-04-25 13:10
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0027_add_version_to_vf'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='checklistlineitem',
+ name='line_type',
+ 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),
+ ),
+ 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),
+ ),
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='nextstep',
+ name='state',
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0029_auto_20170504_0749.py b/django/engagementmanager/migrations/0029_auto_20170504_0749.py
new file mode 100755
index 0000000..f1a4f9a
--- /dev/null
+++ b/django/engagementmanager/migrations/0029_auto_20170504_0749.py
@@ -0,0 +1,73 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-05-04 07:49
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0028_auto_20170425_1310'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='deploymenttarget',
+ name='ui_visibility',
+ field=models.BooleanField(default=True),
+ ),
+ migrations.AddField(
+ model_name='deploymenttarget',
+ name='weight',
+ field=models.IntegerField(default=1),
+ ),
+ migrations.AddField(
+ model_name='ecomprelease',
+ name='ui_visibility',
+ field=models.BooleanField(default=True),
+ ),
+ migrations.AddField(
+ model_name='ecomprelease',
+ name='weight',
+ field=models.IntegerField(default=1),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0030_engagement_archived_time.py b/django/engagementmanager/migrations/0030_engagement_archived_time.py
new file mode 100755
index 0000000..b24f67a
--- /dev/null
+++ b/django/engagementmanager/migrations/0030_engagement_archived_time.py
@@ -0,0 +1,58 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-06-07 08:13
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0029_auto_20170504_0749'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='engagement',
+ 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
new file mode 100755
index 0000000..f1956c4
--- /dev/null
+++ b/django/engagementmanager/migrations/0031_auto_20170620_1312.py
@@ -0,0 +1,64 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-06-20 13:12
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0030_engagement_archived_time'),
+ ]
+
+ operations = [
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='activity',
+ name='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
new file mode 100755
index 0000000..53e5a22
--- /dev/null
+++ b/django/engagementmanager/migrations/0032_auto_20170702_1435.py
@@ -0,0 +1,71 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-07-02 14:35
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+import django.utils.timezone
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0031_auto_20170620_1312'),
+ ]
+
+ operations = [
+ 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')),
+ ],
+ options={
+ 'db_table': 'ice_feedback',
+ },
+ ),
+ migrations.AlterIndexTogether(
+ name='feedback',
+ index_together=set([('user',)]),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0033_auto_20170704_0635.py b/django/engagementmanager/migrations/0033_auto_20170704_0635.py
new file mode 100755
index 0000000..c6d1bb6
--- /dev/null
+++ b/django/engagementmanager/migrations/0033_auto_20170704_0635.py
@@ -0,0 +1,169 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-07-04 06:35
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import uuid
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0032_auto_20170702_1435'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='activity',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='checklist',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='checklistdecision',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='checklistsection',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='deploymenttarget',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='ecomprelease',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='engagementstatus',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='iceuserprofile',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='nextstep',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='recentengagement',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='vendor',
+ name='uuid',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='vfc',
+ name='uuid',
+ 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
new file mode 100755
index 0000000..01d15f5
--- /dev/null
+++ b/django/engagementmanager/migrations/0034_engagement_is_with_files.py
@@ -0,0 +1,58 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-07-13 04:48
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0033_auto_20170704_0635'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='engagement',
+ name='is_with_files',
+ field=models.BooleanField(default=False),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0035_rgwa_fields.py b/django/engagementmanager/migrations/0035_rgwa_fields.py
new file mode 100755
index 0000000..cce62bf
--- /dev/null
+++ b/django/engagementmanager/migrations/0035_rgwa_fields.py
@@ -0,0 +1,68 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-07-25 07:43
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0034_engagement_is_with_files'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='iceuserprofile',
+ name='rgwa_access_key',
+ 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),
+ ),
+ 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),
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/0036_auto_20170906_0935.py b/django/engagementmanager/migrations/0036_auto_20170906_0935.py
new file mode 100755
index 0000000..7c85b6c
--- /dev/null
+++ b/django/engagementmanager/migrations/0036_auto_20170906_0935.py
@@ -0,0 +1,63 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10.6 on 2017-09-06 09:35
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('engagementmanager', '0035_rgwa_fields'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='iceuserprofile',
+ old_name='is_att_contact',
+ new_name='is_service_provider_contact',
+ ),
+ migrations.RenameField(
+ model_name='vf',
+ old_name='is_att_internal',
+ new_name='is_service_provider_internal',
+ ),
+ ]
diff --git a/django/engagementmanager/migrations/__init__.py b/django/engagementmanager/migrations/__init__.py
new file mode 100755
index 0000000..1726c13
--- /dev/null
+++ b/django/engagementmanager/migrations/__init__.py
@@ -0,0 +1,38 @@
+#
+# ============LICENSE_START==========================================
+# org.onap.vvp/engagementmgr
+# ===================================================================
+# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the “License”);
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.