Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(health-directorate): New application for Embætti Landlæknis (Work permit/license to pratice) #15146

Merged
merged 40 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a3ee4db
First commit after rebasing main
Ballioli May 7, 2024
6dbd9f5
Work permit application progress
Ballioli Apr 3, 2024
ebd70ef
Error messages
Ballioli Apr 8, 2024
7047922
Messages and extract strings to project.json
Ballioli Apr 16, 2024
36bd665
Skeleton of confirmation step
Ballioli Apr 23, 2024
c8f0af1
Updating uni of iceland openapi
Ballioli May 7, 2024
007bc4d
starting to add EES validation and calling nationalRegistry from work…
Ballioli May 17, 2024
7fa0bbf
Commenting out code to get project to build
Ballioli May 21, 2024
b6e58d5
Comments, error messages, typing to get project to run after rebasing
Ballioli May 21, 2024
b7f36a4
Logic work for work permits, cleanup and more
Ballioli May 28, 2024
4936e37
Work permit application progress
Ballioli Jun 4, 2024
29a8b79
removing test code that had old bearer token
Ballioli Jun 4, 2024
8f748f8
Work on permit application after fixes from Landlaeknir
Ballioli Jun 5, 2024
c431cca
cleanup before pr
Ballioli Jun 7, 2024
be1e5d8
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 7, 2024
ffc2f88
Reverting name of function that was renamed by accident
Ballioli Jun 7, 2024
8c6ed5d
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 7, 2024
026e033
chore: nx format:write update dirty files
andes-it Jun 7, 2024
6a8ec2a
Changing id of textField, was duplicate
Ballioli Jun 7, 2024
f02be59
changing ids from hlc to hwp
Ballioli Jun 10, 2024
a40849d
updating CODEOWNERS
Ballioli Jun 10, 2024
ff6625f
fixing typos and placeholders in error message
Ballioli Jun 11, 2024
0c199f8
first batch of responding to PR comments
Ballioli Jun 12, 2024
79de51b
removing comment
Ballioli Jun 13, 2024
8b594ba
error handling
Ballioli Jun 13, 2024
1078871
removing unnecessary block
Ballioli Jun 13, 2024
ea218a7
Validation in personalSection
Ballioli Jun 13, 2024
48beaa4
removing unused imports and types
Ballioli Jun 13, 2024
33eb3d2
Logging in client and returning null
Ballioli Jun 13, 2024
a2c1474
inverting boolean if check after testing logger functionality
Ballioli Jun 13, 2024
df747ae
typing added to FormConclusion, syntax made more concise
Ballioli Jun 14, 2024
8940625
Adding configs to app.module
Ballioli Jun 14, 2024
f2afd93
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 14, 2024
52e75e8
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 14, 2024
c9f8497
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 18, 2024
ca4350f
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 18, 2024
8cfc4a2
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 18, 2024
0108f79
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
Ballioli Jun 18, 2024
c777bb5
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
kodiakhq[bot] Jun 18, 2024
96b0168
Merge branch 'main' into feature/university-gateway_new_workpermit_ba…
kodiakhq[bot] Jun 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ codemagic.yaml
/libs/application/templates/healthcare-license-certificate/ @island-is/origo
/libs/application/template-api-modules/src/lib/modules/templates/healthcare-license-certificate/ @island-is/origo


/libs/application/templates/healthcare-work-permit/ @island-is/origo
/libs/application/template-api-modules/src/lib/modules/templates/healthcare-work-permit/ @island-is/origo

/libs/application/templates/energy-funds/ @island-is/origo
/libs/application/template-api-modules/src/lib/modules/templates/energy-funds/ @island-is/origo
/libs/api/domains/energy-funds/ @island-is/origo
Expand Down
5 changes: 5 additions & 0 deletions libs/application/core/src/lib/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,11 @@ export const coreErrorMessages = defineMessages({
defaultMessage: 'Þú ert ekki með íslenskt ríkisfang',
description: 'You do not have a domicile in Iceland',
},
nationalRegistryCitizenshipNotWithinEES: {
id: 'application.system:core.fetch.data.nationalRegistryCitizenshipNotWithinEES',
defaultMessage: 'Þú ert ekki með ríkisfang innan EES',
description: 'You do not have citizenship with EES',
},
nationalRegistryAgeNotValid: {
id: 'application.system:core.fetch.data.nationalRegistryAgeNotValid',
defaultMessage: 'Þú hefur ekki náð tilskyldum aldri fyrir þessa umsókn',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,373 @@
export const EES = [
Ballioli marked this conversation as resolved.
Show resolved Hide resolved
{
name: 'Austria',
topLevelDomain: ['.at'],
alpha2Code: 'AT',
alpha3Code: 'AUT',
callingCodes: ['43'],
capital: 'Vienna',
altSpellings: ['AT', 'Österreich', 'Osterreich', 'Oesterreich'],
region: 'Europe',
},
{
name: 'Belgium',
topLevelDomain: ['.be'],
alpha2Code: 'BE',
alpha3Code: 'BEL',
callingCodes: ['32'],
capital: 'Brussels',
altSpellings: [
'BE',
'België',
'Belgie',
'Belgien',
'Belgique',
'Kingdom of Belgium',
'Koninkrijk België',
'Royaume de Belgique',
'Königreich Belgien',
],
region: 'Europe',
},
{
name: 'Bulgaria',
topLevelDomain: ['.bg'],
alpha2Code: 'BG',
alpha3Code: 'BGR',
callingCodes: ['359'],
capital: 'Sofia',
altSpellings: ['BG', 'Republic of Bulgaria', 'Република България'],
region: 'Europe',
},
{
name: 'Cyprus',
topLevelDomain: ['.cy'],
alpha2Code: 'CY',
alpha3Code: 'CYP',
callingCodes: ['357'],
capital: 'Nicosia',
altSpellings: [
'CY',
'Kýpros',
'Kıbrıs',
'Republic of Cyprus',
'Κυπριακή Δημοκρατία',
'Kıbrıs Cumhuriyeti',
],
region: 'Europe',
},
{
name: 'Croatia',
topLevelDomain: ['.hr'],
alpha2Code: 'HR',
alpha3Code: 'HRV',
callingCodes: ['385'],
capital: 'Zagreb',
altSpellings: [
'HR',
'Hrvatska',
'Republic of Croatia',
'Republika Hrvatska',
],
region: 'Europe',
},
{
name: 'Czech Republic',
topLevelDomain: ['.cz'],
alpha2Code: 'CZ',
alpha3Code: 'CZE',
callingCodes: ['420'],
capital: 'Prague',
altSpellings: ['CZ', 'Česká republika', 'Česko'],
region: 'Europe',
},
{
name: 'Denmark',
topLevelDomain: ['.dk'],
alpha2Code: 'DK',
alpha3Code: 'DNK',
callingCodes: ['45'],
capital: 'Copenhagen',
altSpellings: ['DK', 'Danmark', 'Kingdom of Denmark', 'Kongeriget Danmark'],
region: 'Europe',
},
{
name: 'Estonia',
topLevelDomain: ['.ee'],
alpha2Code: 'EE',
alpha3Code: 'EST',
callingCodes: ['372'],
capital: 'Tallinn',
altSpellings: ['EE', 'Eesti', 'Republic of Estonia', 'Eesti Vabariik'],
region: 'Europe',
},
{
name: 'Finland',
topLevelDomain: ['.fi'],
alpha2Code: 'FI',
alpha3Code: 'FIN',
callingCodes: ['358'],
capital: 'Helsinki',
altSpellings: [
'FI',
'Suomi',
'Republic of Finland',
'Suomen tasavalta',
'Republiken Finland',
],
region: 'Europe',
},
{
name: 'France',
topLevelDomain: ['.fr'],
alpha2Code: 'FR',
alpha3Code: 'FRA',
callingCodes: ['33'],
capital: 'Paris',
altSpellings: ['FR', 'French Republic', 'République française'],
region: 'Europe',
},
{
name: 'Germany',
topLevelDomain: ['.de'],
alpha2Code: 'DE',
alpha3Code: 'DEU',
callingCodes: ['49'],
capital: 'Berlin',
altSpellings: [
'DE',
'Federal Republic of Germany',
'Bundesrepublik Deutschland',
],
region: 'Europe',
},
{
name: 'Greece',
topLevelDomain: ['.gr'],
alpha2Code: 'GR',
alpha3Code: 'GRC',
callingCodes: ['30'],
capital: 'Athens',
altSpellings: ['GR', 'Elláda', 'Hellenic Republic', 'Ελληνική Δημοκρατία'],
region: 'Europe',
},
{
name: 'Hungary',
topLevelDomain: ['.hu'],
alpha2Code: 'HU',
alpha3Code: 'HUN',
callingCodes: ['36'],
capital: 'Budapest',
altSpellings: ['HU'],
region: 'Europe',
},
{
name: 'Iceland',
topLevelDomain: ['.is'],
alpha2Code: 'IS',
alpha3Code: 'ISL',
callingCodes: ['354'],
capital: 'Reykjavik',
altSpellings: ['Ísland', 'IS'],
region: 'Europe',
},
{
name: 'Ireland',
topLevelDomain: ['.ie'],
alpha2Code: 'IE',
alpha3Code: 'IRL',
callingCodes: ['353'],
capital: 'Dublin',
altSpellings: ['IE', 'Éire', 'Republic of Ireland', 'Poblacht na hÉireann'],
region: 'Europe',
},
{
name: 'Italy',
topLevelDomain: ['.it'],
alpha2Code: 'IT',
alpha3Code: 'ITA',
callingCodes: ['39'],
capital: 'Rome',
altSpellings: ['IT', 'Italian Republic', 'Repubblica italiana'],
region: 'Europe',
},
{
name: 'Latvia',
topLevelDomain: ['.lv'],
alpha2Code: 'LV',
alpha3Code: 'LVA',
callingCodes: ['371'],
capital: 'Riga',
altSpellings: ['LV', 'Republic of Latvia', 'Latvijas Republika'],
region: 'Europe',
},
{
name: 'Liechtenstein',
topLevelDomain: ['.li'],
alpha2Code: 'LI',
alpha3Code: 'LIE',
callingCodes: ['423'],
capital: 'Vaduz',
altSpellings: [
'LI',
'Principality of Liechtenstein',
'Fürstentum Liechtenstein',
],
region: 'Europe',
},
{
name: 'Lithuania',
topLevelDomain: ['.lt'],
alpha2Code: 'LT',
alpha3Code: 'LTU',
callingCodes: ['370'],
capital: 'Vilnius',
altSpellings: ['LT', 'Republic of Lithuania', 'Lietuvos Respublika'],
region: 'Europe',
},
{
name: 'Luxembourg',
topLevelDomain: ['.lu'],
alpha2Code: 'LU',
alpha3Code: 'LUX',
callingCodes: ['352'],
capital: 'Luxembourg',
altSpellings: [
'LU',
'Grand Duchy of Luxembourg',
'Grand-Duché de Luxembourg',
'Großherzogtum Luxemburg',
'Groussherzogtum Lëtzebuerg',
],
region: 'Europe',
},
{
name: 'Malta',
topLevelDomain: ['.mt'],
alpha2Code: 'MT',
alpha3Code: 'MLT',
callingCodes: ['356'],
capital: 'Valletta',
altSpellings: ['MT', 'Republic of Malta', "Repubblika ta' Malta"],
region: 'Europe',
},
{
name: 'Netherlands',
topLevelDomain: ['.nl'],
alpha2Code: 'NL',
alpha3Code: 'NLD',
callingCodes: ['31'],
capital: 'Amsterdam',
altSpellings: ['NL', 'Holland', 'Nederland'],
region: 'Europe',
},
{
name: 'Norway',
topLevelDomain: ['.no'],
alpha2Code: 'NO',
alpha3Code: 'NOR',
callingCodes: ['47'],
capital: 'Oslo',
altSpellings: [
'NO',
'Norge',
'Noreg',
'Kingdom of Norway',
'Kongeriket Norge',
'Kongeriket Noreg',
],
region: 'Europe',
},
{
name: 'Poland',
topLevelDomain: ['.pl'],
alpha2Code: 'PL',
alpha3Code: 'POL',
callingCodes: ['48'],
capital: 'Warsaw',
altSpellings: ['PL', 'Republic of Poland', 'Rzeczpospolita Polska'],
region: 'Europe',
},
{
name: 'Portugal',
topLevelDomain: ['.pt'],
alpha2Code: 'PT',
alpha3Code: 'PRT',
callingCodes: ['351'],
capital: 'Lisbon',
altSpellings: [
'PT',
'Portuguesa',
'Portuguese Republic',
'República Portuguesa',
],
region: 'Europe',
},
{
name: 'Romania',
topLevelDomain: ['.ro'],
alpha2Code: 'RO',
alpha3Code: 'ROU',
callingCodes: ['40'],
capital: 'Bucharest',
altSpellings: ['RO', 'Rumania', 'Roumania', 'România'],
region: 'Europe',
},
{
name: 'Slovakia',
topLevelDomain: ['.sk'],
alpha2Code: 'SK',
alpha3Code: 'SVK',
callingCodes: ['421'],
capital: 'Bratislava',
altSpellings: ['SK', 'Slovak Republic', 'Slovenská republika'],
region: 'Europe',
},
{
name: 'Slovenia',
topLevelDomain: ['.si'],
alpha2Code: 'SI',
alpha3Code: 'SVN',
callingCodes: ['386'],
capital: 'Ljubljana',
altSpellings: ['SI', 'Republic of Slovenia', 'Republika Slovenija'],
region: 'Europe',
},
{
name: 'Spain',
topLevelDomain: ['.es'],
alpha2Code: 'ES',
alpha3Code: 'ESP',
callingCodes: ['34'],
capital: 'Madrid',
altSpellings: ['ES', 'Kingdom of Spain', 'Reino de España'],
region: 'Europe',
},
{
name: 'Sweden',
topLevelDomain: ['.se'],
alpha2Code: 'SE',
alpha3Code: 'SWE',
callingCodes: ['46'],
capital: 'Stockholm',
altSpellings: ['SE', 'Kingdom of Sweden', 'Konungariket Sverige'],
region: 'Europe',
},
{
name: 'Switzerland',
topLevelDomain: ['.ch'],
alpha2Code: 'CH',
alpha3Code: 'CHE',
callingCodes: ['41'],
capital: 'Bern',
altSpellings: [
'CH',
'Swiss Confederation',
'Schweiz',
'Suisse',
'Svizzera',
'Svizra',
],
region: 'Europe',
},
]
Loading
Loading