Page History
...
Database modellen er beskrevet i NAS2 - Design og arktitekturbeskrivelse.
DKS-snitflader
Relevante services udstiller deres DKS-snitflade på endpointet "/dks". I skrivende stund findes følgende:
<serverurl>/idlist/service/dks
<serverurl>/subscriptionmanager/service/dks
<serverurl>/pullpointfactory/service/dks
<serverurl>/pullpoint/service/dks
Test af DKS
Efter konfiguration og deployment af NAS2, kan en given DKS-snitfladen testes i stil med følgende:
Code Block | ||
---|---|---|
| ||
curl -i http://localhost:8080/pullpointfactory/service/dks |
Eksempel på output:
Code Block | ||
---|---|---|
| ||
HTTP/1.1 200 OK
Connection: keep-alive
Transfer-Encoding: chunked
Content-Type: text/xml;charset=UTF-8
Date: Thu, 18 Jan 2024 09:28:28 GMT
<?xml version="1.0"?><root xmlns="http://nspop.dk/2014/04" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nspop.dk/2014/04 dks.xsd"> <dksVersion>1</dksVersion> <timestamp>2024-01-18T09:25:06+01:00</timestamp> <name>pullpointfactory</name> <endpoint>http://localhost:8080/pullpointfactory/service</endpoint> <operations> <action name="http://docs.oasis-open.org/wsn/bw-2/CreatePullPoint/CreatePullPointRequest"><model>synchronous_timeout</model><timeoutMillis>120000</timeoutMillis><idCardLevel>VOCES</idCardLevel></action> </operations></root> |