Project

Profile

Help

Test #5265

closed

Test - As a user, I can use the REST API to dispatch a Pulp 2 to 3 migration task.

Added by kersom over 5 years ago. Updated over 3 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Platform Release:
Tags:
Sprint:
Quarter:

Description

The Django app in the pulp-2to3-migrate[0] repo needs to provide a view that handles requests at /pulp/api/v3/migrate_pulp2/.

This view should accept 2 parameters: dry_run (boolean) and migration_plan (JSON object). Both of the parameters should be used to dispatch a task called "migrate_from_pulp2". This task should sleep for 1 second and then exit.

[0] https://github.com/pulp/pulp-2to3-migrate


Related issues

Related to Migration Plugin - Story #5003: As a user, I can use the REST API to dispatch a Pulp 2 to 3 migration task.CLOSED - CURRENTRELEASEttereshc

Actions
Related to Migration Plugin - Test #5194: [Epic] Test migration from Pulp 2 to Pulp 3CLOSED - COMPLETEActions

Also available in: Atom PDF