Hi, community,

I'm having some problems pushing the `traffic-split` plugin
UI form forward, it's very complex data types and the
`traffic-split` plugin experience isn't user friendly with the
UI form structure we have now, any suggestions?

This is its data type:
```
"rules": [
{
"match": [
{
"vars": [
["http_release","==","new_release"]
]
}
],
"weighted_upstreams": [
{
"upstream": {
"name": "upstream_A",
"type": "roundrobin",
"nodes": {
"127.0.0.1:1981":10
}
}
}
]
}
]
```

Baoyuan <baoyuan....@gmail.com> 于2022年1月18日周二 09:41写道:

> It is indeed a good way to get things done once and for all, but
> compatibility is a key consideration.
> This tool may be able to help us[1].
>
> [1] https://procomponents.ant.design/en-US/components/schema-form
>
> Bozhong Yu <imbozh...@gmail.com> 于2022年1月18日周二 09:03写道:
>
> > That sounds good, we really need more plugin ui form.
> >
> > Tsangleslie <leslie.ts...@icloud.com.invalid> 于2022年1月17日周一 17:11写道:
> >
> > > Like jsonschema to form <https://github.com/gcanti/tcomb-json-schema>
> > [1]
> > > ?
> > > I'm not familiar with the front-end, it sounds like a good decoupled
> > > solution to me.
> > >
> > > [1] https://github.com/gcanti/tcomb-json-schema <
> > > https://github.com/gcanti/tcomb-json-schema>
> > >
> > > Leslie Tsang
> > > leslie.ts...@icloud.com
> > >
> > > > On 17 Jan 2022, at 4:31 PM, Zeping Bai <bzp2...@apache.org> wrote:
> > > >
> > > > Can we consider data-driven form generation where we can write
> > > > some json to generate the form? This will help with ongoing
> > > > maintenance and expand coverage.
> > > >
> > > > Qi Guo <guoq...@gmail.com> 于2022年1月17日周一 14:49写道:
> > > >
> > > >> Hi community
> > > >>
> > > >> I recently saw a discussion at
> > > >> https://github.com/apache/apisix/discussions/6090 about adding UI
> > form
> > > >> configurations to plugins. Regarding `apisix-dashboard` we currently
> > > only
> > > >> support 8 UI forms, I think we should keep pushing them. I would
> like
> > to
> > > >> move forward with the development of the `traffic-split`,
> > `authz-casbin`
> > > >> and other plugin UI forms. In the process, I plan to find some new
> > > >> contributors to help them out and guide them to join our community
> > > instead
> > > >> of developing them myself.
> > > >>
> > > >> First, I would like to try to complete the `traffic-split` and
> > > >> `authz-casbin`
> > > >>
> > > >> What do you think?
> > > >>
> > > >> Best regards!
> > > >>
> > >
> > >
> >
>

Reply via email to