Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'gradle'
# checks if updating the generated sources would succeed
- name: clean updateApiModelSources
run: ./gradlew clean updateApiModelSources --no-daemon --info --stacktrace
- name: clean build
run: ./gradlew clean build --no-daemon --info --stacktrace
- name: Publish Test Report
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.1
6.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ data class ContainerUpdateRequest(

/* Memory limit in bytes. */
@Json(name = "Memory")
var memory: kotlin.Long? = 0,
var memory: kotlin.Long? = 0L,

/* Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. */
@Json(name = "CgroupParent")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ data class HostConfig(

/* Memory limit in bytes. */
@Json(name = "Memory")
var memory: kotlin.Long? = 0,
var memory: kotlin.Long? = 0L,

/* Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. */
@Json(name = "CgroupParent")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ data class Limit(

/* Limits the maximum number of PIDs in the container. Set `0` for unlimited. */
@Json(name = "Pids")
var pids: kotlin.Long? = 0
var pids: kotlin.Long? = 0L

)
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ data class Resources(

/* Memory limit in bytes. */
@Json(name = "Memory")
var memory: kotlin.Long? = 0,
var memory: kotlin.Long? = 0L,

/* Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. */
@Json(name = "CgroupParent")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data class ServiceSpecModeReplicatedJob(

/* The maximum number of replicas to run simultaneously. */
@Json(name = "MaxConcurrent")
var maxConcurrent: kotlin.Long? = 1,
var maxConcurrent: kotlin.Long? = 1L,

/* The total number of replicas desired to reach the Completed state. If unset, will default to the value of `MaxConcurrent` */
@Json(name = "TotalCompletions")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ data class TaskSpecPlacement(

/* Maximum number of replicas for per node (default value is 0, which is unlimited) */
@Json(name = "MaxReplicas")
var maxReplicas: kotlin.Long? = 0,
var maxReplicas: kotlin.Long? = 0L,

/* Platforms stores all the platforms that the service's image can run on. This field is used in the platform filter for scheduling. If empty, then the platform filter is off, meaning there are no scheduling restrictions. */
@Json(name = "Platforms")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ data class TaskSpecRestartPolicy(

/* Maximum attempts to restart a given container before giving up (default value is 0, which is ignored). */
@Json(name = "MaxAttempts")
var maxAttempts: kotlin.Long? = 0,
var maxAttempts: kotlin.Long? = 0L,

/* Windows is the time window used to evaluate the restart policy (default value is 0, which is unbounded). */
@Json(name = "Window")
var window: kotlin.Long? = 0
var window: kotlin.Long? = 0L

) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ data class VolumeUsageData(

/* Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") */
@Json(name = "Size")
var propertySize: kotlin.Long = -1,
var propertySize: kotlin.Long = -1L,

/* The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. */
@Json(name = "RefCount")
var refCount: kotlin.Long = -1
var refCount: kotlin.Long = -1L

)
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("org.jetbrains.kotlin.jvm") version "1.7.20" apply false
id("com.google.devtools.ksp") version "1.7.20-1.0.6" apply false
id("org.openapi.generator") version "6.0.1" apply false
id("org.openapi.generator") version "6.2.0" apply false
id("org.jlleitschuh.gradle.ktlint") version "10.3.0" apply false
}

Expand Down