From 6f844b993a11e429f3cc6b681d1b1d375110db50 Mon Sep 17 00:00:00 2001 From: ddrechse Date: Fri, 28 Apr 2023 10:16:07 -0400 Subject: [PATCH 1/3] Add Jakarta.JMS starter and sample app --- .../aqjms-jakarta_sample/pom.xml | 39 + .../main/java/com/example/aqjms/Email.java | 20 + .../example/aqjms/JmsSampleApplication.java | 54 ++ .../main/java/com/example/aqjms/Receiver.java | 15 + .../src/main/resources/application.properties | 5 + .../LICENSE.txt | 88 ++ .../THIRD_PARTY_LICENSES.txt | 875 ++++++++++++++++++ ...oracle-spring-boot-starter-aqjms-3.0.2.pom | 158 ++++ .../oracle-spring-boot-starter-aqjms/pom.xml | 158 ++++ .../spring/aqjms/AqJmsAutoConfiguration.java | 48 + .../aqjms/AqJmsConfigurationProperties.java | 18 + .../main/resources/META-INF/spring.factories | 2 + ...ot.autoconfigure.AutoConfiguration.imports | 1 + 13 files changed, 1481 insertions(+) create mode 100644 developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml create mode 100644 developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Email.java create mode 100644 developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/JmsSampleApplication.java create mode 100644 developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Receiver.java create mode 100644 developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/resources/application.properties create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/LICENSE.txt create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/THIRD_PARTY_LICENSES.txt create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/oracle-spring-boot-starter-aqjms-3.0.2.pom create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/pom.xml create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsAutoConfiguration.java create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsConfigurationProperties.java create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring.factories create mode 100644 spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml new file mode 100644 index 000000000..c43096e27 --- /dev/null +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml @@ -0,0 +1,39 @@ + + + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.0.2 + + + com.example + aqjms-sample + 0.0.1-SNAPSHOT + aqjms-jakarta-sample + Demo project for Spring Boot + + 17 + + + + + com.oracle.database.spring + oracle-spring-boot-starter-aqjms + 3.0.2 + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + \ No newline at end of file diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Email.java b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Email.java new file mode 100644 index 000000000..7be162548 --- /dev/null +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Email.java @@ -0,0 +1,20 @@ +// Copyright (c) 2023, Oracle and/or its affiliates. +// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + +package com.example.aqjms; + +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; + +@AllArgsConstructor +@NoArgsConstructor +@Getter +@Setter +@ToString +public class Email { + private String to; + private String body; +} diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/JmsSampleApplication.java b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/JmsSampleApplication.java new file mode 100644 index 000000000..efc57f126 --- /dev/null +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/JmsSampleApplication.java @@ -0,0 +1,54 @@ +// Copyright (c) 2023, Oracle and/or its affiliates. +// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + +package com.example.aqjms; + +import jakarta.jms.ConnectionFactory; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer; +import org.springframework.context.ConfigurableApplicationContext; +import org.springframework.context.annotation.Bean; +import org.springframework.jms.annotation.EnableJms; +import org.springframework.jms.config.DefaultJmsListenerContainerFactory; +import org.springframework.jms.config.JmsListenerContainerFactory; +import org.springframework.jms.core.JmsTemplate; +import org.springframework.jms.support.converter.MappingJackson2MessageConverter; +import org.springframework.jms.support.converter.MessageConverter; +import org.springframework.jms.support.converter.MessageType; + +@SpringBootApplication +@EnableJms +public class JmsSampleApplication { + + @Bean + public JmsListenerContainerFactory myFactory(ConnectionFactory connectionFactory, + DefaultJmsListenerContainerFactoryConfigurer configurer) { + DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory(); + // This provides all boot's default to this factory, including the message converter + configurer.configure(factory, connectionFactory); + // You could still override some of Boot's default if necessary. + return factory; + } + + @Bean // Serialize message content to json using TextMessage + public MessageConverter jacksonJmsMessageConverter() { + MappingJackson2MessageConverter converter = new MappingJackson2MessageConverter(); + converter.setTargetType(MessageType.TEXT); + converter.setTypeIdPropertyName("_type"); + return converter; + } + + public static void main(String[] args) { + // Launch the application + ConfigurableApplicationContext context = SpringApplication.run(JmsSampleApplication.class, args); + + JmsTemplate jmsTemplate = context.getBean(JmsTemplate.class); + + // Send a message with a POJO - the template reuse the message converter + System.out.println("Sending an email message."); + jmsTemplate.convertAndSend("mailbox", new Email("info@example.com", "Hello")); + } + +} diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Receiver.java b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Receiver.java new file mode 100644 index 000000000..969095095 --- /dev/null +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/java/com/example/aqjms/Receiver.java @@ -0,0 +1,15 @@ +// Copyright (c) 2023, Oracle and/or its affiliates. +// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + +package com.example.aqjms; + +import org.springframework.jms.annotation.JmsListener; +import org.springframework.stereotype.Component; + +@Component +public class Receiver { + @JmsListener(destination = "mailbox", containerFactory = "myFactory") + public void receiveMessage(Email email) { + System.out.println("Received <" + email + ">"); + } +} diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/resources/application.properties b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/resources/application.properties new file mode 100644 index 000000000..e579cda91 --- /dev/null +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/src/main/resources/application.properties @@ -0,0 +1,5 @@ + +oracle.aq.username=pdbadmin +oracle.aq.password=Welcome123 +oracle.aq.url=jdbc:oracle:thin:@//172.17.0.2:1521/pdb1 +oracle.aq.queue=mailbox \ No newline at end of file diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/LICENSE.txt b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/LICENSE.txt new file mode 100644 index 000000000..600cc3d7a --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/LICENSE.txt @@ -0,0 +1,88 @@ +Oracle Free Use Terms and Conditions + +Definitions + +"Oracle" refers to Oracle America, Inc. "You" and "Your" refers to (a) a company or organization (each an "Entity") +accessing the Programs, if use of the Programs will be on behalf of such Entity; or (b) an individual accessing the +Programs, if use of the Programs will not be on behalf of an Entity. "Program(s)" refers to Oracle software provided +by Oracle pursuant to the following terms and any updates, error corrections, and/or Program Documentation provided +by Oracle. "Program Documentation" refers to Program user manuals and Program installation manuals, if any. +If available, Program Documentation may be delivered with the Programs and/or may be accessed from +www.oracle.com/documentation. +"Separate Terms" refers to separate license terms that are specified in the Program Documentation, readmes or notice +files and that apply to Separately Licensed Technology. "Separately Licensed Technology" refers to Oracle or third +party technology that is licensed under Separate Terms and not under the terms of this license. + +Separately Licensed Technology + +Oracle may provide certain notices to You in Program Documentation, readmes or notice files in connection with Oracle +or third party technology provided as or with the Programs. If specified in the Program Documentation, readmes or +notice files, such technology will be licensed to You under Separate Terms. Your rights to use Separately Licensed +Technology under Separate Terms are not restricted in any way by the terms herein. For clarity, notwithstanding +the existence of a notice, third party technology that is not Separately Licensed Technology shall be deemed part +of the Programs licensed to You under the terms of this license. + +Source Code for Open Source Software + +For software that You receive from Oracle in binary form that is licensed under an open source license that gives +You the right to receive the source code for that binary, You can obtain a copy of the applicable source code from +https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode. If the source code for such software +was not provided to You with the binary, You can also receive a copy of the source code on physical media by +submitting a written request pursuant to the instructions in the "Written Offer for Source Code" section of the +latter website. + +------------------------------------------------------------------------------- + +The following license terms apply to those Programs that are not provided to You under Separate Terms. + +License Rights and Restrictions + +Oracle grants to You, as a recipient of this Program, a nonexclusive, nontransferable, limited license to, subject +to the conditions stated herein, (a) internally use the unmodified Programs for the purposes of developing, testing, +prototyping and demonstrating your applications, and running the Programs for your own internal business operations; +and (b) redistribute unmodified Programs and Programs Documentation, under the terms of this License, provided that +You do not charge Your end users any additional fees for the use of the Programs. You may make copies of the Programs +to the extent reasonably necessary for exercising the license rights granted herein and for backup purposes. You are +granted the right to use the Programs to provide third party training in the use of the Programs and associated +Separately Licensed Technology only if there is express authorization of such use by Oracle on the Program's download +page or in the Program Documentation. + +Your license is contingent on Your compliance with the following conditions: + +- You include a copy of this license with any distribution by You of the Programs; + +- You do not remove markings or notices of either Oracle's or a licensor's proprietary rights from the Programs or +Program Documentation; + +- You comply with all U.S. and applicable export control and economic sanctions laws and regulations that govern +Your use of the Programs (including technical data); + +- You do not cause or permit reverse engineering, disassembly or decompilation of the Programs (except as allowed by law) +by You nor allow an associated party to do so. + +For clarity, any source code that may be included in the distribution with the Programs is provided solely for reference +purposes and may not be modified, unless such source code is under Separate Terms permitting modification. + +Ownership + +Oracle or its licensors retain all ownership and intellectual property rights to the Programs. + +Information Collection + +The Programs' installation and/or auto-update processes, if any, may transmit a limited amount of data to Oracle +or its service provider about those processes to help Oracle understand and optimize them. Oracle does not associate +the data with personally identifiable information. Refer to Oracle's Privacy Policy at www.oracle.com/privacy. + +Disclaimer of Warranties; Limitation of Liability + +THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER DISCLAIMS ALL WARRANTIES, +EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR +A PARTICULAR PURPOSE, OR NONINFRINGEMENT. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL ORACLE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING +BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN +ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +Last updated: 9 October 2018 diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/THIRD_PARTY_LICENSES.txt b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/THIRD_PARTY_LICENSES.txt new file mode 100644 index 000000000..3aa00c127 --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/THIRD_PARTY_LICENSES.txt @@ -0,0 +1,875 @@ +=== Public License Template === + +------------------------------ Top-Level License ------------------------------- +SPDX:Apache-2.0 + +---------------------------------- Copyright ----------------------------------- +Copyright (c) 2023, Oracle and/or its affiliates. + +-------------------------- Fourth Party Dependencies --------------------------- + +----------------------------------- Licenses ----------------------------------- +- Apache-2.0 + +--------------------------------- (separator) ---------------------------------- + +== Dependency +ch.qos.logback:logback-classic + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (C) 1999-2015, QOS.ch. All rights reserved. +Copyright (C) 1999-2021, QOS.ch. All rights reserved. +Copyright (C) 1999-2022, QOS.ch. All rights reserved. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +ch.qos.logback:logback-core + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (C) 1999-2002, QOS.ch. All rights reserved. +Copyright (C) 1999-2015, QOS.ch. All rights reserved. +Copyright (C) 1999-2021, QOS.ch. All rights reserved. +Copyright (C) 1999-2022, QOS.ch. All rights reserved. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +com.fasterxml.jackson.core:jackson-annotations + +== License Type +SPDX:Apache-2.0 + +== Copyright +(no copyright notices found) + +--------------------------------- (separator) ---------------------------------- + +== Dependency +com.fasterxml.jackson.core:jackson-core + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2007- Tatu Saloranta, tatu.saloranta@iki.fi +Copyright 2018-2020 Raffaello Giulietti + +== Notices +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers. + +## Licensing + +Jackson 2.x core and extension components are licensed under Apache License 2.0 +To find the details that apply to this artifact see the accompanying LICENSE file. + +## Credits + +A list of contributors may be found from CREDITS(-2.x) file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. + + +--------------------------------- (separator) ---------------------------------- + +== Dependency +com.fasterxml.jackson.core:jackson-databind + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2010 Google Inc. All Rights Reserved. +Copyright 2011 Google Inc. All Rights Reserved. + +== Notices +# Jackson JSON processor + +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers. + +## Licensing + +Jackson 2.x core and extension components are licensed under Apache License 2.0 +To find the details that apply to this artifact see the accompanying LICENSE file. + +## Credits + +A list of contributors may be found from CREDITS(-2.x) file, which is included +in some artifacts (usually source distributions); but is always available +from the source code management (SCM) system project uses. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +jakarta.annotation:jakarta.annotation-api + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2009, 2022 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved. + +== Notices +# Notices for Jakarta Annotations + +This content is produced and maintained by the Jakarta Annotations project. + + * Project home: https://projects.eclipse.org/projects/ee4j.ca + +## Trademarks + +Jakarta Annotations is a trademark of the Eclipse Foundation. + +## Declared Project Licenses + +This program and the accompanying materials are made available under the terms +of the Eclipse Public License v. 2.0 which is available at +http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made +available under the following Secondary Licenses when the conditions for such +availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU +General Public License, version 2 with the GNU Classpath Exception which is +available at https://www.gnu.org/software/classpath/license.html. + +SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + +## Source Code + +The project maintains the following source code repositories: + + * https://github.com/eclipse-ee4j/common-annotations-api + +## Third-party Content + +## Cryptography + +Content may contain encryption software. The country in which you are currently +may have restrictions on the import, possession, and use, and/or re-export to +another country, of encryption software. BEFORE using any encryption software, +please check the country's laws, regulations and policies concerning the import, +possession, or use, and re-export of encryption software, to see if this is +permitted. + + +--------------------------------- (separator) ---------------------------------- + +== Dependency +jakarta.jms:jakarta.jms-api + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2021 Contributors to the Eclipse Foundation + +== Notices +# Notices for the Jakarta Messaging project + +This content is produced and maintained by the Jakarta Messaging project. + +* Project home: https://projects.eclipse.org/projects/ee4j.messaging + +## Trademarks + +Eclipse Project for JMS is a trademark of the Eclipse Foundation. + +## Copyright + +All content is the property of the respective authors or their employers. For +more information regarding authorship of content, please consult the listed +source code repository logs. + +## Declared Project Licenses + +This program and the accompanying materials are made available under the terms +of the Eclipse Public License v. 2.0 which is available at +http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made +available under the following Secondary Licenses when the conditions for such +availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU +General Public License, version 2 with the GNU Classpath Exception which is +available at https://www.gnu.org/software/classpath/license.html. + +SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + +## Source Code + +The project maintains the following source code repositories: + +* https://github.com/eclipse-ee4j/messaging +* https://github.com/eclipse-ee4j/messaging-propsals + +## Third-party Content + +## Cryptography + +Content may contain encryption software. The country in which you are currently +may have restrictions on the import, possession, and use, and/or re-export to +another country, of encryption software. BEFORE using any encryption software, +please check the country's laws, regulations and policies concerning the import, +possession, or use, and re-export of encryption software, to see if this is +permitted. + + +--------------------------------- (separator) ---------------------------------- + +== Dependency +jakarta.management.j2ee:jakarta.management.j2ee-api + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +javax.transaction:jta + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2006 Sun Microsystems, Inc. All rights reserved. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.apache.logging.log4j:log4j-api + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 1999-2022 The Apache Software Foundation + +== Notices + +Apache Log4j API +Copyright 1999-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + + + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.apache.logging.log4j:log4j-to-slf4j + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 1999-2022 The Apache Software Foundation + +== Notices + +Apache Log4j to SLF4J Adapter +Copyright 1999-2022 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + + + + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.projectlombok:lombok + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (C) 2009 The Project Lombok Authors. +Copyright (C) 2009-2010 The Project Lombok Authors. +Copyright (C) 2009-2011 The Project Lombok Authors. +Copyright (C) 2009-2012 The Project Lombok Authors. +Copyright (C) 2009-2014 The Project Lombok Authors. +Copyright (C) 2009-2016 The Project Lombok Authors. +Copyright (C) 2009-2017 The Project Lombok Authors. +Copyright (C) 2009-2018 The Project Lombok Authors. +Copyright (C) 2009-2019 The Project Lombok Authors. +Copyright (C) 2009-2020 The Project Lombok Authors. +Copyright (C) 2009-2021 The Project Lombok Authors. +Copyright (C) 2009-2021 The Project Lombok Authors."); +Copyright (C) 2009-2022 The Project Lombok Authors. +Copyright (C) 2010 The Project Lombok Authors. +Copyright (C) 2010-2011 The Project Lombok Authors. +Copyright (C) 2010-2012 The Project Lombok Authors. +Copyright (C) 2010-2013 The Project Lombok Authors. +Copyright (C) 2010-2017 The Project Lombok Authors. +Copyright (C) 2010-2018 The Project Lombok Authors. +Copyright (C) 2010-2019 The Project Lombok Authors. +Copyright (C) 2010-2020 The Project Lombok Authors. +Copyright (C) 2010-2021 The Project Lombok Authors. +Copyright (C) 2011 The Project Lombok Authors. +Copyright (C) 2011-2013 The Project Lombok Authors. +Copyright (C) 2011-2015 The Project Lombok Authors. +Copyright (C) 2011-2019 The Project Lombok Authors. +Copyright (C) 2011-2020 The Project Lombok Authors. +Copyright (C) 2011-2021 The Project Lombok Authors. +Copyright (C) 2012 The Project Lombok Authors. +Copyright (C) 2012-2013 The Project Lombok Authors. +Copyright (C) 2012-2014 The Project Lombok Authors. +Copyright (C) 2012-2017 The Project Lombok Authors. +Copyright (C) 2012-2019 The Project Lombok Authors. +Copyright (C) 2012-2021 The Project Lombok Authors. +Copyright (C) 2012-2022 The Project Lombok Authors. +Copyright (C) 2013 The Project Lombok Authors. +Copyright (C) 2013-2014 The Project Lombok Authors. +Copyright (C) 2013-2015 The Project Lombok Authors. +Copyright (C) 2013-2017 The Project Lombok Authors. +Copyright (C) 2013-2018 The Project Lombok Authors. +Copyright (C) 2013-2019 The Project Lombok Authors. +Copyright (C) 2013-2020 The Project Lombok Authors. +Copyright (C) 2013-2021 The Project Lombok Authors. +Copyright (C) 2013-2022 The Project Lombok Authors. +Copyright (C) 2014 The Project Lombok Authors. +Copyright (C) 2014-2015 The Project Lombok Authors. +Copyright (C) 2014-2018 The Project Lombok Authors. +Copyright (C) 2014-2019 The Project Lombok Authors. +Copyright (C) 2014-2020 The Project Lombok Authors. +Copyright (C) 2014-2021 The Project Lombok Authors. +Copyright (C) 2014-2022 The Project Lombok Authors. +Copyright (C) 2015 The Project Lombok Authors. +Copyright (C) 2015-2016 The Project Lombok Authors. +Copyright (C) 2015-2017 The Project Lombok Authors. +Copyright (C) 2015-2019 The Project Lombok Authors. +Copyright (C) 2015-2020 The Project Lombok Authors. +Copyright (C) 2015-2021 The Project Lombok Authors. +Copyright (C) 2016 The Project Lombok Authors. +Copyright (C) 2016-2017 The Project Lombok Authors. +Copyright (C) 2016-2021 The Project Lombok Authors. +Copyright (C) 2017 The Project Lombok Authors. +Copyright (C) 2017-2021 The Project Lombok Authors. +Copyright (C) 2018 The Project Lombok Authors. +Copyright (C) 2018-2021 The Project Lombok Authors. +Copyright (C) 2019 The Project Lombok Authors. +Copyright (C) 2019-2020 The Project Lombok Authors. +Copyright (C) 2020 The Project Lombok Authors. +Copyright (C) 2020-2021 The Project Lombok Authors. +Copyright (C) 2020-2022 The Project Lombok Authors. +Copyright (C) 2021 The Project Lombok Authors. +Copyright (C) 2022 The Project Lombok Authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.slf4j:jul-to-slf4j + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2004-2011 QOS.ch + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.slf4j:slf4j-api + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2004-2011 QOS.ch +Copyright (c) 2004-2019 QOS.ch +Copyright (c) 2004-2021 QOS.ch +Copyright (c) 2004-2022 QOS.ch + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework.boot:spring-boot-autoconfigure + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2012-2023 VMware, Inc. +Copyright 2012-2019 the original author or authors. +Copyright 2012-2020 the original author or authors. +Copyright 2012-2021 the original author or authors. +Copyright 2012-2022 the original author or authors. +Copyright 2012-2023 the original author or authors. +Copyright 2020-2022 the original author or authors. + +== Notices +Spring Boot 3.0.2 +Copyright (c) 2012-2023 VMware, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework.boot:spring-boot-starter-logging + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2012-2023 VMware, Inc. + +== Notices +Spring Boot 3.0.2 +Copyright (c) 2012-2023 VMware, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework.boot:spring-boot-starter + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2012-2023 VMware, Inc. + +== Notices +Spring Boot 3.0.2 +Copyright (c) 2012-2023 VMware, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework.boot:spring-boot + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2012-2023 VMware, Inc. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. +Copyright 2012-2019 the original author or authors. +Copyright 2012-2020 the original author or authors. +Copyright 2012-2021 the original author or authors. +Copyright 2012-2022 the original author or authors. +Copyright 2012-2023 the original author or authors. +Copyright 2019-2022 the original author or authors. + +== Notices +Spring Boot 3.0.2 +Copyright (c) 2012-2023 VMware, Inc. + +This product is licensed to you under the Apache License, Version 2.0 +(the "License"). You may not use this product except in compliance with +the License. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-aop + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2006 the original author or authors. +Copyright 2002-2007 the original author or authors. +Copyright 2002-2008 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2013 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2015 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. +Copyright 2002-2023 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-beans + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2007 the original author or authors. +Copyright 2002-2009 the original author or authors. +Copyright 2002-2010 the original author or authors. +Copyright 2002-2011 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2013 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2015 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. +Copyright 2002-2023 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-context + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2005 the original author or authors. +Copyright 2002-2007 the original author or authors. +Copyright 2002-2009 the original author or authors. +Copyright 2002-2011 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2013 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2015 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. +Copyright 2002-2023 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-core + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (C) 2014 Google, Inc. +Copyright (C) 2015 Square, Inc. +Copyright (C) 2016 Square, Inc. +Copyright (c) 2000-2005 INRIA, France Telecom +Copyright (c) 2000-2011 INRIA, France Telecom +Copyright 2002,2003 The Apache Software Foundation +Copyright 2002,2003,2004 The Apache Software Foundation +Copyright 2002-2007 the original author or authors. +Copyright 2002-2009 the original author or authors. +Copyright 2002-2010 the original author or authors. +Copyright 2002-2011 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2015 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. +Copyright 2002-2023 the original author or authors. +Copyright 2003 The Apache Software Foundation +Copyright 2003,2004 The Apache Software Foundation +Copyright 2004 The Apache Software Foundation +Copyright 2006-2021 the original author or authors. +Copyright 2011 The Apache Software Foundation +Copyright 2012-2020 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-expression + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2009 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2013 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-jcl + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2022 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-jms + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2006 the original author or authors. +Copyright 2002-2007 the original author or authors. +Copyright 2002-2008 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-messaging + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2012 the original author or authors. +Copyright 2002-2013 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2015 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.springframework:spring-tx + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2002-2008 the original author or authors. +Copyright 2002-2012 the original author or authors. +Copyright 2002-2013 the original author or authors. +Copyright 2002-2014 the original author or authors. +Copyright 2002-2015 the original author or authors. +Copyright 2002-2016 the original author or authors. +Copyright 2002-2017 the original author or authors. +Copyright 2002-2018 the original author or authors. +Copyright 2002-2019 the original author or authors. +Copyright 2002-2020 the original author or authors. +Copyright 2002-2021 the original author or authors. +Copyright 2002-2022 the original author or authors. + +--------------------------------- (separator) ---------------------------------- + +== Dependency +org.yaml:snakeyaml + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright (c) 2008 Google Inc. +Copyright (c) 2008, SnakeYAML +Copyright 2003-2010 Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland + +----------------------------------- Licenses ----------------------------------- +== SPDX:Apache-2.0 + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the +copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other +entities that control, are controlled by, or are under common control with +that entity. For the purposes of this definition, "control" means (i) the +power, direct or indirect, to cause the direction or management of such +entity, whether by contract or otherwise, or (ii) ownership of fifty percent +(50%) or more of the outstanding shares, or (iii) beneficial ownership of such +entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising +permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation source, and +configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object +code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, +made available under the License, as indicated by a copyright notice that is +included in or attached to the work (an example is provided in the Appendix +below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative +Works shall not include works that remain separable from, or merely link (or +bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original +version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the copyright owner or by an individual or Legal +Entity authorized to submit on behalf of the copyright owner. For the purposes +of this definition, "submitted" means any form of electronic, verbal, or +written communication sent to the Licensor or its representatives, including +but not limited to communication on electronic mailing lists, source code +control systems, and issue tracking systems that are managed by, or on behalf +of, the Licensor for the purpose of discussing and improving the Work, but +excluding communication that is conspicuously marked or otherwise designated +in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +(a) You must give any other recipients of the Work or Derivative Works a copy +of this License; and + +(b) You must cause any modified files to carry prominent notices stating that +You changed the files; and + +(c) You must retain, in the Source form of any Derivative Works that You +distribute, all copyright, patent, trademark, and attribution notices from the +Source form of the Work, excluding those notices that do not pertain to any +part of the Derivative Works; and + +(d) If the Work includes a "NOTICE" text file as part of its distribution, +then any Derivative Works that You distribute must include a readable copy of +the attribution notices contained within such NOTICE file, excluding those +notices that do not pertain to any part of the Derivative Works, in at least +one of the following places: within a NOTICE text file distributed as part of +the Derivative Works; within the Source form or documentation, if provided +along with the Derivative Works; or, within a display generated by the +Derivative Works, if and wherever such third-party notices normally appear. +The contents of the NOTICE file are for informational purposes only and do not +modify the License. You may add Your own attribution notices within Derivative +Works that You distribute, alongside or as an addendum to the NOTICE text from +the Work, provided that such additional attribution notices cannot be +construed as modifying the License. + +You may add Your own copyright statement to Your modifications and may provide +additional or different license terms and conditions for use, reproduction, or +distribution of Your modifications, or for any such Derivative Works as a +whole, provided Your use, reproduction, and distribution of the Work otherwise +complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate +notice, with the fields enclosed by brackets "[]" replaced with your own +identifying information. (Don't include the brackets!) The text should be +enclosed in the appropriate comment syntax for the file format. We also +recommend that a file or class name and description of purpose be included on +the same "printed page" as the copyright notice for easier identification +within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +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. + + +=== ATTRIBUTION-HELPER-GENERATED: +=== Attribution helper version: {Major:0 Minor:11 GitVersion:0.10.0-69-g9cf205e3-dirty GitCommit:9cf205e3ce436f506f0901d927c1e417e72f384f GitTreeState:dirty BuildDate:2023-01-26T09:24:19Z GoVersion:go1.16 Compiler:gc Platform:linux/amd64} diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/oracle-spring-boot-starter-aqjms-3.0.2.pom b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/oracle-spring-boot-starter-aqjms-3.0.2.pom new file mode 100644 index 000000000..bc890ad79 --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/oracle-spring-boot-starter-aqjms-3.0.2.pom @@ -0,0 +1,158 @@ + + + + + 4.0.0 + + oracle-spring-boot-starters + com.oracle.database.spring + 3.0.2 + ../pom.xml + + + oracle-spring-boot-starter-aqjms + 3.0.2 + jar + + + Oracle Spring Boot Starter - AQ JMS + Oracle's implementation of Spring Boot Starter for using with Oracle AQ JMS + https://github.com/oracle/microservices-datadriven/tree/main/spring/oracle-spring-boot-starters/oracle-spring-boot-starter-aqjms + + + Oracle America, Inc. + http://www.oracle.com + + + + + Oracle + obaas_ww at oracle.com + Oracle America, Inc. + http://www.oracle.com + + + + + + Oracle Free Use Terms and Conditions (FUTC) + + https://www.oracle.com/downloads/licenses/oracle-free-license.html + + + + + + + org.springframework.boot + spring-boot-starter + + + com.oracle.database.spring + oracle-spring-boot-starter-ucp + ${project.version} + pom + compile + + + org.springframework + spring-jms + compile + + + com.oracle.database.messaging + aqapi-jakarta + 23.2.0.0 + + + com.fasterxml.jackson.core + jackson-databind + + + javax.transaction + jta + 1.1 + + + jakarta.jms + jakarta.jms-api + + + jakarta.management.j2ee + jakarta.management.j2ee-api + + + org.projectlombok + lombok + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + false + + true + true + + + ${project.artifactId}-${project.version} + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + + false + + true + true + + + + + + -Xdoclint:none + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + false + + true + true + + + + + + maven-surefire-plugin + 2.22.0 + + + + + + scm:git:git://github.com/oracle/microservices-datadriven.git + scm:git:ssh://git@github.com:oracle/microservices-datadriven.git + https://github.com/oracle/microservices-datadriven/tree/main/spring/oracle-spring-boot-starters + + + + GitHub + https://github.com/oracle/microservices-datadriven/issues + + diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/pom.xml b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/pom.xml new file mode 100644 index 000000000..bc890ad79 --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/pom.xml @@ -0,0 +1,158 @@ + + + + + 4.0.0 + + oracle-spring-boot-starters + com.oracle.database.spring + 3.0.2 + ../pom.xml + + + oracle-spring-boot-starter-aqjms + 3.0.2 + jar + + + Oracle Spring Boot Starter - AQ JMS + Oracle's implementation of Spring Boot Starter for using with Oracle AQ JMS + https://github.com/oracle/microservices-datadriven/tree/main/spring/oracle-spring-boot-starters/oracle-spring-boot-starter-aqjms + + + Oracle America, Inc. + http://www.oracle.com + + + + + Oracle + obaas_ww at oracle.com + Oracle America, Inc. + http://www.oracle.com + + + + + + Oracle Free Use Terms and Conditions (FUTC) + + https://www.oracle.com/downloads/licenses/oracle-free-license.html + + + + + + + org.springframework.boot + spring-boot-starter + + + com.oracle.database.spring + oracle-spring-boot-starter-ucp + ${project.version} + pom + compile + + + org.springframework + spring-jms + compile + + + com.oracle.database.messaging + aqapi-jakarta + 23.2.0.0 + + + com.fasterxml.jackson.core + jackson-databind + + + javax.transaction + jta + 1.1 + + + jakarta.jms + jakarta.jms-api + + + jakarta.management.j2ee + jakarta.management.j2ee-api + + + org.projectlombok + lombok + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + false + + true + true + + + ${project.artifactId}-${project.version} + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + + false + + true + true + + + + + + -Xdoclint:none + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + false + + true + true + + + + + + maven-surefire-plugin + 2.22.0 + + + + + + scm:git:git://github.com/oracle/microservices-datadriven.git + scm:git:ssh://git@github.com:oracle/microservices-datadriven.git + https://github.com/oracle/microservices-datadriven/tree/main/spring/oracle-spring-boot-starters + + + + GitHub + https://github.com/oracle/microservices-datadriven/issues + + diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsAutoConfiguration.java b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsAutoConfiguration.java new file mode 100644 index 000000000..8a84060c0 --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsAutoConfiguration.java @@ -0,0 +1,48 @@ +// Copyright (c) 2023, Oracle and/or its affiliates. +// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + +package com.oracle.spring.aqjms; + +import jakarta.jms.ConnectionFactory; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.context.properties.EnableConfigurationProperties; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import oracle.jakarta.jms.AQjmsFactory; +import oracle.ucp.jdbc.PoolDataSource; +import oracle.ucp.jdbc.PoolDataSourceFactory; + +@Configuration +@EnableConfigurationProperties(AqJmsConfigurationProperties.class) +public class AqJmsAutoConfiguration { + + @Autowired + private AqJmsConfigurationProperties properties; + + @Bean + @ConditionalOnMissingBean + public PoolDataSource dataSource() { + PoolDataSource ds = PoolDataSourceFactory.getPoolDataSource(); + try { + ds.setConnectionFactoryClassName("oracle.jdbc.pool.OracleDataSource"); + ds.setURL(properties.getUrl()); + ds.setUser(properties.getUsername()); + ds.setPassword(properties.getPassword()); + } catch (Exception ignore) {} + return ds; + } + + @Bean + @ConditionalOnMissingBean + public ConnectionFactory aqJmsConnectionFactory(PoolDataSource ds) { + ConnectionFactory connectionFactory = null; + try { + connectionFactory = AQjmsFactory.getConnectionFactory(ds); + } catch (Exception ignore) {} + return connectionFactory; + } + +} diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsConfigurationProperties.java b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsConfigurationProperties.java new file mode 100644 index 000000000..bd23e5979 --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/java/com/oracle/spring/aqjms/AqJmsConfigurationProperties.java @@ -0,0 +1,18 @@ +// Copyright (c) 2023, Oracle and/or its affiliates. +// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + +package com.oracle.spring.aqjms; + +import org.springframework.boot.context.properties.ConfigurationProperties; +import lombok.Getter; +import lombok.Setter; + +@ConfigurationProperties(prefix = "oracle.aq") +@Getter +@Setter +public class AqJmsConfigurationProperties { + private String url; + private String username; + private String password; + private String queue; +} diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring.factories b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring.factories new file mode 100644 index 000000000..bbff25348 --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring.factories @@ -0,0 +1,2 @@ +org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ +com.oracle.spring.aqjms.AqJmsAutoConfiguration \ No newline at end of file diff --git a/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 000000000..a6bf902ea --- /dev/null +++ b/spring/oracle-spring-boot-starters/3.0.2/oracle-spring-boot-starter-aqjms/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +com.oracle.spring.aqjms.AqJmsAutoConfiguration \ No newline at end of file From c9d1f35c0c655b45c448f5daca91e5add545ab2c Mon Sep 17 00:00:00 2001 From: ddrechse Date: Fri, 28 Apr 2023 11:23:18 -0400 Subject: [PATCH 2/3] Fix up module references --- .../mbaas-developer-preview/sample-spring-apps/pom.xml | 1 + spring/oracle-spring-boot-starters/3.0.2/pom.xml | 1 + 2 files changed, 2 insertions(+) mode change 100755 => 100644 developer-preview/mbaas-developer-preview/sample-spring-apps/pom.xml diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/pom.xml b/developer-preview/mbaas-developer-preview/sample-spring-apps/pom.xml old mode 100755 new mode 100644 index 73851485f..8de5e909e --- a/developer-preview/mbaas-developer-preview/sample-spring-apps/pom.xml +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/pom.xml @@ -20,6 +20,7 @@ bankb slow_service aqjms_sample + aqjms-jakarta_sample sample-spring-apps diff --git a/spring/oracle-spring-boot-starters/3.0.2/pom.xml b/spring/oracle-spring-boot-starters/3.0.2/pom.xml index 00f2ffca5..54605715c 100644 --- a/spring/oracle-spring-boot-starters/3.0.2/pom.xml +++ b/spring/oracle-spring-boot-starters/3.0.2/pom.xml @@ -27,6 +27,7 @@ oracle-spring-boot-starter-ucp + oracle-spring-boot-starter-aqjms From 5e82dd0e346dcfef93d96f557570cba2ce17e776 Mon Sep 17 00:00:00 2001 From: ddrechse Date: Mon, 1 May 2023 12:38:55 -0400 Subject: [PATCH 3/3] Fix up artifactId --- .../sample-spring-apps/aqjms-jakarta_sample/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml index c43096e27..f9335ec91 100644 --- a/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml +++ b/developer-preview/mbaas-developer-preview/sample-spring-apps/aqjms-jakarta_sample/pom.xml @@ -11,7 +11,7 @@ com.example - aqjms-sample + aqjms-jakarta-sample 0.0.1-SNAPSHOT aqjms-jakarta-sample Demo project for Spring Boot