Skip to content

Commit

Permalink
Merge branch 'main' of github.com:island-is/island.is into j-s/sort-b…
Browse files Browse the repository at this point in the history
…y-state
  • Loading branch information
oddsson committed Feb 5, 2025
2 parents 3f4b3b5 + 5188d0e commit 423b27b
Show file tree
Hide file tree
Showing 21 changed files with 369 additions and 113 deletions.
2 changes: 1 addition & 1 deletion charts/islandis-services/api/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ env:
XROAD_INNA_PATH: 'IS-DEV/GOV/10066/MMS-Protected/inna-v1'
XROAD_INTELLECTUAL_PROPERTIES_PATH: 'IS-DEV/GOV/10030/WebAPI-Public/HUG-webAPI'
XROAD_JUDICIAL_SYSTEM_SP_PATH: 'IS-DEV/GOV/10014/Rettarvorslugatt-Private/judicial-system-mailbox-api'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_MMS_GRADE_SERVICE_ID: 'IS-DEV/GOV/10066/MMS-Protected/grade-api-v1'
XROAD_MMS_LICENSE_SERVICE_ID: 'IS-DEV/GOV/10066/MMS-Protected/license-api-v1'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
Expand Down
2 changes: 1 addition & 1 deletion charts/islandis-services/api/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ env:
XROAD_INNA_PATH: 'IS/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_INTELLECTUAL_PROPERTIES_PATH: 'IS/GOV/6501912189/WebAPI-Public/HUG-webAPI'
XROAD_JUDICIAL_SYSTEM_SP_PATH: 'IS/GOV/5804170510/Rettarvorslugatt-Private/judicial-system-mailbox-api'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_MMS_GRADE_SERVICE_ID: 'IS/GOV/6601241280/MMS-Protected/grade-api-v1'
XROAD_MMS_LICENSE_SERVICE_ID: 'IS/GOV/6601241280/MMS-Protected/license-api-v1'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
Expand Down
2 changes: 1 addition & 1 deletion charts/islandis-services/api/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ env:
XROAD_INNA_PATH: 'IS-TEST/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_INTELLECTUAL_PROPERTIES_PATH: 'IS-TEST/GOV/6501912189/WebAPI-Public/HUG-webAPI'
XROAD_JUDICIAL_SYSTEM_SP_PATH: 'IS-TEST/GOV/10014/Rettarvorslugatt-Private/judicial-system-mailbox-api'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_MMS_GRADE_SERVICE_ID: 'IS-TEST/GOV/6601241280/MMS-Protected/grade-api-v1'
XROAD_MMS_LICENSE_SERVICE_ID: 'IS-TEST/GOV/6601241280/MMS-Protected/license-api-v1'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ env:
XROAD_HOLAR_UNIVERSITY_PATH: 'IS-DEV/EDU/10055/Holar-Protected/brautskraning-v1'
XROAD_ICELAND_UNIVERSITY_OF_THE_ARTS_PATH: 'IS-DEV/EDU/10049/LHI-Protected/brautskraning-v1'
XROAD_INNA_PATH: 'IS-DEV/GOV/10066/MMS-Protected/inna-v1'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
XROAD_NATIONAL_REGISTRY_SERVICE_PATH: 'IS-DEV/GOV/10001/SKRA-Protected/Einstaklingar-v1'
XROAD_OFFICIAL_JOURNAL_APPLICATION_PATH: 'IS-DEV/GOV/10014/DMR-Protected/official-journal-application'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ env:
XROAD_HOLAR_UNIVERSITY_PATH: 'IS/EDU/5001694359/Holar-Protected/brautskraning-v1'
XROAD_ICELAND_UNIVERSITY_OF_THE_ARTS_PATH: 'IS/EDU/4210984099/LHI-Protected/brautskraning-v1'
XROAD_INNA_PATH: 'IS/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
XROAD_NATIONAL_REGISTRY_SERVICE_PATH: 'IS/GOV/6503760649/SKRA-Protected/Einstaklingar-v1'
XROAD_OFFICIAL_JOURNAL_APPLICATION_PATH: 'IS/GOV/10014/DMR-Protected/official-journal-application'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ env:
XROAD_HOLAR_UNIVERSITY_PATH: 'IS-TEST/EDU/10055/Holar-Protected/brautskraning-v1'
XROAD_ICELAND_UNIVERSITY_OF_THE_ARTS_PATH: 'IS-TEST/EDU/10049/LHI-Protected/brautskraning-v1'
XROAD_INNA_PATH: 'IS-TEST/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
XROAD_NATIONAL_REGISTRY_SERVICE_PATH: 'IS-TEST/GOV/6503760649/SKRA-Protected/Einstaklingar-v1'
XROAD_OFFICIAL_JOURNAL_APPLICATION_PATH: 'IS-TEST/GOV/10014/DMR-Protected/official-journal-application'
Expand Down
4 changes: 2 additions & 2 deletions charts/islandis/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ api:
XROAD_INNA_PATH: 'IS-DEV/GOV/10066/MMS-Protected/inna-v1'
XROAD_INTELLECTUAL_PROPERTIES_PATH: 'IS-DEV/GOV/10030/WebAPI-Public/HUG-webAPI'
XROAD_JUDICIAL_SYSTEM_SP_PATH: 'IS-DEV/GOV/10014/Rettarvorslugatt-Private/judicial-system-mailbox-api'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_MMS_GRADE_SERVICE_ID: 'IS-DEV/GOV/10066/MMS-Protected/grade-api-v1'
XROAD_MMS_LICENSE_SERVICE_ID: 'IS-DEV/GOV/10066/MMS-Protected/license-api-v1'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
Expand Down Expand Up @@ -663,7 +663,7 @@ application-system-api:
XROAD_HOLAR_UNIVERSITY_PATH: 'IS-DEV/EDU/10055/Holar-Protected/brautskraning-v1'
XROAD_ICELAND_UNIVERSITY_OF_THE_ARTS_PATH: 'IS-DEV/EDU/10049/LHI-Protected/brautskraning-v1'
XROAD_INNA_PATH: 'IS-DEV/GOV/10066/MMS-Protected/inna-v1'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.5fzau3.euw1.cache.amazonaws.com:6379"]'
XROAD_NATIONAL_REGISTRY_SERVICE_PATH: 'IS-DEV/GOV/10001/SKRA-Protected/Einstaklingar-v1'
XROAD_OFFICIAL_JOURNAL_APPLICATION_PATH: 'IS-DEV/GOV/10014/DMR-Protected/official-journal-application'
Expand Down
4 changes: 2 additions & 2 deletions charts/islandis/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ api:
XROAD_INNA_PATH: 'IS/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_INTELLECTUAL_PROPERTIES_PATH: 'IS/GOV/6501912189/WebAPI-Public/HUG-webAPI'
XROAD_JUDICIAL_SYSTEM_SP_PATH: 'IS/GOV/5804170510/Rettarvorslugatt-Private/judicial-system-mailbox-api'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_MMS_GRADE_SERVICE_ID: 'IS/GOV/6601241280/MMS-Protected/grade-api-v1'
XROAD_MMS_LICENSE_SERVICE_ID: 'IS/GOV/6601241280/MMS-Protected/license-api-v1'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
Expand Down Expand Up @@ -651,7 +651,7 @@ application-system-api:
XROAD_HOLAR_UNIVERSITY_PATH: 'IS/EDU/5001694359/Holar-Protected/brautskraning-v1'
XROAD_ICELAND_UNIVERSITY_OF_THE_ARTS_PATH: 'IS/EDU/4210984099/LHI-Protected/brautskraning-v1'
XROAD_INNA_PATH: 'IS/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.whakos.euw1.cache.amazonaws.com:6379"]'
XROAD_NATIONAL_REGISTRY_SERVICE_PATH: 'IS/GOV/6503760649/SKRA-Protected/Einstaklingar-v1'
XROAD_OFFICIAL_JOURNAL_APPLICATION_PATH: 'IS/GOV/10014/DMR-Protected/official-journal-application'
Expand Down
4 changes: 2 additions & 2 deletions charts/islandis/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ api:
XROAD_INNA_PATH: 'IS-TEST/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_INTELLECTUAL_PROPERTIES_PATH: 'IS-TEST/GOV/6501912189/WebAPI-Public/HUG-webAPI'
XROAD_JUDICIAL_SYSTEM_SP_PATH: 'IS-TEST/GOV/10014/Rettarvorslugatt-Private/judicial-system-mailbox-api'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_MMS_GRADE_SERVICE_ID: 'IS-TEST/GOV/6601241280/MMS-Protected/grade-api-v1'
XROAD_MMS_LICENSE_SERVICE_ID: 'IS-TEST/GOV/6601241280/MMS-Protected/license-api-v1'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
Expand Down Expand Up @@ -660,7 +660,7 @@ application-system-api:
XROAD_HOLAR_UNIVERSITY_PATH: 'IS-TEST/EDU/10055/Holar-Protected/brautskraning-v1'
XROAD_ICELAND_UNIVERSITY_OF_THE_ARTS_PATH: 'IS-TEST/EDU/10049/LHI-Protected/brautskraning-v1'
XROAD_INNA_PATH: 'IS-TEST/GOV/6601241280/MMS-Protected/inna-v1'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-service'
XROAD_MMS_FRIGG_PATH: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-api'
XROAD_NATIONAL_REGISTRY_REDIS_NODES: '["clustercfg.general-redis-cluster-group.ab9ckb.euw1.cache.amazonaws.com:6379"]'
XROAD_NATIONAL_REGISTRY_SERVICE_PATH: 'IS-TEST/GOV/6503760649/SKRA-Protected/Einstaklingar-v1'
XROAD_OFFICIAL_JOURNAL_APPLICATION_PATH: 'IS-TEST/GOV/10014/DMR-Protected/official-journal-application'
Expand Down
6 changes: 3 additions & 3 deletions infra/src/dsl/xroad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -906,9 +906,9 @@ export const OfficialJournalOfIcelandApplication = new XroadConf({
export const Frigg = new XroadConf({
env: {
XROAD_MMS_FRIGG_PATH: {
dev: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-service',
staging: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-service',
prod: 'IS/GOV/10066/MMS-Protected/frigg-form-service',
dev: 'IS-DEV/GOV/10066/MMS-Protected/frigg-form-api',
staging: 'IS-TEST/GOV/10066/MMS-Protected/frigg-form-api',
prod: 'IS/GOV/10066/MMS-Protected/frigg-form-api',
},
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const ContactsTableRepeater: FC<React.PropsWithChildren<FieldBaseProps>> = ({
label: newPrimarySchoolMessages.shared.fullName,
width: 'half',
type: 'text',
dataTestId: 'relative-full-name',
dataTestId: 'contact-full-name',
},
phoneNumber: {
component: 'input',
Expand All @@ -61,7 +61,7 @@ const ContactsTableRepeater: FC<React.PropsWithChildren<FieldBaseProps>> = ({
type: 'tel',
format: '###-####',
placeholder: '000-0000',
dataTestId: 'relative-phone-number',
dataTestId: 'contact-phone-number',
},
nationalId: {
component: 'input',
Expand All @@ -70,15 +70,15 @@ const ContactsTableRepeater: FC<React.PropsWithChildren<FieldBaseProps>> = ({
type: 'text',
format: '######-####',
placeholder: '000000-0000',
dataTestId: 'relative-national-id',
dataTestId: 'contact-national-id',
},
relation: {
component: 'select',
label: newPrimarySchoolMessages.shared.relation,
width: 'half',
placeholder: newPrimarySchoolMessages.shared.relationPlaceholder,
options: relationFriggOptions,
dataTestId: 'relative-relation',
dataTestId: 'contact-relation',
},
},
table: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ export const AllergiesAndIntolerances = ({
options: foodAllergiesOrIntolerancesOptions,
loading: foodAllergiesOrIntolerancesLoading,
error: foodAllergiesOrIntolerancesError,
} = useFriggOptions(OptionsType.INTOLERANCE) // TODO: Update when Júní has updated key-options
} = useFriggOptions(OptionsType.FOOD_ALLERGY_AND_INTOLERANCE)

const {
options: otherAllergiesOptions,
loading: otherAllergiesLoading,
error: otherAllergiesError,
} = useFriggOptions(OptionsType.ALLERGY) // TODO: Update when Júní has updated key-options
} = useFriggOptions(OptionsType.ALLERGY)

return (
<ReviewGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const FreeSchoolMeal = ({
options: specialNeedsTypeOptions,
loading,
error,
} = useFriggOptions(OptionsType.ALLERGY) // TODO: Update when Júní has updated key-options
} = useFriggOptions(OptionsType.SCHOOL_MEAL)

return (
<ReviewGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const allergiesAndIntolerancesSubSection = buildSubSection({
},
},
{
optionsType: OptionsType.INTOLERANCE, // TODO: Update when Júní has updated key-options
optionsType: OptionsType.FOOD_ALLERGY_AND_INTOLERANCE,
placeholder:
newPrimarySchoolMessages.differentNeeds
.typeOfFoodAllergiesOrIntolerancesPlaceholder,
Expand Down Expand Up @@ -88,7 +88,7 @@ export const allergiesAndIntolerancesSubSection = buildSubSection({
},
},
{
optionsType: OptionsType.ALLERGY, // TODO: Update when Júní has updated key-options
optionsType: OptionsType.ALLERGY,
placeholder:
newPrimarySchoolMessages.differentNeeds
.typeOfOtherAllergiesPlaceholder,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const freeSchoolMealSubSection = buildSubSection({
},
},
{
optionsType: OptionsType.ALLERGY, // TODO: Update when Júní has updated key-options
optionsType: OptionsType.SCHOOL_MEAL,
placeholder:
newPrimarySchoolMessages.differentNeeds
.specialNeedsTypePlaceholder,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,18 @@ export enum Roles {

export enum ReasonForApplicationOptions {
MOVING_MUNICIPALITY = 'movingMuniciplaity',
SIBLINGS_IN_SAME_SCHOOL = 'SiblingsInSameSchool',
SIBLINGS_IN_SAME_SCHOOL = 'siblingsInSameSchool',
}

export enum OptionsType {
PRONOUN = 'pronoun',
GENDER = 'gender',
INTOLERANCE = 'intolerence',
FOOD_ALLERGY_AND_INTOLERANCE = 'foodAllergyAndIntolerance',
REASON = 'registrationReason',
REASON_INTERNATIONAL_SCHOOL = 'registrationReasonInternationalSchool',
REASON_PRIVATE_SCHOOL = 'registrationReasonPrivateSchool',
RELATION = 'relation',
SCHOOL_MEAL = 'schoolMeal',
ALLERGY = 'allergy',
}

Expand Down
Loading

0 comments on commit 423b27b

Please sign in to comment.