Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SWITCHYARD-2562 Update camel-sap binding to support camel-sap 6.2
- Loading branch information
1 parent
3c1cd1e
commit 469071e
Showing
46 changed files
with
2,225 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
camel/camel-sap/src/main/java/org/switchyard/component/camel/sap/model/DestinationModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. | ||
* | ||
* Licensed 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.switchyard.component.camel.sap.model; | ||
|
||
/** | ||
* camel-sap destination model. | ||
*/ | ||
public interface DestinationModel extends EndpointModel { | ||
/** | ||
* Gets destination name. | ||
* @return destination name | ||
*/ | ||
public String getDestinationName(); | ||
|
||
/** | ||
* Sets destination name. | ||
* @param destination destination | ||
* @return this model (useful for chaining) | ||
*/ | ||
public DestinationModel setDestinationName(String destination); | ||
} |
48 changes: 48 additions & 0 deletions
48
camel/camel-sap/src/main/java/org/switchyard/component/camel/sap/model/EndpointModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. | ||
* | ||
* Licensed 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.switchyard.component.camel.sap.model; | ||
|
||
import org.switchyard.component.camel.common.QueryString; | ||
import org.switchyard.config.model.Model; | ||
|
||
/** | ||
* camel-sap endpoint model. | ||
*/ | ||
public interface EndpointModel extends Model { | ||
/** | ||
* Gets schema. | ||
* @return schema | ||
*/ | ||
public String getSchema(); | ||
|
||
/** | ||
* Gets name. | ||
* @return name | ||
*/ | ||
public String getName(); | ||
|
||
/** | ||
* Sets name. | ||
* @param name name | ||
* @return this model (useful for chaining) | ||
*/ | ||
public EndpointModel setName(String name); | ||
|
||
/** | ||
* Gets base URI string. | ||
* @param queryString query string | ||
* @return base URI string | ||
*/ | ||
public StringBuilder createBaseURIString(QueryString queryString); | ||
} |
71 changes: 71 additions & 0 deletions
71
...amel-sap/src/main/java/org/switchyard/component/camel/sap/model/IDocDestinationModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. | ||
* | ||
* Licensed 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.switchyard.component.camel.sap.model; | ||
|
||
/** | ||
* camel-sap IDoc destination model. | ||
*/ | ||
public interface IDocDestinationModel extends DestinationModel { | ||
/** | ||
* Gets IDoc type. | ||
* @return IDoc type | ||
*/ | ||
public String getIdocType(); | ||
|
||
/** | ||
* Sets IDoc type. | ||
* @param idoc IDoc type | ||
* @return this model (useful for chaining) | ||
*/ | ||
public IDocDestinationModel setIdocType(String idoc); | ||
|
||
/** | ||
* Gets IDoc type extension. | ||
* @return IDoc type extension | ||
*/ | ||
public String getIdocTypeExtension(); | ||
|
||
/** | ||
* Sets IDoc type extension. | ||
* @param idocExt IDoc type extension | ||
* @return this model (useful for chaiming) | ||
*/ | ||
public IDocServerModel setIdocTypeExtension(String idocExt); | ||
|
||
/** | ||
* Gets system release. | ||
* @return system release | ||
*/ | ||
public String getSystemRelease(); | ||
|
||
/** | ||
* Sets system release. | ||
* @param sysRelease system release | ||
* @return this model (useful for chaining) | ||
*/ | ||
public IDocDestinationModel setSystemRelease(String sysRelease); | ||
|
||
/** | ||
* Gets application release. | ||
* @return application release | ||
*/ | ||
public String getApplicationRelease(); | ||
|
||
/** | ||
* Sets application release. | ||
* @param appRelease application release | ||
* @return this model (useful for chaining) | ||
*/ | ||
public IDocDestinationModel setApplicationRelease(String appRelease); | ||
} |
71 changes: 71 additions & 0 deletions
71
camel/camel-sap/src/main/java/org/switchyard/component/camel/sap/model/IDocServerModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. | ||
* | ||
* Licensed 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.switchyard.component.camel.sap.model; | ||
|
||
/** | ||
* camel-sap IDoc server model. | ||
*/ | ||
public interface IDocServerModel extends ServerModel { | ||
/** | ||
* Gets IDoc type. | ||
* @return IDoc type. | ||
*/ | ||
public String getIdocType(); | ||
|
||
/** | ||
* Sets IDoc type. | ||
* @param idoc IDoc type | ||
* @return this model (useful for chaining) | ||
*/ | ||
public IDocServerModel setIdocType(String idoc); | ||
|
||
/** | ||
* Gets IDoc type extension. | ||
* @return IDoc type extension | ||
*/ | ||
public String getIdocTypeExtension(); | ||
|
||
/** | ||
* Sets IDoc type extension. | ||
* @param idocExt IDoc type extension | ||
* @return this model (useful for chaiming) | ||
*/ | ||
public IDocServerModel setIdocTypeExtension(String idocExt); | ||
|
||
/** | ||
* Gets system release. | ||
* @return system release | ||
*/ | ||
public String getSystemRelease(); | ||
|
||
/** | ||
* Sets system release. | ||
* @param sysRelease system release | ||
* @return this model (useful for chaining) | ||
*/ | ||
public IDocServerModel setSystemRelease(String sysRelease); | ||
|
||
/** | ||
* Gets application release. | ||
* @return application release | ||
*/ | ||
public String getApplicationRelease(); | ||
|
||
/** | ||
* Sets application release. | ||
* @param appRelease application release | ||
* @return this model (useful for chaining) | ||
*/ | ||
public IDocServerModel setApplicationRelease(String appRelease); | ||
} |
32 changes: 32 additions & 0 deletions
32
...mel-sap/src/main/java/org/switchyard/component/camel/sap/model/QIDocDestinationModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. | ||
* | ||
* Licensed 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.switchyard.component.camel.sap.model; | ||
|
||
/** | ||
* camel-sap queued IDoc destination model. | ||
*/ | ||
public interface QIDocDestinationModel extends IDocDestinationModel { | ||
/** | ||
* Gets queue name. | ||
* @return destination name | ||
*/ | ||
public String getQueueName(); | ||
|
||
/** | ||
* Sets queue name. | ||
* @param queue queue name | ||
* @return this model (useful for chaining) | ||
*/ | ||
public QIDocDestinationModel setQueueName(String queue); | ||
} |
32 changes: 32 additions & 0 deletions
32
...amel-sap/src/main/java/org/switchyard/component/camel/sap/model/QRfcDestinationModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors. | ||
* | ||
* Licensed 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.switchyard.component.camel.sap.model; | ||
|
||
/** | ||
* camel-sap destination model. | ||
*/ | ||
public interface QRfcDestinationModel extends RfcDestinationModel { | ||
/** | ||
* Gets queue name. | ||
* @return destination name | ||
*/ | ||
public String getQueueName(); | ||
|
||
/** | ||
* Sets queue name. | ||
* @param queue queue name | ||
* @return this model (useful for chaining) | ||
*/ | ||
public QRfcDestinationModel setQueueName(String queue); | ||
} |
Oops, something went wrong.