...
Info |
---|
Kryptering av consumerSecret consumerSecret kan med fördel krypteras. I Weave OSGI console, använd kommandot
|
Code Block | ||
---|---|---|
| ||
<!-- Enkel anslutning till Lantmäteriet-->
<lmsource:config id="lmsource.main.simple">
<host>https://api-ver.lantmateriet.se</host> <!-- Notera api-ver är testmiljö -->
<consumerKey>yourConsumerKeyGoesHere</consumerKey>
<consumerSecret>ENCUFMECJTEXCTCBSXJBBFAFEQQQSPSUUZPSGEJSEGZXUPCXJTTSUCKJMPTXEKBQSUK</consumerSecret>
</lmsource:config>
<!-- Anslutning med mer konfiguration till Lantmäteriet-->
<lmsource:config id="lmsource.main">
<host>https://api.lantmateriet.se</host>
<consumerKey>yourConsumerKeyGoesHere</consumerKey>
<consumerSecret>ENCUFMECJTEXCTCBSXJBBFAFEQQQSPSUUZPSGEJSEGZXUPCXJTTSUCKJMPTXEKBQSUK</consumerSecret>
<scope>device_weave1</scope>
<timeout>15</timeout>
<disableTests>false</disableTests>
<testInterval>60000</testInterval>
<testIntervalWhileFailing>15000</testIntervalWhileFailing>
<testFailingDuration>300000</testFailingDuration>
<testIntervalWhenFailed>600000</testIntervalWhenFailed>
</lmsource:config> |