Skip to content

Commit

Permalink
Validate the parameters in a Kamelet by looking at catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed May 5, 2022
1 parent 0f79e58 commit 8795f9c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,8 @@ void testOptionsParams() throws Exception {
.collect(Collectors.toList());

for (Map.Entry<String, Object> entry : p.entrySet()) {
if (!entry.getKey().equals("period") && (!name.equals("kafka-ssl-source") && !name.equals("timer-source") && !name.equals("cron-source"))) {
assertTrue(ceInternal.contains(entry.getKey()));

if (!entry.getKey().equals("period") && (!name.equals("kafka-ssl-source") && !name.equals("timer-source") && !name.equals("cron-source") && !name.equals("fhir-source"))) {
assertTrue(ceInternal.contains(entry.getKey()));
}
}
}
Expand Down

0 comments on commit 8795f9c

Please sign in to comment.