From ca2f9008d61b12d05a4bbdd94799cde827d72ced Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 21 Oct 2024 11:17:51 +0100 Subject: [PATCH] Add copyright/license headers to Java and Kotlin source files Closes gh-250 --- .../example/batch/BatchApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/batch/BatchApplication.java | 16 ++++++++++++++++ .../com/example/batch/BatchConfiguration.java | 16 ++++++++++++++++ .../batch/JobCompletionNotificationListener.java | 16 ++++++++++++++++ .../src/main/java/com/example/batch/Person.java | 16 ++++++++++++++++ ...tuatorWebFluxMgmtPortApplicationAotTests.java | 16 ++++++++++++++++ .../ActuatorWebFluxMgmtPortApplication.java | 16 ++++++++++++++++ .../ActuatorWebFluxApplicationAotTests.java | 16 ++++++++++++++++ .../webflux/ActuatorWebFluxApplication.java | 16 ++++++++++++++++ .../actuator/webflux/RegisterCustomTimer.java | 16 ++++++++++++++++ .../health/AnotherCustomHealthIndicator.java | 16 ++++++++++++++++ .../webflux/health/CustomHealthIndicator.java | 16 ++++++++++++++++ ...ctuatorWebMvcMgmtPortApplicationAotTests.java | 16 ++++++++++++++++ .../ActuatorWebMvcMgmtPortApplication.java | 16 ++++++++++++++++ .../ActuatorWebMvcApplicationAotTests.java | 16 ++++++++++++++++ .../webmvc/ActuatorWebMvcApplication.java | 16 ++++++++++++++++ .../example/actuator/webmvc/CustomEndpoint.java | 16 ++++++++++++++++ .../actuator/webmvc/CustomWebEndpoint.java | 16 ++++++++++++++++ .../actuator/webmvc/RegisterCustomTimer.java | 16 ++++++++++++++++ .../health/AnotherCustomHealthIndicator.java | 16 ++++++++++++++++ .../webmvc/health/CustomHealthIndicator.java | 16 ++++++++++++++++ .../com/example/boot/tcf/BootTcfApplication.java | 16 ++++++++++++++++ .../com/example/boot/tcf/MyComponentImpl.java | 16 ++++++++++++++++ .../example/boot/tcf/MyComponentInterface.java | 16 ++++++++++++++++ .../java/com/example/boot/tcf/ArgsTests.java | 16 ++++++++++++++++ .../com/example/boot/tcf/MainMethodTests.java | 16 ++++++++++++++++ .../java/com/example/boot/tcf/MockBeanTests.java | 16 ++++++++++++++++ .../com/example/boot/tcf/OutputCaptureTests.java | 16 ++++++++++++++++ .../com/example/boot/tcf/PropertiesTests.java | 16 ++++++++++++++++ .../CommandlinerunnerApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/commandlinerunner/CLR.java | 16 ++++++++++++++++ .../CommandlinerunnerApplication.java | 16 ++++++++++++++++ .../commandlinerunner/service/MyService.java | 16 ++++++++++++++++ .../commandlinerunner/service/MyServiceImpl.java | 16 ++++++++++++++++ .../ConditionalApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/conditional/CLR.java | 16 ++++++++++++++++ .../conditional/ConditionalApplication.java | 16 ++++++++++++++++ .../ConfigPropsApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/configprops/CLR.java | 16 ++++++++++++++++ .../configprops/ConfigPropsApplication.java | 16 ++++++++++++++++ .../configprops/ctor/AppPropertiesCtor.java | 16 ++++++++++++++++ .../example/configprops/ctor/NestedNotInner.java | 16 ++++++++++++++++ .../configprops/javabean/AppProperties.java | 16 ++++++++++++++++ .../configprops/javabean/NestedNotInner.java | 16 ++++++++++++++++ .../configprops/records/AppPropertiesRecord.java | 16 ++++++++++++++++ .../configprops/records/NestedNotInner.java | 16 ++++++++++++++++ .../CustomBannerApplicationAotTests.java | 16 ++++++++++++++++ .../custombanner/CustomBannerApplication.java | 16 ++++++++++++++++ .../flyway/FlywayApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/flyway/FlywayApplication.java | 16 ++++++++++++++++ .../FreemarkerWebFluxApplicationAotTests.java | 16 ++++++++++++++++ .../webflux/FreemarkerWebFluxApplication.java | 16 ++++++++++++++++ .../freemarker/webflux/TestController.java | 16 ++++++++++++++++ .../FreemarkerWebMvcApplicationAotTests.java | 16 ++++++++++++++++ .../webmvc/FreemarkerWebMvcApplication.java | 16 ++++++++++++++++ .../freemarker/webmvc/TestController.java | 16 ++++++++++++++++ .../example/json/JsonApplicationAotTests.java | 16 ++++++++++++++++ .../json/src/main/java/com/example/json/CLR.java | 16 ++++++++++++++++ .../main/java/com/example/json/Dto2DeSer.java | 16 ++++++++++++++++ .../main/java/com/example/json/Dto3Mixin.java | 16 ++++++++++++++++ .../java/com/example/json/JsonApplication.java | 16 ++++++++++++++++ .../main/java/com/example/json/model/Dto.java | 16 ++++++++++++++++ .../main/java/com/example/json/model/Dto2.java | 16 ++++++++++++++++ .../main/java/com/example/json/model/Dto3.java | 16 ++++++++++++++++ .../com/example/json/JsonApplicationTests.java | 16 ++++++++++++++++ .../liquibase/LiquibaseApplicationAotTests.java | 16 ++++++++++++++++ .../example/liquibase/LiquibaseApplication.java | 16 ++++++++++++++++ .../xml/LogbackXmlApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/logbackspring/xml/CLR.java | 16 ++++++++++++++++ .../xml/LogbackSpringXmlApplication.java | 16 ++++++++++++++++ .../xml/LogbackXmlApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/logback/xml/CLR.java | 16 ++++++++++++++++ .../logback/xml/LogbackXmlApplication.java | 16 ++++++++++++++++ .../logback/LogbackApplicationAotTests.java | 16 ++++++++++++++++ .../src/main/java/com/example/logback/CLR.java | 16 ++++++++++++++++ .../com/example/logback/LogbackApplication.java | 16 ++++++++++++++++ .../MustacheWebFluxApplicationAotTests.java | 16 ++++++++++++++++ .../webflux/MustacheWebFluxApplication.java | 16 ++++++++++++++++ .../example/mustache/webflux/TestController.java | 16 ++++++++++++++++ .../MustacheWebMvcApplicationAotTests.java | 16 ++++++++++++++++ .../webmvc/MustacheWebMvcApplication.java | 16 ++++++++++++++++ .../example/mustache/webmvc/TestController.java | 16 ++++++++++++++++ .../ServletComponentScanApplicationAotTests.java | 16 ++++++++++++++++ .../ServletComponentScanApplication.java | 16 ++++++++++++++++ .../ServletComponentScanConfiguration.java | 16 ++++++++++++++++ .../servlet/componentscan/TestFilter.java | 16 ++++++++++++++++ .../servlet/componentscan/TestListener.java | 16 ++++++++++++++++ .../servlet/componentscan/TestServlet.java | 16 ++++++++++++++++ .../jetty/ServletJettyApplicationAotTests.java | 16 ++++++++++++++++ .../servlet/jetty/ServletConfiguration.java | 16 ++++++++++++++++ .../servlet/jetty/ServletJettyApplication.java | 16 ++++++++++++++++ .../com/example/servlet/jetty/TestServlet.java | 16 ++++++++++++++++ .../tomcat/ServletTomcatApplicationAotTests.java | 16 ++++++++++++++++ .../servlet/tomcat/ServletConfiguration.java | 16 ++++++++++++++++ .../servlet/tomcat/ServletTomcatApplication.java | 16 ++++++++++++++++ .../com/example/servlet/tomcat/TestServlet.java | 16 ++++++++++++++++ .../ServletUndertowApplicationAotTests.java | 16 ++++++++++++++++ .../servlet/undertow/ServletConfiguration.java | 16 ++++++++++++++++ .../undertow/ServletUndertowApplication.java | 16 ++++++++++++++++ .../example/servlet/undertow/TestServlet.java | 16 ++++++++++++++++ .../ThymeleafWebFluxApplicationAotTests.java | 16 ++++++++++++++++ .../thymeleaf/webflux/TestController.java | 16 ++++++++++++++++ .../webflux/ThymeleafWebFluxApplication.java | 16 ++++++++++++++++ .../ThymeleafWebMvcApplicationAotTests.java | 16 ++++++++++++++++ .../example/thymeleaf/webmvc/TestController.java | 16 ++++++++++++++++ .../webmvc/ThymeleafWebMvcApplication.java | 16 ++++++++++++++++ .../TracingBraveZipkinApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/tracing/brave/zipkin/CLR.java | 16 ++++++++++++++++ .../zipkin/TracingBraveZipkinApplication.java | 16 ++++++++++++++++ .../xmlconfig/XmlConfigApplicationAotTests.java | 16 ++++++++++++++++ .../src/main/java/com/example/xmlconfig/CLR.java | 16 ++++++++++++++++ .../example/xmlconfig/XmlConfigApplication.java | 16 ++++++++++++++++ .../com/example/xmlconfig/service/MyService.java | 16 ++++++++++++++++ .../example/xmlconfig/service/MyServiceImpl.java | 16 ++++++++++++++++ .../client/ConfigClientApplicationAotTests.java | 16 ++++++++++++++++ .../config/client/ConfigClientApplication.java | 16 ++++++++++++++++ ...ConsulDiscoveryClientApplicationAotTests.java | 16 ++++++++++++++++ .../consul/ConsulDiscoveryClientApplication.java | 16 ++++++++++++++++ ...EurekaDiscoveryClientApplicationAotTests.java | 16 ++++++++++++++++ .../eureka/CloudDiscoveryEurekaApplication.java | 16 ++++++++++++++++ ...keeperDiscoveryClientApplicationAotTests.java | 16 ++++++++++++++++ .../ZookeeperDiscoveryClientApplication.java | 16 ++++++++++++++++ .../web/CloudFunctionWebApplicationAotTests.java | 16 ++++++++++++++++ .../web/CloudFunctionWebApplication.java | 16 ++++++++++++++++ .../example/cloud/function/web/Lowercase.java | 16 ++++++++++++++++ .../example/cloud/function/web/Uppercase.java | 16 ++++++++++++++++ .../CloudFunctionWebFluxApplicationAotTests.java | 16 ++++++++++++++++ .../webflux/CloudFunctionWebFluxApplication.java | 16 ++++++++++++++++ .../cloud/function/webflux/Lowercase.java | 16 ++++++++++++++++ .../cloud/function/webflux/Uppercase.java | 16 ++++++++++++++++ .../gateway/CloudGatewayApplicationAotTests.java | 16 ++++++++++++++++ .../cloud/gateway/CloudGatewayApplication.java | 16 ++++++++++++++++ .../org/example/cloud/gateway/RoutesConfig.java | 16 ++++++++++++++++ ...LoadBalancerClientWebApplicationAotTests.java | 16 ++++++++++++++++ .../CloudLoadBalancerClientWebApplication.java | 16 ++++++++++++++++ .../loadbalancing/client/DemoServiceClient.java | 16 ++++++++++++++++ .../loadbalancing/client/TestServiceClient.java | 16 ++++++++++++++++ .../config/CustomLoadBalancerConfiguration.java | 16 ++++++++++++++++ .../loadbalancing/config/RestTemplateConfig.java | 16 ++++++++++++++++ .../service/LoadBalancerClientTestService.java | 16 ++++++++++++++++ ...BalancerClientWebFluxApplicationAotTests.java | 16 ++++++++++++++++ ...loudLoadBalancerClientWebFluxApplication.java | 16 ++++++++++++++++ .../loadbalancing/client/DemoServiceClient.java | 16 ++++++++++++++++ .../loadbalancing/client/TestServiceClient.java | 16 ++++++++++++++++ .../config/CustomLoadBalancerConfiguration.java | 16 ++++++++++++++++ .../loadbalancing/config/WebClientConfig.java | 16 ++++++++++++++++ .../service/LoadBalancerClientTestService.java | 16 ++++++++++++++++ .../CloudOpenFeignApplicationAotTests.java | 16 ++++++++++++++++ .../openfeign/CloudOpenFeignApplication.java | 16 ++++++++++++++++ .../openfeign/config/CustomFeignConfig.java | 16 ++++++++++++++++ .../kafka/SpringCloudStreamKafkaApplication.java | 16 ++++++++++++++++ ...ringCloudStreamRabbitApplicationAotTests.java | 16 ++++++++++++++++ .../SpringCloudStreamRabbitApplication.java | 16 ++++++++++++++++ .../cloud/task/CloudTaskApplicationAotTests.java | 16 ++++++++++++++++ .../example/cloud/task/CloudTaskApplication.java | 16 ++++++++++++++++ .../java/com/example/cloud/task/Listener.java | 16 ++++++++++++++++ ...DataCassandraReactiveApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/data/cassandra/reactive/CLR.java | 16 ++++++++++++++++ .../reactive/CassandraConfiguration.java | 16 ++++++++++++++++ .../DataCassandraReactiveApplication.java | 16 ++++++++++++++++ .../example/data/cassandra/reactive/Person.java | 16 ++++++++++++++++ .../DataCassandraApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/data/cassandra/CLR.java | 16 ++++++++++++++++ .../data/cassandra/CassandraConfiguration.java | 16 ++++++++++++++++ .../data/cassandra/DataCassandraApplication.java | 16 ++++++++++++++++ .../java/com/example/data/cassandra/Person.java | 16 ++++++++++++++++ .../jdbc/h2/DataJdbcH2ApplicationAotTests.java | 16 ++++++++++++++++ .../data/jdbc/h2/kotlin/AuthorRepository.kt | 16 ++++++++++++++++ .../com/example/data/jdbc/h2/kotlin/CLR.kt | 16 ++++++++++++++++ .../data/jdbc/h2/kotlin/DataJdbcConfiguration.kt | 16 ++++++++++++++++ .../data/jdbc/h2/kotlin/DataJdbcH2Application.kt | 16 ++++++++++++++++ .../example/data/jdbc/h2/kotlin/model/Author.kt | 16 ++++++++++++++++ .../example/data/jdbc/h2/kotlin/model/Book.kt | 16 ++++++++++++++++ .../example/data/jdbc/h2/kotlin/DataJdbcTests.kt | 16 ++++++++++++++++ .../jdbc/h2/DataJdbcH2ApplicationAotTests.java | 16 ++++++++++++++++ .../example/data/jdbc/h2/AuthorRepository.java | 16 ++++++++++++++++ .../main/java/com/example/data/jdbc/h2/CLR.java | 16 ++++++++++++++++ .../data/jdbc/h2/DataJdbcConfiguration.java | 16 ++++++++++++++++ .../data/jdbc/h2/DataJdbcH2Application.java | 16 ++++++++++++++++ .../com/example/data/jdbc/h2/model/Author.java | 16 ++++++++++++++++ .../com/example/data/jdbc/h2/model/Book.java | 16 ++++++++++++++++ .../com/example/data/jdbc/h2/DataJdbcTests.java | 16 ++++++++++++++++ .../DataJdbcPostgreSQLApplicationAotTests.java | 16 ++++++++++++++++ .../data/jdbc/postgresql/AuthorRepository.java | 16 ++++++++++++++++ .../com/example/data/jdbc/postgresql/CLR.java | 16 ++++++++++++++++ .../jdbc/postgresql/DataJdbcConfiguration.java | 16 ++++++++++++++++ .../DataJdbcPostgreSQLApplication.java | 16 ++++++++++++++++ .../data/jdbc/postgresql/model/Author.java | 16 ++++++++++++++++ .../example/data/jdbc/postgresql/model/Book.java | 16 ++++++++++++++++ .../DataJpaEntityScanApplicationAotTests.java | 16 ++++++++++++++++ .../data/entityscan/AuthorRepository.java | 16 ++++++++++++++++ .../java/com/example/data/entityscan/CLR.java | 16 ++++++++++++++++ .../data/entityscan/DataJpaConfiguration.java | 16 ++++++++++++++++ .../entityscan/DataJpaEntityScanApplication.java | 16 ++++++++++++++++ .../src/main/java/entity/Author.java | 16 ++++++++++++++++ .../data/entityscan/DataJpaEntityScanTests.java | 16 ++++++++++++++++ .../data/jpa/DataJpaApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/data/jpa/kotlin/CLR.java | 16 ++++++++++++++++ .../data/jpa/kotlin/DataJpaConfiguration.java | 16 ++++++++++++++++ .../jpa/kotlin/DataJpaKotlinApplication.java | 16 ++++++++++++++++ .../example/data/jpa/kotlin/AutorRepository.kt | 16 ++++++++++++++++ .../com/example/data/jpa/kotlin/model/Autor.kt | 16 ++++++++++++++++ .../com/example/data/jpa/kotlin/model/Book.kt | 16 ++++++++++++++++ .../data/jpa/DataJpaApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/data/jpa/AppInitializer.java | 16 ++++++++++++++++ .../com/example/data/jpa/AuthorRepository.java | 16 ++++++++++++++++ .../com/example/data/jpa/DataJpaApplication.java | 16 ++++++++++++++++ .../example/data/jpa/DataJpaConfiguration.java | 16 ++++++++++++++++ .../example/data/jpa/NonTransactionalRunner.java | 16 ++++++++++++++++ .../example/data/jpa/PublisherRepository.java | 16 ++++++++++++++++ .../example/data/jpa/TransactionalRunner.java | 16 ++++++++++++++++ .../com/example/data/jpa/VoucherRepository.java | 16 ++++++++++++++++ .../java/com/example/data/jpa/model/Author.java | 16 ++++++++++++++++ .../java/com/example/data/jpa/model/Book.java | 16 ++++++++++++++++ .../java/com/example/data/jpa/model/Voucher.java | 16 ++++++++++++++++ .../java/com/example/data/jpa/DataJpaTests.java | 16 ++++++++++++++++ .../DataMongoDbReactiveApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/data/mongodb/reactive/CLR.java | 16 ++++++++++++++++ .../reactive/DataMongoDbReactiveApplication.java | 16 ++++++++++++++++ .../example/data/mongodb/reactive/Person.java | 16 ++++++++++++++++ .../data/mongodb/reactive/PersonRepository.java | 16 ++++++++++++++++ .../mongodb/DataMongoDbApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/data/mongodb/CLR.java | 16 ++++++++++++++++ .../data/mongodb/DataMongoDbApplication.java | 16 ++++++++++++++++ .../data/mongodb/TransactionalComponent.java | 16 ++++++++++++++++ .../data/r2dbc/DataR2dbcApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/data/r2dbc/CLR.java | 16 ++++++++++++++++ .../example/data/r2dbc/DataR2dbcApplication.java | 16 ++++++++++++++++ .../data/r2dbc/ReservationRepository.java | 16 ++++++++++++++++ .../DataRedisReactiveApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/data/redis/reactive/CLR.java | 16 ++++++++++++++++ .../reactive/DataRedisReactiveApplication.java | 16 ++++++++++++++++ .../data/redis/reactive/RedisConfiguration.java | 16 ++++++++++++++++ .../data/redis/DataRedisApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/data/redis/CLR.java | 16 ++++++++++++++++ .../example/data/redis/DataRedisApplication.java | 16 ++++++++++++++++ .../DataRestMongoDbApplicationAotTests.java | 16 ++++++++++++++++ .../rest/mongodb/DataRestMongoDbApplication.java | 16 ++++++++++++++++ .../data/rest/mongodb/DatabasePopulator.java | 16 ++++++++++++++++ .../com/example/data/rest/mongodb/Person.java | 16 ++++++++++++++++ .../data/rest/mongodb/PersonRepository.java | 16 ++++++++++++++++ .../com/example/hateoas/EmployeeController.java | 16 ++++++++++++++++ .../com/example/hateoas/HateoasApplication.java | 16 ++++++++++++++++ .../com/example/hateoas/ManagerController.java | 16 ++++++++++++++++ .../assembler/EmployeeModelAssembler.java | 16 ++++++++++++++++ .../hateoas/assembler/ManagerModelAssembler.java | 16 ++++++++++++++++ .../java/com/example/hateoas/model/Employee.java | 16 ++++++++++++++++ .../com/example/hateoas/model/EmployeeModel.java | 16 ++++++++++++++++ .../java/com/example/hateoas/model/Manager.java | 16 ++++++++++++++++ .../com/example/hateoas/model/ManagerModel.java | 16 ++++++++++++++++ .../aspect/AspectApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/aspect/AspectApplication.java | 16 ++++++++++++++++ .../main/java/com/example/aspect/TestAspect.java | 16 ++++++++++++++++ .../java/com/example/aspect/TestComponent.java | 16 ++++++++++++++++ .../example/async/AsyncApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/async/AsyncApplication.java | 16 ++++++++++++++++ .../src/main/java/com/example/async/CLR.java | 16 ++++++++++++++++ .../src/main/java/com/example/async/Runner.java | 16 ++++++++++++++++ .../CacheCaffeineApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/cache/caffeine/CLR.java | 16 ++++++++++++++++ .../cache/caffeine/CacheCaffeineApplication.java | 16 ++++++++++++++++ .../cache/caffeine/CacheConfiguration.java | 16 ++++++++++++++++ .../cache/caffeine/clazz/TestServiceClass.java | 16 ++++++++++++++++ .../caffeine/iface/TestServiceInterface.java | 16 ++++++++++++++++ .../caffeine/iface/TestServiceWithInterface.java | 16 ++++++++++++++++ .../redis/CacheRedisApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/cache/redis/CLR.java | 16 ++++++++++++++++ .../example/cache/redis/CacheConfiguration.java | 16 ++++++++++++++++ .../cache/redis/CacheRedisApplication.java | 16 ++++++++++++++++ .../com/example/cache/redis/TestService.java | 16 ++++++++++++++++ .../simple/CacheSimpleApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/cache/simple/CLR.java | 16 ++++++++++++++++ .../example/cache/simple/CacheConfiguration.java | 16 ++++++++++++++++ .../cache/simple/CacheSimpleApplication.java | 16 ++++++++++++++++ .../com/example/cache/simple/TestService.java | 16 ++++++++++++++++ .../example/cache/simple/TestServiceImpl.java | 16 ++++++++++++++++ .../simple/CacheSimpleApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/cache/simple/CLR.java | 16 ++++++++++++++++ .../example/cache/simple/CacheConfiguration.java | 16 ++++++++++++++++ .../cache/simple/CacheSimpleApplication.java | 16 ++++++++++++++++ .../com/example/cache/simple/TestService.java | 16 ++++++++++++++++ ...nfigurationClassProxyApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/configuration/CLR.java | 16 ++++++++++++++++ .../configuration/CglibConfiguration.java | 16 ++++++++++++++++ .../ConfigurationClassProxyApplication.java | 16 ++++++++++++++++ .../EventListenerApplicationAotTests.java | 16 ++++++++++++++++ .../eventlistener/EventListenerApplication.java | 16 ++++++++++++++++ .../com/example/eventlistener/HelloEvent.java | 16 ++++++++++++++++ .../eventlistener/HelloEventListener.java | 16 ++++++++++++++++ .../eventlistener/HelloEventPublisher.java | 16 ++++++++++++++++ .../spring/orm/HibernateApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/spring/orm/CLR.java | 16 ++++++++++++++++ .../spring/orm/HibernateEnhancedApplication.java | 16 ++++++++++++++++ .../com/example/spring/orm/model/Category.java | 16 ++++++++++++++++ .../com/example/spring/orm/model/Product.java | 16 ++++++++++++++++ .../spring/orm/HibernateApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/spring/orm/CLR.java | 16 ++++++++++++++++ .../example/spring/orm/HibernateApplication.java | 16 ++++++++++++++++ .../com/example/spring/orm/model/Author.java | 16 ++++++++++++++++ .../java/com/example/spring/orm/model/Book.java | 16 ++++++++++++++++ .../jdbc/h2/JdbcH2ApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/jdbc/h2/Author.java | 16 ++++++++++++++++ .../src/main/java/com/example/jdbc/h2/CLR.java | 16 ++++++++++++++++ .../com/example/jdbc/h2/JdbcH2Application.java | 16 ++++++++++++++++ .../test/java/com/example/jdbc/h2/JdbcTests.java | 16 ++++++++++++++++ .../mariadb/JdbcMariaDBApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/jdbc/mariadb/Author.java | 16 ++++++++++++++++ .../main/java/com/example/jdbc/mariadb/CLR.java | 16 ++++++++++++++++ .../jdbc/mariadb/JdbcMariaDBApplication.java | 16 ++++++++++++++++ .../jdbc/mysql/JdbcMySQLApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/jdbc/mysql/Author.java | 16 ++++++++++++++++ .../main/java/com/example/jdbc/mysql/CLR.java | 16 ++++++++++++++++ .../example/jdbc/mysql/JdbcMySQLApplication.java | 16 ++++++++++++++++ .../JdbcPostgreSQLApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/jdbc/postgresql/Author.java | 16 ++++++++++++++++ .../java/com/example/jdbc/postgresql/CLR.java | 16 ++++++++++++++++ .../postgresql/JdbcPostgreSQLApplication.java | 16 ++++++++++++++++ .../FunctionalApplicationAotTests.java | 16 ++++++++++++++++ .../example/functional/FunctionalApplication.kt | 16 ++++++++++++++++ .../example/mail/MailApplicationAotTests.java | 16 ++++++++++++++++ .../mail/src/main/java/com/example/mail/CLR.java | 16 ++++++++++++++++ .../java/com/example/mail/MailApplication.java | 16 ++++++++++++++++ .../example/order/OrderApplicationAotTests.java | 16 ++++++++++++++++ .../src/main/java/com/example/order/Item.java | 16 ++++++++++++++++ .../src/main/java/com/example/order/Item10.java | 16 ++++++++++++++++ .../main/java/com/example/order/ItemMinus20.java | 16 ++++++++++++++++ .../java/com/example/order/OrderApplication.java | 16 ++++++++++++++++ .../com/example/order/OrderConfiguration.java | 16 ++++++++++++++++ .../com/example/order/PriorityOrderedItem.java | 16 ++++++++++++++++ .../quartz/QuartzApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/quartz/QuartzApplication.java | 16 ++++++++++++++++ .../com/example/quartz/QuartzConfiguration.java | 16 ++++++++++++++++ .../main/java/com/example/quartz/SimpleJob.java | 16 ++++++++++++++++ .../RestTemplateApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/resttemplate/CLR.java | 16 ++++++++++++++++ .../java/com/example/resttemplate/DataDto.java | 16 ++++++++++++++++ .../resttemplate/RestTemplateApplication.java | 16 ++++++++++++++++ .../resttemplate/RestTemplateConfiguration.java | 16 ++++++++++++++++ .../SkipSslVerificationHttpRequestFactory.java | 16 ++++++++++++++++ .../rsocket/RSocketApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/rsocket/RSocketApplication.java | 16 ++++++++++++++++ .../java/com/example/rsocket/RSocketClient.java | 16 ++++++++++++++++ .../com/example/rsocket/RSocketController.java | 16 ++++++++++++++++ .../java/com/example/rsocket/dto/Message.java | 16 ++++++++++++++++ .../com/example/rsocket/dto/MessageRecord.java | 16 ++++++++++++++++ .../scheduled/ScheduledApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/scheduled/Bean.java | 16 ++++++++++++++++ .../example/scheduled/ScheduledApplication.java | 16 ++++++++++++++++ .../src/main/java/com/example/tcf/MyService.java | 16 ++++++++++++++++ .../com/example/tcf/MyServiceConfiguration.java | 16 ++++++++++++++++ .../main/java/com/example/tcf/MyServiceImpl.java | 16 ++++++++++++++++ .../java/com/example/tcf/TcfApplication.java | 16 ++++++++++++++++ .../com/example/tcf/TcfApplicationTests.java | 16 ++++++++++++++++ ...actionalEventListenerApplicationAotTests.java | 16 ++++++++++++++++ .../example/transactional/eventlistener/CLR.java | 16 ++++++++++++++++ .../eventlistener/TransactionalEvent.java | 16 ++++++++++++++++ .../TransactionalEventListener.java | 16 ++++++++++++++++ .../TransactionalEventListenerApplication.java | 16 ++++++++++++++++ .../TransactionalEventPublisher.java | 16 ++++++++++++++++ .../TransactionalApplicationAotTests.java | 16 ++++++++++++++++ .../main/java/com/example/transactional/CLR.java | 16 ++++++++++++++++ .../transactional/TransactionalApplication.java | 16 ++++++++++++++++ .../validation/ValidationApplication.java | 16 ++++++++++++++++ .../controller/TestRestController.java | 16 ++++++++++++++++ .../com/example/validation/method/MethodCLR.java | 16 ++++++++++++++++ .../example/validation/method/SomeService.java | 16 ++++++++++++++++ .../validation/properties/PropertiesCLR.java | 16 ++++++++++++++++ .../properties/TestConfigurationProperties.java | 16 ++++++++++++++++ .../webclient/WebClientApplicationAotTests.java | 16 ++++++++++++++++ .../src/main/java/com/example/webclient/CLR.java | 16 ++++++++++++++++ .../main/java/com/example/webclient/DataDto.java | 16 ++++++++++++++++ .../java/com/example/webclient/DataService.java | 16 ++++++++++++++++ .../com/example/webclient/ExchangeDataDto.java | 16 ++++++++++++++++ .../example/webclient/WebClientApplication.java | 16 ++++++++++++++++ .../webclient/WebClientConfiguration.java | 16 ++++++++++++++++ .../jetty/WebfluxJettyApplicationAotTests.java | 16 ++++++++++++++++ .../example/webflux/jetty/TestController.java | 16 ++++++++++++++++ .../webflux/jetty/WebfluxJettyApplication.java | 16 ++++++++++++++++ .../example/webflux/jetty/WebsocketConfig.java | 16 ++++++++++++++++ .../com/example/webflux/jetty/XmlController.java | 16 ++++++++++++++++ .../com/example/webflux/jetty/dto/RecordDto.java | 16 ++++++++++++++++ .../com/example/webflux/jetty/dto/Request.java | 16 ++++++++++++++++ .../com/example/webflux/jetty/dto/Response.java | 16 ++++++++++++++++ .../webflux/jetty/CoroutinesController.kt | 16 ++++++++++++++++ .../example/webflux/jetty/DataClassController.kt | 16 ++++++++++++++++ .../kotlin/com/example/webflux/jetty/Greeting.kt | 16 ++++++++++++++++ .../jetty/AutoConfigureWebTestClientTests.java | 16 ++++++++++++++++ .../example/webflux/jetty/RandomPortTests.java | 16 ++++++++++++++++ .../example/webflux/jetty/WebfluxSliceTests.java | 16 ++++++++++++++++ .../tls/WebFluxNettyTlsApplicationAotTests.java | 16 ++++++++++++++++ .../com/example/webflux/tls/TestController.java | 16 ++++++++++++++++ .../webflux/tls/WebFluxNettyTlsApplication.java | 16 ++++++++++++++++ .../com/example/webflux/tls/WebsocketConfig.java | 16 ++++++++++++++++ .../webflux/WebfluxApplicationAotTests.java | 16 ++++++++++++++++ .../java/com/example/webflux/TestController.java | 16 ++++++++++++++++ .../com/example/webflux/WebfluxApplication.java | 16 ++++++++++++++++ .../com/example/webflux/WebsocketConfig.java | 16 ++++++++++++++++ .../java/com/example/webflux/XmlController.java | 16 ++++++++++++++++ .../java/com/example/webflux/dto/RecordDto.java | 16 ++++++++++++++++ .../java/com/example/webflux/dto/Request.java | 16 ++++++++++++++++ .../java/com/example/webflux/dto/Response.java | 16 ++++++++++++++++ .../com/example/webflux/CoroutinesController.kt | 16 ++++++++++++++++ .../com/example/webflux/DataClassController.kt | 16 ++++++++++++++++ .../main/kotlin/com/example/webflux/Greeting.kt | 16 ++++++++++++++++ .../test/AutoConfigureWebTestClientTests.java | 16 ++++++++++++++++ .../example/webflux/test/RandomPortTests.java | 16 ++++++++++++++++ .../example/webflux/test/WebfluxSliceTests.java | 16 ++++++++++++++++ .../WebfluxUndertowApplicationAotTests.java | 16 ++++++++++++++++ .../example/webflux/undertow/TestController.java | 16 ++++++++++++++++ .../undertow/WebfluxUndertowApplication.java | 16 ++++++++++++++++ .../webflux/undertow/WebsocketConfig.java | 16 ++++++++++++++++ .../example/webflux/undertow/XmlController.java | 16 ++++++++++++++++ .../example/webflux/undertow/dto/RecordDto.java | 16 ++++++++++++++++ .../example/webflux/undertow/dto/Request.java | 16 ++++++++++++++++ .../example/webflux/undertow/dto/Response.java | 16 ++++++++++++++++ .../webflux/undertow/CoroutinesController.kt | 16 ++++++++++++++++ .../webflux/undertow/DataClassController.kt | 16 ++++++++++++++++ .../com/example/webflux/undertow/Greeting.kt | 16 ++++++++++++++++ .../AutoConfigureWebTestClientTests.java | 16 ++++++++++++++++ .../webflux/undertow/RandomPortTests.java | 16 ++++++++++++++++ .../webflux/undertow/WebfluxSliceTests.java | 16 ++++++++++++++++ .../example/webmvc/jetty/tls/TestController.java | 16 ++++++++++++++++ .../jetty/tls/WebMvcJettyTlsApplication.java | 16 ++++++++++++++++ .../webmvc/jetty/ControllerDefinition.java | 16 ++++++++++++++++ .../webmvc/jetty/FormSubmissionController.java | 16 ++++++++++++++++ .../webmvc/jetty/InterfaceDefinedController.java | 16 ++++++++++++++++ .../example/webmvc/jetty/WebMvcController.java | 16 ++++++++++++++++ .../webmvc/jetty/WebMvcJettyApplication.java | 16 ++++++++++++++++ .../com/example/webmvc/jetty/XmlController.java | 16 ++++++++++++++++ .../com/example/webmvc/jetty/dto/Request.java | 16 ++++++++++++++++ .../com/example/webmvc/jetty/dto/Response.java | 16 ++++++++++++++++ .../example/webmvc/jetty/dto/SampleRecord.java | 16 ++++++++++++++++ .../example/webmvc/jetty/DataClassController.kt | 16 ++++++++++++++++ .../webmvc/jetty/AutoConfigureMockMvcTests.java | 16 ++++++++++++++++ .../example/webmvc/jetty/RandomPortTests.java | 16 ++++++++++++++++ .../example/webmvc/jetty/RestClientTests.java | 16 ++++++++++++++++ .../webmvc/jetty/WebMvcControllerMockTests.java | 16 ++++++++++++++++ .../example/webmvc/jetty/WebMvcSliceTests.java | 16 ++++++++++++++++ .../com/example/webmvc/tls/TestController.java | 16 ++++++++++++++++ .../webmvc/tls/WebMvcTomcatTlsApplication.java | 16 ++++++++++++++++ .../com/example/webmvc/ControllerDefinition.java | 16 ++++++++++++++++ .../example/webmvc/FormSubmissionController.java | 16 ++++++++++++++++ .../webmvc/InterfaceDefinedController.java | 16 ++++++++++++++++ .../com/example/webmvc/WebMvcApplication.java | 16 ++++++++++++++++ .../com/example/webmvc/WebMvcController.java | 16 ++++++++++++++++ .../java/com/example/webmvc/XmlController.java | 16 ++++++++++++++++ .../java/com/example/webmvc/dto/Request.java | 16 ++++++++++++++++ .../java/com/example/webmvc/dto/Response.java | 16 ++++++++++++++++ .../com/example/webmvc/dto/SampleRecord.java | 16 ++++++++++++++++ .../com/example/webmvc/DataClassController.kt | 16 ++++++++++++++++ .../webmvc/AutoConfigureMockMvcTests.java | 16 ++++++++++++++++ .../java/com/example/webmvc/RandomPortTests.java | 16 ++++++++++++++++ .../java/com/example/webmvc/RestClientTests.java | 16 ++++++++++++++++ .../webmvc/WebMvcControllerMockTests.java | 16 ++++++++++++++++ .../com/example/webmvc/WebMvcSliceTests.java | 16 ++++++++++++++++ .../webmvc/undertow/tls/TestController.java | 16 ++++++++++++++++ .../tls/WebMvcUndertowTlsApplication.java | 16 ++++++++++++++++ .../webmvc/undertow/ControllerDefinition.java | 16 ++++++++++++++++ .../undertow/FormSubmissionController.java | 16 ++++++++++++++++ .../undertow/InterfaceDefinedController.java | 16 ++++++++++++++++ .../webmvc/undertow/WebMvcController.java | 16 ++++++++++++++++ .../undertow/WebMvcUndertowApplication.java | 16 ++++++++++++++++ .../example/webmvc/undertow/XmlController.java | 16 ++++++++++++++++ .../com/example/webmvc/undertow/dto/Request.java | 16 ++++++++++++++++ .../example/webmvc/undertow/dto/Response.java | 16 ++++++++++++++++ .../webmvc/undertow/dto/SampleRecord.java | 16 ++++++++++++++++ .../webmvc/undertow/DataClassController.kt | 16 ++++++++++++++++ .../undertow/AutoConfigureMockMvcTests.java | 16 ++++++++++++++++ .../example/webmvc/undertow/RandomPortTests.java | 16 ++++++++++++++++ .../example/webmvc/undertow/RestClientTests.java | 16 ++++++++++++++++ .../undertow/WebMvcControllerMockTests.java | 16 ++++++++++++++++ .../webmvc/undertow/WebMvcSliceTests.java | 16 ++++++++++++++++ .../java/com/example/websocket/jetty/CLR.java | 16 ++++++++++++++++ .../websocket/jetty/EchoWebSocketHandler.java | 16 ++++++++++++++++ .../example/websocket/jetty/WebSocketConfig.java | 16 ++++++++++++++++ .../jetty/WebSocketJettyApplication.java | 16 ++++++++++++++++ .../java/com/example/websocket/stomp/CLR.java | 16 ++++++++++++++++ .../websocket/stomp/GreetingController.java | 16 ++++++++++++++++ .../websocket/stomp/WebSocketBrokerConfig.java | 16 ++++++++++++++++ .../stomp/WebSocketStompApplication.java | 16 ++++++++++++++++ .../websocket/stomp/dto/GreetingMessage.java | 16 ++++++++++++++++ .../websocket/stomp/dto/HelloMessage.java | 16 ++++++++++++++++ .../src/main/java/com/example/websocket/CLR.java | 16 ++++++++++++++++ .../example/websocket/EchoWebSocketHandler.java | 16 ++++++++++++++++ .../example/websocket/WebSocketApplication.java | 16 ++++++++++++++++ .../com/example/websocket/WebSocketConfig.java | 16 ++++++++++++++++ .../java/com/example/websocket/undertow/CLR.java | 16 ++++++++++++++++ .../websocket/undertow/EchoWebSocketHandler.java | 16 ++++++++++++++++ .../websocket/undertow/WebSocketConfig.java | 16 ++++++++++++++++ .../undertow/WebSocketUndertowApplication.java | 16 ++++++++++++++++ .../integration/IntegrationApplicationTests.java | 16 ++++++++++++++++ .../integration/IntegrationApplication.java | 16 ++++++++++++++++ .../com/example/amqp/AmqpRabbitApplication.java | 16 ++++++++++++++++ .../com/example/kafka/KafkaAvroApplication.java | 16 ++++++++++++++++ .../java/com/example/kafka/ThingAvroSerde.java | 16 ++++++++++++++++ .../example/kafka/KafkaStreamsApplication.java | 16 ++++++++++++++++ .../java/com/example/kafka/KafkaApplication.java | 16 ++++++++++++++++ .../ldap/odm/LdapOdmApplicationTests.java | 16 ++++++++++++++++ .../example/ldap/odm/LdapOdmApplication.java | 16 ++++++++++++++++ .../java/example/ldap/odm/OdmPersonDaoImpl.java | 16 ++++++++++++++++ .../src/main/java/example/ldap/odm/Person.java | 16 ++++++++++++++++ .../java/example/ldap/odm/PersonController.java | 16 ++++++++++++++++ .../main/java/example/ldap/odm/PersonDao.java | 16 ++++++++++++++++ .../java/example/ldap/odm/DataLdapTests.java | 16 ++++++++++++++++ .../ldap/SecurityLdapApplicationAotTests.java | 16 ++++++++++++++++ .../example/security/ldap/MainController.java | 16 ++++++++++++++++ .../example/security/ldap/SecurityConfig.java | 16 ++++++++++++++++ .../security/ldap/SecurityLdapApplication.java | 16 ++++++++++++++++ .../ldap/SecurityLdapApplicationTests.java | 16 ++++++++++++++++ .../example/security/method/Jsr250AotTests.java | 16 ++++++++++++++++ .../security/method/PostAuthorizeAotTests.java | 16 ++++++++++++++++ .../security/method/PreAuthorizeAotTests.java | 16 ++++++++++++++++ .../example/security/method/SecuredAotTests.java | 16 ++++++++++++++++ .../java/com/example/security/method/CLR.java | 16 ++++++++++++++++ .../security/method/Jsr250ProtectedService.java | 16 ++++++++++++++++ .../method/PostAuthorizeProtectedService.java | 16 ++++++++++++++++ .../method/PreAuthorizeProtectedService.java | 16 ++++++++++++++++ .../security/method/SecuredProtectedService.java | 16 ++++++++++++++++ .../security/method/SecurityConfiguration.java | 16 ++++++++++++++++ .../method/SecurityMethodApplication.java | 16 ++++++++++++++++ ...h2AuthorizationServerApplicationAotTests.java | 16 ++++++++++++++++ .../OAuth2ResourceServerApplicationAotTests.java | 16 ++++++++++++++++ .../SecurityThymeleafApplicationAotTests.java | 16 ++++++++++++++++ .../security/thymeleaf/MainController.java | 16 ++++++++++++++++ .../security/thymeleaf/SecurityConfig.java | 16 ++++++++++++++++ .../thymeleaf/SecurityThymeleafApplication.java | 16 ++++++++++++++++ .../SecurityThymeleafApplicationTests.java | 16 ++++++++++++++++ .../webflux/SecurityWebFluxApplication.java | 16 ++++++++++++++++ .../security/webflux/TestRestController.java | 16 ++++++++++++++++ .../security/webflux/WebSecurityConfig.java | 16 ++++++++++++++++ .../webmvc/SecurityWebMvcApplication.java | 16 ++++++++++++++++ .../security/webmvc/TestRestController.java | 16 ++++++++++++++++ .../security/webmvc/WebSecurityConfig.java | 16 ++++++++++++++++ .../jdbc/SessionJdbcApplicationTests.java | 16 ++++++++++++++++ .../example/session/jdbc/CounterController.java | 16 ++++++++++++++++ .../com/example/session/jdbc/SessionConfig.java | 16 ++++++++++++++++ .../session/jdbc/SessionJdbcApplication.java | 16 ++++++++++++++++ .../SessionRedisWebfluxApplicationTests.java | 16 ++++++++++++++++ .../session/redis/webflux/CounterController.java | 16 ++++++++++++++++ .../session/redis/webflux/SessionConfig.java | 16 ++++++++++++++++ .../webflux/SessionRedisWebfluxApplication.java | 16 ++++++++++++++++ 541 files changed, 8656 insertions(+) diff --git a/batch/batch/src/appTest/java/com/example/batch/BatchApplicationAotTests.java b/batch/batch/src/appTest/java/com/example/batch/BatchApplicationAotTests.java index c9c7a9cd..0ecbe36d 100644 --- a/batch/batch/src/appTest/java/com/example/batch/BatchApplicationAotTests.java +++ b/batch/batch/src/appTest/java/com/example/batch/BatchApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.batch; import java.time.Duration; diff --git a/batch/batch/src/main/java/com/example/batch/BatchApplication.java b/batch/batch/src/main/java/com/example/batch/BatchApplication.java index 5e59b55f..55661f5a 100644 --- a/batch/batch/src/main/java/com/example/batch/BatchApplication.java +++ b/batch/batch/src/main/java/com/example/batch/BatchApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.batch; import java.util.ArrayList; diff --git a/batch/batch/src/main/java/com/example/batch/BatchConfiguration.java b/batch/batch/src/main/java/com/example/batch/BatchConfiguration.java index f2b6b70c..cd513e22 100644 --- a/batch/batch/src/main/java/com/example/batch/BatchConfiguration.java +++ b/batch/batch/src/main/java/com/example/batch/BatchConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.batch; import javax.sql.DataSource; diff --git a/batch/batch/src/main/java/com/example/batch/JobCompletionNotificationListener.java b/batch/batch/src/main/java/com/example/batch/JobCompletionNotificationListener.java index 9893bb89..d17337d1 100644 --- a/batch/batch/src/main/java/com/example/batch/JobCompletionNotificationListener.java +++ b/batch/batch/src/main/java/com/example/batch/JobCompletionNotificationListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.batch; import org.slf4j.Logger; diff --git a/batch/batch/src/main/java/com/example/batch/Person.java b/batch/batch/src/main/java/com/example/batch/Person.java index ac0dd76f..7f63869e 100644 --- a/batch/batch/src/main/java/com/example/batch/Person.java +++ b/batch/batch/src/main/java/com/example/batch/Person.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.batch; public record Person(String firstName, String lastName) { diff --git a/boot/actuator-webflux-mgmt-port/src/appTest/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplicationAotTests.java b/boot/actuator-webflux-mgmt-port/src/appTest/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplicationAotTests.java index 8169a4e9..60798451 100644 --- a/boot/actuator-webflux-mgmt-port/src/appTest/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplicationAotTests.java +++ b/boot/actuator-webflux-mgmt-port/src/appTest/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux.mgmtport; import java.util.regex.Matcher; diff --git a/boot/actuator-webflux-mgmt-port/src/main/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplication.java b/boot/actuator-webflux-mgmt-port/src/main/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplication.java index c62b570d..cc77d425 100644 --- a/boot/actuator-webflux-mgmt-port/src/main/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplication.java +++ b/boot/actuator-webflux-mgmt-port/src/main/java/com/example/actuator/webflux/mgmtport/ActuatorWebFluxMgmtPortApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux.mgmtport; import org.springframework.boot.SpringApplication; diff --git a/boot/actuator-webflux/src/appTest/java/com/example/actuator/webflux/ActuatorWebFluxApplicationAotTests.java b/boot/actuator-webflux/src/appTest/java/com/example/actuator/webflux/ActuatorWebFluxApplicationAotTests.java index d7a5b901..72a54bcf 100644 --- a/boot/actuator-webflux/src/appTest/java/com/example/actuator/webflux/ActuatorWebFluxApplicationAotTests.java +++ b/boot/actuator-webflux/src/appTest/java/com/example/actuator/webflux/ActuatorWebFluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux; import org.junit.jupiter.api.Test; diff --git a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/ActuatorWebFluxApplication.java b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/ActuatorWebFluxApplication.java index 0c0c7411..79d4e009 100644 --- a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/ActuatorWebFluxApplication.java +++ b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/ActuatorWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux; import java.util.Map; diff --git a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/RegisterCustomTimer.java b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/RegisterCustomTimer.java index 8a907c2d..707c0114 100644 --- a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/RegisterCustomTimer.java +++ b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/RegisterCustomTimer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux; import java.time.Duration; diff --git a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/AnotherCustomHealthIndicator.java b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/AnotherCustomHealthIndicator.java index 5f82ae1f..6f76d89b 100644 --- a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/AnotherCustomHealthIndicator.java +++ b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/AnotherCustomHealthIndicator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux.health; import reactor.core.publisher.Mono; diff --git a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/CustomHealthIndicator.java b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/CustomHealthIndicator.java index a280e4c6..830e2f1c 100644 --- a/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/CustomHealthIndicator.java +++ b/boot/actuator-webflux/src/main/java/com/example/actuator/webflux/health/CustomHealthIndicator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webflux.health; import reactor.core.publisher.Mono; diff --git a/boot/actuator-webmvc-mgmt-port/src/appTest/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplicationAotTests.java b/boot/actuator-webmvc-mgmt-port/src/appTest/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplicationAotTests.java index e1b68b08..e3f7de87 100644 --- a/boot/actuator-webmvc-mgmt-port/src/appTest/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplicationAotTests.java +++ b/boot/actuator-webmvc-mgmt-port/src/appTest/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc.mgmtport; import java.util.regex.Matcher; diff --git a/boot/actuator-webmvc-mgmt-port/src/main/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplication.java b/boot/actuator-webmvc-mgmt-port/src/main/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplication.java index d37d4b8b..fd248266 100644 --- a/boot/actuator-webmvc-mgmt-port/src/main/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplication.java +++ b/boot/actuator-webmvc-mgmt-port/src/main/java/com/example/actuator/webmvc/mgmtport/ActuatorWebMvcMgmtPortApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc.mgmtport; import org.springframework.boot.SpringApplication; diff --git a/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java b/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java index 8d3b8e00..d031522e 100644 --- a/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java +++ b/boot/actuator-webmvc/src/appTest/java/com/example/actuator/webmvc/ActuatorWebMvcApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc; import org.junit.jupiter.api.Test; diff --git a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/ActuatorWebMvcApplication.java b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/ActuatorWebMvcApplication.java index 8d83672c..4e633014 100644 --- a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/ActuatorWebMvcApplication.java +++ b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/ActuatorWebMvcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc; import java.util.Map; diff --git a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomEndpoint.java b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomEndpoint.java index eaf776ed..7674955b 100644 --- a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomEndpoint.java +++ b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomEndpoint.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc; import org.springframework.boot.actuate.endpoint.annotation.Endpoint; diff --git a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomWebEndpoint.java b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomWebEndpoint.java index e61fe336..d7845dfc 100644 --- a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomWebEndpoint.java +++ b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/CustomWebEndpoint.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc; import org.springframework.boot.actuate.endpoint.annotation.ReadOperation; diff --git a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/RegisterCustomTimer.java b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/RegisterCustomTimer.java index c6c90b83..70958059 100644 --- a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/RegisterCustomTimer.java +++ b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/RegisterCustomTimer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc; import java.time.Duration; diff --git a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/AnotherCustomHealthIndicator.java b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/AnotherCustomHealthIndicator.java index 7b34e45b..45d7a4ac 100644 --- a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/AnotherCustomHealthIndicator.java +++ b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/AnotherCustomHealthIndicator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc.health; import org.springframework.boot.actuate.health.Health; diff --git a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/CustomHealthIndicator.java b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/CustomHealthIndicator.java index 73e1898f..42f56e16 100644 --- a/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/CustomHealthIndicator.java +++ b/boot/actuator-webmvc/src/main/java/com/example/actuator/webmvc/health/CustomHealthIndicator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.actuator.webmvc.health; import org.springframework.boot.actuate.health.Health; diff --git a/boot/boot-tcf/src/main/java/com/example/boot/tcf/BootTcfApplication.java b/boot/boot-tcf/src/main/java/com/example/boot/tcf/BootTcfApplication.java index 4a61409b..e5da865a 100644 --- a/boot/boot-tcf/src/main/java/com/example/boot/tcf/BootTcfApplication.java +++ b/boot/boot-tcf/src/main/java/com/example/boot/tcf/BootTcfApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import org.springframework.boot.SpringApplication; diff --git a/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentImpl.java b/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentImpl.java index 8e65e8d4..45474145 100644 --- a/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentImpl.java +++ b/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import org.springframework.stereotype.Component; diff --git a/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentInterface.java b/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentInterface.java index 0bb33368..6f4968e4 100644 --- a/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentInterface.java +++ b/boot/boot-tcf/src/main/java/com/example/boot/tcf/MyComponentInterface.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; interface MyComponentInterface { diff --git a/boot/boot-tcf/src/test/java/com/example/boot/tcf/ArgsTests.java b/boot/boot-tcf/src/test/java/com/example/boot/tcf/ArgsTests.java index cb2a32c2..732fbd3a 100644 --- a/boot/boot-tcf/src/test/java/com/example/boot/tcf/ArgsTests.java +++ b/boot/boot-tcf/src/test/java/com/example/boot/tcf/ArgsTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import java.util.List; diff --git a/boot/boot-tcf/src/test/java/com/example/boot/tcf/MainMethodTests.java b/boot/boot-tcf/src/test/java/com/example/boot/tcf/MainMethodTests.java index bd4f986f..e5a1937f 100644 --- a/boot/boot-tcf/src/test/java/com/example/boot/tcf/MainMethodTests.java +++ b/boot/boot-tcf/src/test/java/com/example/boot/tcf/MainMethodTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import org.junit.jupiter.api.Test; diff --git a/boot/boot-tcf/src/test/java/com/example/boot/tcf/MockBeanTests.java b/boot/boot-tcf/src/test/java/com/example/boot/tcf/MockBeanTests.java index 9ae0c665..112e3dd0 100644 --- a/boot/boot-tcf/src/test/java/com/example/boot/tcf/MockBeanTests.java +++ b/boot/boot-tcf/src/test/java/com/example/boot/tcf/MockBeanTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import org.junit.jupiter.api.Test; diff --git a/boot/boot-tcf/src/test/java/com/example/boot/tcf/OutputCaptureTests.java b/boot/boot-tcf/src/test/java/com/example/boot/tcf/OutputCaptureTests.java index e7e367af..0d499a33 100644 --- a/boot/boot-tcf/src/test/java/com/example/boot/tcf/OutputCaptureTests.java +++ b/boot/boot-tcf/src/test/java/com/example/boot/tcf/OutputCaptureTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import org.junit.jupiter.api.Test; diff --git a/boot/boot-tcf/src/test/java/com/example/boot/tcf/PropertiesTests.java b/boot/boot-tcf/src/test/java/com/example/boot/tcf/PropertiesTests.java index dd37b441..90d2b0f1 100644 --- a/boot/boot-tcf/src/test/java/com/example/boot/tcf/PropertiesTests.java +++ b/boot/boot-tcf/src/test/java/com/example/boot/tcf/PropertiesTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.boot.tcf; import org.junit.jupiter.api.Test; diff --git a/boot/command-line-runner/src/appTest/java/com/example/commandlinerunner/CommandlinerunnerApplicationAotTests.java b/boot/command-line-runner/src/appTest/java/com/example/commandlinerunner/CommandlinerunnerApplicationAotTests.java index cb180e38..4c6c87ec 100644 --- a/boot/command-line-runner/src/appTest/java/com/example/commandlinerunner/CommandlinerunnerApplicationAotTests.java +++ b/boot/command-line-runner/src/appTest/java/com/example/commandlinerunner/CommandlinerunnerApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.commandlinerunner; import java.time.Duration; diff --git a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CLR.java b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CLR.java index 9b5f3bca..cec8deca 100644 --- a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CLR.java +++ b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.commandlinerunner; import com.example.commandlinerunner.service.MyService; diff --git a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CommandlinerunnerApplication.java b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CommandlinerunnerApplication.java index 4e274970..9884b7b1 100644 --- a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CommandlinerunnerApplication.java +++ b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/CommandlinerunnerApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.commandlinerunner; import org.springframework.boot.SpringApplication; diff --git a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyService.java b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyService.java index 4e60fa6d..49e0d596 100644 --- a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyService.java +++ b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.commandlinerunner.service; public interface MyService { diff --git a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyServiceImpl.java b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyServiceImpl.java index 1f075706..e1ed1ec4 100644 --- a/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyServiceImpl.java +++ b/boot/command-line-runner/src/main/java/com/example/commandlinerunner/service/MyServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.commandlinerunner.service; import org.springframework.stereotype.Service; diff --git a/boot/conditional/src/appTest/java/com/example/conditional/ConditionalApplicationAotTests.java b/boot/conditional/src/appTest/java/com/example/conditional/ConditionalApplicationAotTests.java index 16c923aa..71da1824 100644 --- a/boot/conditional/src/appTest/java/com/example/conditional/ConditionalApplicationAotTests.java +++ b/boot/conditional/src/appTest/java/com/example/conditional/ConditionalApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.conditional; import java.time.Duration; diff --git a/boot/conditional/src/main/java/com/example/conditional/CLR.java b/boot/conditional/src/main/java/com/example/conditional/CLR.java index 55abdd79..7ab569aa 100644 --- a/boot/conditional/src/main/java/com/example/conditional/CLR.java +++ b/boot/conditional/src/main/java/com/example/conditional/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.conditional; import com.example.conditional.ConditionalConfig.SomeBean; diff --git a/boot/conditional/src/main/java/com/example/conditional/ConditionalApplication.java b/boot/conditional/src/main/java/com/example/conditional/ConditionalApplication.java index dd80f851..e7f2e84b 100644 --- a/boot/conditional/src/main/java/com/example/conditional/ConditionalApplication.java +++ b/boot/conditional/src/main/java/com/example/conditional/ConditionalApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.conditional; import org.springframework.boot.SpringApplication; diff --git a/boot/configuration-properties/src/appTest/java/com/example/configprops/ConfigPropsApplicationAotTests.java b/boot/configuration-properties/src/appTest/java/com/example/configprops/ConfigPropsApplicationAotTests.java index e498ef19..01cf6f32 100644 --- a/boot/configuration-properties/src/appTest/java/com/example/configprops/ConfigPropsApplicationAotTests.java +++ b/boot/configuration-properties/src/appTest/java/com/example/configprops/ConfigPropsApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops; import java.time.Duration; diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/CLR.java b/boot/configuration-properties/src/main/java/com/example/configprops/CLR.java index 7b9b8e08..e9ecd22a 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/CLR.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops; import com.example.configprops.ctor.AppPropertiesCtor; diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/ConfigPropsApplication.java b/boot/configuration-properties/src/main/java/com/example/configprops/ConfigPropsApplication.java index 4daa409c..65f6be40 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/ConfigPropsApplication.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/ConfigPropsApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops; import com.example.configprops.ConfigPropsApplication.ConfigPropsApplicationRuntimeHints; diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/ctor/AppPropertiesCtor.java b/boot/configuration-properties/src/main/java/com/example/configprops/ctor/AppPropertiesCtor.java index 2dac2574..a60b43ab 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/ctor/AppPropertiesCtor.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/ctor/AppPropertiesCtor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops.ctor; import java.util.List; diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/ctor/NestedNotInner.java b/boot/configuration-properties/src/main/java/com/example/configprops/ctor/NestedNotInner.java index 59dc45b5..490728d4 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/ctor/NestedNotInner.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/ctor/NestedNotInner.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops.ctor; public class NestedNotInner { diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/javabean/AppProperties.java b/boot/configuration-properties/src/main/java/com/example/configprops/javabean/AppProperties.java index 8f4ef18a..12e60ee9 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/javabean/AppProperties.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/javabean/AppProperties.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops.javabean; import java.util.ArrayList; diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/javabean/NestedNotInner.java b/boot/configuration-properties/src/main/java/com/example/configprops/javabean/NestedNotInner.java index a6163281..dd9ecfb8 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/javabean/NestedNotInner.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/javabean/NestedNotInner.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops.javabean; public class NestedNotInner { diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/records/AppPropertiesRecord.java b/boot/configuration-properties/src/main/java/com/example/configprops/records/AppPropertiesRecord.java index e8f818cd..541d6826 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/records/AppPropertiesRecord.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/records/AppPropertiesRecord.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops.records; import java.util.List; diff --git a/boot/configuration-properties/src/main/java/com/example/configprops/records/NestedNotInner.java b/boot/configuration-properties/src/main/java/com/example/configprops/records/NestedNotInner.java index d0168fa5..e052afad 100644 --- a/boot/configuration-properties/src/main/java/com/example/configprops/records/NestedNotInner.java +++ b/boot/configuration-properties/src/main/java/com/example/configprops/records/NestedNotInner.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configprops.records; public class NestedNotInner { diff --git a/boot/custom-banner/src/appTest/java/com/example/custombanner/CustomBannerApplicationAotTests.java b/boot/custom-banner/src/appTest/java/com/example/custombanner/CustomBannerApplicationAotTests.java index 9ef921bd..36de4899 100644 --- a/boot/custom-banner/src/appTest/java/com/example/custombanner/CustomBannerApplicationAotTests.java +++ b/boot/custom-banner/src/appTest/java/com/example/custombanner/CustomBannerApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.custombanner; import java.time.Duration; diff --git a/boot/custom-banner/src/main/java/com/example/custombanner/CustomBannerApplication.java b/boot/custom-banner/src/main/java/com/example/custombanner/CustomBannerApplication.java index 363c9945..0beeea65 100644 --- a/boot/custom-banner/src/main/java/com/example/custombanner/CustomBannerApplication.java +++ b/boot/custom-banner/src/main/java/com/example/custombanner/CustomBannerApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.custombanner; import org.springframework.boot.SpringApplication; diff --git a/boot/flyway/src/appTest/java/com/example/flyway/FlywayApplicationAotTests.java b/boot/flyway/src/appTest/java/com/example/flyway/FlywayApplicationAotTests.java index 8aa3797f..7391d025 100644 --- a/boot/flyway/src/appTest/java/com/example/flyway/FlywayApplicationAotTests.java +++ b/boot/flyway/src/appTest/java/com/example/flyway/FlywayApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.flyway; import java.time.Duration; diff --git a/boot/flyway/src/main/java/com/example/flyway/FlywayApplication.java b/boot/flyway/src/main/java/com/example/flyway/FlywayApplication.java index 61f68ad9..3b7e3ec8 100644 --- a/boot/flyway/src/main/java/com/example/flyway/FlywayApplication.java +++ b/boot/flyway/src/main/java/com/example/flyway/FlywayApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.flyway; import org.springframework.boot.SpringApplication; diff --git a/boot/freemarker-webflux/src/appTest/java/com/example/freemarker/webflux/FreemarkerWebFluxApplicationAotTests.java b/boot/freemarker-webflux/src/appTest/java/com/example/freemarker/webflux/FreemarkerWebFluxApplicationAotTests.java index b46d7cf5..3ab853d4 100644 --- a/boot/freemarker-webflux/src/appTest/java/com/example/freemarker/webflux/FreemarkerWebFluxApplicationAotTests.java +++ b/boot/freemarker-webflux/src/appTest/java/com/example/freemarker/webflux/FreemarkerWebFluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.freemarker.webflux; import org.junit.jupiter.api.Test; diff --git a/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/FreemarkerWebFluxApplication.java b/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/FreemarkerWebFluxApplication.java index f6367e8e..2a5b5163 100644 --- a/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/FreemarkerWebFluxApplication.java +++ b/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/FreemarkerWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.freemarker.webflux; import org.springframework.boot.SpringApplication; diff --git a/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/TestController.java b/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/TestController.java index fb816940..c5ead68e 100644 --- a/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/TestController.java +++ b/boot/freemarker-webflux/src/main/java/com/example/freemarker/webflux/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.freemarker.webflux; import java.util.List; diff --git a/boot/freemarker-webmvc/src/appTest/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplicationAotTests.java b/boot/freemarker-webmvc/src/appTest/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplicationAotTests.java index 5418de2d..01264283 100644 --- a/boot/freemarker-webmvc/src/appTest/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplicationAotTests.java +++ b/boot/freemarker-webmvc/src/appTest/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.freemarker.webmvc; import org.junit.jupiter.api.Test; diff --git a/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplication.java b/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplication.java index e25aeddc..10744ea0 100644 --- a/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplication.java +++ b/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/FreemarkerWebMvcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.freemarker.webmvc; import org.springframework.boot.SpringApplication; diff --git a/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/TestController.java b/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/TestController.java index bc84cbd5..61381d7d 100644 --- a/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/TestController.java +++ b/boot/freemarker-webmvc/src/main/java/com/example/freemarker/webmvc/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.freemarker.webmvc; import java.util.List; diff --git a/boot/json/src/appTest/java/com/example/json/JsonApplicationAotTests.java b/boot/json/src/appTest/java/com/example/json/JsonApplicationAotTests.java index 4cc3e5d2..aecdb2de 100644 --- a/boot/json/src/appTest/java/com/example/json/JsonApplicationAotTests.java +++ b/boot/json/src/appTest/java/com/example/json/JsonApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json; import java.time.Duration; diff --git a/boot/json/src/main/java/com/example/json/CLR.java b/boot/json/src/main/java/com/example/json/CLR.java index 6ba68270..3e8ac512 100644 --- a/boot/json/src/main/java/com/example/json/CLR.java +++ b/boot/json/src/main/java/com/example/json/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json; import com.example.json.model.Dto; diff --git a/boot/json/src/main/java/com/example/json/Dto2DeSer.java b/boot/json/src/main/java/com/example/json/Dto2DeSer.java index 2cb55c68..0cc1ca89 100644 --- a/boot/json/src/main/java/com/example/json/Dto2DeSer.java +++ b/boot/json/src/main/java/com/example/json/Dto2DeSer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json; import java.io.IOException; diff --git a/boot/json/src/main/java/com/example/json/Dto3Mixin.java b/boot/json/src/main/java/com/example/json/Dto3Mixin.java index f730a522..6307db53 100644 --- a/boot/json/src/main/java/com/example/json/Dto3Mixin.java +++ b/boot/json/src/main/java/com/example/json/Dto3Mixin.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json; import com.example.json.model.Dto3; diff --git a/boot/json/src/main/java/com/example/json/JsonApplication.java b/boot/json/src/main/java/com/example/json/JsonApplication.java index 7d1451ea..ab3fd829 100644 --- a/boot/json/src/main/java/com/example/json/JsonApplication.java +++ b/boot/json/src/main/java/com/example/json/JsonApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json; import com.example.json.model.Dto; diff --git a/boot/json/src/main/java/com/example/json/model/Dto.java b/boot/json/src/main/java/com/example/json/model/Dto.java index ae34ee94..3314ac54 100644 --- a/boot/json/src/main/java/com/example/json/model/Dto.java +++ b/boot/json/src/main/java/com/example/json/model/Dto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json.model; import java.util.Objects; diff --git a/boot/json/src/main/java/com/example/json/model/Dto2.java b/boot/json/src/main/java/com/example/json/model/Dto2.java index 2bbcaf49..04d8d199 100644 --- a/boot/json/src/main/java/com/example/json/model/Dto2.java +++ b/boot/json/src/main/java/com/example/json/model/Dto2.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json.model; import java.util.Objects; diff --git a/boot/json/src/main/java/com/example/json/model/Dto3.java b/boot/json/src/main/java/com/example/json/model/Dto3.java index db554891..e27161c0 100644 --- a/boot/json/src/main/java/com/example/json/model/Dto3.java +++ b/boot/json/src/main/java/com/example/json/model/Dto3.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json.model; import java.util.Objects; diff --git a/boot/json/src/test/java/com/example/json/JsonApplicationTests.java b/boot/json/src/test/java/com/example/json/JsonApplicationTests.java index 8c686096..b0b4f9b5 100644 --- a/boot/json/src/test/java/com/example/json/JsonApplicationTests.java +++ b/boot/json/src/test/java/com/example/json/JsonApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.json; import java.io.IOException; diff --git a/boot/liquibase/src/appTest/java/com/example/liquibase/LiquibaseApplicationAotTests.java b/boot/liquibase/src/appTest/java/com/example/liquibase/LiquibaseApplicationAotTests.java index 9b7e92d8..691e1506 100644 --- a/boot/liquibase/src/appTest/java/com/example/liquibase/LiquibaseApplicationAotTests.java +++ b/boot/liquibase/src/appTest/java/com/example/liquibase/LiquibaseApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.liquibase; import java.time.Duration; diff --git a/boot/liquibase/src/main/java/com/example/liquibase/LiquibaseApplication.java b/boot/liquibase/src/main/java/com/example/liquibase/LiquibaseApplication.java index 9defe20c..768e0416 100644 --- a/boot/liquibase/src/main/java/com/example/liquibase/LiquibaseApplication.java +++ b/boot/liquibase/src/main/java/com/example/liquibase/LiquibaseApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.liquibase; import org.springframework.aot.hint.RuntimeHints; diff --git a/boot/logging-logback-spring-xml/src/appTest/java/com/example/logbackspring/xml/LogbackXmlApplicationAotTests.java b/boot/logging-logback-spring-xml/src/appTest/java/com/example/logbackspring/xml/LogbackXmlApplicationAotTests.java index 22394796..ed0ca939 100644 --- a/boot/logging-logback-spring-xml/src/appTest/java/com/example/logbackspring/xml/LogbackXmlApplicationAotTests.java +++ b/boot/logging-logback-spring-xml/src/appTest/java/com/example/logbackspring/xml/LogbackXmlApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logbackspring.xml; import java.io.IOException; diff --git a/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/CLR.java b/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/CLR.java index 23af1acf..ddb284c8 100644 --- a/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/CLR.java +++ b/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logbackspring.xml; import org.slf4j.Logger; diff --git a/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/LogbackSpringXmlApplication.java b/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/LogbackSpringXmlApplication.java index d3d45ce5..52c2e30c 100644 --- a/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/LogbackSpringXmlApplication.java +++ b/boot/logging-logback-spring-xml/src/main/java/com/example/logbackspring/xml/LogbackSpringXmlApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logbackspring.xml; import org.springframework.boot.SpringApplication; diff --git a/boot/logging-logback-xml/src/appTest/java/com/example/logback/xml/LogbackXmlApplicationAotTests.java b/boot/logging-logback-xml/src/appTest/java/com/example/logback/xml/LogbackXmlApplicationAotTests.java index 9ed811e5..42fcec6d 100644 --- a/boot/logging-logback-xml/src/appTest/java/com/example/logback/xml/LogbackXmlApplicationAotTests.java +++ b/boot/logging-logback-xml/src/appTest/java/com/example/logback/xml/LogbackXmlApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logback.xml; import java.io.IOException; diff --git a/boot/logging-logback-xml/src/main/java/com/example/logback/xml/CLR.java b/boot/logging-logback-xml/src/main/java/com/example/logback/xml/CLR.java index 6bc7ca99..dca79e43 100644 --- a/boot/logging-logback-xml/src/main/java/com/example/logback/xml/CLR.java +++ b/boot/logging-logback-xml/src/main/java/com/example/logback/xml/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logback.xml; import org.slf4j.Logger; diff --git a/boot/logging-logback-xml/src/main/java/com/example/logback/xml/LogbackXmlApplication.java b/boot/logging-logback-xml/src/main/java/com/example/logback/xml/LogbackXmlApplication.java index a9a95da0..20ad9731 100644 --- a/boot/logging-logback-xml/src/main/java/com/example/logback/xml/LogbackXmlApplication.java +++ b/boot/logging-logback-xml/src/main/java/com/example/logback/xml/LogbackXmlApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logback.xml; import org.springframework.boot.SpringApplication; diff --git a/boot/logging-logback/src/appTest/java/com/example/logback/LogbackApplicationAotTests.java b/boot/logging-logback/src/appTest/java/com/example/logback/LogbackApplicationAotTests.java index d67dd3df..1a1b08c1 100644 --- a/boot/logging-logback/src/appTest/java/com/example/logback/LogbackApplicationAotTests.java +++ b/boot/logging-logback/src/appTest/java/com/example/logback/LogbackApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logback; import java.time.Duration; diff --git a/boot/logging-logback/src/main/java/com/example/logback/CLR.java b/boot/logging-logback/src/main/java/com/example/logback/CLR.java index ed6e6d0e..266dc454 100644 --- a/boot/logging-logback/src/main/java/com/example/logback/CLR.java +++ b/boot/logging-logback/src/main/java/com/example/logback/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logback; import org.slf4j.Logger; diff --git a/boot/logging-logback/src/main/java/com/example/logback/LogbackApplication.java b/boot/logging-logback/src/main/java/com/example/logback/LogbackApplication.java index cbcfbadd..1a291ddd 100644 --- a/boot/logging-logback/src/main/java/com/example/logback/LogbackApplication.java +++ b/boot/logging-logback/src/main/java/com/example/logback/LogbackApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.logback; import org.springframework.boot.SpringApplication; diff --git a/boot/mustache-webflux/src/appTest/java/com/example/mustache/webflux/MustacheWebFluxApplicationAotTests.java b/boot/mustache-webflux/src/appTest/java/com/example/mustache/webflux/MustacheWebFluxApplicationAotTests.java index 7ad8ed0c..5e11c354 100644 --- a/boot/mustache-webflux/src/appTest/java/com/example/mustache/webflux/MustacheWebFluxApplicationAotTests.java +++ b/boot/mustache-webflux/src/appTest/java/com/example/mustache/webflux/MustacheWebFluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mustache.webflux; import org.junit.jupiter.api.Test; diff --git a/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/MustacheWebFluxApplication.java b/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/MustacheWebFluxApplication.java index 6c55033f..fb74efc6 100644 --- a/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/MustacheWebFluxApplication.java +++ b/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/MustacheWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mustache.webflux; import org.springframework.boot.SpringApplication; diff --git a/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/TestController.java b/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/TestController.java index ca6b092d..a3412162 100644 --- a/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/TestController.java +++ b/boot/mustache-webflux/src/main/java/com/example/mustache/webflux/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mustache.webflux; import java.util.List; diff --git a/boot/mustache-webmvc/src/appTest/java/com/example/mustache/webmvc/MustacheWebMvcApplicationAotTests.java b/boot/mustache-webmvc/src/appTest/java/com/example/mustache/webmvc/MustacheWebMvcApplicationAotTests.java index 541f0069..8e972eef 100644 --- a/boot/mustache-webmvc/src/appTest/java/com/example/mustache/webmvc/MustacheWebMvcApplicationAotTests.java +++ b/boot/mustache-webmvc/src/appTest/java/com/example/mustache/webmvc/MustacheWebMvcApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mustache.webmvc; import org.junit.jupiter.api.Test; diff --git a/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/MustacheWebMvcApplication.java b/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/MustacheWebMvcApplication.java index 620532f2..6733e2c7 100644 --- a/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/MustacheWebMvcApplication.java +++ b/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/MustacheWebMvcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mustache.webmvc; import org.springframework.boot.SpringApplication; diff --git a/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/TestController.java b/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/TestController.java index 8e8ff3d0..40ed0b8d 100644 --- a/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/TestController.java +++ b/boot/mustache-webmvc/src/main/java/com/example/mustache/webmvc/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mustache.webmvc; import java.util.List; diff --git a/boot/servlet-component-scan/src/appTest/java/com/example/servlet/componentscan/ServletComponentScanApplicationAotTests.java b/boot/servlet-component-scan/src/appTest/java/com/example/servlet/componentscan/ServletComponentScanApplicationAotTests.java index 369692cd..cfc1986b 100644 --- a/boot/servlet-component-scan/src/appTest/java/com/example/servlet/componentscan/ServletComponentScanApplicationAotTests.java +++ b/boot/servlet-component-scan/src/appTest/java/com/example/servlet/componentscan/ServletComponentScanApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.componentscan; import java.time.Duration; diff --git a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanApplication.java b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanApplication.java index 15a1112e..10f87148 100644 --- a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanApplication.java +++ b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.componentscan; import org.springframework.boot.SpringApplication; diff --git a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanConfiguration.java b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanConfiguration.java index 42b4ab95..af1fc708 100644 --- a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanConfiguration.java +++ b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/ServletComponentScanConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.componentscan; import org.springframework.boot.web.servlet.ServletComponentScan; diff --git a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestFilter.java b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestFilter.java index 5fbb9660..fbde2f41 100644 --- a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestFilter.java +++ b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestFilter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.componentscan; import java.io.IOException; diff --git a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestListener.java b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestListener.java index 4afa441a..685f50b0 100644 --- a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestListener.java +++ b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.componentscan; import jakarta.servlet.ServletRequestEvent; diff --git a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestServlet.java b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestServlet.java index dcda65a6..793ea96d 100644 --- a/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestServlet.java +++ b/boot/servlet-component-scan/src/main/java/com/example/servlet/componentscan/TestServlet.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.componentscan; import java.io.IOException; diff --git a/boot/servlet-jetty/src/appTest/java/com/example/servlet/jetty/ServletJettyApplicationAotTests.java b/boot/servlet-jetty/src/appTest/java/com/example/servlet/jetty/ServletJettyApplicationAotTests.java index daae75fa..b0851eb6 100644 --- a/boot/servlet-jetty/src/appTest/java/com/example/servlet/jetty/ServletJettyApplicationAotTests.java +++ b/boot/servlet-jetty/src/appTest/java/com/example/servlet/jetty/ServletJettyApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.jetty; import org.junit.jupiter.api.Test; diff --git a/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletConfiguration.java b/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletConfiguration.java index eb3a31e5..eb9194c3 100644 --- a/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletConfiguration.java +++ b/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.jetty; import org.springframework.boot.web.servlet.ServletRegistrationBean; diff --git a/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletJettyApplication.java b/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletJettyApplication.java index fc8aee6a..bab47c35 100644 --- a/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletJettyApplication.java +++ b/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/ServletJettyApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.jetty; import org.springframework.boot.SpringApplication; diff --git a/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/TestServlet.java b/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/TestServlet.java index 96a76de0..f04d5009 100644 --- a/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/TestServlet.java +++ b/boot/servlet-jetty/src/main/java/com/example/servlet/jetty/TestServlet.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.jetty; import java.io.IOException; diff --git a/boot/servlet-tomcat/src/appTest/java/com/example/servlet/tomcat/ServletTomcatApplicationAotTests.java b/boot/servlet-tomcat/src/appTest/java/com/example/servlet/tomcat/ServletTomcatApplicationAotTests.java index 3768c51b..dd16f08f 100644 --- a/boot/servlet-tomcat/src/appTest/java/com/example/servlet/tomcat/ServletTomcatApplicationAotTests.java +++ b/boot/servlet-tomcat/src/appTest/java/com/example/servlet/tomcat/ServletTomcatApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.tomcat; import org.junit.jupiter.api.Test; diff --git a/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletConfiguration.java b/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletConfiguration.java index 47851dcc..7dad2646 100644 --- a/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletConfiguration.java +++ b/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.tomcat; import org.springframework.boot.web.servlet.ServletRegistrationBean; diff --git a/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletTomcatApplication.java b/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletTomcatApplication.java index 2f9961b7..f6e3c9b8 100644 --- a/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletTomcatApplication.java +++ b/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/ServletTomcatApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.tomcat; import org.springframework.boot.SpringApplication; diff --git a/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/TestServlet.java b/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/TestServlet.java index 936f5dd1..8b0ad33f 100644 --- a/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/TestServlet.java +++ b/boot/servlet-tomcat/src/main/java/com/example/servlet/tomcat/TestServlet.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.tomcat; import java.io.IOException; diff --git a/boot/servlet-undertow/src/appTest/java/com/example/servlet/undertow/ServletUndertowApplicationAotTests.java b/boot/servlet-undertow/src/appTest/java/com/example/servlet/undertow/ServletUndertowApplicationAotTests.java index e3e2b462..cdd67289 100644 --- a/boot/servlet-undertow/src/appTest/java/com/example/servlet/undertow/ServletUndertowApplicationAotTests.java +++ b/boot/servlet-undertow/src/appTest/java/com/example/servlet/undertow/ServletUndertowApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.undertow; import org.junit.jupiter.api.Test; diff --git a/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletConfiguration.java b/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletConfiguration.java index 61410464..0aefe6c7 100644 --- a/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletConfiguration.java +++ b/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.undertow; import org.springframework.boot.web.servlet.ServletRegistrationBean; diff --git a/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletUndertowApplication.java b/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletUndertowApplication.java index a4858cd5..3568ffde 100644 --- a/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletUndertowApplication.java +++ b/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/ServletUndertowApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.undertow; import org.springframework.boot.SpringApplication; diff --git a/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/TestServlet.java b/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/TestServlet.java index 185759c6..aa2a003d 100644 --- a/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/TestServlet.java +++ b/boot/servlet-undertow/src/main/java/com/example/servlet/undertow/TestServlet.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.servlet.undertow; import java.io.IOException; diff --git a/boot/thymeleaf-webflux/src/appTest/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplicationAotTests.java b/boot/thymeleaf-webflux/src/appTest/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplicationAotTests.java index eac0bd9a..391df3e8 100644 --- a/boot/thymeleaf-webflux/src/appTest/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplicationAotTests.java +++ b/boot/thymeleaf-webflux/src/appTest/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.thymeleaf.webflux; import org.junit.jupiter.api.Test; diff --git a/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/TestController.java b/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/TestController.java index 0716aa79..43556c3f 100644 --- a/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/TestController.java +++ b/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.thymeleaf.webflux; import java.util.List; diff --git a/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplication.java b/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplication.java index 0585d28b..1ca07c71 100644 --- a/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplication.java +++ b/boot/thymeleaf-webflux/src/main/java/com/example/thymeleaf/webflux/ThymeleafWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.thymeleaf.webflux; import org.springframework.boot.SpringApplication; diff --git a/boot/thymeleaf-webmvc/src/appTest/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplicationAotTests.java b/boot/thymeleaf-webmvc/src/appTest/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplicationAotTests.java index 52a15388..e6969e86 100644 --- a/boot/thymeleaf-webmvc/src/appTest/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplicationAotTests.java +++ b/boot/thymeleaf-webmvc/src/appTest/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.thymeleaf.webmvc; import org.junit.jupiter.api.Test; diff --git a/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/TestController.java b/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/TestController.java index f1ad218d..21c831da 100644 --- a/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/TestController.java +++ b/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.thymeleaf.webmvc; import java.util.List; diff --git a/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplication.java b/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplication.java index d562102c..3aa7f276 100644 --- a/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplication.java +++ b/boot/thymeleaf-webmvc/src/main/java/com/example/thymeleaf/webmvc/ThymeleafWebMvcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.thymeleaf.webmvc; import org.springframework.boot.SpringApplication; diff --git a/boot/tracing-brave-zipkin/src/appTest/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplicationAotTests.java b/boot/tracing-brave-zipkin/src/appTest/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplicationAotTests.java index cb32e62b..d8d8b839 100644 --- a/boot/tracing-brave-zipkin/src/appTest/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplicationAotTests.java +++ b/boot/tracing-brave-zipkin/src/appTest/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tracing.brave.zipkin; import java.time.Duration; diff --git a/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/CLR.java b/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/CLR.java index 28afd438..3bd0e233 100644 --- a/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/CLR.java +++ b/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tracing.brave.zipkin; import java.time.Duration; diff --git a/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplication.java b/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplication.java index 51031b49..8561abe7 100644 --- a/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplication.java +++ b/boot/tracing-brave-zipkin/src/main/java/com/example/tracing/brave/zipkin/TracingBraveZipkinApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tracing.brave.zipkin; import org.springframework.boot.SpringApplication; diff --git a/boot/xml-config/src/appTest/java/com/example/xmlconfig/XmlConfigApplicationAotTests.java b/boot/xml-config/src/appTest/java/com/example/xmlconfig/XmlConfigApplicationAotTests.java index 232ea79e..6d54e6d1 100644 --- a/boot/xml-config/src/appTest/java/com/example/xmlconfig/XmlConfigApplicationAotTests.java +++ b/boot/xml-config/src/appTest/java/com/example/xmlconfig/XmlConfigApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.xmlconfig; import java.time.Duration; diff --git a/boot/xml-config/src/main/java/com/example/xmlconfig/CLR.java b/boot/xml-config/src/main/java/com/example/xmlconfig/CLR.java index 7d7215b1..fd383fc7 100644 --- a/boot/xml-config/src/main/java/com/example/xmlconfig/CLR.java +++ b/boot/xml-config/src/main/java/com/example/xmlconfig/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.xmlconfig; import com.example.xmlconfig.service.MyService; diff --git a/boot/xml-config/src/main/java/com/example/xmlconfig/XmlConfigApplication.java b/boot/xml-config/src/main/java/com/example/xmlconfig/XmlConfigApplication.java index 1df9e1b8..ba0dab23 100644 --- a/boot/xml-config/src/main/java/com/example/xmlconfig/XmlConfigApplication.java +++ b/boot/xml-config/src/main/java/com/example/xmlconfig/XmlConfigApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.xmlconfig; import java.util.Collections; diff --git a/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyService.java b/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyService.java index b06bae85..9245eb0e 100644 --- a/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyService.java +++ b/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.xmlconfig.service; public interface MyService { diff --git a/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyServiceImpl.java b/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyServiceImpl.java index ba2d5d5a..8d9e6837 100644 --- a/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyServiceImpl.java +++ b/boot/xml-config/src/main/java/com/example/xmlconfig/service/MyServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.xmlconfig.service; class MyServiceImpl implements MyService { diff --git a/cloud/cloud-config-client/src/appTest/java/com/example/cloud/config/client/ConfigClientApplicationAotTests.java b/cloud/cloud-config-client/src/appTest/java/com/example/cloud/config/client/ConfigClientApplicationAotTests.java index b87e75e3..fc96af34 100644 --- a/cloud/cloud-config-client/src/appTest/java/com/example/cloud/config/client/ConfigClientApplicationAotTests.java +++ b/cloud/cloud-config-client/src/appTest/java/com/example/cloud/config/client/ConfigClientApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.config.client; import java.util.concurrent.TimeUnit; diff --git a/cloud/cloud-config-client/src/main/java/com/example/cloud/config/client/ConfigClientApplication.java b/cloud/cloud-config-client/src/main/java/com/example/cloud/config/client/ConfigClientApplication.java index 94d10940..2a88d3be 100644 --- a/cloud/cloud-config-client/src/main/java/com/example/cloud/config/client/ConfigClientApplication.java +++ b/cloud/cloud-config-client/src/main/java/com/example/cloud/config/client/ConfigClientApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.config.client; import reactor.core.publisher.Mono; diff --git a/cloud/cloud-discovery-consul/src/appTest/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplicationAotTests.java b/cloud/cloud-discovery-consul/src/appTest/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplicationAotTests.java index 394c0db8..d1fe602e 100644 --- a/cloud/cloud-discovery-consul/src/appTest/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplicationAotTests.java +++ b/cloud/cloud-discovery-consul/src/appTest/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.discovery.consul; import java.time.Duration; diff --git a/cloud/cloud-discovery-consul/src/main/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplication.java b/cloud/cloud-discovery-consul/src/main/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplication.java index 05be0283..2a649be7 100644 --- a/cloud/cloud-discovery-consul/src/main/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplication.java +++ b/cloud/cloud-discovery-consul/src/main/java/com/example/cloud/discovery/consul/ConsulDiscoveryClientApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.discovery.consul; import org.springframework.boot.SpringApplication; diff --git a/cloud/cloud-discovery-eureka/src/appTest/java/com/example/cloud/discovery/eureka/EurekaDiscoveryClientApplicationAotTests.java b/cloud/cloud-discovery-eureka/src/appTest/java/com/example/cloud/discovery/eureka/EurekaDiscoveryClientApplicationAotTests.java index 357af036..38725af8 100644 --- a/cloud/cloud-discovery-eureka/src/appTest/java/com/example/cloud/discovery/eureka/EurekaDiscoveryClientApplicationAotTests.java +++ b/cloud/cloud-discovery-eureka/src/appTest/java/com/example/cloud/discovery/eureka/EurekaDiscoveryClientApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.discovery.eureka; import java.time.Duration; diff --git a/cloud/cloud-discovery-eureka/src/main/java/com/example/cloud/discovery/eureka/CloudDiscoveryEurekaApplication.java b/cloud/cloud-discovery-eureka/src/main/java/com/example/cloud/discovery/eureka/CloudDiscoveryEurekaApplication.java index 6b920f8a..2e69a104 100644 --- a/cloud/cloud-discovery-eureka/src/main/java/com/example/cloud/discovery/eureka/CloudDiscoveryEurekaApplication.java +++ b/cloud/cloud-discovery-eureka/src/main/java/com/example/cloud/discovery/eureka/CloudDiscoveryEurekaApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.discovery.eureka; import org.springframework.boot.SpringApplication; diff --git a/cloud/cloud-discovery-zookeeper/src/appTest/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplicationAotTests.java b/cloud/cloud-discovery-zookeeper/src/appTest/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplicationAotTests.java index a07dc910..1b2f357d 100644 --- a/cloud/cloud-discovery-zookeeper/src/appTest/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplicationAotTests.java +++ b/cloud/cloud-discovery-zookeeper/src/appTest/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.discovery.zookeeper; import java.time.Duration; diff --git a/cloud/cloud-discovery-zookeeper/src/main/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplication.java b/cloud/cloud-discovery-zookeeper/src/main/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplication.java index e2b11a6c..b7430989 100644 --- a/cloud/cloud-discovery-zookeeper/src/main/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplication.java +++ b/cloud/cloud-discovery-zookeeper/src/main/java/com/example/cloud/discovery/zookeeper/ZookeeperDiscoveryClientApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.discovery.zookeeper; import org.springframework.boot.SpringApplication; diff --git a/cloud/cloud-function-web/src/appTest/java/com/example/cloud/function/web/CloudFunctionWebApplicationAotTests.java b/cloud/cloud-function-web/src/appTest/java/com/example/cloud/function/web/CloudFunctionWebApplicationAotTests.java index 2673354a..1bcd0ab9 100644 --- a/cloud/cloud-function-web/src/appTest/java/com/example/cloud/function/web/CloudFunctionWebApplicationAotTests.java +++ b/cloud/cloud-function-web/src/appTest/java/com/example/cloud/function/web/CloudFunctionWebApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.web; import org.junit.jupiter.api.Test; diff --git a/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/CloudFunctionWebApplication.java b/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/CloudFunctionWebApplication.java index a0fe1c63..0325d951 100644 --- a/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/CloudFunctionWebApplication.java +++ b/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/CloudFunctionWebApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.web; import org.springframework.boot.SpringApplication; diff --git a/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Lowercase.java b/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Lowercase.java index f086804e..c8f74134 100644 --- a/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Lowercase.java +++ b/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Lowercase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.web; import java.util.Locale; diff --git a/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Uppercase.java b/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Uppercase.java index 10eff8c2..5ed789f4 100644 --- a/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Uppercase.java +++ b/cloud/cloud-function-web/src/main/java/com/example/cloud/function/web/Uppercase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.web; import java.util.Locale; diff --git a/cloud/cloud-function-webflux/src/appTest/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplicationAotTests.java b/cloud/cloud-function-webflux/src/appTest/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplicationAotTests.java index ca280477..16c3a913 100644 --- a/cloud/cloud-function-webflux/src/appTest/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplicationAotTests.java +++ b/cloud/cloud-function-webflux/src/appTest/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.webflux; import org.junit.jupiter.api.Test; diff --git a/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplication.java b/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplication.java index c7b7a62d..c887084f 100644 --- a/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplication.java +++ b/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/CloudFunctionWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.webflux; import org.springframework.boot.SpringApplication; diff --git a/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Lowercase.java b/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Lowercase.java index 792ab00d..ee161bab 100644 --- a/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Lowercase.java +++ b/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Lowercase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.webflux; import java.util.Locale; diff --git a/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Uppercase.java b/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Uppercase.java index 3091e6ac..4b5cebc5 100644 --- a/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Uppercase.java +++ b/cloud/cloud-function-webflux/src/main/java/com/example/cloud/function/webflux/Uppercase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.function.webflux; import java.util.Locale; diff --git a/cloud/cloud-gateway/src/appTest/java/com/example/cloud/gateway/CloudGatewayApplicationAotTests.java b/cloud/cloud-gateway/src/appTest/java/com/example/cloud/gateway/CloudGatewayApplicationAotTests.java index b1d5d856..2abc9bec 100644 --- a/cloud/cloud-gateway/src/appTest/java/com/example/cloud/gateway/CloudGatewayApplicationAotTests.java +++ b/cloud/cloud-gateway/src/appTest/java/com/example/cloud/gateway/CloudGatewayApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.gateway; import org.junit.jupiter.api.Test; diff --git a/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/CloudGatewayApplication.java b/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/CloudGatewayApplication.java index cc615e16..5cc8394b 100644 --- a/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/CloudGatewayApplication.java +++ b/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/CloudGatewayApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.example.cloud.gateway; import org.springframework.boot.SpringApplication; diff --git a/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/RoutesConfig.java b/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/RoutesConfig.java index 31c88e14..76988e3e 100644 --- a/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/RoutesConfig.java +++ b/cloud/cloud-gateway/src/main/java/org/example/cloud/gateway/RoutesConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.example.cloud.gateway; import org.springframework.cloud.gateway.route.RouteLocator; diff --git a/cloud/cloud-loadbalancing-web/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplicationAotTests.java b/cloud/cloud-loadbalancing-web/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplicationAotTests.java index fa7e3abf..dc59cfb8 100644 --- a/cloud/cloud-loadbalancing-web/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplicationAotTests.java +++ b/cloud/cloud-loadbalancing-web/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing; import java.time.Duration; diff --git a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplication.java b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplication.java index 31f341ba..2c1bb8bc 100644 --- a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplication.java +++ b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing; import com.example.cloud.loadbalancing.service.LoadBalancerClientTestService; diff --git a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java index 53d70678..47e06d3a 100644 --- a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java +++ b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.client; import java.net.URI; diff --git a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java index 6dffef39..ec619c6d 100644 --- a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java +++ b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.client; import java.net.URI; diff --git a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java index cc529519..ebd84019 100644 --- a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java +++ b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.config; import org.apache.commons.logging.Log; diff --git a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/RestTemplateConfig.java b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/RestTemplateConfig.java index ba81fce8..e2a61a8f 100644 --- a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/RestTemplateConfig.java +++ b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/config/RestTemplateConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.config; import org.springframework.cloud.client.loadbalancer.LoadBalanced; diff --git a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java index da07a468..5e5bf812 100644 --- a/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java +++ b/cloud/cloud-loadbalancing-web/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.service; import com.example.cloud.loadbalancing.client.DemoServiceClient; diff --git a/cloud/cloud-loadbalancing-webflux/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplicationAotTests.java b/cloud/cloud-loadbalancing-webflux/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplicationAotTests.java index 99904a91..c4c2ac2a 100644 --- a/cloud/cloud-loadbalancing-webflux/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplicationAotTests.java +++ b/cloud/cloud-loadbalancing-webflux/src/appTest/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing; import java.time.Duration; diff --git a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplication.java b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplication.java index 9289575d..9f63ea5a 100644 --- a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplication.java +++ b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/CloudLoadBalancerClientWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing; import com.example.cloud.loadbalancing.service.LoadBalancerClientTestService; diff --git a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java index 6fd34c53..b39e0e82 100644 --- a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java +++ b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/DemoServiceClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.client; import java.net.URI; diff --git a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java index f23037ab..ca8d6073 100644 --- a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java +++ b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/client/TestServiceClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.client; import java.net.URI; diff --git a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java index cc529519..ebd84019 100644 --- a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java +++ b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/CustomLoadBalancerConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.config; import org.apache.commons.logging.Log; diff --git a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/WebClientConfig.java b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/WebClientConfig.java index 962c94dd..ba1e2128 100644 --- a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/WebClientConfig.java +++ b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/config/WebClientConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.config; import org.springframework.cloud.client.loadbalancer.LoadBalanced; diff --git a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java index 6bd2d3c1..534b71f6 100644 --- a/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java +++ b/cloud/cloud-loadbalancing-webflux/src/main/java/com/example/cloud/loadbalancing/service/LoadBalancerClientTestService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.loadbalancing.service; import com.example.cloud.loadbalancing.client.DemoServiceClient; diff --git a/cloud/cloud-openfeign/src/appTest/java/com/example/cloud/openfeign/CloudOpenFeignApplicationAotTests.java b/cloud/cloud-openfeign/src/appTest/java/com/example/cloud/openfeign/CloudOpenFeignApplicationAotTests.java index 30a8e863..8014630d 100644 --- a/cloud/cloud-openfeign/src/appTest/java/com/example/cloud/openfeign/CloudOpenFeignApplicationAotTests.java +++ b/cloud/cloud-openfeign/src/appTest/java/com/example/cloud/openfeign/CloudOpenFeignApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.openfeign; import java.time.Duration; diff --git a/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/CloudOpenFeignApplication.java b/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/CloudOpenFeignApplication.java index c943269d..532653ee 100644 --- a/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/CloudOpenFeignApplication.java +++ b/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/CloudOpenFeignApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.openfeign; import com.example.cloud.openfeign.config.CustomFeignConfig; diff --git a/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/config/CustomFeignConfig.java b/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/config/CustomFeignConfig.java index d239a0d4..9b183b37 100644 --- a/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/config/CustomFeignConfig.java +++ b/cloud/cloud-openfeign/src/main/java/com/example/cloud/openfeign/config/CustomFeignConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.openfeign.config; import feign.Logger; diff --git a/cloud/cloud-stream-kafka/src/main/java/com/example/cloud/stream/kafka/SpringCloudStreamKafkaApplication.java b/cloud/cloud-stream-kafka/src/main/java/com/example/cloud/stream/kafka/SpringCloudStreamKafkaApplication.java index 6c44cb96..f346d43b 100644 --- a/cloud/cloud-stream-kafka/src/main/java/com/example/cloud/stream/kafka/SpringCloudStreamKafkaApplication.java +++ b/cloud/cloud-stream-kafka/src/main/java/com/example/cloud/stream/kafka/SpringCloudStreamKafkaApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.stream.kafka; import java.util.concurrent.atomic.AtomicInteger; diff --git a/cloud/cloud-stream-rabbit/src/appTest/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplicationAotTests.java b/cloud/cloud-stream-rabbit/src/appTest/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplicationAotTests.java index 14b4d6f2..d97d9688 100644 --- a/cloud/cloud-stream-rabbit/src/appTest/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplicationAotTests.java +++ b/cloud/cloud-stream-rabbit/src/appTest/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.stream.rabbit; /* * Copyright 2022 the original author or authors. diff --git a/cloud/cloud-stream-rabbit/src/main/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplication.java b/cloud/cloud-stream-rabbit/src/main/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplication.java index 12ff8faa..eccc42f1 100644 --- a/cloud/cloud-stream-rabbit/src/main/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplication.java +++ b/cloud/cloud-stream-rabbit/src/main/java/com/example/cloud/stream/rabbit/SpringCloudStreamRabbitApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.stream.rabbit; import java.util.concurrent.atomic.AtomicInteger; diff --git a/cloud/cloud-task/src/appTest/java/com/example/cloud/task/CloudTaskApplicationAotTests.java b/cloud/cloud-task/src/appTest/java/com/example/cloud/task/CloudTaskApplicationAotTests.java index d2f83ab8..daac62a2 100644 --- a/cloud/cloud-task/src/appTest/java/com/example/cloud/task/CloudTaskApplicationAotTests.java +++ b/cloud/cloud-task/src/appTest/java/com/example/cloud/task/CloudTaskApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.task; import java.time.Duration; diff --git a/cloud/cloud-task/src/main/java/com/example/cloud/task/CloudTaskApplication.java b/cloud/cloud-task/src/main/java/com/example/cloud/task/CloudTaskApplication.java index a4460cf5..0a6bf38d 100644 --- a/cloud/cloud-task/src/main/java/com/example/cloud/task/CloudTaskApplication.java +++ b/cloud/cloud-task/src/main/java/com/example/cloud/task/CloudTaskApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.task; import org.springframework.boot.ApplicationRunner; diff --git a/cloud/cloud-task/src/main/java/com/example/cloud/task/Listener.java b/cloud/cloud-task/src/main/java/com/example/cloud/task/Listener.java index bab67998..bc50a6a2 100644 --- a/cloud/cloud-task/src/main/java/com/example/cloud/task/Listener.java +++ b/cloud/cloud-task/src/main/java/com/example/cloud/task/Listener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cloud.task; import org.springframework.cloud.task.listener.annotation.AfterTask; diff --git a/data/data-cassandra-reactive/src/appTest/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplicationAotTests.java b/data/data-cassandra-reactive/src/appTest/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplicationAotTests.java index f609b383..9a6bbf33 100644 --- a/data/data-cassandra-reactive/src/appTest/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplicationAotTests.java +++ b/data/data-cassandra-reactive/src/appTest/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra.reactive; import java.time.Duration; diff --git a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CLR.java b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CLR.java index 120ec25a..901271f7 100644 --- a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CLR.java +++ b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra.reactive; import java.util.UUID; diff --git a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CassandraConfiguration.java b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CassandraConfiguration.java index cccc87ed..276b11f1 100644 --- a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CassandraConfiguration.java +++ b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/CassandraConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra.reactive; import com.datastax.oss.driver.api.core.CqlSession; diff --git a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplication.java b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplication.java index edfb26e5..7c718367 100644 --- a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplication.java +++ b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/DataCassandraReactiveApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra.reactive; import org.springframework.boot.SpringApplication; diff --git a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/Person.java b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/Person.java index b3d079f4..770e4811 100644 --- a/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/Person.java +++ b/data/data-cassandra-reactive/src/main/java/com/example/data/cassandra/reactive/Person.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra.reactive; import org.springframework.data.cassandra.core.mapping.Column; diff --git a/data/data-cassandra/src/appTest/java/com/example/data/cassandra/DataCassandraApplicationAotTests.java b/data/data-cassandra/src/appTest/java/com/example/data/cassandra/DataCassandraApplicationAotTests.java index a73cad67..7b99edc9 100644 --- a/data/data-cassandra/src/appTest/java/com/example/data/cassandra/DataCassandraApplicationAotTests.java +++ b/data/data-cassandra/src/appTest/java/com/example/data/cassandra/DataCassandraApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra; import static org.assertj.core.api.Assertions.*; diff --git a/data/data-cassandra/src/main/java/com/example/data/cassandra/CLR.java b/data/data-cassandra/src/main/java/com/example/data/cassandra/CLR.java index 6da8dd7d..d43bcd0f 100644 --- a/data/data-cassandra/src/main/java/com/example/data/cassandra/CLR.java +++ b/data/data-cassandra/src/main/java/com/example/data/cassandra/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra; import java.util.ArrayList; diff --git a/data/data-cassandra/src/main/java/com/example/data/cassandra/CassandraConfiguration.java b/data/data-cassandra/src/main/java/com/example/data/cassandra/CassandraConfiguration.java index 13d9e092..25b766da 100644 --- a/data/data-cassandra/src/main/java/com/example/data/cassandra/CassandraConfiguration.java +++ b/data/data-cassandra/src/main/java/com/example/data/cassandra/CassandraConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra; import com.datastax.oss.driver.api.core.CqlSession; diff --git a/data/data-cassandra/src/main/java/com/example/data/cassandra/DataCassandraApplication.java b/data/data-cassandra/src/main/java/com/example/data/cassandra/DataCassandraApplication.java index 3824e2fa..57e0c20f 100644 --- a/data/data-cassandra/src/main/java/com/example/data/cassandra/DataCassandraApplication.java +++ b/data/data-cassandra/src/main/java/com/example/data/cassandra/DataCassandraApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra; import java.util.Optional; diff --git a/data/data-cassandra/src/main/java/com/example/data/cassandra/Person.java b/data/data-cassandra/src/main/java/com/example/data/cassandra/Person.java index e7fb5192..438f3c9c 100644 --- a/data/data-cassandra/src/main/java/com/example/data/cassandra/Person.java +++ b/data/data-cassandra/src/main/java/com/example/data/cassandra/Person.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.cassandra; import org.springframework.data.cassandra.core.mapping.Column; diff --git a/data/data-jdbc-h2-kotlin/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java b/data/data-jdbc-h2-kotlin/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java index a247a490..5add42d5 100644 --- a/data/data-jdbc-h2-kotlin/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java +++ b/data/data-jdbc-h2-kotlin/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import java.time.Duration; diff --git a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/AuthorRepository.kt b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/AuthorRepository.kt index 45f308be..b39d7fac 100644 --- a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/AuthorRepository.kt +++ b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/AuthorRepository.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin import com.example.data.jdbc.h2.kotlin.model.Author diff --git a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/CLR.kt b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/CLR.kt index 3a78400a..b91b4dd7 100644 --- a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/CLR.kt +++ b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/CLR.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin import com.example.data.jdbc.h2.kotlin.model.Author diff --git a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcConfiguration.kt b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcConfiguration.kt index c461df82..f7516a39 100644 --- a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcConfiguration.kt +++ b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcConfiguration.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin import org.springframework.context.annotation.Configuration diff --git a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcH2Application.kt b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcH2Application.kt index 27b11a9e..e95b2acc 100644 --- a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcH2Application.kt +++ b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcH2Application.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin import org.springframework.boot.SpringApplication diff --git a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Author.kt b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Author.kt index 0b1dbb9b..a58176aa 100644 --- a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Author.kt +++ b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Author.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin.model import org.springframework.data.annotation.Id diff --git a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Book.kt b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Book.kt index 81f09b69..7121e551 100644 --- a/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Book.kt +++ b/data/data-jdbc-h2-kotlin/src/main/kotlin/com/example/data/jdbc/h2/kotlin/model/Book.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin.model import org.springframework.data.annotation.Id diff --git a/data/data-jdbc-h2-kotlin/src/test/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcTests.kt b/data/data-jdbc-h2-kotlin/src/test/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcTests.kt index 925ec51f..f270f8ad 100644 --- a/data/data-jdbc-h2-kotlin/src/test/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcTests.kt +++ b/data/data-jdbc-h2-kotlin/src/test/kotlin/com/example/data/jdbc/h2/kotlin/DataJdbcTests.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.kotlin import com.example.data.jdbc.h2.kotlin.model.Author diff --git a/data/data-jdbc-h2/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java b/data/data-jdbc-h2/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java index 1155922e..e0f99168 100644 --- a/data/data-jdbc-h2/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java +++ b/data/data-jdbc-h2/src/appTest/java/com/example/data/jdbc/h2/DataJdbcH2ApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import java.time.Duration; diff --git a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/AuthorRepository.java b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/AuthorRepository.java index 74900195..66205148 100644 --- a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/AuthorRepository.java +++ b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/AuthorRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import java.util.Optional; diff --git a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/CLR.java b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/CLR.java index b5b59c64..e787198d 100644 --- a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/CLR.java +++ b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import java.util.List; diff --git a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcConfiguration.java b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcConfiguration.java index f15a1db5..aae2c4e6 100644 --- a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcConfiguration.java +++ b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import org.springframework.context.annotation.Configuration; diff --git a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcH2Application.java b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcH2Application.java index abc758f3..4d2883c2 100644 --- a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcH2Application.java +++ b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/DataJdbcH2Application.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import org.springframework.boot.SpringApplication; diff --git a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Author.java b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Author.java index 767c2bad..c08798d1 100644 --- a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Author.java +++ b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.model; import java.util.Objects; diff --git a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Book.java b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Book.java index 6bf695ec..c51fb2ca 100644 --- a/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Book.java +++ b/data/data-jdbc-h2/src/main/java/com/example/data/jdbc/h2/model/Book.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2.model; import java.util.Objects; diff --git a/data/data-jdbc-h2/src/test/java/com/example/data/jdbc/h2/DataJdbcTests.java b/data/data-jdbc-h2/src/test/java/com/example/data/jdbc/h2/DataJdbcTests.java index f276caac..453b3ee9 100644 --- a/data/data-jdbc-h2/src/test/java/com/example/data/jdbc/h2/DataJdbcTests.java +++ b/data/data-jdbc-h2/src/test/java/com/example/data/jdbc/h2/DataJdbcTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.h2; import java.util.Optional; diff --git a/data/data-jdbc-postgresql/src/appTest/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplicationAotTests.java b/data/data-jdbc-postgresql/src/appTest/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplicationAotTests.java index ed26d1c3..442ff4fb 100644 --- a/data/data-jdbc-postgresql/src/appTest/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplicationAotTests.java +++ b/data/data-jdbc-postgresql/src/appTest/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql; import java.time.Duration; diff --git a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/AuthorRepository.java b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/AuthorRepository.java index 105c2bb9..b5d69ba9 100644 --- a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/AuthorRepository.java +++ b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/AuthorRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql; import java.util.Optional; diff --git a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/CLR.java b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/CLR.java index ad8d00da..ae98248a 100644 --- a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/CLR.java +++ b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql; import java.util.List; diff --git a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcConfiguration.java b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcConfiguration.java index 1cf96bfd..50b8b7b0 100644 --- a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcConfiguration.java +++ b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql; import org.springframework.context.annotation.Configuration; diff --git a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplication.java b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplication.java index c887a6f5..54c1fa6c 100644 --- a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplication.java +++ b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/DataJdbcPostgreSQLApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql; import org.springframework.boot.SpringApplication; diff --git a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Author.java b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Author.java index 85b6bf2e..e2b8967a 100644 --- a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Author.java +++ b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql.model; import java.util.Objects; diff --git a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Book.java b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Book.java index 2c157758..1d880d69 100644 --- a/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Book.java +++ b/data/data-jdbc-postgresql/src/main/java/com/example/data/jdbc/postgresql/model/Book.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jdbc.postgresql.model; import java.util.Objects; diff --git a/data/data-jpa-entityscan/src/appTest/java/com/example/data/entityscan/DataJpaEntityScanApplicationAotTests.java b/data/data-jpa-entityscan/src/appTest/java/com/example/data/entityscan/DataJpaEntityScanApplicationAotTests.java index 838905fa..65b2e1ac 100644 --- a/data/data-jpa-entityscan/src/appTest/java/com/example/data/entityscan/DataJpaEntityScanApplicationAotTests.java +++ b/data/data-jpa-entityscan/src/appTest/java/com/example/data/entityscan/DataJpaEntityScanApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.entityscan; import java.time.Duration; diff --git a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/AuthorRepository.java b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/AuthorRepository.java index dbe18fab..cbfb522d 100644 --- a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/AuthorRepository.java +++ b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/AuthorRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.entityscan; import entity.Author; diff --git a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/CLR.java b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/CLR.java index cab3f9de..a07be3dc 100644 --- a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/CLR.java +++ b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.entityscan; import java.util.Arrays; diff --git a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaConfiguration.java b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaConfiguration.java index cecf5dd6..9fb7c17f 100644 --- a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaConfiguration.java +++ b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.entityscan; import org.springframework.boot.autoconfigure.domain.EntityScan; diff --git a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaEntityScanApplication.java b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaEntityScanApplication.java index 987a0338..5ad73133 100644 --- a/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaEntityScanApplication.java +++ b/data/data-jpa-entityscan/src/main/java/com/example/data/entityscan/DataJpaEntityScanApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.entityscan; import org.springframework.boot.SpringApplication; diff --git a/data/data-jpa-entityscan/src/main/java/entity/Author.java b/data/data-jpa-entityscan/src/main/java/entity/Author.java index b59755e6..3ec31851 100644 --- a/data/data-jpa-entityscan/src/main/java/entity/Author.java +++ b/data/data-jpa-entityscan/src/main/java/entity/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package entity; import java.util.Objects; diff --git a/data/data-jpa-entityscan/src/test/java/com/example/data/entityscan/DataJpaEntityScanTests.java b/data/data-jpa-entityscan/src/test/java/com/example/data/entityscan/DataJpaEntityScanTests.java index ccb8b9cd..0ed16f6a 100644 --- a/data/data-jpa-entityscan/src/test/java/com/example/data/entityscan/DataJpaEntityScanTests.java +++ b/data/data-jpa-entityscan/src/test/java/com/example/data/entityscan/DataJpaEntityScanTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.entityscan; import java.util.Optional; diff --git a/data/data-jpa-kotlin/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java b/data/data-jpa-kotlin/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java index d3988df6..33619dfb 100644 --- a/data/data-jpa-kotlin/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java +++ b/data/data-jpa-kotlin/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.time.Duration; diff --git a/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/CLR.java b/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/CLR.java index 58ab5008..59af578c 100644 --- a/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/CLR.java +++ b/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.kotlin; import java.util.Arrays; diff --git a/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaConfiguration.java b/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaConfiguration.java index a3cf404e..636dcafc 100644 --- a/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaConfiguration.java +++ b/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.kotlin; import org.springframework.context.annotation.Configuration; diff --git a/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaKotlinApplication.java b/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaKotlinApplication.java index 492ed5af..0fd13c71 100644 --- a/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaKotlinApplication.java +++ b/data/data-jpa-kotlin/src/main/java/com/example/data/jpa/kotlin/DataJpaKotlinApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.kotlin; import org.springframework.boot.SpringApplication; diff --git a/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/AutorRepository.kt b/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/AutorRepository.kt index a5385bbf..a9904c24 100644 --- a/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/AutorRepository.kt +++ b/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/AutorRepository.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.kotlin import com.example.data.jpa.kotlin.model.Author diff --git a/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Autor.kt b/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Autor.kt index 33309bd5..59d6ffd1 100644 --- a/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Autor.kt +++ b/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Autor.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.kotlin.model import jakarta.persistence.CascadeType diff --git a/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Book.kt b/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Book.kt index 11d81381..f5606d5e 100644 --- a/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Book.kt +++ b/data/data-jpa-kotlin/src/main/kotlin/com/example/data/jpa/kotlin/model/Book.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.kotlin.model import jakarta.persistence.Entity diff --git a/data/data-jpa/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java b/data/data-jpa/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java index e5014746..a1114a16 100644 --- a/data/data-jpa/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java +++ b/data/data-jpa/src/appTest/java/com/example/data/jpa/DataJpaApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.time.Duration; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/AppInitializer.java b/data/data-jpa/src/main/java/com/example/data/jpa/AppInitializer.java index 81b5051c..56fa076b 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/AppInitializer.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/AppInitializer.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import org.springframework.beans.factory.InitializingBean; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/AuthorRepository.java b/data/data-jpa/src/main/java/com/example/data/jpa/AuthorRepository.java index 0938b488..fd159239 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/AuthorRepository.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/AuthorRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.util.Optional; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaApplication.java b/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaApplication.java index 502c38a7..7634ea9d 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaApplication.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import org.springframework.boot.SpringApplication; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaConfiguration.java b/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaConfiguration.java index 83bd487d..f1ce96d6 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaConfiguration.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/DataJpaConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import org.springframework.context.annotation.Configuration; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/NonTransactionalRunner.java b/data/data-jpa/src/main/java/com/example/data/jpa/NonTransactionalRunner.java index f4ee0440..288f9d3b 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/NonTransactionalRunner.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/NonTransactionalRunner.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.util.List; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/PublisherRepository.java b/data/data-jpa/src/main/java/com/example/data/jpa/PublisherRepository.java index e9ae742e..bff45713 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/PublisherRepository.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/PublisherRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import com.example.data.jpa.model.Publisher; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/TransactionalRunner.java b/data/data-jpa/src/main/java/com/example/data/jpa/TransactionalRunner.java index dce41b64..caf4395c 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/TransactionalRunner.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/TransactionalRunner.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.util.Arrays; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/VoucherRepository.java b/data/data-jpa/src/main/java/com/example/data/jpa/VoucherRepository.java index d48a5c39..b4226bac 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/VoucherRepository.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/VoucherRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.util.List; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/model/Author.java b/data/data-jpa/src/main/java/com/example/data/jpa/model/Author.java index cf2fdf20..aaf9e3bc 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/model/Author.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/model/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.model; import java.util.Objects; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/model/Book.java b/data/data-jpa/src/main/java/com/example/data/jpa/model/Book.java index 8f10be7b..fc0fab43 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/model/Book.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/model/Book.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.model; import java.util.HashSet; diff --git a/data/data-jpa/src/main/java/com/example/data/jpa/model/Voucher.java b/data/data-jpa/src/main/java/com/example/data/jpa/model/Voucher.java index b6cad505..1404960e 100644 --- a/data/data-jpa/src/main/java/com/example/data/jpa/model/Voucher.java +++ b/data/data-jpa/src/main/java/com/example/data/jpa/model/Voucher.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa.model; import java.util.Date; diff --git a/data/data-jpa/src/test/java/com/example/data/jpa/DataJpaTests.java b/data/data-jpa/src/test/java/com/example/data/jpa/DataJpaTests.java index 05a2cf08..00f1a9d4 100644 --- a/data/data-jpa/src/test/java/com/example/data/jpa/DataJpaTests.java +++ b/data/data-jpa/src/test/java/com/example/data/jpa/DataJpaTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.jpa; import java.util.Optional; diff --git a/data/data-mongodb-reactive/src/appTest/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplicationAotTests.java b/data/data-mongodb-reactive/src/appTest/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplicationAotTests.java index 7007c442..6ccdcf83 100644 --- a/data/data-mongodb-reactive/src/appTest/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplicationAotTests.java +++ b/data/data-mongodb-reactive/src/appTest/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb.reactive; import java.time.Duration; diff --git a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/CLR.java b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/CLR.java index a6fdf414..72d022ab 100644 --- a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/CLR.java +++ b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb.reactive; import java.util.Date; diff --git a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplication.java b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplication.java index 4e1479a0..860188b2 100644 --- a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplication.java +++ b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/DataMongoDbReactiveApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb.reactive; import org.springframework.boot.SpringApplication; diff --git a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/Person.java b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/Person.java index 16c2755f..ee21b29e 100644 --- a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/Person.java +++ b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/Person.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb.reactive; import org.springframework.data.annotation.Id; diff --git a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/PersonRepository.java b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/PersonRepository.java index 11fbded8..55bbd3e6 100644 --- a/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/PersonRepository.java +++ b/data/data-mongodb-reactive/src/main/java/com/example/data/mongodb/reactive/PersonRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb.reactive; import reactor.core.publisher.Flux; diff --git a/data/data-mongodb/src/appTest/java/com/example/data/mongodb/DataMongoDbApplicationAotTests.java b/data/data-mongodb/src/appTest/java/com/example/data/mongodb/DataMongoDbApplicationAotTests.java index 8232098d..1e2f77fe 100644 --- a/data/data-mongodb/src/appTest/java/com/example/data/mongodb/DataMongoDbApplicationAotTests.java +++ b/data/data-mongodb/src/appTest/java/com/example/data/mongodb/DataMongoDbApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb; import static org.assertj.core.api.Assertions.*; diff --git a/data/data-mongodb/src/main/java/com/example/data/mongodb/CLR.java b/data/data-mongodb/src/main/java/com/example/data/mongodb/CLR.java index fcaf93dd..b012b6f9 100644 --- a/data/data-mongodb/src/main/java/com/example/data/mongodb/CLR.java +++ b/data/data-mongodb/src/main/java/com/example/data/mongodb/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb; import java.util.Arrays; diff --git a/data/data-mongodb/src/main/java/com/example/data/mongodb/DataMongoDbApplication.java b/data/data-mongodb/src/main/java/com/example/data/mongodb/DataMongoDbApplication.java index 6a7406a5..bc04b42d 100644 --- a/data/data-mongodb/src/main/java/com/example/data/mongodb/DataMongoDbApplication.java +++ b/data/data-mongodb/src/main/java/com/example/data/mongodb/DataMongoDbApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb; import java.util.Arrays; diff --git a/data/data-mongodb/src/main/java/com/example/data/mongodb/TransactionalComponent.java b/data/data-mongodb/src/main/java/com/example/data/mongodb/TransactionalComponent.java index bdc8866d..6ba73e3e 100644 --- a/data/data-mongodb/src/main/java/com/example/data/mongodb/TransactionalComponent.java +++ b/data/data-mongodb/src/main/java/com/example/data/mongodb/TransactionalComponent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.mongodb; import java.util.Arrays; diff --git a/data/data-r2dbc/src/appTest/java/com/example/data/r2dbc/DataR2dbcApplicationAotTests.java b/data/data-r2dbc/src/appTest/java/com/example/data/r2dbc/DataR2dbcApplicationAotTests.java index 261cc23e..ad8f554c 100644 --- a/data/data-r2dbc/src/appTest/java/com/example/data/r2dbc/DataR2dbcApplicationAotTests.java +++ b/data/data-r2dbc/src/appTest/java/com/example/data/r2dbc/DataR2dbcApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.r2dbc; import java.time.Duration; diff --git a/data/data-r2dbc/src/main/java/com/example/data/r2dbc/CLR.java b/data/data-r2dbc/src/main/java/com/example/data/r2dbc/CLR.java index 31e68e70..565a3ca7 100644 --- a/data/data-r2dbc/src/main/java/com/example/data/r2dbc/CLR.java +++ b/data/data-r2dbc/src/main/java/com/example/data/r2dbc/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.r2dbc; import org.springframework.boot.CommandLineRunner; diff --git a/data/data-r2dbc/src/main/java/com/example/data/r2dbc/DataR2dbcApplication.java b/data/data-r2dbc/src/main/java/com/example/data/r2dbc/DataR2dbcApplication.java index 57fcffd9..f0b8c745 100644 --- a/data/data-r2dbc/src/main/java/com/example/data/r2dbc/DataR2dbcApplication.java +++ b/data/data-r2dbc/src/main/java/com/example/data/r2dbc/DataR2dbcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.r2dbc; import org.springframework.boot.SpringApplication; diff --git a/data/data-r2dbc/src/main/java/com/example/data/r2dbc/ReservationRepository.java b/data/data-r2dbc/src/main/java/com/example/data/r2dbc/ReservationRepository.java index d36cc951..b827416a 100644 --- a/data/data-r2dbc/src/main/java/com/example/data/r2dbc/ReservationRepository.java +++ b/data/data-r2dbc/src/main/java/com/example/data/r2dbc/ReservationRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.r2dbc; import org.springframework.data.repository.reactive.ReactiveCrudRepository; diff --git a/data/data-redis-reactive/src/appTest/java/com/example/data/redis/reactive/DataRedisReactiveApplicationAotTests.java b/data/data-redis-reactive/src/appTest/java/com/example/data/redis/reactive/DataRedisReactiveApplicationAotTests.java index 9d263e47..9c43d50d 100644 --- a/data/data-redis-reactive/src/appTest/java/com/example/data/redis/reactive/DataRedisReactiveApplicationAotTests.java +++ b/data/data-redis-reactive/src/appTest/java/com/example/data/redis/reactive/DataRedisReactiveApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis.reactive; import java.time.Duration; diff --git a/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/CLR.java b/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/CLR.java index 7e603f3e..23e7557f 100644 --- a/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/CLR.java +++ b/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis.reactive; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/DataRedisReactiveApplication.java b/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/DataRedisReactiveApplication.java index bc662fec..24931f1f 100644 --- a/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/DataRedisReactiveApplication.java +++ b/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/DataRedisReactiveApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis.reactive; import org.springframework.aot.hint.annotation.RegisterReflectionForBinding; diff --git a/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/RedisConfiguration.java b/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/RedisConfiguration.java index 4537219c..27cba5ed 100644 --- a/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/RedisConfiguration.java +++ b/data/data-redis-reactive/src/main/java/com/example/data/redis/reactive/RedisConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis.reactive; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/data/data-redis/src/appTest/java/com/example/data/redis/DataRedisApplicationAotTests.java b/data/data-redis/src/appTest/java/com/example/data/redis/DataRedisApplicationAotTests.java index 40b62561..be1b86e5 100644 --- a/data/data-redis/src/appTest/java/com/example/data/redis/DataRedisApplicationAotTests.java +++ b/data/data-redis/src/appTest/java/com/example/data/redis/DataRedisApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis; import static org.assertj.core.api.Assertions.*; diff --git a/data/data-redis/src/main/java/com/example/data/redis/CLR.java b/data/data-redis/src/main/java/com/example/data/redis/CLR.java index 41165f27..d382bae3 100644 --- a/data/data-redis/src/main/java/com/example/data/redis/CLR.java +++ b/data/data-redis/src/main/java/com/example/data/redis/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis; import java.util.Arrays; diff --git a/data/data-redis/src/main/java/com/example/data/redis/DataRedisApplication.java b/data/data-redis/src/main/java/com/example/data/redis/DataRedisApplication.java index bd5a2f03..84cb2dbb 100644 --- a/data/data-redis/src/main/java/com/example/data/redis/DataRedisApplication.java +++ b/data/data-redis/src/main/java/com/example/data/redis/DataRedisApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.redis; import org.springframework.boot.SpringApplication; diff --git a/data/data-rest-mongodb/src/appTest/java/com/example/data/rest/mongodb/DataRestMongoDbApplicationAotTests.java b/data/data-rest-mongodb/src/appTest/java/com/example/data/rest/mongodb/DataRestMongoDbApplicationAotTests.java index 21b171a9..d65fdf28 100644 --- a/data/data-rest-mongodb/src/appTest/java/com/example/data/rest/mongodb/DataRestMongoDbApplicationAotTests.java +++ b/data/data-rest-mongodb/src/appTest/java/com/example/data/rest/mongodb/DataRestMongoDbApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.rest.mongodb; import java.net.URI; diff --git a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DataRestMongoDbApplication.java b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DataRestMongoDbApplication.java index 8228b81f..2b844595 100644 --- a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DataRestMongoDbApplication.java +++ b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DataRestMongoDbApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.rest.mongodb; import org.springframework.boot.SpringApplication; diff --git a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DatabasePopulator.java b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DatabasePopulator.java index d149c6db..1f3359c2 100644 --- a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DatabasePopulator.java +++ b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/DatabasePopulator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.rest.mongodb; import org.springframework.boot.CommandLineRunner; diff --git a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/Person.java b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/Person.java index 20e5593a..4fac2009 100644 --- a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/Person.java +++ b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/Person.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.rest.mongodb; import org.springframework.data.annotation.Id; diff --git a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/PersonRepository.java b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/PersonRepository.java index a02588e0..3abe9266 100644 --- a/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/PersonRepository.java +++ b/data/data-rest-mongodb/src/main/java/com/example/data/rest/mongodb/PersonRepository.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.data.rest.mongodb; import java.util.List; diff --git a/data/hateoas/src/main/java/com/example/hateoas/EmployeeController.java b/data/hateoas/src/main/java/com/example/hateoas/EmployeeController.java index c16b1e2d..ae7775eb 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/EmployeeController.java +++ b/data/hateoas/src/main/java/com/example/hateoas/EmployeeController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas; import com.example.hateoas.assembler.EmployeeModelAssembler; diff --git a/data/hateoas/src/main/java/com/example/hateoas/HateoasApplication.java b/data/hateoas/src/main/java/com/example/hateoas/HateoasApplication.java index a6b000f8..686f0d5c 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/HateoasApplication.java +++ b/data/hateoas/src/main/java/com/example/hateoas/HateoasApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas; import org.springframework.boot.SpringApplication; diff --git a/data/hateoas/src/main/java/com/example/hateoas/ManagerController.java b/data/hateoas/src/main/java/com/example/hateoas/ManagerController.java index 4adb2478..9abe5fbe 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/ManagerController.java +++ b/data/hateoas/src/main/java/com/example/hateoas/ManagerController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas; import java.util.List; diff --git a/data/hateoas/src/main/java/com/example/hateoas/assembler/EmployeeModelAssembler.java b/data/hateoas/src/main/java/com/example/hateoas/assembler/EmployeeModelAssembler.java index 9b732042..8d851870 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/assembler/EmployeeModelAssembler.java +++ b/data/hateoas/src/main/java/com/example/hateoas/assembler/EmployeeModelAssembler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas.assembler; import com.example.hateoas.EmployeeController; diff --git a/data/hateoas/src/main/java/com/example/hateoas/assembler/ManagerModelAssembler.java b/data/hateoas/src/main/java/com/example/hateoas/assembler/ManagerModelAssembler.java index 792af8a9..d27d7fbf 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/assembler/ManagerModelAssembler.java +++ b/data/hateoas/src/main/java/com/example/hateoas/assembler/ManagerModelAssembler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas.assembler; import com.example.hateoas.ManagerController; diff --git a/data/hateoas/src/main/java/com/example/hateoas/model/Employee.java b/data/hateoas/src/main/java/com/example/hateoas/model/Employee.java index b173ed39..397a9bdb 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/model/Employee.java +++ b/data/hateoas/src/main/java/com/example/hateoas/model/Employee.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas.model; import org.springframework.hateoas.server.core.Relation; diff --git a/data/hateoas/src/main/java/com/example/hateoas/model/EmployeeModel.java b/data/hateoas/src/main/java/com/example/hateoas/model/EmployeeModel.java index baa63622..23266f91 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/model/EmployeeModel.java +++ b/data/hateoas/src/main/java/com/example/hateoas/model/EmployeeModel.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas.model; import org.springframework.hateoas.EntityModel; diff --git a/data/hateoas/src/main/java/com/example/hateoas/model/Manager.java b/data/hateoas/src/main/java/com/example/hateoas/model/Manager.java index a9a8fd9d..7035c475 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/model/Manager.java +++ b/data/hateoas/src/main/java/com/example/hateoas/model/Manager.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas.model; import java.util.Set; diff --git a/data/hateoas/src/main/java/com/example/hateoas/model/ManagerModel.java b/data/hateoas/src/main/java/com/example/hateoas/model/ManagerModel.java index 23e9916a..f2ff15a5 100644 --- a/data/hateoas/src/main/java/com/example/hateoas/model/ManagerModel.java +++ b/data/hateoas/src/main/java/com/example/hateoas/model/ManagerModel.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.hateoas.model; import org.springframework.hateoas.EntityModel; diff --git a/framework/aspect/src/appTest/java/com/example/aspect/AspectApplicationAotTests.java b/framework/aspect/src/appTest/java/com/example/aspect/AspectApplicationAotTests.java index e6906bbe..2a3d4e16 100644 --- a/framework/aspect/src/appTest/java/com/example/aspect/AspectApplicationAotTests.java +++ b/framework/aspect/src/appTest/java/com/example/aspect/AspectApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.aspect; import java.time.Duration; diff --git a/framework/aspect/src/main/java/com/example/aspect/AspectApplication.java b/framework/aspect/src/main/java/com/example/aspect/AspectApplication.java index c8bc14df..ad006815 100644 --- a/framework/aspect/src/main/java/com/example/aspect/AspectApplication.java +++ b/framework/aspect/src/main/java/com/example/aspect/AspectApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.aspect; import org.springframework.boot.CommandLineRunner; diff --git a/framework/aspect/src/main/java/com/example/aspect/TestAspect.java b/framework/aspect/src/main/java/com/example/aspect/TestAspect.java index 813f15bc..25c28ac7 100644 --- a/framework/aspect/src/main/java/com/example/aspect/TestAspect.java +++ b/framework/aspect/src/main/java/com/example/aspect/TestAspect.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.aspect; import org.aspectj.lang.ProceedingJoinPoint; diff --git a/framework/aspect/src/main/java/com/example/aspect/TestComponent.java b/framework/aspect/src/main/java/com/example/aspect/TestComponent.java index c53d0584..5f595ecf 100644 --- a/framework/aspect/src/main/java/com/example/aspect/TestComponent.java +++ b/framework/aspect/src/main/java/com/example/aspect/TestComponent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.aspect; import org.springframework.stereotype.Component; diff --git a/framework/async/src/appTest/java/com/example/async/AsyncApplicationAotTests.java b/framework/async/src/appTest/java/com/example/async/AsyncApplicationAotTests.java index 84e473a6..06c51346 100644 --- a/framework/async/src/appTest/java/com/example/async/AsyncApplicationAotTests.java +++ b/framework/async/src/appTest/java/com/example/async/AsyncApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.async; import java.time.Duration; diff --git a/framework/async/src/main/java/com/example/async/AsyncApplication.java b/framework/async/src/main/java/com/example/async/AsyncApplication.java index b4f0bd60..a7681e62 100644 --- a/framework/async/src/main/java/com/example/async/AsyncApplication.java +++ b/framework/async/src/main/java/com/example/async/AsyncApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.async; import org.springframework.boot.SpringApplication; diff --git a/framework/async/src/main/java/com/example/async/CLR.java b/framework/async/src/main/java/com/example/async/CLR.java index e3dbef4a..a3c615bd 100644 --- a/framework/async/src/main/java/com/example/async/CLR.java +++ b/framework/async/src/main/java/com/example/async/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.async; import java.util.concurrent.atomic.AtomicReference; diff --git a/framework/async/src/main/java/com/example/async/Runner.java b/framework/async/src/main/java/com/example/async/Runner.java index 0b1dc1d0..259bcf99 100644 --- a/framework/async/src/main/java/com/example/async/Runner.java +++ b/framework/async/src/main/java/com/example/async/Runner.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.async; import org.springframework.scheduling.annotation.Async; diff --git a/framework/cache-caffeine/src/appTest/java/com/example/cache/caffeine/CacheCaffeineApplicationAotTests.java b/framework/cache-caffeine/src/appTest/java/com/example/cache/caffeine/CacheCaffeineApplicationAotTests.java index d00304fe..88328453 100644 --- a/framework/cache-caffeine/src/appTest/java/com/example/cache/caffeine/CacheCaffeineApplicationAotTests.java +++ b/framework/cache-caffeine/src/appTest/java/com/example/cache/caffeine/CacheCaffeineApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine; import java.time.Duration; diff --git a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CLR.java b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CLR.java index 77ddf72e..6410e468 100644 --- a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CLR.java +++ b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine; import com.example.cache.caffeine.clazz.TestServiceClass; diff --git a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheCaffeineApplication.java b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheCaffeineApplication.java index b75a4f9f..86b358b5 100644 --- a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheCaffeineApplication.java +++ b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheCaffeineApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine; import org.springframework.boot.SpringApplication; diff --git a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheConfiguration.java b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheConfiguration.java index e80e1f89..a688719d 100644 --- a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheConfiguration.java +++ b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/CacheConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine; import org.springframework.cache.annotation.EnableCaching; diff --git a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/clazz/TestServiceClass.java b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/clazz/TestServiceClass.java index 7f9d67f1..02b663a9 100644 --- a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/clazz/TestServiceClass.java +++ b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/clazz/TestServiceClass.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine.clazz; import org.springframework.cache.annotation.Cacheable; diff --git a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceInterface.java b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceInterface.java index 2f4ea154..fe988e31 100644 --- a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceInterface.java +++ b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceInterface.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine.iface; public interface TestServiceInterface { diff --git a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceWithInterface.java b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceWithInterface.java index 55638fd4..860cbdcb 100644 --- a/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceWithInterface.java +++ b/framework/cache-caffeine/src/main/java/com/example/cache/caffeine/iface/TestServiceWithInterface.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.caffeine.iface; import org.springframework.cache.annotation.Cacheable; diff --git a/framework/cache-redis/src/appTest/java/com/example/cache/redis/CacheRedisApplicationAotTests.java b/framework/cache-redis/src/appTest/java/com/example/cache/redis/CacheRedisApplicationAotTests.java index 4d7f7b8f..2a7940c2 100644 --- a/framework/cache-redis/src/appTest/java/com/example/cache/redis/CacheRedisApplicationAotTests.java +++ b/framework/cache-redis/src/appTest/java/com/example/cache/redis/CacheRedisApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.redis; import java.time.Duration; diff --git a/framework/cache-redis/src/main/java/com/example/cache/redis/CLR.java b/framework/cache-redis/src/main/java/com/example/cache/redis/CLR.java index a54006c9..d3d8e232 100644 --- a/framework/cache-redis/src/main/java/com/example/cache/redis/CLR.java +++ b/framework/cache-redis/src/main/java/com/example/cache/redis/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.redis; import org.springframework.boot.CommandLineRunner; diff --git a/framework/cache-redis/src/main/java/com/example/cache/redis/CacheConfiguration.java b/framework/cache-redis/src/main/java/com/example/cache/redis/CacheConfiguration.java index 94df8aa0..be20c187 100644 --- a/framework/cache-redis/src/main/java/com/example/cache/redis/CacheConfiguration.java +++ b/framework/cache-redis/src/main/java/com/example/cache/redis/CacheConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.redis; import org.springframework.cache.annotation.EnableCaching; diff --git a/framework/cache-redis/src/main/java/com/example/cache/redis/CacheRedisApplication.java b/framework/cache-redis/src/main/java/com/example/cache/redis/CacheRedisApplication.java index 664f1291..9524a1be 100644 --- a/framework/cache-redis/src/main/java/com/example/cache/redis/CacheRedisApplication.java +++ b/framework/cache-redis/src/main/java/com/example/cache/redis/CacheRedisApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.redis; import org.springframework.boot.SpringApplication; diff --git a/framework/cache-redis/src/main/java/com/example/cache/redis/TestService.java b/framework/cache-redis/src/main/java/com/example/cache/redis/TestService.java index c46a9e02..2a0eda7c 100644 --- a/framework/cache-redis/src/main/java/com/example/cache/redis/TestService.java +++ b/framework/cache-redis/src/main/java/com/example/cache/redis/TestService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.redis; import org.springframework.cache.annotation.Cacheable; diff --git a/framework/cache-simple-jdk-proxy/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java b/framework/cache-simple-jdk-proxy/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java index 5fc026c1..fe32d11a 100644 --- a/framework/cache-simple-jdk-proxy/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java +++ b/framework/cache-simple-jdk-proxy/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import java.time.Duration; diff --git a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CLR.java b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CLR.java index da0d779d..0b0385dc 100644 --- a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CLR.java +++ b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.boot.CommandLineRunner; diff --git a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheConfiguration.java b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheConfiguration.java index a1219e33..84e447ab 100644 --- a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheConfiguration.java +++ b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.cache.annotation.EnableCaching; diff --git a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheSimpleApplication.java b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheSimpleApplication.java index 4eb84370..63bb0773 100644 --- a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheSimpleApplication.java +++ b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/CacheSimpleApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.boot.SpringApplication; diff --git a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestService.java b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestService.java index 2ff3d961..c4457fe2 100644 --- a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestService.java +++ b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.cache.annotation.Cacheable; diff --git a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestServiceImpl.java b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestServiceImpl.java index 31ede0a9..a25ed96a 100644 --- a/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestServiceImpl.java +++ b/framework/cache-simple-jdk-proxy/src/main/java/com/example/cache/simple/TestServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.stereotype.Service; diff --git a/framework/cache-simple/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java b/framework/cache-simple/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java index 5fc026c1..fe32d11a 100644 --- a/framework/cache-simple/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java +++ b/framework/cache-simple/src/appTest/java/com/example/cache/simple/CacheSimpleApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import java.time.Duration; diff --git a/framework/cache-simple/src/main/java/com/example/cache/simple/CLR.java b/framework/cache-simple/src/main/java/com/example/cache/simple/CLR.java index da0d779d..0b0385dc 100644 --- a/framework/cache-simple/src/main/java/com/example/cache/simple/CLR.java +++ b/framework/cache-simple/src/main/java/com/example/cache/simple/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.boot.CommandLineRunner; diff --git a/framework/cache-simple/src/main/java/com/example/cache/simple/CacheConfiguration.java b/framework/cache-simple/src/main/java/com/example/cache/simple/CacheConfiguration.java index a1219e33..84e447ab 100644 --- a/framework/cache-simple/src/main/java/com/example/cache/simple/CacheConfiguration.java +++ b/framework/cache-simple/src/main/java/com/example/cache/simple/CacheConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.cache.annotation.EnableCaching; diff --git a/framework/cache-simple/src/main/java/com/example/cache/simple/CacheSimpleApplication.java b/framework/cache-simple/src/main/java/com/example/cache/simple/CacheSimpleApplication.java index 4eb84370..63bb0773 100644 --- a/framework/cache-simple/src/main/java/com/example/cache/simple/CacheSimpleApplication.java +++ b/framework/cache-simple/src/main/java/com/example/cache/simple/CacheSimpleApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.boot.SpringApplication; diff --git a/framework/cache-simple/src/main/java/com/example/cache/simple/TestService.java b/framework/cache-simple/src/main/java/com/example/cache/simple/TestService.java index 03e0ea5b..11c0d0b7 100644 --- a/framework/cache-simple/src/main/java/com/example/cache/simple/TestService.java +++ b/framework/cache-simple/src/main/java/com/example/cache/simple/TestService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.cache.simple; import org.springframework.cache.annotation.Cacheable; diff --git a/framework/configuration-class-proxy/src/appTest/java/com/example/configuration/ConfigurationClassProxyApplicationAotTests.java b/framework/configuration-class-proxy/src/appTest/java/com/example/configuration/ConfigurationClassProxyApplicationAotTests.java index 823b4bc2..a26a8190 100644 --- a/framework/configuration-class-proxy/src/appTest/java/com/example/configuration/ConfigurationClassProxyApplicationAotTests.java +++ b/framework/configuration-class-proxy/src/appTest/java/com/example/configuration/ConfigurationClassProxyApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configuration; import java.time.Duration; diff --git a/framework/configuration-class-proxy/src/main/java/com/example/configuration/CLR.java b/framework/configuration-class-proxy/src/main/java/com/example/configuration/CLR.java index 9a455bb3..875f2cca 100644 --- a/framework/configuration-class-proxy/src/main/java/com/example/configuration/CLR.java +++ b/framework/configuration-class-proxy/src/main/java/com/example/configuration/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configuration; import org.springframework.beans.factory.BeanFactory; diff --git a/framework/configuration-class-proxy/src/main/java/com/example/configuration/CglibConfiguration.java b/framework/configuration-class-proxy/src/main/java/com/example/configuration/CglibConfiguration.java index 4e488c57..ff7ac62f 100644 --- a/framework/configuration-class-proxy/src/main/java/com/example/configuration/CglibConfiguration.java +++ b/framework/configuration-class-proxy/src/main/java/com/example/configuration/CglibConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configuration; import java.util.concurrent.atomic.AtomicInteger; diff --git a/framework/configuration-class-proxy/src/main/java/com/example/configuration/ConfigurationClassProxyApplication.java b/framework/configuration-class-proxy/src/main/java/com/example/configuration/ConfigurationClassProxyApplication.java index 98b2b980..00884a48 100644 --- a/framework/configuration-class-proxy/src/main/java/com/example/configuration/ConfigurationClassProxyApplication.java +++ b/framework/configuration-class-proxy/src/main/java/com/example/configuration/ConfigurationClassProxyApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.configuration; import org.springframework.boot.SpringApplication; diff --git a/framework/event-listener/src/appTest/java/com/example/eventlistener/EventListenerApplicationAotTests.java b/framework/event-listener/src/appTest/java/com/example/eventlistener/EventListenerApplicationAotTests.java index 16fc1e5c..1e063ba0 100644 --- a/framework/event-listener/src/appTest/java/com/example/eventlistener/EventListenerApplicationAotTests.java +++ b/framework/event-listener/src/appTest/java/com/example/eventlistener/EventListenerApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.eventlistener; import java.time.Duration; diff --git a/framework/event-listener/src/main/java/com/example/eventlistener/EventListenerApplication.java b/framework/event-listener/src/main/java/com/example/eventlistener/EventListenerApplication.java index f96008d5..b6380ae9 100644 --- a/framework/event-listener/src/main/java/com/example/eventlistener/EventListenerApplication.java +++ b/framework/event-listener/src/main/java/com/example/eventlistener/EventListenerApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.eventlistener; import org.springframework.boot.SpringApplication; diff --git a/framework/event-listener/src/main/java/com/example/eventlistener/HelloEvent.java b/framework/event-listener/src/main/java/com/example/eventlistener/HelloEvent.java index 2a23a06f..9487e73e 100644 --- a/framework/event-listener/src/main/java/com/example/eventlistener/HelloEvent.java +++ b/framework/event-listener/src/main/java/com/example/eventlistener/HelloEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.eventlistener; class HelloEvent { diff --git a/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventListener.java b/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventListener.java index fffc473b..50b9b3a0 100644 --- a/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventListener.java +++ b/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.eventlistener; import org.springframework.context.event.EventListener; diff --git a/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventPublisher.java b/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventPublisher.java index f733589c..8dc209f0 100644 --- a/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventPublisher.java +++ b/framework/event-listener/src/main/java/com/example/eventlistener/HelloEventPublisher.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.eventlistener; import org.springframework.boot.CommandLineRunner; diff --git a/framework/hibernate-enhancer/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java b/framework/hibernate-enhancer/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java index fd75ae51..ad7f71bf 100644 --- a/framework/hibernate-enhancer/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java +++ b/framework/hibernate-enhancer/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm; import java.time.Duration; diff --git a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/CLR.java b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/CLR.java index 3d24e828..2fa4f1e5 100644 --- a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/CLR.java +++ b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm; import com.example.spring.orm.model.Category; diff --git a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/HibernateEnhancedApplication.java b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/HibernateEnhancedApplication.java index 42d0299a..0a13445d 100644 --- a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/HibernateEnhancedApplication.java +++ b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/HibernateEnhancedApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm; import org.springframework.boot.SpringApplication; diff --git a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Category.java b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Category.java index de9edd9f..a6b2ba1c 100644 --- a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Category.java +++ b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Category.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm.model; import jakarta.persistence.Entity; diff --git a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Product.java b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Product.java index cb742113..5b75f637 100644 --- a/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Product.java +++ b/framework/hibernate-enhancer/src/main/java/com/example/spring/orm/model/Product.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm.model; import jakarta.persistence.Entity; diff --git a/framework/hibernate/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java b/framework/hibernate/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java index 40a0d39b..6a88d152 100644 --- a/framework/hibernate/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java +++ b/framework/hibernate/src/appTest/java/com/example/spring/orm/HibernateApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm; import java.time.Duration; diff --git a/framework/hibernate/src/main/java/com/example/spring/orm/CLR.java b/framework/hibernate/src/main/java/com/example/spring/orm/CLR.java index 2a1e93bf..44a62e05 100644 --- a/framework/hibernate/src/main/java/com/example/spring/orm/CLR.java +++ b/framework/hibernate/src/main/java/com/example/spring/orm/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm; import java.util.Collections; diff --git a/framework/hibernate/src/main/java/com/example/spring/orm/HibernateApplication.java b/framework/hibernate/src/main/java/com/example/spring/orm/HibernateApplication.java index cb152b4f..6f35c64c 100644 --- a/framework/hibernate/src/main/java/com/example/spring/orm/HibernateApplication.java +++ b/framework/hibernate/src/main/java/com/example/spring/orm/HibernateApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm; import org.springframework.boot.SpringApplication; diff --git a/framework/hibernate/src/main/java/com/example/spring/orm/model/Author.java b/framework/hibernate/src/main/java/com/example/spring/orm/model/Author.java index 9c3afe0f..a8966dd5 100644 --- a/framework/hibernate/src/main/java/com/example/spring/orm/model/Author.java +++ b/framework/hibernate/src/main/java/com/example/spring/orm/model/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm.model; import java.util.Objects; diff --git a/framework/hibernate/src/main/java/com/example/spring/orm/model/Book.java b/framework/hibernate/src/main/java/com/example/spring/orm/model/Book.java index 5aed8b0c..90ecb2d2 100644 --- a/framework/hibernate/src/main/java/com/example/spring/orm/model/Book.java +++ b/framework/hibernate/src/main/java/com/example/spring/orm/model/Book.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.spring.orm.model; import java.util.HashSet; diff --git a/framework/jdbc-h2/src/appTest/java/com/example/jdbc/h2/JdbcH2ApplicationAotTests.java b/framework/jdbc-h2/src/appTest/java/com/example/jdbc/h2/JdbcH2ApplicationAotTests.java index 3b2a5252..1d4ddc4f 100644 --- a/framework/jdbc-h2/src/appTest/java/com/example/jdbc/h2/JdbcH2ApplicationAotTests.java +++ b/framework/jdbc-h2/src/appTest/java/com/example/jdbc/h2/JdbcH2ApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.h2; import java.time.Duration; diff --git a/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/Author.java b/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/Author.java index 11d0516f..0562e40c 100644 --- a/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/Author.java +++ b/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.h2; import java.sql.ResultSet; diff --git a/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/CLR.java b/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/CLR.java index 683f092b..15dbad80 100644 --- a/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/CLR.java +++ b/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.h2; import java.util.List; diff --git a/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/JdbcH2Application.java b/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/JdbcH2Application.java index 21801a14..c552628b 100644 --- a/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/JdbcH2Application.java +++ b/framework/jdbc-h2/src/main/java/com/example/jdbc/h2/JdbcH2Application.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.h2; import org.springframework.boot.SpringApplication; diff --git a/framework/jdbc-h2/src/test/java/com/example/jdbc/h2/JdbcTests.java b/framework/jdbc-h2/src/test/java/com/example/jdbc/h2/JdbcTests.java index 89331e70..4260783f 100644 --- a/framework/jdbc-h2/src/test/java/com/example/jdbc/h2/JdbcTests.java +++ b/framework/jdbc-h2/src/test/java/com/example/jdbc/h2/JdbcTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.h2; import org.junit.jupiter.api.MethodOrderer.OrderAnnotation; diff --git a/framework/jdbc-mariadb/src/appTest/java/com/example/jdbc/mariadb/JdbcMariaDBApplicationAotTests.java b/framework/jdbc-mariadb/src/appTest/java/com/example/jdbc/mariadb/JdbcMariaDBApplicationAotTests.java index 65ff1bd2..9d1b6bf6 100644 --- a/framework/jdbc-mariadb/src/appTest/java/com/example/jdbc/mariadb/JdbcMariaDBApplicationAotTests.java +++ b/framework/jdbc-mariadb/src/appTest/java/com/example/jdbc/mariadb/JdbcMariaDBApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mariadb; import java.time.Duration; diff --git a/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/Author.java b/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/Author.java index b010e5c2..0bbd882c 100644 --- a/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/Author.java +++ b/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mariadb; import java.sql.ResultSet; diff --git a/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/CLR.java b/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/CLR.java index 74d2b195..5c8a208a 100644 --- a/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/CLR.java +++ b/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mariadb; import java.util.List; diff --git a/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/JdbcMariaDBApplication.java b/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/JdbcMariaDBApplication.java index 079779d2..01e1a73b 100644 --- a/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/JdbcMariaDBApplication.java +++ b/framework/jdbc-mariadb/src/main/java/com/example/jdbc/mariadb/JdbcMariaDBApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mariadb; import org.springframework.boot.SpringApplication; diff --git a/framework/jdbc-mysql/src/appTest/java/com/example/jdbc/mysql/JdbcMySQLApplicationAotTests.java b/framework/jdbc-mysql/src/appTest/java/com/example/jdbc/mysql/JdbcMySQLApplicationAotTests.java index 663b45f8..6a378655 100644 --- a/framework/jdbc-mysql/src/appTest/java/com/example/jdbc/mysql/JdbcMySQLApplicationAotTests.java +++ b/framework/jdbc-mysql/src/appTest/java/com/example/jdbc/mysql/JdbcMySQLApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mysql; import java.time.Duration; diff --git a/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/Author.java b/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/Author.java index 948e715d..85a79002 100644 --- a/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/Author.java +++ b/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mysql; import java.sql.ResultSet; diff --git a/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/CLR.java b/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/CLR.java index ae7acea5..a14794e5 100644 --- a/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/CLR.java +++ b/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mysql; import java.util.List; diff --git a/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/JdbcMySQLApplication.java b/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/JdbcMySQLApplication.java index 89aeb740..74ba0d1c 100644 --- a/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/JdbcMySQLApplication.java +++ b/framework/jdbc-mysql/src/main/java/com/example/jdbc/mysql/JdbcMySQLApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.mysql; import org.springframework.boot.SpringApplication; diff --git a/framework/jdbc-postgresql/src/appTest/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplicationAotTests.java b/framework/jdbc-postgresql/src/appTest/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplicationAotTests.java index f4e57e58..3489f9c7 100644 --- a/framework/jdbc-postgresql/src/appTest/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplicationAotTests.java +++ b/framework/jdbc-postgresql/src/appTest/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.postgresql; import java.time.Duration; diff --git a/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/Author.java b/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/Author.java index 292834e2..1600f99a 100644 --- a/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/Author.java +++ b/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/Author.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.postgresql; import java.sql.ResultSet; diff --git a/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/CLR.java b/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/CLR.java index e23ef1ef..815c474c 100644 --- a/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/CLR.java +++ b/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.postgresql; import java.util.List; diff --git a/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplication.java b/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplication.java index 0cf5a6cc..83573bf2 100644 --- a/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplication.java +++ b/framework/jdbc-postgresql/src/main/java/com/example/jdbc/postgresql/JdbcPostgreSQLApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.jdbc.postgresql; import org.springframework.boot.SpringApplication; diff --git a/framework/kotlin-functional/src/appTest/java/com/example/functional/FunctionalApplicationAotTests.java b/framework/kotlin-functional/src/appTest/java/com/example/functional/FunctionalApplicationAotTests.java index 6068c939..4add34a6 100644 --- a/framework/kotlin-functional/src/appTest/java/com/example/functional/FunctionalApplicationAotTests.java +++ b/framework/kotlin-functional/src/appTest/java/com/example/functional/FunctionalApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.functional; import java.time.Duration; diff --git a/framework/kotlin-functional/src/main/kotlin/com/example/functional/FunctionalApplication.kt b/framework/kotlin-functional/src/main/kotlin/com/example/functional/FunctionalApplication.kt index 98b31e99..04a0bf89 100644 --- a/framework/kotlin-functional/src/main/kotlin/com/example/functional/FunctionalApplication.kt +++ b/framework/kotlin-functional/src/main/kotlin/com/example/functional/FunctionalApplication.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.functional import org.springframework.boot.CommandLineRunner diff --git a/framework/mail/src/appTest/java/com/example/mail/MailApplicationAotTests.java b/framework/mail/src/appTest/java/com/example/mail/MailApplicationAotTests.java index b1a8f1df..03883b4c 100644 --- a/framework/mail/src/appTest/java/com/example/mail/MailApplicationAotTests.java +++ b/framework/mail/src/appTest/java/com/example/mail/MailApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mail; import java.time.Duration; diff --git a/framework/mail/src/main/java/com/example/mail/CLR.java b/framework/mail/src/main/java/com/example/mail/CLR.java index 25ccfaa3..c1b1a02f 100644 --- a/framework/mail/src/main/java/com/example/mail/CLR.java +++ b/framework/mail/src/main/java/com/example/mail/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mail; import org.springframework.boot.CommandLineRunner; diff --git a/framework/mail/src/main/java/com/example/mail/MailApplication.java b/framework/mail/src/main/java/com/example/mail/MailApplication.java index 5224f5fb..5f02cedc 100644 --- a/framework/mail/src/main/java/com/example/mail/MailApplication.java +++ b/framework/mail/src/main/java/com/example/mail/MailApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.mail; import org.springframework.boot.SpringApplication; diff --git a/framework/order/src/appTest/java/com/example/order/OrderApplicationAotTests.java b/framework/order/src/appTest/java/com/example/order/OrderApplicationAotTests.java index aac47805..6e6984a9 100644 --- a/framework/order/src/appTest/java/com/example/order/OrderApplicationAotTests.java +++ b/framework/order/src/appTest/java/com/example/order/OrderApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; import java.time.Duration; diff --git a/framework/order/src/main/java/com/example/order/Item.java b/framework/order/src/main/java/com/example/order/Item.java index 438972c3..1ebc7d50 100644 --- a/framework/order/src/main/java/com/example/order/Item.java +++ b/framework/order/src/main/java/com/example/order/Item.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; @FunctionalInterface diff --git a/framework/order/src/main/java/com/example/order/Item10.java b/framework/order/src/main/java/com/example/order/Item10.java index 5dbf501c..f779207d 100644 --- a/framework/order/src/main/java/com/example/order/Item10.java +++ b/framework/order/src/main/java/com/example/order/Item10.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; import org.springframework.core.annotation.Order; diff --git a/framework/order/src/main/java/com/example/order/ItemMinus20.java b/framework/order/src/main/java/com/example/order/ItemMinus20.java index 3dcf37ed..b0bd75d8 100644 --- a/framework/order/src/main/java/com/example/order/ItemMinus20.java +++ b/framework/order/src/main/java/com/example/order/ItemMinus20.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; import org.springframework.core.annotation.Order; diff --git a/framework/order/src/main/java/com/example/order/OrderApplication.java b/framework/order/src/main/java/com/example/order/OrderApplication.java index 9d72e1bd..fb89f04d 100644 --- a/framework/order/src/main/java/com/example/order/OrderApplication.java +++ b/framework/order/src/main/java/com/example/order/OrderApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; import java.util.stream.Collectors; diff --git a/framework/order/src/main/java/com/example/order/OrderConfiguration.java b/framework/order/src/main/java/com/example/order/OrderConfiguration.java index 6c3e72ed..50c43eb0 100644 --- a/framework/order/src/main/java/com/example/order/OrderConfiguration.java +++ b/framework/order/src/main/java/com/example/order/OrderConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; import org.springframework.context.annotation.Bean; diff --git a/framework/order/src/main/java/com/example/order/PriorityOrderedItem.java b/framework/order/src/main/java/com/example/order/PriorityOrderedItem.java index 67d3bba7..642acc1b 100644 --- a/framework/order/src/main/java/com/example/order/PriorityOrderedItem.java +++ b/framework/order/src/main/java/com/example/order/PriorityOrderedItem.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.order; import org.springframework.core.PriorityOrdered; diff --git a/framework/quartz/src/appTest/java/com/example/quartz/QuartzApplicationAotTests.java b/framework/quartz/src/appTest/java/com/example/quartz/QuartzApplicationAotTests.java index 258a6a8f..1fb25d07 100644 --- a/framework/quartz/src/appTest/java/com/example/quartz/QuartzApplicationAotTests.java +++ b/framework/quartz/src/appTest/java/com/example/quartz/QuartzApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.quartz; import java.time.Duration; diff --git a/framework/quartz/src/main/java/com/example/quartz/QuartzApplication.java b/framework/quartz/src/main/java/com/example/quartz/QuartzApplication.java index 803210f1..1f21585d 100644 --- a/framework/quartz/src/main/java/com/example/quartz/QuartzApplication.java +++ b/framework/quartz/src/main/java/com/example/quartz/QuartzApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.quartz; import org.springframework.boot.SpringApplication; diff --git a/framework/quartz/src/main/java/com/example/quartz/QuartzConfiguration.java b/framework/quartz/src/main/java/com/example/quartz/QuartzConfiguration.java index bdc8f153..ec044294 100644 --- a/framework/quartz/src/main/java/com/example/quartz/QuartzConfiguration.java +++ b/framework/quartz/src/main/java/com/example/quartz/QuartzConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.quartz; import org.quartz.JobBuilder; diff --git a/framework/quartz/src/main/java/com/example/quartz/SimpleJob.java b/framework/quartz/src/main/java/com/example/quartz/SimpleJob.java index 791ebc27..dd91e941 100644 --- a/framework/quartz/src/main/java/com/example/quartz/SimpleJob.java +++ b/framework/quartz/src/main/java/com/example/quartz/SimpleJob.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.quartz; import org.quartz.JobExecutionContext; diff --git a/framework/rest-template/src/appTest/java/com/example/resttemplate/RestTemplateApplicationAotTests.java b/framework/rest-template/src/appTest/java/com/example/resttemplate/RestTemplateApplicationAotTests.java index eb3b1983..d3c5a7a1 100644 --- a/framework/rest-template/src/appTest/java/com/example/resttemplate/RestTemplateApplicationAotTests.java +++ b/framework/rest-template/src/appTest/java/com/example/resttemplate/RestTemplateApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.resttemplate; import java.time.Duration; diff --git a/framework/rest-template/src/main/java/com/example/resttemplate/CLR.java b/framework/rest-template/src/main/java/com/example/resttemplate/CLR.java index 79b037b9..e5090a67 100644 --- a/framework/rest-template/src/main/java/com/example/resttemplate/CLR.java +++ b/framework/rest-template/src/main/java/com/example/resttemplate/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.resttemplate; import java.net.URI; diff --git a/framework/rest-template/src/main/java/com/example/resttemplate/DataDto.java b/framework/rest-template/src/main/java/com/example/resttemplate/DataDto.java index 39442b47..3fd32c81 100644 --- a/framework/rest-template/src/main/java/com/example/resttemplate/DataDto.java +++ b/framework/rest-template/src/main/java/com/example/resttemplate/DataDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.resttemplate; public class DataDto { diff --git a/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateApplication.java b/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateApplication.java index bb173dc1..862846ad 100644 --- a/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateApplication.java +++ b/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.resttemplate; import org.springframework.boot.SpringApplication; diff --git a/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateConfiguration.java b/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateConfiguration.java index 104ac9c5..4fc233e5 100644 --- a/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateConfiguration.java +++ b/framework/rest-template/src/main/java/com/example/resttemplate/RestTemplateConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.resttemplate; import java.time.Duration; diff --git a/framework/rest-template/src/main/java/com/example/resttemplate/SkipSslVerificationHttpRequestFactory.java b/framework/rest-template/src/main/java/com/example/resttemplate/SkipSslVerificationHttpRequestFactory.java index 9b88062f..f495d8c7 100644 --- a/framework/rest-template/src/main/java/com/example/resttemplate/SkipSslVerificationHttpRequestFactory.java +++ b/framework/rest-template/src/main/java/com/example/resttemplate/SkipSslVerificationHttpRequestFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.resttemplate; import java.io.IOException; diff --git a/framework/rsocket/src/appTest/java/com/example/rsocket/RSocketApplicationAotTests.java b/framework/rsocket/src/appTest/java/com/example/rsocket/RSocketApplicationAotTests.java index 835ef655..449546fb 100644 --- a/framework/rsocket/src/appTest/java/com/example/rsocket/RSocketApplicationAotTests.java +++ b/framework/rsocket/src/appTest/java/com/example/rsocket/RSocketApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.rsocket; import java.time.Duration; diff --git a/framework/rsocket/src/main/java/com/example/rsocket/RSocketApplication.java b/framework/rsocket/src/main/java/com/example/rsocket/RSocketApplication.java index 7b7d5192..7c06b087 100644 --- a/framework/rsocket/src/main/java/com/example/rsocket/RSocketApplication.java +++ b/framework/rsocket/src/main/java/com/example/rsocket/RSocketApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.rsocket; import org.springframework.boot.SpringApplication; diff --git a/framework/rsocket/src/main/java/com/example/rsocket/RSocketClient.java b/framework/rsocket/src/main/java/com/example/rsocket/RSocketClient.java index 86e73ef0..a3cc38ee 100644 --- a/framework/rsocket/src/main/java/com/example/rsocket/RSocketClient.java +++ b/framework/rsocket/src/main/java/com/example/rsocket/RSocketClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.rsocket; import com.example.rsocket.dto.Message; diff --git a/framework/rsocket/src/main/java/com/example/rsocket/RSocketController.java b/framework/rsocket/src/main/java/com/example/rsocket/RSocketController.java index 4c25363c..7b4285ed 100644 --- a/framework/rsocket/src/main/java/com/example/rsocket/RSocketController.java +++ b/framework/rsocket/src/main/java/com/example/rsocket/RSocketController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.rsocket; import com.example.rsocket.dto.Message; diff --git a/framework/rsocket/src/main/java/com/example/rsocket/dto/Message.java b/framework/rsocket/src/main/java/com/example/rsocket/dto/Message.java index 225a8441..13037581 100644 --- a/framework/rsocket/src/main/java/com/example/rsocket/dto/Message.java +++ b/framework/rsocket/src/main/java/com/example/rsocket/dto/Message.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.rsocket.dto; public class Message { diff --git a/framework/rsocket/src/main/java/com/example/rsocket/dto/MessageRecord.java b/framework/rsocket/src/main/java/com/example/rsocket/dto/MessageRecord.java index 2dedcf07..e4ab3764 100644 --- a/framework/rsocket/src/main/java/com/example/rsocket/dto/MessageRecord.java +++ b/framework/rsocket/src/main/java/com/example/rsocket/dto/MessageRecord.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.rsocket.dto; public record MessageRecord(String origin, String message) { diff --git a/framework/scheduled/src/appTest/java/com/example/scheduled/ScheduledApplicationAotTests.java b/framework/scheduled/src/appTest/java/com/example/scheduled/ScheduledApplicationAotTests.java index 17808915..523ed1e1 100644 --- a/framework/scheduled/src/appTest/java/com/example/scheduled/ScheduledApplicationAotTests.java +++ b/framework/scheduled/src/appTest/java/com/example/scheduled/ScheduledApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.scheduled; import java.time.Duration; diff --git a/framework/scheduled/src/main/java/com/example/scheduled/Bean.java b/framework/scheduled/src/main/java/com/example/scheduled/Bean.java index 31059c7c..bc0f194e 100644 --- a/framework/scheduled/src/main/java/com/example/scheduled/Bean.java +++ b/framework/scheduled/src/main/java/com/example/scheduled/Bean.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.scheduled; import org.springframework.scheduling.annotation.Scheduled; diff --git a/framework/scheduled/src/main/java/com/example/scheduled/ScheduledApplication.java b/framework/scheduled/src/main/java/com/example/scheduled/ScheduledApplication.java index 4dcd4c9b..9e66ca5a 100644 --- a/framework/scheduled/src/main/java/com/example/scheduled/ScheduledApplication.java +++ b/framework/scheduled/src/main/java/com/example/scheduled/ScheduledApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.scheduled; import org.springframework.boot.SpringApplication; diff --git a/framework/tcf/src/main/java/com/example/tcf/MyService.java b/framework/tcf/src/main/java/com/example/tcf/MyService.java index bc33ab86..1b5b5622 100644 --- a/framework/tcf/src/main/java/com/example/tcf/MyService.java +++ b/framework/tcf/src/main/java/com/example/tcf/MyService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tcf; public interface MyService { diff --git a/framework/tcf/src/main/java/com/example/tcf/MyServiceConfiguration.java b/framework/tcf/src/main/java/com/example/tcf/MyServiceConfiguration.java index 154191cc..1d48d729 100644 --- a/framework/tcf/src/main/java/com/example/tcf/MyServiceConfiguration.java +++ b/framework/tcf/src/main/java/com/example/tcf/MyServiceConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tcf; import org.springframework.context.annotation.Bean; diff --git a/framework/tcf/src/main/java/com/example/tcf/MyServiceImpl.java b/framework/tcf/src/main/java/com/example/tcf/MyServiceImpl.java index 60350df1..4b142369 100644 --- a/framework/tcf/src/main/java/com/example/tcf/MyServiceImpl.java +++ b/framework/tcf/src/main/java/com/example/tcf/MyServiceImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tcf; class MyServiceImpl implements MyService { diff --git a/framework/tcf/src/main/java/com/example/tcf/TcfApplication.java b/framework/tcf/src/main/java/com/example/tcf/TcfApplication.java index ad94f9df..cf355527 100644 --- a/framework/tcf/src/main/java/com/example/tcf/TcfApplication.java +++ b/framework/tcf/src/main/java/com/example/tcf/TcfApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tcf; import org.springframework.boot.SpringApplication; diff --git a/framework/tcf/src/test/java/com/example/tcf/TcfApplicationTests.java b/framework/tcf/src/test/java/com/example/tcf/TcfApplicationTests.java index 7e4807d5..e6d2d21a 100644 --- a/framework/tcf/src/test/java/com/example/tcf/TcfApplicationTests.java +++ b/framework/tcf/src/test/java/com/example/tcf/TcfApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.tcf; import org.junit.jupiter.api.Test; diff --git a/framework/transactional-event-listener/src/appTest/java/com/example/transactional/eventlistener/TransactionalEventListenerApplicationAotTests.java b/framework/transactional-event-listener/src/appTest/java/com/example/transactional/eventlistener/TransactionalEventListenerApplicationAotTests.java index 4ec22f5e..933cf167 100644 --- a/framework/transactional-event-listener/src/appTest/java/com/example/transactional/eventlistener/TransactionalEventListenerApplicationAotTests.java +++ b/framework/transactional-event-listener/src/appTest/java/com/example/transactional/eventlistener/TransactionalEventListenerApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional.eventlistener; import java.time.Duration; diff --git a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/CLR.java b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/CLR.java index 40904658..6a3042b2 100644 --- a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/CLR.java +++ b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional.eventlistener; import org.springframework.boot.CommandLineRunner; diff --git a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEvent.java b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEvent.java index e7fe6e43..b5512a29 100644 --- a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEvent.java +++ b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEvent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional.eventlistener; class TransactionalEvent { diff --git a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListener.java b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListener.java index 29b0527d..913bd179 100644 --- a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListener.java +++ b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional.eventlistener; import org.springframework.stereotype.Component; diff --git a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListenerApplication.java b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListenerApplication.java index 11e4294e..1e89ae6c 100644 --- a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListenerApplication.java +++ b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventListenerApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional.eventlistener; import org.springframework.boot.SpringApplication; diff --git a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventPublisher.java b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventPublisher.java index ecb3cdc4..c66cd03b 100644 --- a/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventPublisher.java +++ b/framework/transactional-event-listener/src/main/java/com/example/transactional/eventlistener/TransactionalEventPublisher.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional.eventlistener; import org.springframework.context.ApplicationEventPublisher; diff --git a/framework/transactional/src/appTest/java/com/example/transactional/TransactionalApplicationAotTests.java b/framework/transactional/src/appTest/java/com/example/transactional/TransactionalApplicationAotTests.java index 778169a2..3ed97401 100644 --- a/framework/transactional/src/appTest/java/com/example/transactional/TransactionalApplicationAotTests.java +++ b/framework/transactional/src/appTest/java/com/example/transactional/TransactionalApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional; import java.time.Duration; diff --git a/framework/transactional/src/main/java/com/example/transactional/CLR.java b/framework/transactional/src/main/java/com/example/transactional/CLR.java index 00aa4639..d809272c 100644 --- a/framework/transactional/src/main/java/com/example/transactional/CLR.java +++ b/framework/transactional/src/main/java/com/example/transactional/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional; import org.springframework.boot.CommandLineRunner; diff --git a/framework/transactional/src/main/java/com/example/transactional/TransactionalApplication.java b/framework/transactional/src/main/java/com/example/transactional/TransactionalApplication.java index 88a7ac13..3c94e6a8 100644 --- a/framework/transactional/src/main/java/com/example/transactional/TransactionalApplication.java +++ b/framework/transactional/src/main/java/com/example/transactional/TransactionalApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.transactional; import org.springframework.boot.SpringApplication; diff --git a/framework/validation/src/main/java/com/example/validation/ValidationApplication.java b/framework/validation/src/main/java/com/example/validation/ValidationApplication.java index 98d0df3d..2bcefa37 100644 --- a/framework/validation/src/main/java/com/example/validation/ValidationApplication.java +++ b/framework/validation/src/main/java/com/example/validation/ValidationApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.validation; import org.springframework.boot.SpringApplication; diff --git a/framework/validation/src/main/java/com/example/validation/controller/TestRestController.java b/framework/validation/src/main/java/com/example/validation/controller/TestRestController.java index 8de49a18..e990e2dd 100644 --- a/framework/validation/src/main/java/com/example/validation/controller/TestRestController.java +++ b/framework/validation/src/main/java/com/example/validation/controller/TestRestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.validation.controller; import jakarta.validation.constraints.NotBlank; diff --git a/framework/validation/src/main/java/com/example/validation/method/MethodCLR.java b/framework/validation/src/main/java/com/example/validation/method/MethodCLR.java index 863871fc..063c52c9 100644 --- a/framework/validation/src/main/java/com/example/validation/method/MethodCLR.java +++ b/framework/validation/src/main/java/com/example/validation/method/MethodCLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.validation.method; import jakarta.validation.ConstraintViolationException; diff --git a/framework/validation/src/main/java/com/example/validation/method/SomeService.java b/framework/validation/src/main/java/com/example/validation/method/SomeService.java index 07b74e6b..b6fe82fb 100644 --- a/framework/validation/src/main/java/com/example/validation/method/SomeService.java +++ b/framework/validation/src/main/java/com/example/validation/method/SomeService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.validation.method; import jakarta.validation.constraints.NotBlank; diff --git a/framework/validation/src/main/java/com/example/validation/properties/PropertiesCLR.java b/framework/validation/src/main/java/com/example/validation/properties/PropertiesCLR.java index 433ad235..4be79452 100644 --- a/framework/validation/src/main/java/com/example/validation/properties/PropertiesCLR.java +++ b/framework/validation/src/main/java/com/example/validation/properties/PropertiesCLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.validation.properties; import org.springframework.boot.CommandLineRunner; diff --git a/framework/validation/src/main/java/com/example/validation/properties/TestConfigurationProperties.java b/framework/validation/src/main/java/com/example/validation/properties/TestConfigurationProperties.java index 782ee813..81dbfd18 100644 --- a/framework/validation/src/main/java/com/example/validation/properties/TestConfigurationProperties.java +++ b/framework/validation/src/main/java/com/example/validation/properties/TestConfigurationProperties.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.validation.properties; import jakarta.validation.Valid; diff --git a/framework/webclient/src/appTest/java/com/example/webclient/WebClientApplicationAotTests.java b/framework/webclient/src/appTest/java/com/example/webclient/WebClientApplicationAotTests.java index 4369116f..300e547e 100644 --- a/framework/webclient/src/appTest/java/com/example/webclient/WebClientApplicationAotTests.java +++ b/framework/webclient/src/appTest/java/com/example/webclient/WebClientApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; import java.time.Duration; diff --git a/framework/webclient/src/main/java/com/example/webclient/CLR.java b/framework/webclient/src/main/java/com/example/webclient/CLR.java index 7ddcbd2c..cba205e2 100644 --- a/framework/webclient/src/main/java/com/example/webclient/CLR.java +++ b/framework/webclient/src/main/java/com/example/webclient/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; import java.time.Duration; diff --git a/framework/webclient/src/main/java/com/example/webclient/DataDto.java b/framework/webclient/src/main/java/com/example/webclient/DataDto.java index 4e9e45ae..376f6f50 100644 --- a/framework/webclient/src/main/java/com/example/webclient/DataDto.java +++ b/framework/webclient/src/main/java/com/example/webclient/DataDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; public class DataDto { diff --git a/framework/webclient/src/main/java/com/example/webclient/DataService.java b/framework/webclient/src/main/java/com/example/webclient/DataService.java index 96048075..5d3c7b95 100644 --- a/framework/webclient/src/main/java/com/example/webclient/DataService.java +++ b/framework/webclient/src/main/java/com/example/webclient/DataService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; import org.springframework.web.service.annotation.GetExchange; diff --git a/framework/webclient/src/main/java/com/example/webclient/ExchangeDataDto.java b/framework/webclient/src/main/java/com/example/webclient/ExchangeDataDto.java index 5eb1b045..6a1712a0 100644 --- a/framework/webclient/src/main/java/com/example/webclient/ExchangeDataDto.java +++ b/framework/webclient/src/main/java/com/example/webclient/ExchangeDataDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; public class ExchangeDataDto { diff --git a/framework/webclient/src/main/java/com/example/webclient/WebClientApplication.java b/framework/webclient/src/main/java/com/example/webclient/WebClientApplication.java index ac4208e8..2b6d3be1 100644 --- a/framework/webclient/src/main/java/com/example/webclient/WebClientApplication.java +++ b/framework/webclient/src/main/java/com/example/webclient/WebClientApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; import org.springframework.boot.SpringApplication; diff --git a/framework/webclient/src/main/java/com/example/webclient/WebClientConfiguration.java b/framework/webclient/src/main/java/com/example/webclient/WebClientConfiguration.java index 9d4c6ed7..a2008d8e 100644 --- a/framework/webclient/src/main/java/com/example/webclient/WebClientConfiguration.java +++ b/framework/webclient/src/main/java/com/example/webclient/WebClientConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webclient; import javax.net.ssl.SSLException; diff --git a/framework/webflux-jetty/src/appTest/java/com/example/webflux/jetty/WebfluxJettyApplicationAotTests.java b/framework/webflux-jetty/src/appTest/java/com/example/webflux/jetty/WebfluxJettyApplicationAotTests.java index 7d04d85b..b5a541fc 100644 --- a/framework/webflux-jetty/src/appTest/java/com/example/webflux/jetty/WebfluxJettyApplicationAotTests.java +++ b/framework/webflux-jetty/src/appTest/java/com/example/webflux/jetty/WebfluxJettyApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import java.net.URI; diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/TestController.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/TestController.java index 6030d1fc..a162bf40 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/TestController.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import com.example.webflux.jetty.dto.RecordDto; diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebfluxJettyApplication.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebfluxJettyApplication.java index 63caa28a..cffb4aae 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebfluxJettyApplication.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebfluxJettyApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import org.springframework.boot.SpringApplication; diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebsocketConfig.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebsocketConfig.java index 0f805ff6..37c3d474 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebsocketConfig.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/WebsocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import java.time.Duration; diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/XmlController.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/XmlController.java index 67efa0b8..d5820b3a 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/XmlController.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/XmlController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import com.example.webflux.jetty.dto.Request; diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/RecordDto.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/RecordDto.java index 4cdb16da..99129d36 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/RecordDto.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/RecordDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty.dto; public record RecordDto(String field1, String field2) { diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Request.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Request.java index 1883f7d4..859f1b6a 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Request.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty.dto; import jakarta.xml.bind.annotation.XmlRootElement; diff --git a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Response.java b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Response.java index ad5e031c..915d76e0 100644 --- a/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Response.java +++ b/framework/webflux-jetty/src/main/java/com/example/webflux/jetty/dto/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty.dto; import jakarta.xml.bind.annotation.XmlRootElement; diff --git a/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/CoroutinesController.kt b/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/CoroutinesController.kt index 6953f051..00316348 100644 --- a/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/CoroutinesController.kt +++ b/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/CoroutinesController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty import kotlinx.coroutines.delay diff --git a/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/DataClassController.kt b/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/DataClassController.kt index 3669ff27..4fd88ec1 100644 --- a/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/DataClassController.kt +++ b/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/DataClassController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty import org.springframework.http.MediaType diff --git a/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/Greeting.kt b/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/Greeting.kt index c3608d14..3e0c13ff 100644 --- a/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/Greeting.kt +++ b/framework/webflux-jetty/src/main/kotlin/com/example/webflux/jetty/Greeting.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty data class Greeting(val greeting: String, val name: String) diff --git a/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/AutoConfigureWebTestClientTests.java b/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/AutoConfigureWebTestClientTests.java index 36377147..b39d3afa 100644 --- a/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/AutoConfigureWebTestClientTests.java +++ b/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/AutoConfigureWebTestClientTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/RandomPortTests.java b/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/RandomPortTests.java index 1cd3b4cd..e72a7e7c 100644 --- a/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/RandomPortTests.java +++ b/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/RandomPortTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import org.junit.jupiter.api.Test; diff --git a/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/WebfluxSliceTests.java b/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/WebfluxSliceTests.java index 8b2e0458..29c3e935 100644 --- a/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/WebfluxSliceTests.java +++ b/framework/webflux-jetty/src/test/java/com/example/webflux/jetty/WebfluxSliceTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.jetty; import org.junit.jupiter.api.Test; diff --git a/framework/webflux-netty-tls/src/appTest/java/com/example/webflux/tls/WebFluxNettyTlsApplicationAotTests.java b/framework/webflux-netty-tls/src/appTest/java/com/example/webflux/tls/WebFluxNettyTlsApplicationAotTests.java index 107016ef..c8a3eda3 100644 --- a/framework/webflux-netty-tls/src/appTest/java/com/example/webflux/tls/WebFluxNettyTlsApplicationAotTests.java +++ b/framework/webflux-netty-tls/src/appTest/java/com/example/webflux/tls/WebFluxNettyTlsApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.tls; import java.io.InputStream; diff --git a/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/TestController.java b/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/TestController.java index cf1ab743..7070189c 100644 --- a/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/TestController.java +++ b/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.tls; import reactor.core.publisher.Mono; diff --git a/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebFluxNettyTlsApplication.java b/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebFluxNettyTlsApplication.java index 55ea87a7..5e5864d3 100644 --- a/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebFluxNettyTlsApplication.java +++ b/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebFluxNettyTlsApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.tls; import com.example.webflux.tls.WebFluxNettyTlsApplication.KeyStoreRuntimeHints; diff --git a/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebsocketConfig.java b/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebsocketConfig.java index fe39a299..5e22a272 100644 --- a/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebsocketConfig.java +++ b/framework/webflux-netty-tls/src/main/java/com/example/webflux/tls/WebsocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.tls; import java.time.Duration; diff --git a/framework/webflux-netty/src/appTest/java/com/example/webflux/WebfluxApplicationAotTests.java b/framework/webflux-netty/src/appTest/java/com/example/webflux/WebfluxApplicationAotTests.java index c350a536..1f44ac3e 100644 --- a/framework/webflux-netty/src/appTest/java/com/example/webflux/WebfluxApplicationAotTests.java +++ b/framework/webflux-netty/src/appTest/java/com/example/webflux/WebfluxApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux; import java.net.URI; diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/TestController.java b/framework/webflux-netty/src/main/java/com/example/webflux/TestController.java index 1e23c0ce..c33cbf27 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/TestController.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux; import com.example.webflux.dto.RecordDto; diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/WebfluxApplication.java b/framework/webflux-netty/src/main/java/com/example/webflux/WebfluxApplication.java index 52955be9..71e2f439 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/WebfluxApplication.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/WebfluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux; import org.springframework.boot.SpringApplication; diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/WebsocketConfig.java b/framework/webflux-netty/src/main/java/com/example/webflux/WebsocketConfig.java index 956d7ce6..34e8b763 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/WebsocketConfig.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/WebsocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux; import java.time.Duration; diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/XmlController.java b/framework/webflux-netty/src/main/java/com/example/webflux/XmlController.java index 93086930..4216aa05 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/XmlController.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/XmlController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux; import com.example.webflux.dto.Request; diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/dto/RecordDto.java b/framework/webflux-netty/src/main/java/com/example/webflux/dto/RecordDto.java index 5d48512a..d2addd04 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/dto/RecordDto.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/dto/RecordDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.dto; public record RecordDto(String field1, String field2) { diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/dto/Request.java b/framework/webflux-netty/src/main/java/com/example/webflux/dto/Request.java index aa8fe388..272256cb 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/dto/Request.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/dto/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.dto; import jakarta.xml.bind.annotation.XmlRootElement; diff --git a/framework/webflux-netty/src/main/java/com/example/webflux/dto/Response.java b/framework/webflux-netty/src/main/java/com/example/webflux/dto/Response.java index 36e52e7c..963af9d0 100644 --- a/framework/webflux-netty/src/main/java/com/example/webflux/dto/Response.java +++ b/framework/webflux-netty/src/main/java/com/example/webflux/dto/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.dto; import jakarta.xml.bind.annotation.XmlRootElement; diff --git a/framework/webflux-netty/src/main/kotlin/com/example/webflux/CoroutinesController.kt b/framework/webflux-netty/src/main/kotlin/com/example/webflux/CoroutinesController.kt index 647198d0..108e751c 100644 --- a/framework/webflux-netty/src/main/kotlin/com/example/webflux/CoroutinesController.kt +++ b/framework/webflux-netty/src/main/kotlin/com/example/webflux/CoroutinesController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux import kotlinx.coroutines.delay diff --git a/framework/webflux-netty/src/main/kotlin/com/example/webflux/DataClassController.kt b/framework/webflux-netty/src/main/kotlin/com/example/webflux/DataClassController.kt index e9d11637..b52e2a65 100644 --- a/framework/webflux-netty/src/main/kotlin/com/example/webflux/DataClassController.kt +++ b/framework/webflux-netty/src/main/kotlin/com/example/webflux/DataClassController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux import org.springframework.http.MediaType diff --git a/framework/webflux-netty/src/main/kotlin/com/example/webflux/Greeting.kt b/framework/webflux-netty/src/main/kotlin/com/example/webflux/Greeting.kt index fb7ad711..4a3eae78 100644 --- a/framework/webflux-netty/src/main/kotlin/com/example/webflux/Greeting.kt +++ b/framework/webflux-netty/src/main/kotlin/com/example/webflux/Greeting.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux data class Greeting(val greeting: String, val name: String) diff --git a/framework/webflux-netty/src/test/java/com/example/webflux/test/AutoConfigureWebTestClientTests.java b/framework/webflux-netty/src/test/java/com/example/webflux/test/AutoConfigureWebTestClientTests.java index 7d764111..c5a5129e 100644 --- a/framework/webflux-netty/src/test/java/com/example/webflux/test/AutoConfigureWebTestClientTests.java +++ b/framework/webflux-netty/src/test/java/com/example/webflux/test/AutoConfigureWebTestClientTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.test; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/framework/webflux-netty/src/test/java/com/example/webflux/test/RandomPortTests.java b/framework/webflux-netty/src/test/java/com/example/webflux/test/RandomPortTests.java index ce366490..7d87b7bd 100644 --- a/framework/webflux-netty/src/test/java/com/example/webflux/test/RandomPortTests.java +++ b/framework/webflux-netty/src/test/java/com/example/webflux/test/RandomPortTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.test; import org.junit.jupiter.api.Test; diff --git a/framework/webflux-netty/src/test/java/com/example/webflux/test/WebfluxSliceTests.java b/framework/webflux-netty/src/test/java/com/example/webflux/test/WebfluxSliceTests.java index 364605dd..3c4cf78f 100644 --- a/framework/webflux-netty/src/test/java/com/example/webflux/test/WebfluxSliceTests.java +++ b/framework/webflux-netty/src/test/java/com/example/webflux/test/WebfluxSliceTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.test; import org.junit.jupiter.api.Test; diff --git a/framework/webflux-undertow/src/appTest/java/com/example/webflux/undertow/WebfluxUndertowApplicationAotTests.java b/framework/webflux-undertow/src/appTest/java/com/example/webflux/undertow/WebfluxUndertowApplicationAotTests.java index 0ca09f5d..f869db69 100644 --- a/framework/webflux-undertow/src/appTest/java/com/example/webflux/undertow/WebfluxUndertowApplicationAotTests.java +++ b/framework/webflux-undertow/src/appTest/java/com/example/webflux/undertow/WebfluxUndertowApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import java.net.URI; diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/TestController.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/TestController.java index b7feac87..8b24f3d8 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/TestController.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import com.example.webflux.undertow.dto.RecordDto; diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebfluxUndertowApplication.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebfluxUndertowApplication.java index 85912c11..73e133ce 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebfluxUndertowApplication.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebfluxUndertowApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import org.springframework.boot.SpringApplication; diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebsocketConfig.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebsocketConfig.java index 415658fa..4e8b51f1 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebsocketConfig.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/WebsocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import java.time.Duration; diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/XmlController.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/XmlController.java index b50e6284..2953ec87 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/XmlController.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/XmlController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import com.example.webflux.undertow.dto.Request; diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/RecordDto.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/RecordDto.java index aff9d3cb..95b047b4 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/RecordDto.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/RecordDto.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow.dto; public record RecordDto(String field1, String field2) { diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Request.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Request.java index cb3ae801..b2e3091f 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Request.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow.dto; import jakarta.xml.bind.annotation.XmlRootElement; diff --git a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Response.java b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Response.java index 02e11b8d..9d732909 100644 --- a/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Response.java +++ b/framework/webflux-undertow/src/main/java/com/example/webflux/undertow/dto/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow.dto; import jakarta.xml.bind.annotation.XmlRootElement; diff --git a/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/CoroutinesController.kt b/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/CoroutinesController.kt index 054061ac..b202461c 100644 --- a/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/CoroutinesController.kt +++ b/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/CoroutinesController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow import kotlinx.coroutines.delay diff --git a/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/DataClassController.kt b/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/DataClassController.kt index 5ee04666..4d4b2337 100644 --- a/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/DataClassController.kt +++ b/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/DataClassController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow import org.springframework.http.MediaType diff --git a/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/Greeting.kt b/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/Greeting.kt index 0ff0eecd..6c4dbe19 100644 --- a/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/Greeting.kt +++ b/framework/webflux-undertow/src/main/kotlin/com/example/webflux/undertow/Greeting.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow data class Greeting(val greeting: String, val name: String) diff --git a/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/AutoConfigureWebTestClientTests.java b/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/AutoConfigureWebTestClientTests.java index 4faee3f8..934e9f88 100644 --- a/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/AutoConfigureWebTestClientTests.java +++ b/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/AutoConfigureWebTestClientTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/RandomPortTests.java b/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/RandomPortTests.java index 86a21c56..732f3994 100644 --- a/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/RandomPortTests.java +++ b/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/RandomPortTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import org.junit.jupiter.api.Test; diff --git a/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/WebfluxSliceTests.java b/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/WebfluxSliceTests.java index 872fca3f..d5e243d2 100644 --- a/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/WebfluxSliceTests.java +++ b/framework/webflux-undertow/src/test/java/com/example/webflux/undertow/WebfluxSliceTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webflux.undertow; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/TestController.java b/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/TestController.java index 55a74924..9f597b9d 100644 --- a/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/TestController.java +++ b/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty.tls; import org.springframework.http.MediaType; diff --git a/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/WebMvcJettyTlsApplication.java b/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/WebMvcJettyTlsApplication.java index f7e3d98a..4b573f66 100644 --- a/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/WebMvcJettyTlsApplication.java +++ b/framework/webmvc-jetty-tls/src/main/java/com/example/webmvc/jetty/tls/WebMvcJettyTlsApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty.tls; import com.example.webmvc.jetty.tls.WebMvcJettyTlsApplication.KeyStoreRuntimeHints; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/ControllerDefinition.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/ControllerDefinition.java index 7e007ff0..691ecbc4 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/ControllerDefinition.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/ControllerDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import com.example.webmvc.jetty.dto.Request; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/FormSubmissionController.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/FormSubmissionController.java index d316aaf5..2dcda344 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/FormSubmissionController.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/FormSubmissionController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import org.springframework.http.MediaType; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/InterfaceDefinedController.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/InterfaceDefinedController.java index 3a55e81d..74eccf21 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/InterfaceDefinedController.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/InterfaceDefinedController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import com.example.webmvc.jetty.dto.Request; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcController.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcController.java index 9c0cfa15..dc0defaa 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcController.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import com.example.webmvc.jetty.dto.SampleRecord; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcJettyApplication.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcJettyApplication.java index 354d1d5f..75b55aae 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcJettyApplication.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/WebMvcJettyApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import org.springframework.boot.SpringApplication; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/XmlController.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/XmlController.java index 0932a29e..c781d8b0 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/XmlController.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/XmlController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import com.example.webmvc.jetty.dto.Request; diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Request.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Request.java index 79c6590b..a926af23 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Request.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty.dto; public class Request { diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Response.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Response.java index e4a25730..d299c8b8 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Response.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty.dto; public class Response { diff --git a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/SampleRecord.java b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/SampleRecord.java index efd48f43..054440cd 100644 --- a/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/SampleRecord.java +++ b/framework/webmvc-jetty/src/main/java/com/example/webmvc/jetty/dto/SampleRecord.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty.dto; public record SampleRecord(String message) { diff --git a/framework/webmvc-jetty/src/main/kotlin/com/example/webmvc/jetty/DataClassController.kt b/framework/webmvc-jetty/src/main/kotlin/com/example/webmvc/jetty/DataClassController.kt index c68757f5..9e38e4bc 100644 --- a/framework/webmvc-jetty/src/main/kotlin/com/example/webmvc/jetty/DataClassController.kt +++ b/framework/webmvc-jetty/src/main/kotlin/com/example/webmvc/jetty/DataClassController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty import org.springframework.http.MediaType diff --git a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/AutoConfigureMockMvcTests.java b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/AutoConfigureMockMvcTests.java index 1019df9d..30045c37 100644 --- a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/AutoConfigureMockMvcTests.java +++ b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/AutoConfigureMockMvcTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import org.junit.jupiter.api.Disabled; diff --git a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RandomPortTests.java b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RandomPortTests.java index e7aaa222..7bc99268 100644 --- a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RandomPortTests.java +++ b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RandomPortTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RestClientTests.java b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RestClientTests.java index 2a72e515..7fd27205 100644 --- a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RestClientTests.java +++ b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/RestClientTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import java.io.IOException; diff --git a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcControllerMockTests.java b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcControllerMockTests.java index 24e4d850..59339b4f 100644 --- a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcControllerMockTests.java +++ b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcControllerMockTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import org.junit.jupiter.api.Disabled; diff --git a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcSliceTests.java b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcSliceTests.java index dedc8a49..6d82a03b 100644 --- a/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcSliceTests.java +++ b/framework/webmvc-jetty/src/test/java/com/example/webmvc/jetty/WebMvcSliceTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.jetty; import org.junit.jupiter.api.Disabled; diff --git a/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/TestController.java b/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/TestController.java index f5d227d6..1fd3a5ec 100644 --- a/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/TestController.java +++ b/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.tls; import org.springframework.http.MediaType; diff --git a/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/WebMvcTomcatTlsApplication.java b/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/WebMvcTomcatTlsApplication.java index a849ce9e..35db7300 100644 --- a/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/WebMvcTomcatTlsApplication.java +++ b/framework/webmvc-tomcat-tls/src/main/java/com/example/webmvc/tls/WebMvcTomcatTlsApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.tls; import com.example.webmvc.tls.WebMvcTomcatTlsApplication.KeyStoreRuntimeHints; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/ControllerDefinition.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/ControllerDefinition.java index 04a18e55..0e6b79d2 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/ControllerDefinition.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/ControllerDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import com.example.webmvc.dto.Request; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/FormSubmissionController.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/FormSubmissionController.java index f38f1d96..29978cda 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/FormSubmissionController.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/FormSubmissionController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import org.springframework.http.MediaType; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/InterfaceDefinedController.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/InterfaceDefinedController.java index fe266944..a3f13c2b 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/InterfaceDefinedController.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/InterfaceDefinedController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import com.example.webmvc.dto.Request; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcApplication.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcApplication.java index d1ca57ef..ae6084d1 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcApplication.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import org.springframework.boot.SpringApplication; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcController.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcController.java index 3214aeb4..1a011c0d 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcController.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/WebMvcController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import com.example.webmvc.dto.SampleRecord; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/XmlController.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/XmlController.java index 591933bd..503c91b4 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/XmlController.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/XmlController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import com.example.webmvc.dto.Request; diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Request.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Request.java index a5d5eec1..385578c2 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Request.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.dto; public class Request { diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Response.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Response.java index 7a1a4ffc..55e30241 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Response.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.dto; public class Response { diff --git a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/SampleRecord.java b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/SampleRecord.java index db094d30..5726fe14 100644 --- a/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/SampleRecord.java +++ b/framework/webmvc-tomcat/src/main/java/com/example/webmvc/dto/SampleRecord.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.dto; public record SampleRecord(String message) { diff --git a/framework/webmvc-tomcat/src/main/kotlin/com/example/webmvc/DataClassController.kt b/framework/webmvc-tomcat/src/main/kotlin/com/example/webmvc/DataClassController.kt index 66894b3b..d719bb4b 100644 --- a/framework/webmvc-tomcat/src/main/kotlin/com/example/webmvc/DataClassController.kt +++ b/framework/webmvc-tomcat/src/main/kotlin/com/example/webmvc/DataClassController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc import org.springframework.http.MediaType diff --git a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/AutoConfigureMockMvcTests.java b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/AutoConfigureMockMvcTests.java index cc1a6cd3..e356f3af 100644 --- a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/AutoConfigureMockMvcTests.java +++ b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/AutoConfigureMockMvcTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RandomPortTests.java b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RandomPortTests.java index 0718890c..8d9525a4 100644 --- a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RandomPortTests.java +++ b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RandomPortTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RestClientTests.java b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RestClientTests.java index 0f04d044..7c13fbab 100644 --- a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RestClientTests.java +++ b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/RestClientTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import java.io.IOException; diff --git a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcControllerMockTests.java b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcControllerMockTests.java index 6d161b6c..bcd32231 100644 --- a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcControllerMockTests.java +++ b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcControllerMockTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; diff --git a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcSliceTests.java b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcSliceTests.java index 4e118fa6..275c049e 100644 --- a/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcSliceTests.java +++ b/framework/webmvc-tomcat/src/test/java/com/example/webmvc/WebMvcSliceTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; diff --git a/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/TestController.java b/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/TestController.java index 7d352024..d5acf066 100644 --- a/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/TestController.java +++ b/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/TestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow.tls; import org.springframework.http.MediaType; diff --git a/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/WebMvcUndertowTlsApplication.java b/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/WebMvcUndertowTlsApplication.java index 438c2216..ec2748e4 100644 --- a/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/WebMvcUndertowTlsApplication.java +++ b/framework/webmvc-undertow-tls/src/main/java/com/example/webmvc/undertow/tls/WebMvcUndertowTlsApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow.tls; import com.example.webmvc.undertow.tls.WebMvcUndertowTlsApplication.KeyStoreRuntimeHints; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/ControllerDefinition.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/ControllerDefinition.java index a52b2c7f..41019dab 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/ControllerDefinition.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/ControllerDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import com.example.webmvc.undertow.dto.Request; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/FormSubmissionController.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/FormSubmissionController.java index ec67b1f3..4ceebae0 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/FormSubmissionController.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/FormSubmissionController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import org.springframework.http.MediaType; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/InterfaceDefinedController.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/InterfaceDefinedController.java index d744cde0..35626a02 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/InterfaceDefinedController.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/InterfaceDefinedController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import com.example.webmvc.undertow.dto.Request; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcController.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcController.java index 622ff69a..cf90dd92 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcController.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import com.example.webmvc.undertow.dto.SampleRecord; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcUndertowApplication.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcUndertowApplication.java index 3b0e36cb..d8c91022 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcUndertowApplication.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/WebMvcUndertowApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import org.springframework.boot.SpringApplication; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/XmlController.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/XmlController.java index 71fd6f78..19d8035e 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/XmlController.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/XmlController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import com.example.webmvc.undertow.dto.Request; diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Request.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Request.java index 5f167e0f..7dcf1fc7 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Request.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow.dto; public class Request { diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Response.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Response.java index c86fa05f..db6d2b51 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Response.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow.dto; public class Response { diff --git a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/SampleRecord.java b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/SampleRecord.java index 1800594d..2ffa6a9a 100644 --- a/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/SampleRecord.java +++ b/framework/webmvc-undertow/src/main/java/com/example/webmvc/undertow/dto/SampleRecord.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow.dto; public record SampleRecord(String message) { diff --git a/framework/webmvc-undertow/src/main/kotlin/com/example/webmvc/undertow/DataClassController.kt b/framework/webmvc-undertow/src/main/kotlin/com/example/webmvc/undertow/DataClassController.kt index d6831a6f..882992b2 100644 --- a/framework/webmvc-undertow/src/main/kotlin/com/example/webmvc/undertow/DataClassController.kt +++ b/framework/webmvc-undertow/src/main/kotlin/com/example/webmvc/undertow/DataClassController.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow import org.springframework.http.MediaType diff --git a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/AutoConfigureMockMvcTests.java b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/AutoConfigureMockMvcTests.java index f61f0b82..66a80ea7 100644 --- a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/AutoConfigureMockMvcTests.java +++ b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/AutoConfigureMockMvcTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RandomPortTests.java b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RandomPortTests.java index 1992258d..b1aea95e 100644 --- a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RandomPortTests.java +++ b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RandomPortTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RestClientTests.java b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RestClientTests.java index ee188891..57d42e5e 100644 --- a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RestClientTests.java +++ b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/RestClientTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import java.io.IOException; diff --git a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcControllerMockTests.java b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcControllerMockTests.java index 68b009f1..39bb2098 100644 --- a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcControllerMockTests.java +++ b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcControllerMockTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import org.junit.jupiter.api.Test; diff --git a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcSliceTests.java b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcSliceTests.java index eaf664c9..09e21258 100644 --- a/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcSliceTests.java +++ b/framework/webmvc-undertow/src/test/java/com/example/webmvc/undertow/WebMvcSliceTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.webmvc.undertow; import org.junit.jupiter.api.Test; diff --git a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/CLR.java b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/CLR.java index a43cd7ba..2b4b63b0 100644 --- a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/CLR.java +++ b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.jetty; import java.net.URI; diff --git a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/EchoWebSocketHandler.java b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/EchoWebSocketHandler.java index 64f634c3..a80151d2 100644 --- a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/EchoWebSocketHandler.java +++ b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/EchoWebSocketHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.jetty; import org.springframework.stereotype.Component; diff --git a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketConfig.java b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketConfig.java index da214e0b..0886bd1e 100644 --- a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketConfig.java +++ b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.jetty; import org.springframework.context.annotation.Bean; diff --git a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketJettyApplication.java b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketJettyApplication.java index 17f70525..c0240192 100644 --- a/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketJettyApplication.java +++ b/framework/websocket-jetty/src/main/java/com/example/websocket/jetty/WebSocketJettyApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.jetty; import org.springframework.boot.SpringApplication; diff --git a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/CLR.java b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/CLR.java index 9d1fe628..7ec44c55 100644 --- a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/CLR.java +++ b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.stomp; import java.lang.reflect.Type; diff --git a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/GreetingController.java b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/GreetingController.java index 68d375b8..fda61126 100644 --- a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/GreetingController.java +++ b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/GreetingController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.stomp; import com.example.websocket.stomp.dto.GreetingMessage; diff --git a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketBrokerConfig.java b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketBrokerConfig.java index 80333046..0659cc41 100644 --- a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketBrokerConfig.java +++ b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketBrokerConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.stomp; import org.springframework.context.annotation.Bean; diff --git a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketStompApplication.java b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketStompApplication.java index 9b6f2085..9d3fbff7 100644 --- a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketStompApplication.java +++ b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/WebSocketStompApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.stomp; import org.springframework.boot.SpringApplication; diff --git a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/GreetingMessage.java b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/GreetingMessage.java index ba55801d..e54ff786 100644 --- a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/GreetingMessage.java +++ b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/GreetingMessage.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.stomp.dto; public class GreetingMessage { diff --git a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/HelloMessage.java b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/HelloMessage.java index fd505cd1..c6778c16 100644 --- a/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/HelloMessage.java +++ b/framework/websocket-stomp/src/main/java/com/example/websocket/stomp/dto/HelloMessage.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.stomp.dto; public class HelloMessage { diff --git a/framework/websocket-tomcat/src/main/java/com/example/websocket/CLR.java b/framework/websocket-tomcat/src/main/java/com/example/websocket/CLR.java index 48b3a5d4..e992013a 100644 --- a/framework/websocket-tomcat/src/main/java/com/example/websocket/CLR.java +++ b/framework/websocket-tomcat/src/main/java/com/example/websocket/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket; import java.net.URI; diff --git a/framework/websocket-tomcat/src/main/java/com/example/websocket/EchoWebSocketHandler.java b/framework/websocket-tomcat/src/main/java/com/example/websocket/EchoWebSocketHandler.java index 21d2017c..9ca9131a 100644 --- a/framework/websocket-tomcat/src/main/java/com/example/websocket/EchoWebSocketHandler.java +++ b/framework/websocket-tomcat/src/main/java/com/example/websocket/EchoWebSocketHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket; import org.springframework.stereotype.Component; diff --git a/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketApplication.java b/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketApplication.java index 70b35df8..0ae50aac 100644 --- a/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketApplication.java +++ b/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket; import org.springframework.boot.SpringApplication; diff --git a/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketConfig.java b/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketConfig.java index 6a36550b..e663effb 100644 --- a/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketConfig.java +++ b/framework/websocket-tomcat/src/main/java/com/example/websocket/WebSocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket; import org.springframework.context.annotation.Bean; diff --git a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/CLR.java b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/CLR.java index b12863e1..28b60b4c 100644 --- a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/CLR.java +++ b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.undertow; import java.net.URI; diff --git a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/EchoWebSocketHandler.java b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/EchoWebSocketHandler.java index 998834f1..d3415b27 100644 --- a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/EchoWebSocketHandler.java +++ b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/EchoWebSocketHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.undertow; import org.springframework.stereotype.Component; diff --git a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketConfig.java b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketConfig.java index 4c0c5561..5a97790e 100644 --- a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketConfig.java +++ b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.undertow; import org.springframework.context.annotation.Bean; diff --git a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketUndertowApplication.java b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketUndertowApplication.java index 10716b09..214d1e22 100644 --- a/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketUndertowApplication.java +++ b/framework/websocket-undertow/src/main/java/com/example/websocket/undertow/WebSocketUndertowApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.websocket.undertow; import org.springframework.boot.SpringApplication; diff --git a/integration/integration/src/appTest/java/com/example/integration/IntegrationApplicationTests.java b/integration/integration/src/appTest/java/com/example/integration/IntegrationApplicationTests.java index 7c87b272..5e85dbe2 100644 --- a/integration/integration/src/appTest/java/com/example/integration/IntegrationApplicationTests.java +++ b/integration/integration/src/appTest/java/com/example/integration/IntegrationApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.integration; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration/integration/src/main/java/com/example/integration/IntegrationApplication.java b/integration/integration/src/main/java/com/example/integration/IntegrationApplication.java index d667b45a..16627fdb 100644 --- a/integration/integration/src/main/java/com/example/integration/IntegrationApplication.java +++ b/integration/integration/src/main/java/com/example/integration/IntegrationApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.integration; import java.util.Calendar; diff --git a/integration/spring-amqp-rabbit/src/main/java/com/example/amqp/AmqpRabbitApplication.java b/integration/spring-amqp-rabbit/src/main/java/com/example/amqp/AmqpRabbitApplication.java index d59af80a..84bf4dd3 100644 --- a/integration/spring-amqp-rabbit/src/main/java/com/example/amqp/AmqpRabbitApplication.java +++ b/integration/spring-amqp-rabbit/src/main/java/com/example/amqp/AmqpRabbitApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.amqp; import java.util.concurrent.TimeUnit; diff --git a/integration/spring-kafka-avro/src/main/java/com/example/kafka/KafkaAvroApplication.java b/integration/spring-kafka-avro/src/main/java/com/example/kafka/KafkaAvroApplication.java index 037a72fb..89510071 100644 --- a/integration/spring-kafka-avro/src/main/java/com/example/kafka/KafkaAvroApplication.java +++ b/integration/spring-kafka-avro/src/main/java/com/example/kafka/KafkaAvroApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.kafka; import java.util.List; diff --git a/integration/spring-kafka-avro/src/main/java/com/example/kafka/ThingAvroSerde.java b/integration/spring-kafka-avro/src/main/java/com/example/kafka/ThingAvroSerde.java index d0a02623..c5bb15c9 100644 --- a/integration/spring-kafka-avro/src/main/java/com/example/kafka/ThingAvroSerde.java +++ b/integration/spring-kafka-avro/src/main/java/com/example/kafka/ThingAvroSerde.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.kafka; import java.io.ByteArrayOutputStream; diff --git a/integration/spring-kafka-streams/src/main/java/com/example/kafka/KafkaStreamsApplication.java b/integration/spring-kafka-streams/src/main/java/com/example/kafka/KafkaStreamsApplication.java index 3d98ef1c..75889dde 100644 --- a/integration/spring-kafka-streams/src/main/java/com/example/kafka/KafkaStreamsApplication.java +++ b/integration/spring-kafka-streams/src/main/java/com/example/kafka/KafkaStreamsApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.kafka; import org.apache.kafka.clients.admin.NewTopic; diff --git a/integration/spring-kafka/src/main/java/com/example/kafka/KafkaApplication.java b/integration/spring-kafka/src/main/java/com/example/kafka/KafkaApplication.java index 89bcd68f..c5b7df08 100644 --- a/integration/spring-kafka/src/main/java/com/example/kafka/KafkaApplication.java +++ b/integration/spring-kafka/src/main/java/com/example/kafka/KafkaApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.kafka; import org.apache.kafka.clients.admin.NewTopic; diff --git a/security/ldap-odm/src/appTest/java/example/ldap/odm/LdapOdmApplicationTests.java b/security/ldap-odm/src/appTest/java/example/ldap/odm/LdapOdmApplicationTests.java index e809917c..c494136a 100644 --- a/security/ldap-odm/src/appTest/java/example/ldap/odm/LdapOdmApplicationTests.java +++ b/security/ldap-odm/src/appTest/java/example/ldap/odm/LdapOdmApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import org.junit.jupiter.api.Test; diff --git a/security/ldap-odm/src/main/java/example/ldap/odm/LdapOdmApplication.java b/security/ldap-odm/src/main/java/example/ldap/odm/LdapOdmApplication.java index 5cea0421..594b7a37 100644 --- a/security/ldap-odm/src/main/java/example/ldap/odm/LdapOdmApplication.java +++ b/security/ldap-odm/src/main/java/example/ldap/odm/LdapOdmApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import example.ldap.odm.LdapOdmApplication.LdapOdmApplicationRuntimeHints; diff --git a/security/ldap-odm/src/main/java/example/ldap/odm/OdmPersonDaoImpl.java b/security/ldap-odm/src/main/java/example/ldap/odm/OdmPersonDaoImpl.java index 91131946..76a259ab 100644 --- a/security/ldap-odm/src/main/java/example/ldap/odm/OdmPersonDaoImpl.java +++ b/security/ldap-odm/src/main/java/example/ldap/odm/OdmPersonDaoImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import java.util.List; diff --git a/security/ldap-odm/src/main/java/example/ldap/odm/Person.java b/security/ldap-odm/src/main/java/example/ldap/odm/Person.java index 13f85432..fdaf1eea 100644 --- a/security/ldap-odm/src/main/java/example/ldap/odm/Person.java +++ b/security/ldap-odm/src/main/java/example/ldap/odm/Person.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import java.util.Objects; diff --git a/security/ldap-odm/src/main/java/example/ldap/odm/PersonController.java b/security/ldap-odm/src/main/java/example/ldap/odm/PersonController.java index 72c4dd39..d34d92d5 100644 --- a/security/ldap-odm/src/main/java/example/ldap/odm/PersonController.java +++ b/security/ldap-odm/src/main/java/example/ldap/odm/PersonController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import java.util.List; diff --git a/security/ldap-odm/src/main/java/example/ldap/odm/PersonDao.java b/security/ldap-odm/src/main/java/example/ldap/odm/PersonDao.java index bc32d2a5..a4000eb8 100644 --- a/security/ldap-odm/src/main/java/example/ldap/odm/PersonDao.java +++ b/security/ldap-odm/src/main/java/example/ldap/odm/PersonDao.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import java.util.List; diff --git a/security/ldap-odm/src/test/java/example/ldap/odm/DataLdapTests.java b/security/ldap-odm/src/test/java/example/ldap/odm/DataLdapTests.java index c181d453..eac572e7 100644 --- a/security/ldap-odm/src/test/java/example/ldap/odm/DataLdapTests.java +++ b/security/ldap-odm/src/test/java/example/ldap/odm/DataLdapTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package example.ldap.odm; import java.util.List; diff --git a/security/security-ldap/src/appTest/java/com/example/security/ldap/SecurityLdapApplicationAotTests.java b/security/security-ldap/src/appTest/java/com/example/security/ldap/SecurityLdapApplicationAotTests.java index 4af60a24..a9dfc66e 100644 --- a/security/security-ldap/src/appTest/java/com/example/security/ldap/SecurityLdapApplicationAotTests.java +++ b/security/security-ldap/src/appTest/java/com/example/security/ldap/SecurityLdapApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.ldap; import org.junit.jupiter.api.Test; diff --git a/security/security-ldap/src/main/java/com/example/security/ldap/MainController.java b/security/security-ldap/src/main/java/com/example/security/ldap/MainController.java index 93dfc200..6423c451 100644 --- a/security/security-ldap/src/main/java/com/example/security/ldap/MainController.java +++ b/security/security-ldap/src/main/java/com/example/security/ldap/MainController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.ldap; import org.springframework.security.core.Authentication; diff --git a/security/security-ldap/src/main/java/com/example/security/ldap/SecurityConfig.java b/security/security-ldap/src/main/java/com/example/security/ldap/SecurityConfig.java index 6d2d3601..bfb5c316 100644 --- a/security/security-ldap/src/main/java/com/example/security/ldap/SecurityConfig.java +++ b/security/security-ldap/src/main/java/com/example/security/ldap/SecurityConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.ldap; import org.springframework.context.annotation.Bean; diff --git a/security/security-ldap/src/main/java/com/example/security/ldap/SecurityLdapApplication.java b/security/security-ldap/src/main/java/com/example/security/ldap/SecurityLdapApplication.java index e07724b5..16ea4d56 100644 --- a/security/security-ldap/src/main/java/com/example/security/ldap/SecurityLdapApplication.java +++ b/security/security-ldap/src/main/java/com/example/security/ldap/SecurityLdapApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.ldap; import org.springframework.boot.SpringApplication; diff --git a/security/security-ldap/src/test/java/com/example/security/ldap/SecurityLdapApplicationTests.java b/security/security-ldap/src/test/java/com/example/security/ldap/SecurityLdapApplicationTests.java index b86282ef..99a55855 100644 --- a/security/security-ldap/src/test/java/com/example/security/ldap/SecurityLdapApplicationTests.java +++ b/security/security-ldap/src/test/java/com/example/security/ldap/SecurityLdapApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.ldap; import org.junit.jupiter.api.Test; diff --git a/security/security-method/src/appTest/java/com/example/security/method/Jsr250AotTests.java b/security/security-method/src/appTest/java/com/example/security/method/Jsr250AotTests.java index 25f947eb..b0318031 100644 --- a/security/security-method/src/appTest/java/com/example/security/method/Jsr250AotTests.java +++ b/security/security-method/src/appTest/java/com/example/security/method/Jsr250AotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import java.time.Duration; diff --git a/security/security-method/src/appTest/java/com/example/security/method/PostAuthorizeAotTests.java b/security/security-method/src/appTest/java/com/example/security/method/PostAuthorizeAotTests.java index 66aaea0c..a896e1c8 100644 --- a/security/security-method/src/appTest/java/com/example/security/method/PostAuthorizeAotTests.java +++ b/security/security-method/src/appTest/java/com/example/security/method/PostAuthorizeAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import java.time.Duration; diff --git a/security/security-method/src/appTest/java/com/example/security/method/PreAuthorizeAotTests.java b/security/security-method/src/appTest/java/com/example/security/method/PreAuthorizeAotTests.java index ce3441c6..1d4c0727 100644 --- a/security/security-method/src/appTest/java/com/example/security/method/PreAuthorizeAotTests.java +++ b/security/security-method/src/appTest/java/com/example/security/method/PreAuthorizeAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import java.time.Duration; diff --git a/security/security-method/src/appTest/java/com/example/security/method/SecuredAotTests.java b/security/security-method/src/appTest/java/com/example/security/method/SecuredAotTests.java index 8fef3e41..d079d839 100644 --- a/security/security-method/src/appTest/java/com/example/security/method/SecuredAotTests.java +++ b/security/security-method/src/appTest/java/com/example/security/method/SecuredAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import java.time.Duration; diff --git a/security/security-method/src/main/java/com/example/security/method/CLR.java b/security/security-method/src/main/java/com/example/security/method/CLR.java index 0ff1f039..8a83a70f 100644 --- a/security/security-method/src/main/java/com/example/security/method/CLR.java +++ b/security/security-method/src/main/java/com/example/security/method/CLR.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import java.util.List; diff --git a/security/security-method/src/main/java/com/example/security/method/Jsr250ProtectedService.java b/security/security-method/src/main/java/com/example/security/method/Jsr250ProtectedService.java index c44015e8..2325748d 100644 --- a/security/security-method/src/main/java/com/example/security/method/Jsr250ProtectedService.java +++ b/security/security-method/src/main/java/com/example/security/method/Jsr250ProtectedService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import jakarta.annotation.security.DenyAll; diff --git a/security/security-method/src/main/java/com/example/security/method/PostAuthorizeProtectedService.java b/security/security-method/src/main/java/com/example/security/method/PostAuthorizeProtectedService.java index b11fe2da..410ba98b 100644 --- a/security/security-method/src/main/java/com/example/security/method/PostAuthorizeProtectedService.java +++ b/security/security-method/src/main/java/com/example/security/method/PostAuthorizeProtectedService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import org.springframework.security.access.prepost.PostAuthorize; diff --git a/security/security-method/src/main/java/com/example/security/method/PreAuthorizeProtectedService.java b/security/security-method/src/main/java/com/example/security/method/PreAuthorizeProtectedService.java index 8675576a..5779eef4 100644 --- a/security/security-method/src/main/java/com/example/security/method/PreAuthorizeProtectedService.java +++ b/security/security-method/src/main/java/com/example/security/method/PreAuthorizeProtectedService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import org.springframework.security.access.prepost.PreAuthorize; diff --git a/security/security-method/src/main/java/com/example/security/method/SecuredProtectedService.java b/security/security-method/src/main/java/com/example/security/method/SecuredProtectedService.java index 28d7ac70..7c22060a 100644 --- a/security/security-method/src/main/java/com/example/security/method/SecuredProtectedService.java +++ b/security/security-method/src/main/java/com/example/security/method/SecuredProtectedService.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import org.springframework.security.access.annotation.Secured; diff --git a/security/security-method/src/main/java/com/example/security/method/SecurityConfiguration.java b/security/security-method/src/main/java/com/example/security/method/SecurityConfiguration.java index 5b82b476..2d5dbde9 100644 --- a/security/security-method/src/main/java/com/example/security/method/SecurityConfiguration.java +++ b/security/security-method/src/main/java/com/example/security/method/SecurityConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import org.springframework.context.annotation.Bean; diff --git a/security/security-method/src/main/java/com/example/security/method/SecurityMethodApplication.java b/security/security-method/src/main/java/com/example/security/method/SecurityMethodApplication.java index 71c46901..bfbe0728 100644 --- a/security/security-method/src/main/java/com/example/security/method/SecurityMethodApplication.java +++ b/security/security-method/src/main/java/com/example/security/method/SecurityMethodApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.method; import org.springframework.boot.SpringApplication; diff --git a/security/security-oauth2-authorization-server/src/appTest/java/com/example/security/oauth2authorizationserver/OAuth2AuthorizationServerApplicationAotTests.java b/security/security-oauth2-authorization-server/src/appTest/java/com/example/security/oauth2authorizationserver/OAuth2AuthorizationServerApplicationAotTests.java index 50f24895..453c9434 100644 --- a/security/security-oauth2-authorization-server/src/appTest/java/com/example/security/oauth2authorizationserver/OAuth2AuthorizationServerApplicationAotTests.java +++ b/security/security-oauth2-authorization-server/src/appTest/java/com/example/security/oauth2authorizationserver/OAuth2AuthorizationServerApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.oauth2authorizationserver; import java.io.IOException; diff --git a/security/security-oauth2-resource-server/src/appTest/java/com/example/security/oauth2resourceserver/OAuth2ResourceServerApplicationAotTests.java b/security/security-oauth2-resource-server/src/appTest/java/com/example/security/oauth2resourceserver/OAuth2ResourceServerApplicationAotTests.java index d253627c..de6f85ba 100644 --- a/security/security-oauth2-resource-server/src/appTest/java/com/example/security/oauth2resourceserver/OAuth2ResourceServerApplicationAotTests.java +++ b/security/security-oauth2-resource-server/src/appTest/java/com/example/security/oauth2resourceserver/OAuth2ResourceServerApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.oauth2resourceserver; import org.junit.jupiter.api.Test; diff --git a/security/security-thymeleaf/src/appTest/java/com/example/security/thymeleaf/SecurityThymeleafApplicationAotTests.java b/security/security-thymeleaf/src/appTest/java/com/example/security/thymeleaf/SecurityThymeleafApplicationAotTests.java index 168258b7..e5d93262 100644 --- a/security/security-thymeleaf/src/appTest/java/com/example/security/thymeleaf/SecurityThymeleafApplicationAotTests.java +++ b/security/security-thymeleaf/src/appTest/java/com/example/security/thymeleaf/SecurityThymeleafApplicationAotTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.thymeleaf; import org.junit.jupiter.api.Test; diff --git a/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/MainController.java b/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/MainController.java index 94927111..44662cc6 100644 --- a/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/MainController.java +++ b/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/MainController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.thymeleaf; import org.springframework.stereotype.Controller; diff --git a/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityConfig.java b/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityConfig.java index 6e68bb14..79a9ddd5 100644 --- a/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityConfig.java +++ b/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.thymeleaf; import org.springframework.context.annotation.Bean; diff --git a/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityThymeleafApplication.java b/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityThymeleafApplication.java index c0ae79a8..a473c3dc 100644 --- a/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityThymeleafApplication.java +++ b/security/security-thymeleaf/src/main/java/com/example/security/thymeleaf/SecurityThymeleafApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.thymeleaf; import org.springframework.aot.hint.MemberCategory; diff --git a/security/security-thymeleaf/src/test/java/com/example/security/thymeleaf/SecurityThymeleafApplicationTests.java b/security/security-thymeleaf/src/test/java/com/example/security/thymeleaf/SecurityThymeleafApplicationTests.java index 5b1ee18f..84f79077 100644 --- a/security/security-thymeleaf/src/test/java/com/example/security/thymeleaf/SecurityThymeleafApplicationTests.java +++ b/security/security-thymeleaf/src/test/java/com/example/security/thymeleaf/SecurityThymeleafApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.thymeleaf; import org.junit.jupiter.api.Test; diff --git a/security/security-webflux/src/main/java/com/example/security/webflux/SecurityWebFluxApplication.java b/security/security-webflux/src/main/java/com/example/security/webflux/SecurityWebFluxApplication.java index 164bc46e..918fc54c 100644 --- a/security/security-webflux/src/main/java/com/example/security/webflux/SecurityWebFluxApplication.java +++ b/security/security-webflux/src/main/java/com/example/security/webflux/SecurityWebFluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.webflux; import org.springframework.boot.SpringApplication; diff --git a/security/security-webflux/src/main/java/com/example/security/webflux/TestRestController.java b/security/security-webflux/src/main/java/com/example/security/webflux/TestRestController.java index 27ed2bfa..fb93f17d 100644 --- a/security/security-webflux/src/main/java/com/example/security/webflux/TestRestController.java +++ b/security/security-webflux/src/main/java/com/example/security/webflux/TestRestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.webflux; import java.security.Principal; diff --git a/security/security-webflux/src/main/java/com/example/security/webflux/WebSecurityConfig.java b/security/security-webflux/src/main/java/com/example/security/webflux/WebSecurityConfig.java index da88a94d..95a51da4 100644 --- a/security/security-webflux/src/main/java/com/example/security/webflux/WebSecurityConfig.java +++ b/security/security-webflux/src/main/java/com/example/security/webflux/WebSecurityConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.webflux; import org.springframework.context.annotation.Bean; diff --git a/security/security-webmvc/src/main/java/com/example/security/webmvc/SecurityWebMvcApplication.java b/security/security-webmvc/src/main/java/com/example/security/webmvc/SecurityWebMvcApplication.java index 6879d585..fb71c9dc 100644 --- a/security/security-webmvc/src/main/java/com/example/security/webmvc/SecurityWebMvcApplication.java +++ b/security/security-webmvc/src/main/java/com/example/security/webmvc/SecurityWebMvcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.webmvc; import org.springframework.boot.SpringApplication; diff --git a/security/security-webmvc/src/main/java/com/example/security/webmvc/TestRestController.java b/security/security-webmvc/src/main/java/com/example/security/webmvc/TestRestController.java index 64b4c83e..0ac8d3bd 100644 --- a/security/security-webmvc/src/main/java/com/example/security/webmvc/TestRestController.java +++ b/security/security-webmvc/src/main/java/com/example/security/webmvc/TestRestController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.webmvc; import java.security.Principal; diff --git a/security/security-webmvc/src/main/java/com/example/security/webmvc/WebSecurityConfig.java b/security/security-webmvc/src/main/java/com/example/security/webmvc/WebSecurityConfig.java index 0619b2bb..1a548c45 100644 --- a/security/security-webmvc/src/main/java/com/example/security/webmvc/WebSecurityConfig.java +++ b/security/security-webmvc/src/main/java/com/example/security/webmvc/WebSecurityConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.security.webmvc; import org.springframework.context.annotation.Bean; diff --git a/session/session-jdbc/src/appTest/java/com/example/session/jdbc/SessionJdbcApplicationTests.java b/session/session-jdbc/src/appTest/java/com/example/session/jdbc/SessionJdbcApplicationTests.java index 0bf55a19..a6eed8de 100644 --- a/session/session-jdbc/src/appTest/java/com/example/session/jdbc/SessionJdbcApplicationTests.java +++ b/session/session-jdbc/src/appTest/java/com/example/session/jdbc/SessionJdbcApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.jdbc; import java.util.concurrent.atomic.AtomicReference; diff --git a/session/session-jdbc/src/main/java/com/example/session/jdbc/CounterController.java b/session/session-jdbc/src/main/java/com/example/session/jdbc/CounterController.java index a89708b1..a6a37e75 100644 --- a/session/session-jdbc/src/main/java/com/example/session/jdbc/CounterController.java +++ b/session/session-jdbc/src/main/java/com/example/session/jdbc/CounterController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.jdbc; import java.util.Map; diff --git a/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionConfig.java b/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionConfig.java index d63aa756..2b68f436 100644 --- a/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionConfig.java +++ b/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.jdbc; import org.springframework.context.annotation.Bean; diff --git a/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionJdbcApplication.java b/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionJdbcApplication.java index 79d5052e..0b7d8690 100644 --- a/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionJdbcApplication.java +++ b/session/session-jdbc/src/main/java/com/example/session/jdbc/SessionJdbcApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.jdbc; import org.springframework.boot.SpringApplication; diff --git a/session/session-redis-webflux/src/appTest/java/com/example/session/redis/webflux/SessionRedisWebfluxApplicationTests.java b/session/session-redis-webflux/src/appTest/java/com/example/session/redis/webflux/SessionRedisWebfluxApplicationTests.java index 3162c7e0..38cbfb7d 100644 --- a/session/session-redis-webflux/src/appTest/java/com/example/session/redis/webflux/SessionRedisWebfluxApplicationTests.java +++ b/session/session-redis-webflux/src/appTest/java/com/example/session/redis/webflux/SessionRedisWebfluxApplicationTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.redis.webflux; import java.util.concurrent.atomic.AtomicReference; diff --git a/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/CounterController.java b/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/CounterController.java index cbcbaffa..680b6673 100644 --- a/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/CounterController.java +++ b/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/CounterController.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.redis.webflux; import java.util.Map; diff --git a/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionConfig.java b/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionConfig.java index 360e857e..6a294d94 100644 --- a/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionConfig.java +++ b/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.redis.webflux; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionRedisWebfluxApplication.java b/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionRedisWebfluxApplication.java index 495696bd..cdf51311 100644 --- a/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionRedisWebfluxApplication.java +++ b/session/session-redis-webflux/src/main/java/com/example/session/redis/webflux/SessionRedisWebfluxApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright 2022-2024 the original author or authors. + * + * 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 + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.session.redis.webflux; import org.springframework.boot.SpringApplication;