├── README.md
├── att-camel-dme2-servlet
├── src
│ ├── test
│ │ ├── data
│ │ │ └── logo.jpeg
│ │ ├── resources
│ │ │ ├── localhost.ks
│ │ │ ├── org
│ │ │ │ └── apache
│ │ │ │ │ └── camel
│ │ │ │ │ └── component
│ │ │ │ │ └── dme2
│ │ │ │ │ ├── web.xml
│ │ │ │ │ ├── camelContext.xml
│ │ │ │ │ ├── multiServletWeb.xml
│ │ │ │ │ └── web-spring.xml
│ │ │ └── log4j.properties
│ │ └── java
│ │ │ └── com
│ │ │ └── att
│ │ │ └── camel
│ │ │ └── component
│ │ │ └── dme2
│ │ │ └── servlet
│ │ │ ├── DME2ServletSetBodyTest.java
│ │ │ └── ServletCamelRouterTestSupport.java
│ └── main
│ │ ├── resources
│ │ └── META-INF
│ │ │ ├── NOTICE.txt
│ │ │ ├── services
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── camel
│ │ │ │ └── component
│ │ │ │ └── att-dme2-servlet
│ │ │ └── LICENSE.txt
│ │ └── java
│ │ └── com
│ │ └── att
│ │ └── camel
│ │ └── component
│ │ └── dme2
│ │ └── servlet
│ │ ├── package.html
│ │ └── DME2ServletComponent.java
└── pom.xml
├── Jenkinsfile
├── Contributing.txt
└── LICENSE
/README.md:
--------------------------------------------------------------------------------
1 | # DME-CAMEL
2 | dme camel components
3 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/data/logo.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/att/DME-CAMEL/master/att-camel-dme2-servlet/src/test/data/logo.jpeg
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/resources/localhost.ks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/att/DME-CAMEL/master/att-camel-dme2-servlet/src/test/resources/localhost.ks
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/main/resources/META-INF/NOTICE.txt:
--------------------------------------------------------------------------------
1 | =========================================================================
2 | == NOTICE file corresponding to the section 4 d of ==
3 | == the Apache License, Version 2.0, ==
4 | == in this case for the Apache Camel distribution. ==
5 | =========================================================================
6 |
7 | This product includes software developed by
8 | The Apache Software Foundation (http://www.apache.org/).
9 |
10 | Please read the different LICENSE files present in the licenses directory of
11 | this distribution.
12 |
--------------------------------------------------------------------------------
/Jenkinsfile:
--------------------------------------------------------------------------------
1 | node {
2 | // Get the maven tool.
3 | // ** NOTE: This 'M3' maven tool must be configured
4 | // ** in the Jenkins global configuration.
5 | def mvnHome = tool 'M3'
6 | sh "echo ${mvnHome}"
7 |
8 |
9 | // Mark the code checkout 'stage'....
10 | stage 'Checkout'
11 | // Get some code from a GitHub repository
12 | checkout scm
13 |
14 | // Mark the code build 'stage'....
15 | stage 'Build ajsc5'
16 | // Run the maven build
17 | //sh for unix bat for windows
18 |
19 | sh "${mvnHome}/bin/mvn -f att-camel-dme2-servlet/pom.xml clean deploy"
20 | //sh "${mvnHome}/bin/mvn nexus-staging:release"
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/main/resources/META-INF/services/org/apache/camel/component/att-dme2-servlet:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one or more
3 | # contributor license agreements. See the NOTICE file distributed with
4 | # this work for additional information regarding copyright ownership.
5 | # The ASF licenses this file to You under the Apache License, Version 2.0
6 | # (the "License"); you may not use this file except in compliance with
7 | # the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | class=com.att.camel.component.dme2.servlet.DME2ServletComponent
19 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/main/java/com/att/camel/component/dme2/servlet/package.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 | Defines the DME2 Component
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/resources/org/apache/camel/component/dme2/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
25 |
26 |
27 |
28 |
29 | CamelServlet
30 | Camel Http Transport Servlet
31 | org.apache.camel.component.servlet.CamelHttpTransportServlet
32 |
33 |
34 |
35 | CamelServlet
36 | /*
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/resources/org/apache/camel/component/dme2/camelContext.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Contributing.txt:
--------------------------------------------------------------------------------
1 | This software is distributed under a permissive open source
2 | license to allow it to be used in any projects, whether open
3 | source or proprietary. Contributions to the project are welcome
4 | and it is important to maintain clear record of contributions
5 | and terms under which they are licensed.
6 |
7 | To indicate your acceptance of Developer's Certificate of Origin 1.1
8 | terms, please add the following line to the end of the commit message
9 | for each contribution you make to the project:
10 |
11 | Signed-off-by : Your Name
12 |
13 | Developer's Certificate of Origin 1.1
14 |
15 | By making a contribution to this project, I certify that:
16 |
17 | (a) The contribution was created in whole or inpart by me and I
18 | have the right to submit it under the open source license indicated
19 | in the file: or
20 |
21 | (b) The contribution is based upon previous work that, to the best
22 | of my knowledge, is covered under an appropriate open source license
23 | and I have the right under that license to submit that work with
24 | modifications, whether created in whole or part by me, under the same
25 | open source license (unless I am permitted to submit under a different
26 | license), as indicated in the file; or
27 |
28 | (c) The contribution was provided directly to me by some other person
29 | who certified (a), (b) or (c) I have not modified it.
30 |
31 | (d) I understand and agree that this project and the contribution are
32 | public and that a record of the contribution (including all personal
33 | information I submit with it, including my sign-off)is maintained
34 | indefinitely and may be redistributed consistent with this project or
35 | the open source license(s) involved.
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | BSD License
2 |
3 | Copyright (c) <2016>, AT&T Intellectual Property. All other rights reserved.
4 |
5 | Redistribution and use in source and binary forms, with or without modification, are permitted
6 | provided that the following conditions are met:
7 |
8 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions
9 | and the following disclaimer.
10 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of
11 | conditions and the following disclaimer in the documentation and/or other materials provided
12 | with the distribution.
13 | 3. All advertising materials mentioning features or use of this software must display the
14 | following acknowledgement: This product includes software developed by the AT&T.
15 | 4. Neither the name of AT&T nor the names of its contributors may be used to endorse or
16 | promote products derived from this software without specific prior written permission.
17 |
18 | THIS SOFTWARE IS PROVIDED BY AT&T INTELLECTUAL PROPERTY ''AS IS'' AND ANY EXPRESS OR
19 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
21 | SHALL AT&T INTELLECTUAL PROPERTY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24 | OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
27 | DAMAGE.
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | ## ------------------------------------------------------------------------
2 | ## Licensed to the Apache Software Foundation (ASF) under one or more
3 | ## contributor license agreements. See the NOTICE file distributed with
4 | ## this work for additional information regarding copyright ownership.
5 | ## The ASF licenses this file to You under the Apache License, Version 2.0
6 | ## (the "License"); you may not use this file except in compliance with
7 | ## the License. You may obtain a copy of the License at
8 | ##
9 | ## http://www.apache.org/licenses/LICENSE-2.0
10 | ##
11 | ## Unless required by applicable law or agreed to in writing, software
12 | ## distributed under the License is distributed on an "AS IS" BASIS,
13 | ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | ## See the License for the specific language governing permissions and
15 | ## limitations under the License.
16 | ## ------------------------------------------------------------------------
17 |
18 | #
19 | # The logging properties used for testing.
20 | #
21 | log4j.rootLogger=INFO, file
22 |
23 | # uncomment the following to enable camel debugging
24 | #log4j.logger.org.apache.camel.component.http4=DEBUG
25 |
26 | # CONSOLE appender not used by default
27 | log4j.appender.out=org.apache.log4j.ConsoleAppender
28 | log4j.appender.out.layout=org.apache.log4j.PatternLayout
29 | log4j.appender.out.layout.ConversionPattern=[%30.30t] %-30.30c{1} %-5p %m%n
30 | #log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
31 |
32 | # File appender
33 | log4j.appender.file=org.apache.log4j.FileAppender
34 | log4j.appender.file.layout=org.apache.log4j.PatternLayout
35 | log4j.appender.file.layout.ConversionPattern=%d %-5p %c{1} - %m %n
36 | log4j.appender.file.file=target/camel-http4-test.log
37 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/resources/org/apache/camel/component/dme2/multiServletWeb.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
25 |
26 |
27 |
28 |
29 | CamelServlet1
30 | Camel Http Transport Servlet1
31 | org.apache.camel.component.servlet.CamelHttpTransportServlet
32 |
33 |
34 |
35 | CamelServlet2
36 | Camel Http Transport Servlet2
37 | org.apache.camel.component.servlet.CamelHttpTransportServlet
38 |
39 |
40 |
41 | CamelServlet1
42 | /services1/*
43 |
44 |
45 |
46 | CamelServlet2
47 | /services2/*
48 |
49 |
50 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/java/com/att/camel/component/dme2/servlet/DME2ServletSetBodyTest.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.att.camel.component.dme2.servlet;
18 |
19 | import com.meterware.httpunit.GetMethodWebRequest;
20 | import com.meterware.httpunit.WebRequest;
21 | import com.meterware.httpunit.WebResponse;
22 | import com.meterware.servletunit.ServletUnitClient;
23 |
24 | import org.apache.camel.builder.RouteBuilder;
25 | import org.junit.Test;
26 |
27 | public class DME2ServletSetBodyTest extends ServletCamelRouterTestSupport {
28 |
29 | @Test
30 | public void testSetBody() throws Exception {
31 |
32 | //System.out.println("Endpoint Map" + context.getEndpointMap());
33 | WebRequest req = new GetMethodWebRequest(CONTEXT_URL + "/");
34 | ServletUnitClient client = newClient();
35 | WebResponse response = null;
36 | response = client.getResponse(req);
37 | assertEquals("The response message is", "Hello World",
38 | response.getText());
39 | }
40 |
41 | protected RouteBuilder createRouteBuilder() throws Exception {
42 | return new RouteBuilder() {
43 | @Override
44 | public void configure() throws Exception {
45 | from("att-dme2-servlet:///").setBody().constant(
46 | "Hello World");
47 | }
48 | };
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/resources/org/apache/camel/component/dme2/web-spring.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
25 |
26 |
27 |
28 |
29 |
30 | contextConfigLocation
31 | classpath:org/apache/camel/component/servlet/camelContext.xml
32 |
33 |
34 |
35 |
36 | org.springframework.web.context.ContextLoaderListener
37 |
38 |
39 |
40 |
41 | CamelServlet
42 | Camel Http Transport Servlet
43 | org.apache.camel.component.servlet.CamelHttpTransportServlet
44 |
45 | matchOnUriPrefix
46 | true
47 |
48 |
49 |
50 |
51 |
52 | CamelServlet
53 | /services/*
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/test/java/com/att/camel/component/dme2/servlet/ServletCamelRouterTestSupport.java:
--------------------------------------------------------------------------------
1 | package com.att.camel.component.dme2.servlet;
2 | /**
3 | * Licensed to the Apache Software Foundation (ASF) under one or more
4 | * contributor license agreements. See the NOTICE file distributed with
5 | * this work for additional information regarding copyright ownership.
6 | * The ASF licenses this file to You under the Apache License, Version 2.0
7 | * (the "License"); you may not use this file except in compliance with
8 | * the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 |
20 | import java.io.InputStream;
21 |
22 | import com.meterware.httpunit.HttpUnitOptions;
23 | import com.meterware.servletunit.ServletRunner;
24 | import com.meterware.servletunit.ServletUnitClient;
25 | import org.apache.camel.test.junit4.CamelTestSupport;
26 | import org.junit.After;
27 | import org.junit.Before;
28 |
29 | public class ServletCamelRouterTestSupport extends CamelTestSupport {
30 | public static final String CONTEXT = "/ajsc";
31 | public static final String CONTEXT_URL = "http://localhost/ajsc";
32 | protected ServletRunner sr;
33 | protected boolean startCamelContext = true;
34 |
35 | @Before
36 | public void setUp() throws Exception {
37 | InputStream is = this.getClass().getResourceAsStream(getConfiguration());
38 | assertNotNull("The configuration input stream should not be null", is);
39 | sr = new ServletRunner(is, CONTEXT);
40 |
41 | HttpUnitOptions.setExceptionsThrownOnErrorStatus(true);
42 | if (startCamelContext) {
43 | super.setUp();
44 | }
45 | }
46 |
47 | @After
48 | public void tearDown() throws Exception {
49 | if (startCamelContext) {
50 | super.tearDown();
51 | }
52 | sr.shutDown();
53 | }
54 |
55 | /**
56 | * @return The web.xml to use for testing.
57 | */
58 | protected String getConfiguration() {
59 | return "/org/apache/camel/component/dme2/web.xml";
60 | }
61 |
62 | protected ServletUnitClient newClient() {
63 | return sr.newClient();
64 | }
65 |
66 | }
67 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/main/java/com/att/camel/component/dme2/servlet/DME2ServletComponent.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package com.att.camel.component.dme2.servlet;
18 |
19 | import java.util.Map;
20 | import org.apache.camel.SuspendableService;
21 | import org.apache.camel.component.http.HttpConsumer;
22 | import org.apache.camel.component.servlet.HttpRegistry;
23 | import org.apache.camel.component.servlet.ServletComponent;
24 | import org.apache.camel.component.servlet.ServletEndpoint;
25 | import org.slf4j.Logger;
26 | import org.slf4j.LoggerFactory;
27 |
28 | public class DME2ServletComponent extends ServletComponent implements
29 | SuspendableService {
30 |
31 | private String servletName = "CamelServlet";
32 | private HttpRegistry httpRegistry;
33 |
34 | private static final Logger logger = LoggerFactory
35 | .getLogger(DME2ServletComponent.class);
36 |
37 | @Override
38 | protected ServletEndpoint createEndpoint(String uri, String remaining,
39 | Map parameters) throws Exception {
40 |
41 | ServletEndpoint endpoint = (ServletEndpoint) super.createEndpoint(uri,
42 | remaining, parameters);
43 |
44 | return endpoint;
45 | }
46 |
47 | @Override
48 | public void connect(HttpConsumer consumer) throws Exception {
49 | super.connect(consumer);
50 | }
51 |
52 | @Override
53 | public void disconnect(HttpConsumer consumer) throws Exception {
54 | super.disconnect(consumer);
55 | }
56 |
57 | public String getServletName() {
58 | return servletName;
59 | }
60 |
61 | public void setServletName(String servletName) {
62 | this.servletName = servletName;
63 | }
64 |
65 | public HttpRegistry getHttpRegistry() {
66 | return httpRegistry;
67 | }
68 |
69 | public void setHttpRegistry(HttpRegistry httpRegistry) {
70 | this.httpRegistry = httpRegistry;
71 | }
72 |
73 | @Override
74 | public void doStart() throws Exception {
75 | super.doStart();
76 |
77 | }
78 |
79 | @Override
80 | public void doStop() throws Exception {
81 |
82 | super.doStop();
83 | }
84 |
85 | }
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
14 | 4.0.0
15 |
16 |
17 | org.apache.camel
18 | components
19 | 2.15.5
20 |
21 |
22 |
23 |
24 |
25 |
26 | com.att.camel
27 | att-camel-dme2-servlet
28 | bundle
29 | ATT Camel HTTP :: DME2 Consumer- Servlet
30 | ATT Camel HTTP support
31 |
32 |
33 | 3.1.200-SNAPSHOT
34 |
35 |
36 | org.apache.http.*;version="[4.2,5)"
37 |
38 | com.att.camel.component.dme2.*
39 |
40 | org.apache.camel.spi.ComponentResolver;component=dme2,
41 |
42 |
43 | 2.15.5
44 | 1.0.0
45 |
46 |
47 |
48 |
49 |
50 |
51 | org.apache.camel
52 | camel-package-maven-plugin
53 | ${camel.version}
54 |
55 |
56 | org.apache.camel
57 | camel-core
58 | ${camel.version}
59 |
60 |
61 |
62 | org.apache.camel
63 | apt
64 | 2.15.5
65 |
66 |
67 |
68 | org.apache.camel
69 | camel-http
70 | ${camel.version}
71 |
72 |
73 | org.apache.geronimo.specs
74 | geronimo-servlet_2.5_spec
75 |
76 |
77 |
78 |
79 |
80 | org.apache.camel
81 | camel-servlet
82 | ${camel.version}
83 |
84 |
85 | org.apache.geronimo.specs
86 | geronimo-servlet_2.5_spec
87 |
88 |
89 |
90 |
91 |
92 | ch.qos.logback
93 | logback-core
94 | ${ch.qos.logback.version}
95 | test
96 |
97 |
98 | ch.qos.logback
99 | logback-classic
100 | ${ch.qos.logback.version}
101 | test
102 |
103 |
104 | org.slf4j
105 | slf4j-log4j12
106 | test
107 |
108 |
109 |
110 |
111 |
112 | org.apache.camel
113 | camel-spring
114 | ${camel.version}
115 | test
116 |
117 |
118 | org.apache.camel
119 | camel-test
120 | ${camel.version}
121 | test
122 |
123 |
124 | junit
125 | junit
126 | test
127 |
128 |
129 | org.slf4j
130 | slf4j-log4j12
131 | test
132 |
133 |
134 | httpunit
135 | httpunit
136 |
137 |
138 | javax.servlet
139 | servlet-api
140 |
141 |
142 | test
143 |
144 |
145 | rhino
146 | js
147 | ${rhino-version}
148 | test
149 |
150 |
151 | org.springframework
152 | spring-web
153 | test
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 | org.apache.camel
164 | camel-package-maven-plugin
165 | ${camel.version}
166 |
167 |
168 | generate-resources
169 |
170 | generate-components-list
171 |
172 |
173 |
174 |
175 |
176 |
177 | maven-surefire-plugin
178 |
179 | true
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 | org.apache.felix
190 | maven-bundle-plugin
191 | 2.3.7
192 | true
193 |
194 |
195 | org.apache.maven.plugins
196 | maven-gpg-plugin
197 | 1.5
198 |
199 |
200 | sign-artifacts
201 | verify
202 |
203 | sign
204 |
205 |
206 |
207 |
208 |
209 | org.sonatype.plugins
210 | nexus-staging-maven-plugin
211 | 1.6.7
212 | true
213 |
214 | ossrhajsc
215 | https://oss.sonatype.org/
216 | true
217 |
218 |
219 |
220 |
221 |
222 |
223 | ossrhajsc
224 | https://oss.sonatype.org/content/repositories/snapshots
225 |
226 |
227 | ossrhajsc
228 | https://oss.sonatype.org/service/local/staging/deploy/maven2/
229 |
230 |
231 |
232 |
--------------------------------------------------------------------------------
/att-camel-dme2-servlet/src/main/resources/META-INF/LICENSE.txt:
--------------------------------------------------------------------------------
1 |
2 | Apache License
3 | Version 2.0, January 2004
4 | http://www.apache.org/licenses/
5 |
6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7 |
8 | 1. Definitions.
9 |
10 | "License" shall mean the terms and conditions for use, reproduction,
11 | and distribution as defined by Sections 1 through 9 of this document.
12 |
13 | "Licensor" shall mean the copyright owner or entity authorized by
14 | the copyright owner that is granting the License.
15 |
16 | "Legal Entity" shall mean the union of the acting entity and all
17 | other entities that control, are controlled by, or are under common
18 | control with that entity. For the purposes of this definition,
19 | "control" means (i) the power, direct or indirect, to cause the
20 | direction or management of such entity, whether by contract or
21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 | outstanding shares, or (iii) beneficial ownership of such entity.
23 |
24 | "You" (or "Your") shall mean an individual or Legal Entity
25 | exercising permissions granted by this License.
26 |
27 | "Source" form shall mean the preferred form for making modifications,
28 | including but not limited to software source code, documentation
29 | source, and configuration files.
30 |
31 | "Object" form shall mean any form resulting from mechanical
32 | transformation or translation of a Source form, including but
33 | not limited to compiled object code, generated documentation,
34 | and conversions to other media types.
35 |
36 | "Work" shall mean the work of authorship, whether in Source or
37 | Object form, made available under the License, as indicated by a
38 | copyright notice that is included in or attached to the work
39 | (an example is provided in the Appendix below).
40 |
41 | "Derivative Works" shall mean any work, whether in Source or Object
42 | form, that is based on (or derived from) the Work and for which the
43 | editorial revisions, annotations, elaborations, or other modifications
44 | represent, as a whole, an original work of authorship. For the purposes
45 | of this License, Derivative Works shall not include works that remain
46 | separable from, or merely link (or bind by name) to the interfaces of,
47 | the Work and Derivative Works thereof.
48 |
49 | "Contribution" shall mean any work of authorship, including
50 | the original version of the Work and any modifications or additions
51 | to that Work or Derivative Works thereof, that is intentionally
52 | submitted to Licensor for inclusion in the Work by the copyright owner
53 | or by an individual or Legal Entity authorized to submit on behalf of
54 | the copyright owner. For the purposes of this definition, "submitted"
55 | means any form of electronic, verbal, or written communication sent
56 | to the Licensor or its representatives, including but not limited to
57 | communication on electronic mailing lists, source code control systems,
58 | and issue tracking systems that are managed by, or on behalf of, the
59 | Licensor for the purpose of discussing and improving the Work, but
60 | excluding communication that is conspicuously marked or otherwise
61 | designated in writing by the copyright owner as "Not a Contribution."
62 |
63 | "Contributor" shall mean Licensor and any individual or Legal Entity
64 | on behalf of whom a Contribution has been received by Licensor and
65 | subsequently incorporated within the Work.
66 |
67 | 2. Grant of Copyright License. Subject to the terms and conditions of
68 | this License, each Contributor hereby grants to You a perpetual,
69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 | copyright license to reproduce, prepare Derivative Works of,
71 | publicly display, publicly perform, sublicense, and distribute the
72 | Work and such Derivative Works in Source or Object form.
73 |
74 | 3. Grant of Patent License. Subject to the terms and conditions of
75 | this License, each Contributor hereby grants to You a perpetual,
76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 | (except as stated in this section) patent license to make, have made,
78 | use, offer to sell, sell, import, and otherwise transfer the Work,
79 | where such license applies only to those patent claims licensable
80 | by such Contributor that are necessarily infringed by their
81 | Contribution(s) alone or by combination of their Contribution(s)
82 | with the Work to which such Contribution(s) was submitted. If You
83 | institute patent litigation against any entity (including a
84 | cross-claim or counterclaim in a lawsuit) alleging that the Work
85 | or a Contribution incorporated within the Work constitutes direct
86 | or contributory patent infringement, then any patent licenses
87 | granted to You under this License for that Work shall terminate
88 | as of the date such litigation is filed.
89 |
90 | 4. Redistribution. You may reproduce and distribute copies of the
91 | Work or Derivative Works thereof in any medium, with or without
92 | modifications, and in Source or Object form, provided that You
93 | meet the following conditions:
94 |
95 | (a) You must give any other recipients of the Work or
96 | Derivative Works a copy of this License; and
97 |
98 | (b) You must cause any modified files to carry prominent notices
99 | stating that You changed the files; and
100 |
101 | (c) You must retain, in the Source form of any Derivative Works
102 | that You distribute, all copyright, patent, trademark, and
103 | attribution notices from the Source form of the Work,
104 | excluding those notices that do not pertain to any part of
105 | the Derivative Works; and
106 |
107 | (d) If the Work includes a "NOTICE" text file as part of its
108 | distribution, then any Derivative Works that You distribute must
109 | include a readable copy of the attribution notices contained
110 | within such NOTICE file, excluding those notices that do not
111 | pertain to any part of the Derivative Works, in at least one
112 | of the following places: within a NOTICE text file distributed
113 | as part of the Derivative Works; within the Source form or
114 | documentation, if provided along with the Derivative Works; or,
115 | within a display generated by the Derivative Works, if and
116 | wherever such third-party notices normally appear. The contents
117 | of the NOTICE file are for informational purposes only and
118 | do not modify the License. You may add Your own attribution
119 | notices within Derivative Works that You distribute, alongside
120 | or as an addendum to the NOTICE text from the Work, provided
121 | that such additional attribution notices cannot be construed
122 | as modifying the License.
123 |
124 | You may add Your own copyright statement to Your modifications and
125 | may provide additional or different license terms and conditions
126 | for use, reproduction, or distribution of Your modifications, or
127 | for any such Derivative Works as a whole, provided Your use,
128 | reproduction, and distribution of the Work otherwise complies with
129 | the conditions stated in this License.
130 |
131 | 5. Submission of Contributions. Unless You explicitly state otherwise,
132 | any Contribution intentionally submitted for inclusion in the Work
133 | by You to the Licensor shall be under the terms and conditions of
134 | this License, without any additional terms or conditions.
135 | Notwithstanding the above, nothing herein shall supersede or modify
136 | the terms of any separate license agreement you may have executed
137 | with Licensor regarding such Contributions.
138 |
139 | 6. Trademarks. This License does not grant permission to use the trade
140 | names, trademarks, service marks, or product names of the Licensor,
141 | except as required for reasonable and customary use in describing the
142 | origin of the Work and reproducing the content of the NOTICE file.
143 |
144 | 7. Disclaimer of Warranty. Unless required by applicable law or
145 | agreed to in writing, Licensor provides the Work (and each
146 | Contributor provides its Contributions) on an "AS IS" BASIS,
147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 | implied, including, without limitation, any warranties or conditions
149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 | PARTICULAR PURPOSE. You are solely responsible for determining the
151 | appropriateness of using or redistributing the Work and assume any
152 | risks associated with Your exercise of permissions under this License.
153 |
154 | 8. Limitation of Liability. In no event and under no legal theory,
155 | whether in tort (including negligence), contract, or otherwise,
156 | unless required by applicable law (such as deliberate and grossly
157 | negligent acts) or agreed to in writing, shall any Contributor be
158 | liable to You for damages, including any direct, indirect, special,
159 | incidental, or consequential damages of any character arising as a
160 | result of this License or out of the use or inability to use the
161 | Work (including but not limited to damages for loss of goodwill,
162 | work stoppage, computer failure or malfunction, or any and all
163 | other commercial damages or losses), even if such Contributor
164 | has been advised of the possibility of such damages.
165 |
166 | 9. Accepting Warranty or Additional Liability. While redistributing
167 | the Work or Derivative Works thereof, You may choose to offer,
168 | and charge a fee for, acceptance of support, warranty, indemnity,
169 | or other liability obligations and/or rights consistent with this
170 | License. However, in accepting such obligations, You may act only
171 | on Your own behalf and on Your sole responsibility, not on behalf
172 | of any other Contributor, and only if You agree to indemnify,
173 | defend, and hold each Contributor harmless for any liability
174 | incurred by, or claims asserted against, such Contributor by reason
175 | of your accepting any such warranty or additional liability.
176 |
177 | END OF TERMS AND CONDITIONS
178 |
179 | APPENDIX: How to apply the Apache License to your work.
180 |
181 | To apply the Apache License to your work, attach the following
182 | boilerplate notice, with the fields enclosed by brackets "[]"
183 | replaced with your own identifying information. (Don't include
184 | the brackets!) The text should be enclosed in the appropriate
185 | comment syntax for the file format. We also recommend that a
186 | file or class name and description of purpose be included on the
187 | same "printed page" as the copyright notice for easier
188 | identification within third-party archives.
189 |
190 | Copyright [yyyy] [name of copyright owner]
191 |
192 | Licensed under the Apache License, Version 2.0 (the "License");
193 | you may not use this file except in compliance with the License.
194 | You may obtain a copy of the License at
195 |
196 | http://www.apache.org/licenses/LICENSE-2.0
197 |
198 | Unless required by applicable law or agreed to in writing, software
199 | distributed under the License is distributed on an "AS IS" BASIS,
200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 | See the License for the specific language governing permissions and
202 | limitations under the License.
203 |
204 |
--------------------------------------------------------------------------------