Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Revamped Postman collection to have less nested requests, easier auth… #306

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

Ceredron
Copy link
Collaborator

Description

image

Re-organized the requests to minimize nesting. Less clicks needed.
Removed requests to other API's. These functions (ResourceRegistry etc) are now available in GUI.
Changed to use basic authentication (username:password) for the test tokens instead of a Maskinporten integration. The credentials can be found here https://pedia.altinn.cloud/altinn-2/testing/tools/altinntokengenerator/ .

We now use testdata from Tenor to make it possible to test across team boundaries
https://testdata.skatteetaten.no/
Find a company here with a daglig leder and fill out the Postman variables.
(can also just go to af.tt.altinn.no/TestId/"Hent tilfeldig daglig leder")

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

… (basic instead of Maskinporten), make tokens last 12 hours.
@Ceredron Ceredron marked this pull request as ready for review September 27, 2024 13:40
Copy link
Collaborator

@Andreass2 Andreass2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Initialize and upload" needs to remove existing dialogporten element.

Otherwise it looks much cleaner and so much simpler. Very good job

@Ceredron Ceredron merged commit 3f8b074 into main Sep 30, 2024
3 checks passed
@Ceredron Ceredron deleted the feat/postman-tenor branch September 30, 2024 08:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants