Skip to content

Commit

Permalink
Added a Catalog Method showing the supported headers (specific for co…
Browse files Browse the repository at this point in the history
…nsumer, producer and common) for a Kamelet - Google Mail

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Oct 17, 2022
1 parent 2795295 commit 47a7b62
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,7 @@ void testSupportedHeaders() throws Exception {
assertEquals(1, headersGoogleCalendarSource.size());
List<ComponentModel.EndpointHeaderModel> headersGoogleFunctionsSink = catalog.getKameletSupportedHeaders("google-functions-sink");
assertEquals(5, headersGoogleFunctionsSink.size());
List<ComponentModel.EndpointHeaderModel> headersGoogleMailSource = catalog.getKameletSupportedHeaders("google-mail-source");
assertEquals(6, headersGoogleMailSource.size());
}
}

0 comments on commit 47a7b62

Please sign in to comment.