altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Implement Migration support for lenketjenester in Altinn Studio

Open TheTechArch opened this issue 1 year ago • 1 comments

Description

To support easy migration of "lenketjenester" we need to implement functionality to in Altinn Studio that accelerates the process.

The functional process will be like this

  1. Org resource administrator identifies a service that would be migrated
  2. Selected "migrate new service."
  3. User is shown a list of all "lenketjenester" for that given org.
  4. User selects a specific service. Altinn Studio gets metadata from Altinn 2 and creates a resource.json and policy.xml based on data. The resource file has a reference to the Altinn 2 service
  5. User updates to text and
  6. User publishes resource to tt02
  7. User Tests resource for API authorization check
  8. User Publishes resource to tt02
  9. Org verifies resources in production
  10. User Trigger migration of delegations
  11. Verify delegations
  12. Disable Altinn 2 resource

Additional Information

The goal is to allow a full self-service for the migration of lenketjenester.

We need to go in to details about the process to make sure

Tasks

  • [ ] Implement functionality for selecting migration
  • [ ] Implement functionality for selecting service to migrate
  • [ ] Implement API to expose needed information to create resource.json and policy.xml
  • [ ] Implement API to trigger migration of delegations
  • [ ] Implement API to see delegation status in Altinn 3 and Altinn 2
  • [ ] Implement API to disable ALtinn 2 service

Acceptance Criterias

No response

### Tasks
- [ ] https://github.com/Altinn/altinn-studio/issues/10667
- [ ] https://github.com/Altinn/altinn-studio/issues/13049
- [ ] https://github.com/Altinn/altinn-studio/issues/12019
- [ ] https://github.com/Altinn/altinn-resource-registry/issues/343
- [ ] https://github.com/Altinn/altinn-studio/issues/13180

TheTechArch avatar Jun 08 '23 14:06 TheTechArch