Skip to content

Fjerne utdatert mock data etter oppfordring fra Dana#4265

Merged
stigus merged 1 commit into
masterfrom
chore/fjerne-altinn2-gamle-integrasjoner
Jun 18, 2026
Merged

Fjerne utdatert mock data etter oppfordring fra Dana#4265
stigus merged 1 commit into
masterfrom
chore/fjerne-altinn2-gamle-integrasjoner

Conversation

@stigus

@stigus stigus commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

This pull request removes the mock data and mapping for the service owner reportees endpoint from the Altinn mock service. These deletions clean up unused or unnecessary test data and configuration.

Removed mock data and endpoint mapping:

  • Mock data file serviceowner-reportees.json deleted, which contained sample reportee organization entries.
  • Wiremock mapping file serviceowner-reportees.json deleted, which defined the mock HTTP response for the /api/serviceowner/reportees endpoint.

…in RsInntektsinformasjon.java

- Convert rapporteringsdato to UTC offset when mapping in InntektsinformasjonMappingStrategy.java
Copilot AI review requested due to automatic review settings June 18, 2026 11:44
@stigus stigus requested a review from a team as a code owner June 18, 2026 11:44

@betsytraran betsytraran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Herlig! 🤩

@krharum krharum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@stigus stigus merged commit ddbe453 into master Jun 18, 2026
1 check passed
@stigus stigus deleted the chore/fjerne-altinn2-gamle-integrasjoner branch June 18, 2026 11:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up the Altinn Wiremock setup by removing an outdated stubbed endpoint and its associated mock response data, reducing unused mock configuration in the monorepo.

Changes:

  • Removed the Wiremock mapping for GET /api/serviceowner/reportees.
  • Removed the corresponding mock response payload file previously served by that mapping.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
mocks/altinn-mock/wiremock/mappings/serviceowner-reportees.json Deletes the Wiremock stub mapping for the service owner reportees endpoint.
mocks/altinn-mock/wiremock/__files/serviceowner-reportees.json Deletes the mock JSON payload that the removed mapping returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants