[
https://issues.apache.org/jira/browse/CAMEL-12183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337053#comment-16337053
]
ASF GitHub Bot commented on CAMEL-12183:
----------------------------------------
oscerd commented on a change in pull request #2190: CAMEL-12183: add support
for Wordpress REST API
URL: https://github.com/apache/camel/pull/2190#discussion_r163468511
##########
File path:
components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/config/WordpressEndpointConfiguration.java
##########
@@ -0,0 +1,98 @@
+/**
+ * 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.
+ */
+package org.apache.camel.component.wordpress.config;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.spi.UriParam;
+import org.apache.camel.spi.UriParams;
+import org.apache.camel.util.IntrospectionSupport;
+import org.wordpress4j.model.SearchCriteria;
+
+@UriParams
+public class WordpressEndpointConfiguration extends
WordpressComponentConfiguration {
Review comment:
Is there a particular reason to have two different configuration?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add support for Wordpress REST API
> ----------------------------------
>
> Key: CAMEL-12183
> URL: https://issues.apache.org/jira/browse/CAMEL-12183
> Project: Camel
> Issue Type: New Feature
> Reporter: Ricardo Zanini
> Priority: Major
> Labels: camel-wordpress, rest
>
> Wordpress is on 29% of the web, meaning that there are a lot of people over
> there looking for integration with their systems. I can think of use cases
> like users synchronization with other data sources, automatic post,
> migrations, reports creations and so on. Although where it could be really
> shine is on e-commerce web sites built on top of Wordpress. Camel could
> integrate the e-commerce platform with a CRM or an ERP, for example. Anyway,
> I think this component may see many uses.
> [I'm already on it|https://github.com/m88i/camel-wordpress] and should send a
> PR in a couple hours.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)