0

We have enhanced SCDF application starter (Filter processor) adding just a library and rebuilt it. After the enhancement the expression property does not work at all. Could you please elaborate what we might have missed? For the modification we followed the following:

How to patch spring cloud data flow starter application (add oracle driver to jdbc-source app)

marios390
  • 93
  • 1
  • 6
  • More precisely I have rebuilt both filter-function and filter-processor before generating the binder app. – marios390 Aug 24 '22 at 10:42
  • What is a symptom that you indicate it does not work? – Artem Bilan Aug 25 '22 at 19:20
  • Basically it does nothing. It seems that "expression" functionality is not enabled at all without throwing any exceptions. – marios390 Aug 31 '22 at 07:44
  • Artem , do u think I might missing something during the build phase of filter app? – marios390 Aug 31 '22 at 07:45
  • 1
    Maybe you can share with us what you have so far in the end and we can run your solution to reproduce? – Artem Bilan Aug 31 '22 at 10:57
  • Artem, you can use the following public repo to pull the modified filter app. Please try to apply expression in order to test. Thanks. https://gallery.ecr.aws/u8w2v2j0/public/filter-rs2 – marios390 Sep 06 '22 at 07:04
  • @ArtemBilan Did u get the chance to look at that image? – marios390 Oct 11 '22 at 12:45
  • Sorry, I did not. Now I have looked into that and I cannot understand what is that AWS stuff. Why cannot you share a GH repo with just source code and instructions what to do to reproduce? – Artem Bilan Oct 11 '22 at 15:24
  • Either way, I think you are missing this stuff to do on your custom artifact: https://dataflow.spring.io/docs/applications/application-metadata/#creating-metadata-artifacts – Artem Bilan Oct 11 '22 at 15:25
  • Whenever I've seen it do nothing, is when spring.cloud.function.definition doesn't match any defined beans. Easy to check by adding a log message when the bean is initialize. – fiidim Oct 11 '22 at 22:29

0 Answers0