Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Delegated routing with custom configuration. #9274

Merged
merged 19 commits into from
Sep 22, 2022

Conversation

ajnavarro
Copy link
Member

@ajnavarro ajnavarro commented Sep 13, 2022

New multi-router configuration system based on https://hackmd.io/G1KRDEX5T3qyfoBMkIrBew#Methods

  • Added a new routing type: "custom"
  • Added specific struct types for different Routers (instead of map[string]interface{})
  • Added Duration config type, to make easier time string parsing
  • Added config documentation.
  • Use the latest go-delegated-routing library version with GET support.
  • Added changelog notes for this feature.

It:

go.mod Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
config/types.go Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
routing/delegated.go Outdated Show resolved Hide resolved
routing/delegated.go Show resolved Hide resolved
@ajnavarro ajnavarro force-pushed the feature/delegated-routing-v2 branch 2 times, most recently from 79961eb to 98a7acf Compare September 21, 2022 19:11
@BigLep
Copy link
Contributor

BigLep commented Sep 22, 2022

@ajnavarro : I don't think we should say "closes #9150" since that issue is done when reframe is used in Kubo in production. This PR is an important step but not the end.

@ajnavarro
Copy link
Member Author

@BigLep removed that issue from the list.

Signed-off-by: Antonio Navarro Perez <[email protected]>
Signed-off-by: Antonio Navarro Perez <[email protected]>
Signed-off-by: Antonio Navarro Perez <[email protected]>
Signed-off-by: Antonio Navarro Perez <[email protected]>
@ajnavarro ajnavarro force-pushed the feature/delegated-routing-v2 branch 2 times, most recently from 1f890c9 to 5307ed1 Compare September 22, 2022 11:30
@ajnavarro ajnavarro merged commit d1b9e41 into master Sep 22, 2022
@ajnavarro ajnavarro deleted the feature/delegated-routing-v2 branch September 22, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
3 participants