Skip to content

Commit d0eb7ff

Browse files
Update chap-scheduler-conf.adoc: Fix the URI for schedulers (#156)
Co-authored-by: Maxim Thomas <maxim.thomas@gmail.com>
1 parent 1df435f commit d0eb7ff

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

openidm-doc/src/main/asciidoc/integrators-guide/chap-scheduler-conf.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
information: "Portions copyright [year] [name of copyright owner]".
1313

1414
Copyright 2017 ForgeRock AS.
15-
Portions Copyright 2024-2025 3A Systems LLC.
15+
Portions Copyright 2024-2026 3A Systems LLC.
1616
////
1717
1818
:figure-caption!:
@@ -353,7 +353,7 @@ $ curl \
353353
}
354354
}
355355
}' \
356-
"https://localhost:8443/openidm/scheduler/testlog-schedule"
356+
"https://localhost:8443/openidm/scheduler/job/testlog-schedule"
357357
{
358358
"type": "cron",
359359
"invokeService": "script",
@@ -394,7 +394,7 @@ $ curl \
394394
}
395395
}
396396
}' \
397-
"https://localhost:8443/openidm/scheduler?_action=create"
397+
"https://localhost:8443/openidm/scheduler/job?_action=create"
398398
{
399399
"type": "cron",
400400
"invokeService": "script",
@@ -426,7 +426,7 @@ $ curl \
426426
--header "X-OpenIDM-Username: openidm-admin" \
427427
--header "X-OpenIDM-Password: openidm-admin" \
428428
--request GET \
429-
"https://localhost:8443/openidm/scheduler/d6d1b256-7e46-486e-af88-169b4b1ad57a"
429+
"https://localhost:8443/openidm/scheduler/job/d6d1b256-7e46-486e-af88-169b4b1ad57a"
430430
{
431431
"_id": "d6d1b256-7e46-486e-af88-169b4b1ad57a",
432432
"schedule": "0/1 * * * * ?",
@@ -479,15 +479,15 @@ $ curl \
479479
}
480480
}
481481
}' \
482-
"https://localhost:8443/openidm/scheduler/d6d1b256-7e46-486e-af88-169b4b1ad57a"
482+
"https://localhost:8443/openidm/scheduler/job/d6d1b256-7e46-486e-af88-169b4b1ad57a"
483483
null
484484
----
485485
486486
487487
[#listing-schedules]
488488
==== Listing Configured Schedules
489489
490-
To display a list of all configured schedules, query the `openidm/scheduler` context path as shown in the following example:
490+
To display a list of all configured schedules, query the `openidm/scheduler/job` context path as shown in the following example:
491491
492492
[source, console]
493493
----
@@ -496,7 +496,7 @@ $ curl \
496496
--header "X-OpenIDM-Username: openidm-admin" \
497497
--header "X-OpenIDM-Password: openidm-admin" \
498498
--request GET \
499-
"https://localhost:8443/openidm/scheduler?_queryId=query-all-ids"
499+
"https://localhost:8443/openidm/scheduler/job?_queryId=query-all-ids"
500500
{
501501
"remainingPagedResults": -1,
502502
"pagedResultsCookie": null,
@@ -527,7 +527,7 @@ $ curl \
527527
--header "X-OpenIDM-Username: openidm-admin" \
528528
--header "X-OpenIDM-Password: openidm-admin" \
529529
--request DELETE \
530-
"https://localhost:8443/openidm/scheduler/d6d1b256-7e46-486e-af88-169b4b1ad57a"
530+
"https://localhost:8443/openidm/scheduler/job/d6d1b256-7e46-486e-af88-169b4b1ad57a"
531531
null
532532
----
533533
@@ -546,7 +546,7 @@ $ curl \
546546
--header "X-OpenIDM-Username: openidm-admin" \
547547
--header "X-OpenIDM-Password: openidm-admin" \
548548
--request POST \
549-
"http://localhost:8080/openidm/scheduler?_action=listCurrentlyExecutingJobs"
549+
"http://localhost:8080/openidm/scheduler/job?_action=listCurrentlyExecutingJobs"
550550
[
551551
{
552552
"concurrentExecution": false,
@@ -585,7 +585,7 @@ $ curl \
585585
--header "X-OpenIDM-Username: openidm-admin" \
586586
--header "X-OpenIDM-Password: openidm-admin" \
587587
--request POST \
588-
"https://localhost:8443/openidm/scheduler?_action=pauseJobs"
588+
"https://localhost:8443/openidm/scheduler/job?_action=pauseJobs"
589589
{
590590
"success": true
591591
}
@@ -606,7 +606,7 @@ $ curl \
606606
--header "X-OpenIDM-Username: openidm-admin" \
607607
--header "X-OpenIDM-Password: openidm-admin" \
608608
--request POST \
609-
"https://localhost:8443/openidm/scheduler?_action=resumeJobs"
609+
"https://localhost:8443/openidm/scheduler/job?_action=resumeJobs"
610610
{
611611
"success": true
612612
}

0 commit comments

Comments
 (0)