Fixing serializers per review

Removing try/except around instance_groups

Removing redefined execution_environment

Reordering labels/creds/igs/ee/etc

Removing special treatment for EEs when doing setattrs

Adding help_text to execution environments

Adding EE serializer on JobCreateScheduleSerializer
This commit is contained in:
John Westcott IV
2022-09-15 10:00:58 -04:00
committed by Alan Rominger
parent ffe970aee5
commit a528a78e0e
3 changed files with 19 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 3.2.13 on 2022-09-13 14:04
# Generated by Django 3.2.13 on 2022-09-15 14:07
import awx.main.fields
import awx.main.utils.polymorphic
@@ -19,6 +19,7 @@ class Migration(migrations.Migration):
field=models.ForeignKey(
blank=True,
default=None,
help_text='The container image to be used for execution.',
null=True,
on_delete=awx.main.utils.polymorphic.SET_NULL,
related_name='joblaunchconfig_as_prompt',
@@ -66,6 +67,7 @@ class Migration(migrations.Migration):
field=models.ForeignKey(
blank=True,
default=None,
help_text='The container image to be used for execution.',
null=True,
on_delete=awx.main.utils.polymorphic.SET_NULL,
related_name='schedule_as_prompt',
@@ -83,6 +85,7 @@ class Migration(migrations.Migration):
field=models.ForeignKey(
blank=True,
default=None,
help_text='The container image to be used for execution.',
null=True,
on_delete=awx.main.utils.polymorphic.SET_NULL,
related_name='workflowjobnode_as_prompt',
@@ -115,6 +118,7 @@ class Migration(migrations.Migration):
field=models.ForeignKey(
blank=True,
default=None,
help_text='The container image to be used for execution.',
null=True,
on_delete=awx.main.utils.polymorphic.SET_NULL,
related_name='workflowjobtemplatenode_as_prompt',