This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch hotfix-remove-deprecated-wikipedia-model
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit a3e299903cbf9211d6a22dd1a5396b6465dd4aff
Author: Philipp Zehnder <[email protected]>
AuthorDate: Thu Jul 11 22:29:11 2024 +0200

    refactor: Remove deprecated wikipedia model
---
 .../connect/adapters/wikipedia/model/Length.java   |  51 -----
 .../connect/adapters/wikipedia/model/Meta.java     | 121 ------------
 .../connect/adapters/wikipedia/model/Revision.java |  51 -----
 .../adapters/wikipedia/model/WikipediaModel.java   | 211 ---------------------
 4 files changed, 434 deletions(-)

diff --git 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Length.java
 
b/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Length.java
deleted file mode 100644
index 8eb33284b8..0000000000
--- 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Length.java
+++ /dev/null
@@ -1,51 +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.
- *
- */
-
-package org.apache.streampipes.connect.adapters.wikipedia.model;
-
-import com.google.gson.annotations.SerializedName;
-
-import jakarta.annotation.Generated;
-
-@Generated("net.hexar.json2pojo")
-@SuppressWarnings("unused")
-@Deprecated(since = "0.93.0", forRemoval = true)
-public class Length {
-
-  @SerializedName("new")
-  private Long mNew;
-  @SerializedName("old")
-  private Long mOld;
-
-  public Long getNew() {
-    return mNew;
-  }
-
-  public void setNew(Long newLong) {
-    mNew = newLong;
-  }
-
-  public Long getOld() {
-    return mOld;
-  }
-
-  public void setOld(Long old) {
-    mOld = old;
-  }
-
-}
diff --git 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Meta.java
 
b/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Meta.java
deleted file mode 100644
index 7f626cb5df..0000000000
--- 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Meta.java
+++ /dev/null
@@ -1,121 +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.
- *
- */
-
-package org.apache.streampipes.connect.adapters.wikipedia.model;
-
-import com.google.gson.annotations.SerializedName;
-
-import jakarta.annotation.Generated;
-
-@Generated("net.hexar.json2pojo")
-@SuppressWarnings("unused")
-@Deprecated(since = "0.93.0", forRemoval = true)
-public class Meta {
-
-  @SerializedName("domain")
-  private String mDomain;
-  @SerializedName("dt")
-  private String mDt;
-  @SerializedName("id")
-  private String mId;
-  @SerializedName("offset")
-  private Long mOffset;
-  @SerializedName("partition")
-  private Long mPartition;
-  @SerializedName("request_id")
-  private String mRequestId;
-  @SerializedName("schema_uri")
-  private String mSchemaUri;
-  @SerializedName("topic")
-  private String mTopic;
-  @SerializedName("uri")
-  private String mUri;
-
-  public String getDomain() {
-    return mDomain;
-  }
-
-  public void setDomain(String domain) {
-    mDomain = domain;
-  }
-
-  public String getDt() {
-    return mDt;
-  }
-
-  public void setDt(String dt) {
-    mDt = dt;
-  }
-
-  public String getId() {
-    return mId;
-  }
-
-  public void setId(String id) {
-    mId = id;
-  }
-
-  public Long getOffset() {
-    return mOffset;
-  }
-
-  public void setOffset(Long offset) {
-    mOffset = offset;
-  }
-
-  public Long getPartition() {
-    return mPartition;
-  }
-
-  public void setPartition(Long partition) {
-    mPartition = partition;
-  }
-
-  public String getRequestId() {
-    return mRequestId;
-  }
-
-  public void setRequestId(String requestId) {
-    mRequestId = requestId;
-  }
-
-  public String getSchemaUri() {
-    return mSchemaUri;
-  }
-
-  public void setSchemaUri(String schemaUri) {
-    mSchemaUri = schemaUri;
-  }
-
-  public String getTopic() {
-    return mTopic;
-  }
-
-  public void setTopic(String topic) {
-    mTopic = topic;
-  }
-
-  public String getUri() {
-    return mUri;
-  }
-
-  public void setUri(String uri) {
-    mUri = uri;
-  }
-
-}
diff --git 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Revision.java
 
b/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Revision.java
deleted file mode 100644
index 42647a77f0..0000000000
--- 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/Revision.java
+++ /dev/null
@@ -1,51 +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.
- *
- */
-
-package org.apache.streampipes.connect.adapters.wikipedia.model;
-
-import com.google.gson.annotations.SerializedName;
-
-import jakarta.annotation.Generated;
-
-@Generated("net.hexar.json2pojo")
-@SuppressWarnings("unused")
-@Deprecated(since = "0.93.0", forRemoval = true)
-public class Revision {
-
-  @SerializedName("new")
-  private Long mNew;
-  @SerializedName("old")
-  private Long mOld;
-
-  public Long getNew() {
-    return mNew;
-  }
-
-  public void setNew(Long newRevision) {
-    mNew = newRevision;
-  }
-
-  public Long getOld() {
-    return mOld;
-  }
-
-  public void setOld(Long old) {
-    mOld = old;
-  }
-
-}
diff --git 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/WikipediaModel.java
 
b/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/WikipediaModel.java
deleted file mode 100644
index ac925315a8..0000000000
--- 
a/streampipes-extensions/streampipes-connect-adapters/src/main/java/org/apache/streampipes/connect/adapters/wikipedia/model/WikipediaModel.java
+++ /dev/null
@@ -1,211 +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.
- *
- */
-
-package org.apache.streampipes.connect.adapters.wikipedia.model;
-
-import com.google.gson.annotations.SerializedName;
-
-import jakarta.annotation.Generated;
-
-@Generated("net.hexar.json2pojo")
-@SuppressWarnings("unused")
-@Deprecated(since = "0.93.0", forRemoval = true)
-public class WikipediaModel {
-
-  @SerializedName("bot")
-  private Boolean mBot;
-  @SerializedName("comment")
-  private String mComment;
-  @SerializedName("id")
-  private Long mId;
-  @SerializedName("length")
-  private Length mLength;
-  @SerializedName("meta")
-  private Meta mMeta;
-  @SerializedName("minor")
-  private Boolean mMinor;
-  @SerializedName("namespace")
-  private Long mNamespace;
-  @SerializedName("parsedcomment")
-  private String mParsedcomment;
-  @SerializedName("patrolled")
-  private Boolean mPatrolled;
-  @SerializedName("revision")
-  private Revision mRevision;
-  @SerializedName("server_name")
-  private String mServerName;
-  @SerializedName("server_script_path")
-  private String mServerScriptPath;
-  @SerializedName("server_url")
-  private String mServerUrl;
-  @SerializedName("timestamp")
-  private Long mTimestamp;
-  @SerializedName("title")
-  private String mTitle;
-  @SerializedName("type")
-  private String mType;
-  @SerializedName("user")
-  private String mUser;
-  @SerializedName("wiki")
-  private String mWiki;
-
-  public Boolean getBot() {
-    return mBot;
-  }
-
-  public void setBot(Boolean bot) {
-    mBot = bot;
-  }
-
-  public String getComment() {
-    return mComment;
-  }
-
-  public void setComment(String comment) {
-    mComment = comment;
-  }
-
-  public Long getId() {
-    return mId;
-  }
-
-  public void setId(Long id) {
-    mId = id;
-  }
-
-  public Length getLength() {
-    return mLength;
-  }
-
-  public void setLength(Length length) {
-    mLength = length;
-  }
-
-  public Meta getMeta() {
-    return mMeta;
-  }
-
-  public void setMeta(Meta meta) {
-    mMeta = meta;
-  }
-
-  public Boolean getMinor() {
-    return mMinor;
-  }
-
-  public void setMinor(Boolean minor) {
-    mMinor = minor;
-  }
-
-  public Long getNamespace() {
-    return mNamespace;
-  }
-
-  public void setNamespace(Long namespace) {
-    mNamespace = namespace;
-  }
-
-  public String getParsedcomment() {
-    return mParsedcomment;
-  }
-
-  public void setParsedcomment(String parsedcomment) {
-    mParsedcomment = parsedcomment;
-  }
-
-  public Boolean getPatrolled() {
-    return mPatrolled;
-  }
-
-  public void setPatrolled(Boolean patrolled) {
-    mPatrolled = patrolled;
-  }
-
-  public Revision getRevision() {
-    return mRevision;
-  }
-
-  public void setRevision(Revision revision) {
-    mRevision = revision;
-  }
-
-  public String getServerName() {
-    return mServerName;
-  }
-
-  public void setServerName(String serverName) {
-    mServerName = serverName;
-  }
-
-  public String getServerScriptPath() {
-    return mServerScriptPath;
-  }
-
-  public void setServerScriptPath(String serverScriptPath) {
-    mServerScriptPath = serverScriptPath;
-  }
-
-  public String getServerUrl() {
-    return mServerUrl;
-  }
-
-  public void setServerUrl(String serverUrl) {
-    mServerUrl = serverUrl;
-  }
-
-  public Long getTimestamp() {
-    return mTimestamp;
-  }
-
-  public void setTimestamp(Long timestamp) {
-    mTimestamp = timestamp;
-  }
-
-  public String getTitle() {
-    return mTitle;
-  }
-
-  public void setTitle(String title) {
-    mTitle = title;
-  }
-
-  public String getType() {
-    return mType;
-  }
-
-  public void setType(String type) {
-    mType = type;
-  }
-
-  public String getUser() {
-    return mUser;
-  }
-
-  public void setUser(String user) {
-    mUser = user;
-  }
-
-  public String getWiki() {
-    return mWiki;
-  }
-
-  public void setWiki(String wiki) {
-    mWiki = wiki;
-  }
-
-}

Reply via email to