Skip to content

Commit

Permalink
Fix kamelet entry in catalog #492
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Sep 22, 2020
1 parent ce00982 commit ba00c3a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,11 @@ new File(basedir, "catalog.yaml").withReader {
assert schemes.size() == 1
assert schemes[0].id == 'knative'
}

catalog.spec.artifacts['camel-kamelet'].with {
assert schemes.size() == 1
assert schemes[0].id == 'kamelet'
assert schemes[0].passive == true
assert schemes[0].http == false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,11 @@ new File(basedir, "catalog.yaml").withReader {
assert schemes.size() == 1
assert schemes[0].id == 'knative'
}

catalog.spec.artifacts['camel-kamelet'].with {
assert schemes.size() == 1
assert schemes[0].id == 'kamelet'
assert schemes[0].passive == true
assert schemes[0].http == false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ public void process(MavenProject project, CamelCatalog catalog, CamelCatalogSpec
.artifactId("camel-kamelet")
.addScheme(new CamelScheme.Builder()
.id("kamelet")
.http(true)
.http(false)
.passive(true)
.build())
.addDependencies(
() -> catalog.getRuntimeProvider() instanceof DefaultRuntimeProvider,
Expand Down

0 comments on commit ba00c3a

Please sign in to comment.