Add end date support for Repeating schedule. Added tests

This commit is contained in:
zlawrence
2022-12-13 12:53:05 +01:00
parent 37bf73c7fe
commit 8ba4d19c35
5 changed files with 79 additions and 16 deletions

View File

@ -55,8 +55,8 @@ spec:
format: date-time
type: string
durationMinutes:
description: The duration in minutes that the configured value
will be returned for the defined schedule.
description: The duration in minutes (default 0) that the configured
value will be returned for the defined schedule.
type: integer
endDate:
description: Defines the ending date of a OneTime schedule.
@ -95,7 +95,6 @@ spec:
type: string
required:
- days
- endTime
- startTime
- timezone
type: object
@ -113,7 +112,6 @@ spec:
format: int64
type: integer
required:
- durationMinutes
- type
- value
type: object

View File

@ -55,8 +55,8 @@ spec:
format: date-time
type: string
durationMinutes:
description: The duration in minutes that the configured value
will be returned for the defined schedule.
description: The duration in minutes (default 0) that the configured
value will be returned for the defined schedule.
type: integer
endDate:
description: Defines the ending date of a OneTime schedule.
@ -95,7 +95,6 @@ spec:
type: string
required:
- days
- endTime
- startTime
- timezone
type: object
@ -113,7 +112,6 @@ spec:
format: int64
type: integer
required:
- durationMinutes
- type
- value
type: object