Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "olingo2",
"title": "Olingo2",
"description": "Communicate with OData 2.0 services using Apache Olingo.",
"deprecated": false,
"deprecated": true,
"firstVersion": "2.14.0",
"label": "cloud",
"javaType": "org.apache.camel.component.olingo2.Olingo2Component",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "olingo4",
"title": "Olingo4",
"description": "Communicate with OData 4.0 services using Apache Olingo OData API.",
"deprecated": false,
"deprecated": true,
"firstVersion": "2.19.0",
"label": "cloud",
"javaType": "org.apache.camel.component.olingo4.Olingo4Component",
Expand Down
2 changes: 1 addition & 1 deletion components/camel-olingo2/camel-olingo2-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</parent>

<artifactId>camel-olingo2-api</artifactId>
<name>Camel :: Olingo2 :: API</name>
<name>Camel :: Olingo2 (Deprecated) :: API</name>
<description>Camel Olingo2 API</description>
<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name=olingo2-api
groupId=org.apache.camel
artifactId=camel-olingo2-api
version=4.17.0-SNAPSHOT
projectName=Camel :: Olingo2 :: API
projectName=Camel :: Olingo2 (Deprecated) :: API
projectDescription=Camel Olingo2 API
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
/**
* Olingo2 Client Api Interface.
*/
@Deprecated(since = "4.18")
public interface Olingo2App {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Callback interface to asynchronously process Olingo2 response.
*/
@Deprecated(since = "4.18")
public interface Olingo2ResponseHandler<T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Batch Change part.
*/
@Deprecated(since = "4.18")
public class Olingo2BatchChangeRequest extends Olingo2BatchRequest {

protected String contentId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Batch Query part.
*/
@Deprecated(since = "4.18")
public class Olingo2BatchQueryRequest extends Olingo2BatchRequest {

private Map<String, String> queryParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/**
* Base part in a multipart Batch request.
*/
@Deprecated(since = "4.18")
public abstract class Olingo2BatchRequest {

protected String resourcePath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/**
* Batch Response part.
*/
@Deprecated(since = "4.18")
public class Olingo2BatchResponse {

private final int statusCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/**
* OData operation used by {@link org.apache.camel.component.olingo2.api.batch.Olingo2BatchChangeRequest}.
*/
@Deprecated(since = "4.18")
public enum Operation {

CREATE("POST"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* Helper implementation of {@link org.apache.http.concurrent.FutureCallback} for
* {@link org.apache.camel.component.olingo2.api.impl.Olingo2AppImpl}
*/
@Deprecated(since = "4.18")
public abstract class AbstractFutureCallback<T> implements FutureCallback<HttpResponse> {

public static final Pattern ODATA_MIME_TYPE = Pattern.compile("application/((atom)|(json)|(xml)).*");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/**
* HTTP MERGE method.
*/
@Deprecated(since = "4.18")
public class HttpMerge extends HttpEntityEnclosingRequestBase {

public static final String METHOD_NAME = "MERGE";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
/**
* Copied from Olingo2 library, since URI parsing wasn't made a part of it's public API.
*/
@Deprecated(since = "4.18")
public class ODataPathSegmentImpl implements PathSegment {

private String path;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
/**
* Application API used by Olingo2 Component.
*/
@Deprecated(since = "4.18")
public final class Olingo2AppImpl implements Olingo2App {

public static final String METADATA = "$metadata";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/**
* Helper
*/
@Deprecated(since = "4.18")
public final class Olingo2Helper {

private Olingo2Helper() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/**
* Copied from Olingo2 core package.
*/
@Deprecated(since = "4.18")
public enum SystemQueryOption {
$format,
$filter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
/**
* UriInfo with UriType information, determined in constructor.
*/
@Deprecated(since = "4.18")
public class UriInfoWithType implements UriInfo {

private final UriInfo uriInfo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/**
* Copied from Olingo2 core package.
*/
@Deprecated(since = "4.18")
public enum UriType {
/**
* Service document
Expand Down
2 changes: 1 addition & 1 deletion components/camel-olingo2/camel-olingo2-component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<artifactId>camel-olingo2</artifactId>
<packaging>jar</packaging>
<name>Camel :: Olingo2 :: Component</name>
<name>Camel :: Olingo2 (Deprecated) :: Component</name>
<description>Camel Olingo2 component</description>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "olingo2",
"title": "Olingo2",
"description": "Communicate with OData 2.0 services using Apache Olingo.",
"deprecated": false,
"deprecated": true,
"firstVersion": "2.14.0",
"label": "cloud",
"javaType": "org.apache.camel.component.olingo2.Olingo2Component",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ components=olingo2
groupId=org.apache.camel
artifactId=camel-olingo2
version=4.17.0-SNAPSHOT
projectName=Camel :: Olingo2 :: Component
projectName=Camel :: Olingo2 (Deprecated) :: Component
projectDescription=Camel Olingo2 component
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
= Olingo2 Component
= Olingo2 Component (deprecated)
:doctitle: Olingo2
:shortname: olingo2
:artifactid: camel-olingo2
:description: Communicate with OData 2.0 services using Apache Olingo.
:since: 2.14
:supportlevel: Stable
:supportlevel: Stable-deprecated
:deprecated: *deprecated*
:tabs-sync-option:
:component-header: Both producer and consumer are supported
//Manually maintained attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* Holder class for {@link org.apache.camel.component.olingo2.api.Olingo2App} and its lazily read
* {@link org.apache.olingo.odata2.api.edm.Edm}.
*/
@Deprecated(since = "4.18")
public class Olingo2AppWrapper {

private final Lock lock = new ReentrantLock();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* Represents the component that manages {@link Olingo2Endpoint}.
*/
@Component("olingo2")
@Deprecated(since = "4.18")
public class Olingo2Component extends AbstractApiComponent<Olingo2ApiName, Olingo2Configuration, Olingo2ApiCollection>
implements SSLContextParametersAware {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
*/
@UriParams
@Configurer(extended = true)
@Deprecated(since = "4.18")
public class Olingo2Configuration {

private static final String DEFAULT_CONTENT_TYPE = ContentType.APPLICATION_JSON.toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
/**
* The Olingo2 consumer.
*/
@Deprecated(since = "4.18")
public class Olingo2Consumer extends AbstractApiConsumer<Olingo2ApiName, Olingo2Configuration> {

private Olingo2Index resultIndex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
@UriEndpoint(firstVersion = "2.14.0", scheme = "olingo2", title = "Olingo2", syntax = "olingo2:apiName/methodName",
apiSyntax = "apiName/methodName",
category = { Category.CLOUD }, headersClass = Olingo2Constants.class)
@Deprecated(since = "4.18")
public class Olingo2Endpoint extends AbstractApiEndpoint<Olingo2ApiName, Olingo2Configuration>
implements EndpointServiceLocation {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.apache.olingo.odata2.api.ep.feed.FeedMetadata;
import org.apache.olingo.odata2.api.ep.feed.ODataFeed;

@Deprecated(since = "4.18")
public class Olingo2Index {

private Set<Integer> resultIndex = new HashSet<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
/**
* The Olingo2 producer.
*/
@Deprecated(since = "4.18")
public class Olingo2Producer extends AbstractApiProducer<Olingo2ApiName, Olingo2Configuration> {

private static final Logger LOG = LoggerFactory.getLogger(Olingo2Producer.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Constants for Olingo2 component.
*/
@Deprecated(since = "4.18")
public interface Olingo2Constants {

// prefix for parameters when passed as exchange header properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
/**
* Singleton {@link ApiMethodPropertiesHelper} for Olingo2 component.
*/
@Deprecated(since = "4.18")
public final class Olingo2PropertiesHelper extends ApiMethodPropertiesHelper<Olingo2Configuration> {

private static final Lock LOCK = new ReentrantLock();
Expand Down
2 changes: 1 addition & 1 deletion components/camel-olingo2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<artifactId>camel-olingo2-parent</artifactId>
<packaging>pom</packaging>
<name>Camel :: Olingo2 :: Parent</name>
<name>Camel :: Olingo2 (Deprecated) :: Parent</name>
<description>Camel Olingo2 parent</description>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion components/camel-olingo4/camel-olingo4-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</parent>

<artifactId>camel-olingo4-api</artifactId>
<name>Camel :: Olingo4 :: API</name>
<name>Camel :: Olingo4 (Deprecated) :: API</name>
<description>Camel Olingo4 API</description>
<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name=olingo4-api
groupId=org.apache.camel
artifactId=camel-olingo4-api
version=4.17.0-SNAPSHOT
projectName=Camel :: Olingo4 :: API
projectName=Camel :: Olingo4 (Deprecated) :: API
projectDescription=Camel Olingo4 API
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
/**
* Olingo4 Client Api Interface.
*/
@Deprecated(since = "4.18")
public interface Olingo4App {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Callback interface to asynchronously process Olingo4 response.
*/
@Deprecated(since = "4.18")
public interface Olingo4ResponseHandler<T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Batch Change part.
*/
@Deprecated(since = "4.18")
public class Olingo4BatchChangeRequest extends Olingo4BatchRequest {

protected String contentId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/**
* Batch Query part.
*/
@Deprecated(since = "4.18")
public class Olingo4BatchQueryRequest extends Olingo4BatchRequest {

private Map<String, String> queryParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/**
* Base part in a multipart Batch request.
*/
@Deprecated(since = "4.18")
public abstract class Olingo4BatchRequest {

protected String resourceUri;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/**
* Batch Response part.
*/
@Deprecated(since = "4.18")
public class Olingo4BatchResponse {

private final int statusCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/**
* OData operation used by {@link org.apache.camel.component.olingo4.api.batch.Olingo4BatchChangeRequest}.
*/
@Deprecated(since = "4.18")
public enum Operation {

CREATE("POST"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* Helper implementation of {@link org.apache.http.concurrent.FutureCallback} for
* {@link org.apache.camel.component.olingo4.api.impl.Olingo4AppImpl}
*/
@Deprecated(since = "4.18")
public abstract class AbstractFutureCallback<T> implements FutureCallback<HttpResponse> {

public static final Pattern ODATA_MIME_TYPE_PATTERN = Pattern.compile("application/((atom)|(json)|(xml)).*");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
/**
* Application API used by Olingo4 Component.
*/
@Deprecated(since = "4.18")
public final class Olingo4AppImpl implements Olingo4App {

private static final String SEPARATOR = "/";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/**
* Helper
*/
@Deprecated(since = "4.18")
public final class Olingo4Helper {

private Olingo4Helper() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
import org.apache.olingo.server.api.uri.queryoption.SystemQueryOptionKind;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -203,6 +204,7 @@ public void testReadEntitySet() throws Exception {
}

@Test
@Disabled("CAMEL-22271 - failing since jackson upgrade from 2.19.1 to 2.19.2")
public void testReadUnparsedEntitySet() throws Exception {
final TestOlingo4ResponseHandler<InputStream> responseHandler = new TestOlingo4ResponseHandler<>();

Expand Down Expand Up @@ -241,6 +243,7 @@ public void testReadEntity() throws Exception {
}

@Test
@Disabled("CAMEL-22271 - failing since jackson upgrade from 2.19.1 to 2.19.2")
public void testReadUnparsedEntity() throws Exception {
final TestOlingo4ResponseHandler<InputStream> responseHandler = new TestOlingo4ResponseHandler<>();

Expand Down
Loading