KaotoIO / kaoto-ui

Frontend for the Kaoto project to provide an easy-to-use integration framework based on Apache Camel.
https://www.kaoto.io
Apache License 2.0
89 stars 44 forks source link

Deprecate type parameter in favor of DSL #441

Closed Delawen closed 2 years ago

Delawen commented 2 years ago

https://github.com/KaotoIO/kaoto-backend/pull/66

On this api endpoint: https://kaotoio.github.io/kaoto-backend/api/index.html#api-IntegrationResource-integrationsCustomResourcePost

Use dsl instead of type parameter.

kahboom commented 2 years ago

Some additional info in case someone else takes this on. This is where the property needs to be changed from type to dsl: https://github.com/KaotoIO/kaoto-ui/blob/main/src/api/apiService.ts#L74

I might have missed a place, so please run tests just to ensure that things are still working after that.

@Delawen did you also do this for the deployment endpoint? like this: https://github.com/KaotoIO/kaoto-ui/blob/main/src/api/apiService.ts#L135