adding needed url endpoint for copy functionality and the beginning of some testing that can be fleshed out more fully in later work

This commit is contained in:
Rebeccah
2021-02-10 16:52:23 -05:00
committed by Shane McDonald
parent f2801e0c03
commit 0921de5d2b
6 changed files with 35 additions and 4 deletions

View File

@@ -710,6 +710,12 @@ class ExecutionEnvironmentJobTemplateList(SubListAPIView):
relationship = 'unifiedjobtemplates'
class ExecutionEnvironmentCopy(CopyAPIView):
model = models.ExecutionEnvironment
copy_return_serializer_class = serializers.ExecutionEnvironmentSerializer
class ExecutionEnvironmentActivityStreamList(SubListAPIView):
model = models.ActivityStream