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 Storage

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Oct 17, 2022
1 parent 3c3216b commit 6716a4d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,9 @@ void testSupportedHeaders() throws Exception {
assertEquals(4, headersGooglePubsubSource.size());
List<ComponentModel.EndpointHeaderModel> headersGoogleSheetsSource = catalog.getKameletSupportedHeaders("google-sheets-source");
assertEquals(6, headersGoogleSheetsSource.size());
List<ComponentModel.EndpointHeaderModel> headersGoogleStorageSource = catalog.getKameletSupportedHeaders("google-storage-source");
assertEquals(20, headersGoogleStorageSource.size());
List<ComponentModel.EndpointHeaderModel> headersGoogleStorageSink = catalog.getKameletSupportedHeaders("google-storage-sink");
assertEquals(13, headersGoogleStorageSink.size());
}
}

0 comments on commit 6716a4d

Please sign in to comment.