Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Importeren benytter standard-funktionaliteten til implementering af stamdata-importere. Projektet arver således fra sdm-parent projektet, og anvender funktionaliteten fra sdm-core til parsing, persistering mv. Dette er yderligere dokumenteret her.

Dataformat

TODO

Fejlhåndtering

Importeren forventer at der leveres én xml-fil indeholdende ét element, som indeholder et antal seb-roller formateret som en JSON-liste. Nedenfor er vist et eksempel på dette format.

Wiki Markup
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
  [
    {
      "cvr": "33257872",
      "rid": "37138663",
      "rolename": "nspSundAssistR1",
      "unittype": "sorunits",
      "unit": "0",
      "unitoption": "unitandchildunits"
    },
    {
      "cvr": "33257872",
      "rid": "41542832",
      "rolename": "nspSundAssistR1",
      "unittype": "sorunits",
      "unit": "0",
      "unitoption": "unitandchildunits"
    },
    {
      "cvr": "25450442",
      "rid": "1231593107593",
      "rolename": "nspSundAssistR1",
      "unittype": "sorunits",
      "unit": "0",
      "unitoption": "unitandchildunits"
    }
  ]
</string>


Fejlhåndtering

TODO (noget om reduktioner, håndtering af duplicates)TODO

Statisk konfiguration i property-fil

...