diff --git a/TestData/authorization/resources/Appid_400.json b/TestData/authorization/resources/Appid_400.json new file mode 100644 index 00000000..027a56a4 --- /dev/null +++ b/TestData/authorization/resources/Appid_400.json @@ -0,0 +1,56 @@ +{ + "title": { + "en": "Humbug Registry", + "nb": "Tulleregisteret", + "nn": "Tulleregisteret" + }, + "sector": null, + "status": null, + "validTo": "9999-12-31T23:59:59.997", + "homepage": null, + "isPartOf": null, + "keywords": null, + "validFrom": "2020-03-04T18:04:27.27", + "identifier": "appid-400", + "isComplete": false, + "description": null, + "resourceType": "MaskinportenSchema", + "thematicArea": null, + "isPublicService": true, + "rightDescription": { + "en": "Gives access to silly things.", + "nb": "Gir tilgang til tullete ting.", + "nn": "Gir tilgang til tullete ting." + }, + "resourceReferences": [ + { + "reference": "8f08210a-d792-48f5-9e27-0f029e41111e", + "referenceType": "DelegationSchemeId", + "referenceSource": "Altinn2" + }, + { + "reference": "nav:paa/v1/luring", + "referenceType": "MaskinportenScope", + "referenceSource": "Altinn2" + }, + { + "reference": "AppId:400", + "referenceType": "ServiceCode", + "referenceSource": "Altinn2" + }, + { + "reference": "1", + "referenceType": "ServiceEditionCode", + "referenceSource": "Altinn2" + } + ], + "hasCompetentAuthority": { + "orgcode": "PAA", + "organization": "985399077", + "name": { + "en": "DEPARTMENT OF HUMBUG", + "nb": "PÅFUNNSETATEN", + "nn": "PÅFUNNSETATEN" + } + } +} diff --git a/TestData/authorization/resources/Appid_401.json b/TestData/authorization/resources/Appid_401.json new file mode 100644 index 00000000..91cc8253 --- /dev/null +++ b/TestData/authorization/resources/Appid_401.json @@ -0,0 +1,61 @@ +{ + "title": { + "en": "The Flowergarden", + "nb": "Blomsterhagen", + "nn": "Blomsterhagen" + }, + "sector": null, + "status": null, + "validTo": "9999-12-31T23:59:59.997", + "homepage": null, + "isPartOf": null, + "keywords": null, + "validFrom": "2020-03-04T18:04:27.27", + "identifier": "appid-401", + "isComplete": false, + "description": null, + "resourceType": "MaskinportenSchema", + "thematicArea": null, + "isPublicService": true, + "rightDescription": { + "en": "Gives access to beautiful flowers.", + "nb": "Gir tilgang til vakre blomster.", + "nn": "Gir tilgang til vakre blomster." + }, + "resourceReferences": [ + { + "reference": "8f08210a-d792-48f5-9e27-0f029e41111e", + "referenceType": "DelegationSchemeId", + "referenceSource": "Altinn2" + }, + { + "reference": "nav:aareg/v1/arbeidsforhold/otp", + "referenceType": "MaskinportenScope", + "referenceSource": "Altinn2" + }, + { + "reference": "nav:bfinn/v1/hagen", + "referenceType": "MaskinportenScope", + "referenceSource": "Altinn2" + }, + { + "reference": "AppId:401", + "referenceType": "ServiceCode", + "referenceSource": "Altinn2" + }, + { + "reference": "1", + "referenceType": "ServiceEditionCode", + "referenceSource": "Altinn2" + } + ], + "hasCompetentAuthority": { + "orgcode": "BFINN", + "organization": "994598759", + "name": { + "en": "BLOMSTERFINN", + "nb": "BLOMSTERFINN", + "nn": "BLOMSTERFINN" + } + } +} diff --git a/TestData/authorization/resources/Appid_402.json b/TestData/authorization/resources/Appid_402.json new file mode 100644 index 00000000..531c414b --- /dev/null +++ b/TestData/authorization/resources/Appid_402.json @@ -0,0 +1,61 @@ +{ + "title": { + "en": "The Magic Closet", + "nb": "Det magiske klesskapet", + "nn": "Det magiske klesskapet" + }, + "sector": null, + "status": null, + "validTo": "9999-12-31T23:59:59.997", + "homepage": null, + "isPartOf": null, + "keywords": null, + "validFrom": "2020-03-04T18:04:27.27", + "identifier": "appid-402", + "isComplete": false, + "description": null, + "resourceType": "MaskinportenSchema", + "thematicArea": null, + "isPublicService": true, + "rightDescription": { + "en": "Gives access to Narnia.", + "nb": "Gir tilgang til Narnia.", + "nn": "Gir tilgang til Narnia." + }, + "resourceReferences": [ + { + "reference": "8f08210a-d792-48f5-9e27-0f029e41111e", + "referenceType": "DelegationSchemeId", + "referenceSource": "Altinn2" + }, + { + "reference": "nav:nrna/v1/kaape/otp", + "referenceType": "MaskinportenScope", + "referenceSource": "Altinn2" + }, + { + "reference": "nav:nrna/huset/dettommerommet", + "referenceType": "MaskinportenScope", + "referenceSource": "Altinn2" + }, + { + "reference": "AppId:402", + "referenceType": "ServiceCode", + "referenceSource": "Altinn2" + }, + { + "reference": "1", + "referenceType": "ServiceEditionCode", + "referenceSource": "Altinn2" + } + ], + "hasCompetentAuthority": { + "orgcode": "NRNA", + "organization": "971032081", + "name": { + "en": "NARNIA", + "nb": "NARNIA", + "nn": "NARNIA" + } + } +} diff --git a/TestData/authorization/resources/Appid_403.json b/TestData/authorization/resources/Appid_403.json new file mode 100644 index 00000000..b88a463e --- /dev/null +++ b/TestData/authorization/resources/Appid_403.json @@ -0,0 +1,56 @@ +{ + "title": { + "en": "The Shortcut", + "nb": "Snarveien", + "nn": "Snarvegen" + }, + "sector": null, + "status": null, + "validTo": "9999-12-31T23:59:59.997", + "homepage": null, + "isPartOf": null, + "keywords": null, + "validFrom": "2020-03-04T18:04:27.27", + "identifier": "appid-403", + "isComplete": false, + "description": null, + "resourceType": "MaskinportenSchema", + "thematicArea": null, + "isPublicService": true, + "rightDescription": { + "en": "Gives access to shortcuts.", + "nb": "Gir tilgang til snarveier.", + "nn": "Gir tilgang til snarveger." + }, + "resourceReferences": [ + { + "reference": "8f08210a-d792-48f5-9e27-0f029e41111e", + "referenceType": "DelegationSchemeId", + "referenceSource": "Altinn2" + }, + { + "reference": "nav:paa/v1/snartenkt", + "referenceType": "MaskinportenScope", + "referenceSource": "Altinn2" + }, + { + "reference": "AppId:400", + "referenceType": "ServiceCode", + "referenceSource": "Altinn2" + }, + { + "reference": "1", + "referenceType": "ServiceEditionCode", + "referenceSource": "Altinn2" + } + ], + "hasCompetentAuthority": { + "orgcode": "PAA", + "organization": "985399077", + "name": { + "en": "DEPARTMENT OF HUMBUG", + "nb": "PÅFUNNSETATEN", + "nn": "PÅFUNNSETATEN" + } + } +}