Skip to content

Commit

Permalink
ATL-6775: integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Bassam Riman <[email protected]>
  • Loading branch information
CryptoKnightIOG committed Apr 30, 2024
1 parent a002269 commit 9509320
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 2 deletions.
4 changes: 4 additions & 0 deletions cloud-agent/client/kotlin/.openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ src/main/kotlin/org/hyperledger/identus/client/models/ServiceType.kt

src/main/kotlin/org/hyperledger/identus/client/models/StatusPurpose.kt
src/main/kotlin/org/hyperledger/identus/client/models/CredentialSubject.kt

src/main/kotlin/org/hyperledger/identus/client/models/DateTimeParameter.kt
src/main/kotlin/org/hyperledger/identus/client/models/DidParameter.kt
src/main/kotlin/org/hyperledger/identus/client/models/VcVerificationParameter.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package org.hyperledger.identus.client.models


import com.google.gson.annotations.SerializedName

/**
*
*
* @param dateTime
*/


data class DateTimeParameter : VcVerificationParameter(dateTime, null) (

@SerializedName("dateTime")
val dateTime: java.time.OffsetDateTime

)

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package org.hyperledger.identus.client.models


import com.google.gson.annotations.SerializedName

/**
*
*
* @param aud
*/


data class DidParameter : VcVerificationParameter(null, aud)(

@SerializedName("aud")
val aud: kotlin.String

)

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package org.hyperledger.identus.client.models

import org.hyperledger.identus.client.models.DateTimeParameter
import org.hyperledger.identus.client.models.DidParameter

import com.google.gson.annotations.SerializedName

/**
*
*
* @param dateTime
* @param aud
*/


open class VcVerificationParameter (

@SerializedName("dateTime")
val dateTime: java.time.OffsetDateTime? = null,

@SerializedName("aud")
val aud: kotlin.String? = null
)

Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class VcVerificationSteps {
ParameterizableVcVerification(VcVerification.SIGNATURE_VERIFICATION),
ParameterizableVcVerification(
VcVerification.NOT_BEFORE_CHECK,
DateTimeParameter(OffsetDateTime.now()) as VcVerificationParameter,
DateTimeParameter(OffsetDateTime.now()),
),
ParameterizableVcVerification(
VcVerification.EXPIRATION_CHECK,
DateTimeParameter(OffsetDateTime.now()) as VcVerificationParameter,
DateTimeParameter(OffsetDateTime.now()),
),
),
),
Expand Down

0 comments on commit 9509320

Please sign in to comment.