-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Loes Immens <[email protected]>
- Loading branch information
1 parent
59173dd
commit b636aa3
Showing
24 changed files
with
145 additions
and
191 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
application/src/integrationTest/kotlin/org/gxf/crestdevicesimulator/CoapResourceStub.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
application/src/integrationTest/kotlin/org/gxf/crestdevicesimulator/CoapServerHelpers.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 13 additions & 14 deletions
27
...ication/src/main/kotlin/org/gxf/crestdevicesimulator/configuration/SimulatorProperties.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
// SPDX-FileCopyrightText: Contributors to the GXF project | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package org.gxf.crestdevicesimulator.configuration | ||
|
||
import java.net.URI | ||
import java.time.Duration | ||
import org.eclipse.californium.scandium.dtls.cipher.CipherSuite | ||
import org.springframework.boot.context.properties.ConfigurationProperties | ||
import org.springframework.core.io.Resource | ||
import java.net.URI | ||
import java.time.Duration | ||
|
||
@ConfigurationProperties(prefix = "simulator.config") | ||
class SimulatorProperties( | ||
val uri: URI, | ||
val pskIdentity: String, | ||
val pskKey: String, | ||
val pskSecret: String, | ||
val sleepDuration: Duration, | ||
val scheduledMessage: Resource, | ||
val successMessage: Resource, | ||
val failureMessage: Resource, | ||
val rebootSuccessMessage: Resource, | ||
val produceValidCbor: Boolean, | ||
val cipherSuites: List<CipherSuite> | ||
val uri: URI, | ||
val pskIdentity: String, | ||
val pskKey: String, | ||
val pskSecret: String, | ||
val sleepDuration: Duration, | ||
val scheduledMessage: Resource, | ||
val successMessage: Resource, | ||
val failureMessage: Resource, | ||
val rebootSuccessMessage: Resource, | ||
val produceValidCbor: Boolean, | ||
val cipherSuites: List<CipherSuite> | ||
) |
1 change: 0 additions & 1 deletion
1
.../src/main/kotlin/org/gxf/crestdevicesimulator/observability/ObservabilityConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
application/src/main/kotlin/org/gxf/crestdevicesimulator/simulator/CborFactory.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...cation/src/main/kotlin/org/gxf/crestdevicesimulator/simulator/data/entity/PreSharedKey.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
...kotlin/org/gxf/crestdevicesimulator/simulator/data/repository/PreSharedKeyCompositeKey.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
// SPDX-FileCopyrightText: Contributors to the GXF project | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package org.gxf.crestdevicesimulator.simulator.data.repository | ||
|
||
import java.io.Serializable | ||
|
||
class PreSharedKeyCompositeKey( | ||
val identity: String?, | ||
val revision: Int? | ||
) : Serializable { | ||
class PreSharedKeyCompositeKey(val identity: String?, val revision: Int?) : Serializable { | ||
constructor() : this(null, null) | ||
} |
1 change: 0 additions & 1 deletion
1
...n/src/main/kotlin/org/gxf/crestdevicesimulator/simulator/data/repository/PskRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.