Skip to content

Fix "HTTP/1.1 301 Moved Permanently" failures and replaced deprecated modules. #68

@kaladay

Description

@kaladay

In our local environment, valid "HTTP/1.1 301 Moved Permanently" responses are returned.
These are being treated as errors.

As an example, a request to http://localhost:9001/workflow/triggers might get redirected to http://localhost:9001/workflow/triggers/.

This needs to be supported.

Either add a way to automatically append a / or properly handle the permanent (or temporary) redirect.

The uuid module needs to be upgraded to at least a 7.0.0 version and must be manually added as a direct dependency.

This seems to have worked but there are problems when talking to mod-workflow:

Yarn documents that the following is a stub and should not be directly included:
"@types/commander": "2.12.2",

Changing to Spring Boot 3 results in the redirects going away (but the lack of redirect support in fw-cli still exists even if mod-workflow is not using redirects for / ending paths).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions