You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/08/19 17:51:35 UTC
[camel-k] 03/03: Not used resources (integrations) were deleted
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 2f03e965d27bd2575c2dd55893d413cdfe407d27
Author: Vladislav Sokolovskii <vs...@redhat.com>
AuthorDate: Thu Aug 19 15:09:19 2021 +0200
Not used resources (integrations) were deleted
---
e2e/common/files/RestConsumer.java | 29 -----------------------------
e2e/common/files/RestProducer.groovy | 19 -------------------
e2e/common/files/cron-fallback.groovy | 23 -----------------------
e2e/common/files/cron-quartz.groovy | 23 -----------------------
e2e/common/files/cron-timer.groovy | 23 -----------------------
e2e/common/files/cron.groovy | 23 -----------------------
6 files changed, 140 deletions(-)
diff --git a/e2e/common/files/RestConsumer.java b/e2e/common/files/RestConsumer.java
deleted file mode 100644
index bcdfbdb..0000000
--- a/e2e/common/files/RestConsumer.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class RestConsumer extends RouteBuilder {
- @Override
- public void configure() throws Exception {
-
- rest("/customers")
- .get("/{name}").to("direct:start");
-
- from("direct:start").log("get ${header.name}").setBody(simple("${header.name} Doe"));
- }
-}
diff --git a/e2e/common/files/RestProducer.groovy b/e2e/common/files/RestProducer.groovy
deleted file mode 100644
index 42e3e19..0000000
--- a/e2e/common/files/RestProducer.groovy
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-from('timer:tick').to('http:{{serviceName}}/customers/{{name}}')
- .log('${body}')
diff --git a/e2e/common/files/cron-fallback.groovy b/e2e/common/files/cron-fallback.groovy
deleted file mode 100644
index ae2c5d9..0000000
--- a/e2e/common/files/cron-fallback.groovy
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-from('cron:tab?schedule=0/1+*+*+*+*+?')
- .routeId('groovy')
- .setHeader("m").constant("string!")
- .setBody()
- .simple('Magic${header.m}')
- .to('log:info?showAll=false')
diff --git a/e2e/common/files/cron-quartz.groovy b/e2e/common/files/cron-quartz.groovy
deleted file mode 100644
index f1c41bb..0000000
--- a/e2e/common/files/cron-quartz.groovy
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-from('quartz:trigger?cron=0/1+*+*+*+*+?')
- .routeId('groovy')
- .setHeader("m").constant("string!")
- .setBody()
- .simple('Magic${header.m}')
- .to('log:info?showAll=false')
diff --git a/e2e/common/files/cron-timer.groovy b/e2e/common/files/cron-timer.groovy
deleted file mode 100644
index 71edffe..0000000
--- a/e2e/common/files/cron-timer.groovy
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-from('timer:tick?period=60000')
- .routeId('groovy')
- .setHeader("m").constant("string!")
- .setBody()
- .simple('Magic${header.m}')
- .to('log:info?showAll=false')
diff --git a/e2e/common/files/cron.groovy b/e2e/common/files/cron.groovy
deleted file mode 100644
index dbc26bc..0000000
--- a/e2e/common/files/cron.groovy
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-from('cron:tab?schedule=*+*+*+*+?')
- .routeId('groovy')
- .setHeader("m").constant("string!")
- .setBody()
- .simple('Magic${header.m}')
- .to('log:info?showAll=false')