Skip to content

Commit

Permalink
Merge branch 'master' into feature/spring-boot-3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stigus committed Jan 11, 2024
2 parents 8b23e17 + 9dcb793 commit 0119a5c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 11 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/scheduled.scan.markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
description: "Directory to scan, e.g. apps/dolly-backend. Defaults to whole repo."
default: "."
required: true
secrets:
SLACK_DEAD_URLS_WEBHOOK_URL:
required: true

jobs:
markdown:
Expand All @@ -20,4 +23,14 @@ jobs:
with:
folder-path: ${{ inputs.working-directory }}
config-file: .github/workflows/scheduled.scan.markdown.json
use-quiet-mode: yes
use-quiet-mode: yes
- name: "Slack"
if: ${{ failure() }}
uses: slackapi/[email protected]
with:
payload: |
{
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEAD_URLS_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion apps/budpro-service/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Dette er en tjeneste laget for [Team BudPro](https://teamkatalog.nav.no/team/abc1b143-87e3-45d1-8518-0efd23a775fa), for å generere NAV-ansatte og deres informasjon.
Dette er en tjeneste laget for Team BudPro, for å generere NAV-ansatte og deres informasjon.

Startes lokalt på samme måte som alle andre. Spring profile `local`, definer `spring.cloud.vault.token` fra Vault.
Swagger på http://localhost:8080/swagger. Se endepunkter under `budpro-controller`. Andre endepunkter er for å liste ut definerte grunnverdier.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public void mapAtoB(PdlPersonBolk.PersonBolk person, PensjonPersonRequest pensjo

if (person.getPerson().getUtflyttingFraNorge().stream()
.noneMatch(utflytting -> person.getPerson().getInnflyttingTilNorge().stream()
.filter(innflytting -> nonNull(innflytting.getFolkeregistermetadata()) &&
nonNull(innflytting.getFolkeregistermetadata().getGyldighetstidspunkt()))
.anyMatch(innflytting -> innflytting.getFolkeregistermetadata().getGyldighetstidspunkt()
.isAfter(utflytting.getUtflyttingsdato())))) {

Expand Down
6 changes: 3 additions & 3 deletions apps/dolly-frontend/src/main/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const sokSelector = (bestillingerById, searchStr) => {
if (!searchStr || !items) return items

return items.filter(({ listedata }) => {
const searchValues = listedata.filter((v) => !_.isNil(v)).map((v) => v.toString().toLowerCase())
const searchValues = listedata
?.filter((v) => !_.isNil(v))
.map((v) => v.toString().toLowerCase())
return searchValues.some((v) => v.includes(searchStr.toLowerCase()))
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function BestillingListe({
<DollyTable
pagination
gruppeDetaljer={{
antallElementer: gruppeInfo.antallBestillinger,
antallElementer: gruppeInfo?.antallBestillinger,
pageSize: sideStoerrelse,
}}
data={statusBestillinger}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const SelectOptionsFormat = {
)
return options
} else if (type === 'arbeidsforholdstyper') {
const options = kodeverk || []
const options = kodeverk?.koder || kodeverk || []
options?.length > 0 &&
options.forEach((option: Option) => {
if (option.value === 'frilanserOppdragstakerHonorarPersonerMm') {
Expand Down
6 changes: 3 additions & 3 deletions apps/endringsmelding-frontend/src/main/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0119a5c

Please sign in to comment.