Skip to content

URL Rewriting#41

Merged
evg4b merged 15 commits into
developfrom
url-rewriting
Dec 26, 2024
Merged

URL Rewriting#41
evg4b merged 15 commits into
developfrom
url-rewriting

Conversation

@evg4b
Copy link
Copy Markdown
Owner

@evg4b evg4b commented Dec 25, 2024

Added ability to rewrite some requests to different paths and hosts

mappings:
  - from: http://localhost
    to: https://github.com
    rewrite:
      - from: /demo/path/{test}/format/json
        to: /json-formatter/examples/{test}.json
        host: https://callumlocke.com
      - from: /fake
        to: /manifest.json

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
45.9% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@evg4b evg4b merged commit dbf71ed into develop Dec 26, 2024
@evg4b evg4b deleted the url-rewriting branch December 26, 2024 14:37
evg4b added a commit that referenced this pull request Dec 26, 2024
* Added configuration struct

* Updated json shema

* Added validators

* Created base handler

* Added draft

* Fixed tests

* Changed rewrite method

* Added correct log events

* Added tests

* Fixed linter issues

* Updated git ignore

* Rename rewrite to rewrites

* Updated readme

* Fixed validators

* Added test
@evg4b evg4b added the enhancement New feature or request label Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant