Versions Compared

Key

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

...

To add it to the truststore, use F12, convert, conver certificate file to clientConfig.keystore, like shown on the image. This has to be done only one time.


Image RemovedImage Added


Configuration example:

The Dinagua service has different sources, including: DINAGUA, CTM, UTE. Different locations belong to different services. If data is required from different services, a seperate import should be configuredfor each source, as show below.

Connection timeout should be configured.

Please note, names of parameters may also vary per source,.

Code Block
languagexml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd">
   <import>
      <general>
         <importType>UyDinagua</importType>
         <serverUrl>https://app.mvotma.gub.uy/dinaguaws/dinaguaws.dinaguawsHttpSoap11Endpoint/</serverUrl>
<!--         this field is not used, but it is necessary to be able to configure connection timout-->
         <backupServerUrl>url</backupServerUrl>
<!--         if this field is not configured,  <user>USERNAME<it will be set at 2000 automatically. -->
         <connectionTimeOutMillis>100000</connectionTimeOutMillis>
         <user>dummy_username</user>
         <password>PASSWORD<<password>dummy_password</password>
         <relativeViewPeriod unit="day" start="-3" end="0" startOverrulable="true" endOverrulable="true"/>
         <idMapId>UyDinaguaMap</idMapId>
      </general>
      <properties>
         <string key="Source" value="DINAGUA"></string>
      </properties>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter1</parameterId>
         <locationId>LocB</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter2</parameterId>
         <locationId>LocB</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
   </import>
   <import>
      <general>
         <importType>UyDinagua</importType>
         <serverUrl>https://app.mvotma.gub.uy/dinaguaws/dinaguaws.dinaguawsHttpSoap11Endpoint/</serverUrl>
<!--         this field is not used, but it  <user>USERNAME<is necessary to be able to configure connection timout-->
         <backupServerUrl>url</backupServerUrl>
<!--         if this field is not configured, it will be set at 2000 automatically. -->
         <connectionTimeOutMillis>100000</connectionTimeOutMillis>
         <user>dummy_username</user>
         <password>PASSWORD<<password>dummy_password</password>
         <relativeViewPeriod unit="day" start="-3" end="0" startOverrulable="true" endOverrulable="true"/>
         <idMapId>UyDinaguaMap</idMapId>
      </general>
      <properties>
         <string key="Source" value="CTM"></string>
      </properties>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter1</parameterId>
         <locationSetId>CTMLocations</locationSetId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter2</parameterId>
         <locationSetId>CTMLocations</locationSetId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
   </import>
</timeSeriesImportRun> 

...