Skip to content

Commit

Permalink
fix(core): seeder id too long
Browse files Browse the repository at this point in the history
  • Loading branch information
edge33 committed Sep 6, 2024
1 parent 7f87938 commit 958281a
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
22 changes: 22 additions & 0 deletions packages/cli/src/commands/database/ogcio/ogcio-seeder-local.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,18 @@
{ "application_id": "ddl4llp30risjwcjymqw3", "organization_id": "second-testing" }
]
},
{
"id": "m2m-ps-sched-writer",
"name": "M2M Public Servant Scheduler Writer",
"description": "Role for M2M Applications that need to write to Scheduler resources",
"specific_permissions": ["scheduler:jobs:write"],
"type": "MachineToMachine",
"related_applications": [
{ "application_id": "bjd8knt92hxslvrfyezp7", "organization_id": "ogcio" },
{ "application_id": "bjd8knt92hxslvrfyezp7", "organization_id": "first-testing" },
{ "application_id": "bjd8knt92hxslvrfyezp7", "organization_id": "second-testing" }
]
},
{
"id": "m2m-e2e-tester",
"name": "M2M E2E Tester Role",
Expand Down Expand Up @@ -230,6 +242,16 @@
"id": "ddl4llp30risjwcjymqw3",
"is_third_party": false
},
{
"name": "M2M Scheduler Writer",
"description": "Machine 2 Machine application used to communicate between services and Scheduler resource",
"type": "MachineToMachine",
"redirect_uri": "",
"logout_redirect_uri": "",
"secret": "scheduler_writer_local_secret",
"id": "bjd8knt92hxslvrfyezp7",
"is_third_party": false
},
{
"name": "M2M E2E Tester",
"description": "Machine 2 Machine application used to do E2E testing",
Expand Down
22 changes: 22 additions & 0 deletions packages/cli/src/commands/database/ogcio/ogcio-seeder-testing.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@
{ "application_id": "tty6llp30risjwcjhbvc9", "organization_id": "second-testing" }
]
},
{
"id": "m2m-ps-sched-writer",
"name": "M2M Public Servant Scheduler Writer",
"description": "Role for M2M Applications that need to schedule tasks using Scheduler resources",
"specific_permissions": ["scheduler:jobs:write"],
"type": "MachineToMachine",
"related_applications": [
{ "application_id": "f7p2k8w5jv4c1rm6xn3q9", "organization_id": "ogcio" },
{ "application_id": "f7p2k8w5jv4c1rm6xn3q9", "organization_id": "first-testing" },
{ "application_id": "f7p2k8w5jv4c1rm6xn3q9", "organization_id": "second-testing" }
]
},
{
"id": "m2m-e2e-tester",
"name": "M2M E2E Tester Role",
Expand Down Expand Up @@ -196,6 +208,16 @@
"id": "tty6llp30risjwcjhbvc9",
"is_third_party": false
},
{
"name": "M2M Scheduler Writer",
"description": "Machine 2 Machine application used to communicate between services and Scheduler resource",
"type": "MachineToMachine",
"redirect_uri": "",
"logout_redirect_uri": "",
"secret": "<SEEDER_M2M_SCHEDULER_APP_SECRET>",
"id": "f7p2k8w5jv4c1rm6xn3q9",
"is_third_party": false
},
{
"name": "M2M E2E Tester",
"description": "Machine 2 Machine application used to do E2E testing",
Expand Down
22 changes: 21 additions & 1 deletion packages/cli/src/commands/database/ogcio/ogcio-seeder.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,17 @@
"related_applications": [
{ "application_id": "tty6llp30risjwcjhbvc9", "organization_id": "ogcio" }
]
}
},
{
"id": "m2m-ps-sched-writer",
"name": "M2M Public Servant Scheduler Writer",
"description": "Role for M2M Applications that need to schedule tasks using Scheduler resources",
"specific_permissions": ["scheduler:jobs:write"],
"type": "MachineToMachine",
"related_applications": [
{ "application_id": "d5q7l2m9r3w1x6bp8cv0j", "organization_id": "ogcio" }
]
}
],
"applications": [
{
Expand Down Expand Up @@ -198,6 +208,16 @@
"id": "tty6llp30risjwcjhbvc9",
"is_third_party": false
},
{
"name": "M2M Scheduler Writer",
"description": "Machine 2 Machine application used to communicate between services and Scheduler resource",
"type": "MachineToMachine",
"redirect_uri": "",
"logout_redirect_uri": "",
"secret": "<SEEDER_M2M_SCHEDULER_APP_SECRET>",
"id": "d5q7l2m9r3w1x6bp8cv0j",
"is_third_party": false
},
{
"name": "M2M Management APIs",
"description": "Machine 2 Machine application used to communicate with the Logto Management APIs",
Expand Down

0 comments on commit 958281a

Please sign in to comment.