structurizr / onpremises

Structurizr on-premises installation
https://docs.structurizr.com/onpremises
MIT License
117 stars 45 forks source link

Can't create more than 537 workspaces #108

Closed iowaz closed 2 weeks ago

iowaz commented 3 months ago

Description

I'm having a really od issue - for some reason, I can't create more than 537 workspaces and can't find a reason - the POST endpoint returns 200 in status code and the JSON body expected, but the workspace ID doesn't change (the Key and Secret does).

Steps to reproduce

1 - Make a cURL to the admin API, like that: curl --location --request POST '(your domain)/api/workspace' \ --header 'X-Authorization: (your admin key)' 2 - Make another equal cURL and sees the same workspace ID (for some od reason on the 537 number)

Screenshot

Captura de Tela 2024-04-05 às 13 48 51

Code sample

No response

Configuration

Build 2024.03.03

Severity

Major

Priority

I'm willing to fix this myself and raise a PR (please confirm approach first)

More information

No response

iowaz commented 3 months ago

I tried deleting the workspace with ID 537 and 536 - the API recreates both and locks again in 537

iowaz commented 3 months ago

image Well... I deleted all my workspaces with the DELETE method (I don't use archiving) - now I'm locked in the workspace ID 550.

The return of the cURL post method: image