Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

chore: update Nordea test endpoint #99

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ A simple script is made to do the generation based on the banker.csv file and th

## Run cli script

```shell
````shell
% poetry shell
% dsop_api_spesifikasjoner --help

Expand All @@ -62,10 +62,10 @@ Alternatively you can use `poetry run`:

```shell
% poetry run dsop_api_spesifikasjoner --help
```
````

Example:

```shell
% dsop_api_spesifikasjoner -d specs template/Accounts\ API\ openapi\ v1.0.0.yaml banker.csv
% dsop_api_spesifikasjoner -d specs template/Accounts\ API\ openapi\ v1.0.0.yaml banker.csv true
```
2 changes: 1 addition & 1 deletion banker.csv
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ OrgNummer,Navn,Filnavn,EndepunktProduksjon,EndepunktTest,Id,TestId
944521836,SPAREBANK 1 BV,Sparebank1_944521836_Accounts-API.json,https://api.sparebank1.no/dsopaccountcontrolinfo/v2/AccountControlInfoService/v2/944521836,https://api-test.sparebank1.no/dsopaccountcontrolinfo/v2/AccountControlInfoService/v2/944521836,8887f1d014cdc46a69e56931e6c7beb149decdeb,1c787e11a1cdb72f3bac222ba8b6c496ec5834bd
952706365,SPAREBANK 1 NORD-NORGE,Sparebank1_952706365_Accounts-API.json,https://api.sparebank1.no/dsopaccountcontrolinfo/v2/AccountControlInfoService/v2/952706365,https://api-test.sparebank1.no/dsopaccountcontrolinfo/v2/AccountControlInfoService/v2/952706365,1b4c6967dfab77eb9313ed50b42ab5ee351ed486,43934944d65062f8b440f4224ad2a753a1da4a42
984851006,DNB,DNB_984851006_Accounts-API.json,https://publicsector.dnb.no/v1,https://test.publicsector.dnb.no/v1,8b34e3adde194a6bc2e04f9dc4c9aa89395f58c0,fe6ca588a126e516561670598d3ebfbfbea24f5a
920058817,"Nordea Bank Abp, filial i Norge",Nordea_Bank_Abp_920058817_Accounts-API.json,https://RB-DSOP-ARC642-NO-prod-extranet.nordea.com:9040/v1,https://RB-DSOP-ARC642-NO-test01-extranet.test.nordea.com:9040/v1,4a2b8b10aa0d703156a750ebd467f13734be8953,2d337c3e4377ef8634d92ff6070c139f7b8d0cf9
920058817,"Nordea Bank Abp, filial i Norge",Nordea_Bank_Abp_920058817_Accounts-API.json,https://RB-DSOP-ARC642-NO-prod-extranet.nordea.com:9040/v1,https://rb-dsop-arc642-no-test01-extranet.test.nordea.com:9040/v2,4a2b8b10aa0d703156a750ebd467f13734be8953,2d337c3e4377ef8634d92ff6070c139f7b8d0cf9
998997801,"Morrow Bank ASA",Morrow_Bank_ASA_998997801_Accounts-API.json,https://eoppslag.online.komplettbank.no/v1,https://eoppslag.onlineservices.komplettbank.no/pp/v1,9810a14ef6a116402c22b2da67362f05fc3d8c60,2ecc51698f6fd8d23981512564a8b7111fff49cb
937905378,"Sparebank 68 grader Nord",Sparebank_68_grader_Nord_937905378_Accounts-API.json,https://api-proxy.sdc.dk/api/dsop-accounts-api/v1/banks/937905378,https://api-proxy.test.sdc.dk/api/dsop-accounts-api/v1/banks/937905378,4195429bf2b076d55e45953bc815902c03f94fb6,88bf15ccd83adbf8ebe7a02759ae57b2db4abb4d
937894538,"Sparebanken Sør",Sparebanken_Sor_937894538_Accounts-API.json,https://bf-esb-internet.edb.com/secesb/rest/era-dsop/v1/2844,https://esb-internet.preprod.evry.com/secesb/rest/era-dsop/v1/2844,4dd129f65f41e4dd987347e77f704643f2d8d7dc,7276aa05aca2e6dda3cba27a15ecfa50a1fb494d
Expand Down
2 changes: 1 addition & 1 deletion specs/rdf/dsop_catalog_test.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
dct:publisher <https://organization-catalog.fellesdatakatalog.digdir.no/organizations/920058817> ;
dct:title "Accounts API Nordea Bank Abp, filial i Norge"@en ;
dcat:endpointDescription <https://raw.githubusercontent.com/Informasjonsforvaltning/dsop-api-spesifikasjoner/master/specs/test/Nordea_Bank_Abp_920058817_Accounts-API.json> ;
dcat:endpointURL <https://RB-DSOP-ARC642-NO-test01-extranet.test.nordea.com:9040/v1> ;
dcat:endpointURL <https://rb-dsop-arc642-no-test01-extranet.test.nordea.com:9040/v2> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/jose>,
<https://www.iana.org/assignments/media-types/application/json> .

Expand Down
2 changes: 1 addition & 1 deletion specs/test/Nordea_Bank_Abp_920058817_Accounts-API.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"servers": [
{
"url": "https://RB-DSOP-ARC642-NO-test01-extranet.test.nordea.com:9040/v1",
"url": "https://rb-dsop-arc642-no-test01-extranet.test.nordea.com:9040/v2",
"description": "test"
}
],
Expand Down
1 change: 1 addition & 0 deletions src/dsop_api_spesifikasjoner/generateSpecification.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for generate openAPI specifications."""

import copy
import csv
import json
Expand Down
Loading