Skip to content

Conversation

@andreasvikke
Copy link

Summary

This PR adds support for the SCHEDULED_EVENT action type to the platform_workers_service resource as addressed in #197. The changes include a new schedule block, API model wiring, and an acceptance test. It also updates documentation for acceptance test environment variables and extends the changelog.


Changes

  • platform_workers_service resource

    • Adds "SCHEDULED_EVENT" to the list of valid action values.

    • Extends filter_criteria with an optional schedule block:

      filter_criteria = {
        schedule = {
          cron     = "<cron expression>"
          timezone = "<timezone>" # optional
        }
      }
    • Makes artifact_filter_criteria optional and adds an ExactlyOneOf validator so that either artifact_filter_criteria or schedule is configured (but not both).

  • Adds TestAccWorkersService_Schedule acceptance tests

  • Changes ARTIFACTORY_* to JFROG_* in CONTRIBUTIONS.md

Notes

  • The change is designed to be backwards compatible:

    • Existing configurations using artifact_filter_criteria continue to work.
    • The new schedule block is optional and mutually exclusive with artifact_filter_criteria.

@andreasvikke andreasvikke requested a review from chukka as a code owner November 25, 2025 13:44
@andreasvikke
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@github-actions
Copy link

github-actions bot commented Nov 25, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@andreasvikke andreasvikke force-pushed the feat/worker-schedule-support branch from e1a9f96 to d51ea35 Compare November 25, 2025 14:05
@andreasvikke andreasvikke force-pushed the feat/worker-schedule-support branch from d51ea35 to 49ba8af Compare November 25, 2025 14:05
@andreasvikke
Copy link
Author

@srinivasgowda097 @chukka Would it be possible to take a look at this contribution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant