Merge branch 'downstream' into devel

This commit is contained in:
Ryan Petrello
2020-05-05 20:12:24 -04:00
10 changed files with 42 additions and 15 deletions

View File

@@ -104,7 +104,7 @@ class BroadcastConsumer(AsyncJsonWebsocketConsumer):
logger.info(f"client '{self.channel_name}' joined the broadcast group.")
async def disconnect(self, code):
logger.info("client '{self.channel_name}' disconnected from the broadcast group.")
logger.info(f"client '{self.channel_name}' disconnected from the broadcast group.")
await self.channel_layer.group_discard(settings.BROADCAST_WEBSOCKET_GROUP_NAME, self.channel_name)
async def internal_message(self, event):

View File

@@ -0,0 +1,24 @@
# Generated by Django 2.2.11 on 2020-05-04 02:26
import awx.main.utils.polymorphic
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0114_v370_remove_deprecated_manual_inventory_sources'),
]
operations = [
migrations.AlterField(
model_name='unifiedjob',
name='schedule',
field=models.ForeignKey(default=None, editable=False, null=True, on_delete=awx.main.utils.polymorphic.SET_NULL, to='main.Schedule'),
),
migrations.AlterField(
model_name='unifiedjobtemplate',
name='next_schedule',
field=models.ForeignKey(default=None, editable=False, null=True, on_delete=awx.main.utils.polymorphic.SET_NULL, related_name='unifiedjobtemplate_as_next_schedule+', to='main.Schedule'),
),
]

View File

@@ -2491,8 +2491,9 @@ class rhv(PluginFileInjector):
"""
plugin_name = 'ovirt'
base_injector = 'template'
initial_version = '2.9'
namespace = 'ovirt'
collection = 'ovirt_collection'
collection = 'ovirt'
@property
def script_name(self):

View File

@@ -150,7 +150,7 @@ class UnifiedJobTemplate(PolymorphicModel, CommonModelNameNotUnique, Notificatio
default=None,
editable=False,
related_name='%(class)s_as_next_schedule+',
on_delete=models.SET_NULL,
on_delete=polymorphic.SET_NULL,
)
status = models.CharField(
max_length=32,
@@ -586,7 +586,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
null=True,
default=None,
editable=False,
on_delete=models.SET_NULL,
on_delete=polymorphic.SET_NULL,
)
dependent_jobs = models.ManyToManyField(
'self',

View File

@@ -1 +1 @@
plugin: ovirt.ovirt_collection.ovirt
plugin: ovirt.ovirt.ovirt