├── spring-boot-neo4j ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── springbootneo4j │ │ │ └── SpringBootNeo4jApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── springbootneo4j │ │ └── SpringBootNeo4jApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-boot-task ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootTaskApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-dgs ├── src │ ├── main │ │ ├── resources │ │ │ ├── application.properties │ │ │ └── schema │ │ │ │ └── schema.graphqls │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── springbootdgs │ │ │ ├── domain │ │ │ └── Show.java │ │ │ └── SpringBootDgsApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── springbootdgs │ │ └── SpringBootDgsApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-boot-exception ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootExceptionApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootExceptionApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-start ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootStartApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-thymeleaf ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootThymeleafApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootThymeleafApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-validation1 ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootValidation1Application.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootValidation1ApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-actuator-admin ├── src │ ├── main │ │ └── resources │ │ │ ├── application-dev.properties │ │ │ └── application-prod.properties │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootActuatorAdminApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-admin ├── src │ ├── main │ │ └── resources │ │ │ ├── application-dev.properties │ │ │ └── application-prod.properties │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootAdminApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── .gitattributes ├── spring-boot-webservice-client ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── webservice │ │ └── client │ │ ├── webservice │ │ ├── package-info.java │ │ └── author │ │ │ └── package-info.java │ │ └── SpringBootWebserviceClientApplication.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-boot-webservice-service ├── src │ └── main │ │ ├── resources │ │ ├── application.properties │ │ └── mapperxml │ │ │ └── UserInfoMapper.xml │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── webservice │ │ └── service │ │ ├── mapper │ │ └── UserInfoMapper.java │ │ ├── constants │ │ └── WsConst.java │ │ └── SpringBootWebserviceServiceApplication.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── .vscode └── settings.json ├── spring-boot-config ├── src │ ├── main │ │ ├── resources │ │ │ ├── application-dev.properties │ │ │ ├── application-prod.properties │ │ │ ├── application-test.properties │ │ │ ├── my2.properties │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootConfigApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootConfigApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-hadoop ├── shell │ ├── hive-run.sh │ └── hadoop-run.sh ├── README.md ├── .DS_Store ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ └── main │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── hadoopdemo │ │ ├── service │ │ ├── MapReduceService.java │ │ └── HiveService.java │ │ ├── enums │ │ ├── ExecuteTypeEnum.java │ │ └── TaskTypeEnum.java │ │ ├── configuration │ │ └── HadoopAuthManager.java │ │ └── HadoopDemoApplication.java └── .gitignore ├── .settings └── org.eclipse.m2e.core.prefs ├── spring-boot-redisjson ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── redisjson │ │ │ ├── entity │ │ │ └── User.java │ │ │ ├── service │ │ │ └── TestService.java │ │ │ └── SpringBootRedisjsonApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── redisjson │ │ └── SpringBootRedisjsonApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-boot-hadoop-sentry ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── sentry │ │ │ ├── SpringBootHadoopSentryApplication.java │ │ │ └── service │ │ │ └── SentryService.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── sentry │ │ └── SpringBootHadoopSentryApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── spring-boot-actuator ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── test │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootActuatorApplicationTests.java │ └── main │ └── resources │ └── application.properties ├── spring-boot-data-jpa ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── java │ └── com │ │ └── winterchen │ │ └── SpringBootDataJpaApplication.java │ └── resources │ └── application.properties ├── spring-boot-mybatis ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── java │ └── com │ │ └── winterchen │ │ └── SpringBootMybatisApplication.java │ └── resources │ ├── mapper │ └── UserMapper.xml │ └── application.properties ├── spring-boot-rabbitmq ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── cn │ │ │ └── luischen │ │ │ ├── SpringbootRabbitApplication.java │ │ │ └── rabbit │ │ │ └── many │ │ │ ├── NeoReceiver1.java │ │ │ └── NeoReceiver2.java │ └── test │ │ └── java │ │ └── cn │ │ └── luischen │ │ └── SpringbootRabbitApplicationTests.java └── .gitignore ├── spring-boot-swagger ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootSwaggerApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootSwaggerApplicationTests.java └── .gitignore ├── spring-boot-cache-redis ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── java │ └── com │ │ └── winterchen │ │ └── SpringBootCacheRedisApplication.java │ └── resources │ └── application.properties ├── spring-boot-dubbo-client ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── dubbo │ │ │ └── UserDubboService.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringbootDubboClientApplicationTests.java └── .gitignore ├── spring-boot-dubbo-service ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ ├── dubbo │ │ │ └── UserDubboService.java │ │ │ └── SpringBootDubboServiceApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootDubboServiceApplicationTests.java └── .gitignore ├── spring-boot-file-upload ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootFileUploadApplication.java │ └── test │ └── java │ └── com │ └── winterchen │ └── SpringBootFileUploadApplicationTests.java ├── spring-boot-jdbctemplate ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── resources │ └── application.properties │ └── java │ └── com │ └── winterchen │ └── SpringBootJdbctemplateApplication.java ├── spring-boot-lettuce-redis ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── java │ └── com │ │ └── winterchen │ │ └── SpringBootLettuceRedisApplication.java │ └── resources │ └── application.properties ├── spring-boot-mongodb ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── mongodb │ │ │ ├── SpringBootMongodbApplication.java │ │ │ └── service │ │ │ └── PoemService.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── mongodb │ │ └── SpringBootMongodbApplicationTests.java └── .gitignore ├── spring-boot-mybatis-plugin ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── resources │ └── mapper │ │ └── UserMapper.xml │ └── java │ └── com │ └── winterchen │ ├── SpringBootMybatisPluginApplication.java │ └── mapper │ └── UserMapper.java ├── spring-boot-rabbit-amqp ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootRabbitAmqpApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootRabbitAmqpApplicationTests.java └── .gitignore ├── spring-boot-rabbitmq-delay ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootRabbitmqDelayApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootRabbitmqDelayApplicationTests.java └── .gitignore ├── spring-boot-rest-template ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── test │ └── java │ └── com │ └── winterchen │ └── SpringBootRestTemplateApplicationTests.java ├── spring-boot-actuator-client ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ ├── application-dev.properties │ │ │ ├── application-prod.properties │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── SpringBootActuatorClientApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootActuatorClientApplicationTests.java └── .gitignore ├── spring-boot-mybatis-hikaricp ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── sql │ └── t_user.sql ├── .gitignore └── src │ ├── main │ └── java │ │ └── com │ │ └── winterchen │ │ ├── SpringBootMybatisHikaricpApplication.java │ │ ├── service │ │ └── UserService.java │ │ └── dao │ │ └── UserDao.java │ └── test │ └── java │ └── com │ └── winterchen │ └── SpringBootMybatisHikaricpApplicationTests.java ├── spring-boot-mybatis-mutil-database ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ ├── dao │ │ │ └── UserDao.java │ │ │ ├── service │ │ │ └── UserService.java │ │ │ └── config │ │ │ └── DatabaseContextHolder.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── SpringBootMybatisMutilDatabaseApplicationTests.java └── .gitignore ├── spring-boot-elasticsearch ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── winterchen │ │ │ └── springbootelasticsearch │ │ │ └── SpringBootElasticsearchApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── winterchen │ │ └── springbootelasticsearch │ │ └── SpringBootElasticsearchApplicationTests.java └── .gitignore ├── .idea ├── vcs.xml └── libraries │ ├── Maven__ant_ant_1_5.xml │ ├── Maven__asm_asm_3_1.xml │ ├── Maven__ant_ant_1_6_5.xml │ ├── Maven__oro_oro_2_0_8.xml │ ├── Maven__jline_jline_2_12.xml │ ├── Maven__junit_junit_4_12.xml │ ├── Maven__asm_asm_tree_3_1.xml │ ├── Maven__org_ow2_asm_asm_5_2.xml │ ├── Maven__antlr_antlr_2_7_7.xml │ ├── Maven__dom4j_dom4j_1_6_1.xml │ ├── Maven__jline_jline_0_9_94.xml │ ├── Maven__junit_junit_4_13_1.xml │ ├── Maven__log4j_log4j_1_2_17.xml │ ├── Maven__net_sf_jpam_jpam_1_1.xml │ ├── Maven__org_antlr_ST4_4_0_4.xml │ ├── Maven__com_tdunning_json_1_8.xml │ ├── Maven__wsdl4j_wsdl4j_1_6_3.xml │ ├── Maven__javax_mail_mail_1_4_1.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__asm_asm_commons_3_1.xml │ ├── Maven__org_jline_jline_3_9_0.xml │ ├── Maven__org_mongodb_bson_4_0_5.xml │ ├── Maven__stax_stax_api_1_0_1.xml │ ├── Maven__com_google_re2j_re2j_1_1.xml │ ├── Maven__com_jcraft_jsch_0_1_55.xml │ ├── Maven__dnsjava_dnsjava_2_1_7.xml │ ├── Maven__javax_transaction_jta_1_1.xml │ ├── Maven__com_101tec_zkclient_0_7.xml │ ├── Maven__com_alibaba_druid_1_1_9.xml │ ├── Maven__com_alibaba_druid_1_2_1.xml │ ├── Maven__com_alibaba_dubbo_2_5_3.xml │ ├── Maven__org_apache_ant_ant_1_9_1.xml │ ├── Maven__org_apache_ivy_ivy_2_4_0.xml │ ├── Maven__javax_jdo_jdo_api_3_0_1.xml │ ├── Maven__org_jruby_joni_joni_2_1_2.xml │ ├── Maven__com_tdunning_t_digest_3_2.xml │ ├── Maven__javax_servlet_jsp_api_2_0.xml │ ├── Maven__org_apache_avro_avro_1_7_7.xml │ ├── Maven__org_eclipse_jdt_ecj_3_12_3.xml │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ ├── Maven__org_hamcrest_hamcrest_2_2.xml │ ├── Maven__org_yaml_snakeyaml_1_19.xml │ ├── Maven__org_yaml_snakeyaml_1_25.xml │ ├── Maven__org_yaml_snakeyaml_1_26.xml │ ├── Maven__org_yaml_snakeyaml_1_27.xml │ ├── Maven__redis_clients_jedis_3_7_0.xml │ ├── Maven__com_carrotsearch_hppc_0_8_1.xml │ ├── Maven__com_google_guava_guava_18_0.xml │ ├── Maven__com_google_inject_guice_4_0.xml │ ├── Maven__com_lmax_disruptor_3_3_0.xml │ ├── Maven__net_sf_opencsv_opencsv_2_3.xml │ ├── Maven__org_elasticsearch_jna_4_5_1.xml │ ├── Maven__org_mybatis_mybatis_3_4_6.xml │ ├── Maven__xml_apis_xml_apis_1_4_01.xml │ ├── Maven__com_beust_jcommander_1_30.xml │ ├── Maven__com_squareup_okio_okio_1_6_0.xml │ ├── Maven__com_zaxxer_HikariCP_2_7_9.xml │ ├── Maven__com_zaxxer_HikariCP_3_4_5.xml │ ├── Maven__commons_el_commons_el_1_0.xml │ ├── Maven__commons_io_commons_io_2_5.xml │ ├── Maven__joda_time_joda_time_2_8_1.xml │ ├── Maven__joda_time_joda_time_2_9_9.xml │ ├── Maven__xerces_xercesImpl_2_10_0.xml │ ├── Maven__com_redislabs_jrejson_1_5_0.xml │ ├── Maven__net_minidev_json_smart_2_3.xml │ ├── Maven__org_objenesis_objenesis_2_6.xml │ ├── Maven__org_objenesis_objenesis_3_1.xml │ ├── Maven__aopalliance_aopalliance_1_0.xml │ ├── Maven__cn_hutool_hutool_all_5_4_4.xml │ ├── Maven__com_alibaba_fastjson_1_2_46.xml │ ├── Maven__com_alibaba_fastjson_1_2_47.xml │ ├── Maven__commons_cli_commons_cli_1_2.xml │ ├── Maven__commons_net_commons_net_3_6.xml │ ├── Maven__io_netty_netty_3_7_0_Final.xml │ ├── Maven__it_unimi_dsi_fastutil_6_5_6.xml │ ├── Maven__javax_inject_javax_inject_1.xml │ ├── Maven__javax_servlet_jsp_jsp_api_2_1.xml │ ├── Maven__joda_time_joda_time_2_10_4.xml │ ├── Maven__joda_time_joda_time_2_10_6.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_25.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ ├── Maven__org_yaml_snakeyaml_android_1_23.xml │ ├── Maven__com_google_code_gson_gson_2_8_6.xml │ ├── Maven__com_google_code_gson_gson_2_8_9.xml │ ├── Maven__javolution_javolution_5_5_1.xml │ ├── Maven__org_apache_neethi_neethi_3_1_1.xml │ ├── Maven__org_glassfish_javax_el_3_0_0.xml │ ├── Maven__org_mortbay_jetty_jetty_6_1_26.xml │ ├── Maven__com_fasterxml_classmate_1_3_4.xml │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ ├── Maven__io_airlift_aircompressor_0_3.xml │ ├── Maven__io_netty_netty_3_10_6_Final.xml │ ├── Maven__javax_servlet_servlet_api_2_4.xml │ ├── Maven__javax_ws_rs_jsr311_api_1_1_1.xml │ ├── Maven__javax_xml_bind_jaxb_api_2_3_1.xml │ ├── Maven__org_apache_cxf_cxf_core_3_2_5.xml │ ├── Maven__org_apache_orc_orc_core_1_3_3.xml │ ├── Maven__tk_mybatis_mapper_base_1_0_1.xml │ ├── Maven__tk_mybatis_mapper_core_1_0_2.xml │ ├── Maven__ant_contrib_ant_contrib_1_0b3.xml │ ├── Maven__cn_bestwu_ik_analyzers_5_1_0.xml │ ├── Maven__com_github_mifmif_generex_1_0_2.xml │ ├── Maven__com_squareup_okhttp_okhttp_2_7_5.xml │ ├── Maven__commons_dbcp_commons_dbcp_1_4.xml │ ├── Maven__commons_lang_commons_lang_2_6.xml │ ├── Maven__commons_pool_commons_pool_1_6.xml │ ├── Maven__org_antlr_antlr4_runtime_4_8.xml │ ├── Maven__org_apache_velocity_velocity_1_5.xml │ ├── Maven__org_codehaus_janino_janino_3_1_2.xml │ ├── Maven__org_jboss_jandex_2_0_3_Final.xml │ ├── Maven__org_projectlombok_lombok_1_18_8.xml │ ├── Maven__xml_resolver_xml_resolver_1_2.xml │ ├── Maven__com_google_guava_guava_27_0_jre.xml │ ├── Maven__com_rabbitmq_amqp_client_5_1_2.xml │ ├── Maven__javax_activation_activation_1_1.xml │ ├── Maven__net_sf_supercsv_super_csv_2_2_0.xml │ ├── Maven__org_apache_hive_hive_jdbc_2_3_0.xml │ ├── Maven__org_glassfish_jakarta_el_3_0_3.xml │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ ├── Maven__org_hamcrest_hamcrest_core_2_1.xml │ ├── Maven__org_hamcrest_hamcrest_core_2_2.xml │ ├── Maven__org_jetbrains_annotations_13_0.xml │ ├── Maven__tk_mybatis_mapper_extra_1_0_1.xml │ ├── Maven__co_cask_tephra_tephra_api_0_6_0.xml │ ├── Maven__com_sun_jersey_jersey_core_1_19.xml │ ├── Maven__com_sun_jersey_jersey_json_1_19.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_7_11.xml │ ├── Maven__org_antlr_antlr_runtime_3_5_2.xml │ ├── Maven__org_apache_derby_derby_10_14_2_0.xml │ ├── Maven__org_apache_kerby_kerb_core_1_0_1.xml │ ├── Maven__org_apache_kerby_kerb_util_1_0_1.xml │ ├── Maven__org_apache_kerby_kerby_xdr_1_0_1.xml │ ├── Maven__org_apache_thrift_libfb303_0_9_3.xml │ ├── Maven__org_assertj_assertj_core_3_9_1.xml │ ├── Maven__org_codehaus_jettison_jettison_1_1.xml │ ├── Maven__org_jamon_jamon_runtime_2_3_1.xml │ ├── Maven__org_jolokia_jolokia_core_1_5_0.xml │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ ├── Maven__org_mockito_mockito_core_3_3_3.xml │ ├── Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ ├── Maven__org_projectlombok_lombok_1_18_12.xml │ ├── Maven__org_projectlombok_lombok_1_18_16.xml │ ├── Maven__org_projectlombok_lombok_1_18_18.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_25.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ ├── Maven__org_slf4j_slf4j_simple_1_7_30.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_5_1.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_6_4.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_7_0.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_8_3.xml │ ├── Maven__tomcat_jasper_runtime_5_5_23.xml │ ├── Maven__co_cask_tephra_tephra_core_0_6_0.xml │ ├── Maven__io_swagger_swagger_core_1_5_22.xml │ ├── Maven__org_apache_cxf_cxf_rt_wsdl_3_2_5.xml │ ├── Maven__org_apache_hive_hive_serde_2_3_0.xml │ ├── Maven__org_apache_hive_hive_shims_2_3_0.xml │ ├── Maven__org_apache_thrift_libthrift_0_9_3.xml │ ├── Maven__org_fusesource_hawtbuf_hawtbuf_1_11.xml │ ├── Maven__org_jruby_jcodings_jcodings_1_0_8.xml │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ ├── Maven__org_slf4j_slf4j_log4j12_1_7_30.xml │ ├── Maven__tk_mybatis_mapper_spring_1_0_1.xml │ └── Maven__tomcat_jasper_compiler_5_5_23.xml └── .gitignore /spring-boot-neo4j/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-task/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-dgs/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-exception/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-start/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-validation1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-actuator-admin/src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-admin/src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /spring-boot-webservice-client/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8092 -------------------------------------------------------------------------------- /spring-boot-webservice-service/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | cxf.path=/ws -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.configuration.updateBuildConfiguration": "interactive" 3 | } -------------------------------------------------------------------------------- /spring-boot-config/src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.servlet.context-path=/dev -------------------------------------------------------------------------------- /spring-boot-config/src/main/resources/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.servlet.context-path=/prod -------------------------------------------------------------------------------- /spring-boot-config/src/main/resources/application-test.properties: -------------------------------------------------------------------------------- 1 | server.servlet.context-path=/test -------------------------------------------------------------------------------- /spring-boot-hadoop/shell/hive-run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | source ~/.bash_profile && \ 3 | hiveserver2 4 | -------------------------------------------------------------------------------- /spring-boot-config/src/main/resources/my2.properties: -------------------------------------------------------------------------------- 1 | my2.age=25 2 | my2.name=Luis 3 | my2.email=1085143002@qq.com -------------------------------------------------------------------------------- /spring-boot-hadoop/README.md: -------------------------------------------------------------------------------- 1 | ## springboot整合Hadoop 2 | 3 | ### 整合组件: 4 | 5 | - HDFS 6 | - MapReduce 7 | - Hive 8 | -------------------------------------------------------------------------------- /spring-boot-config/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | my1.age=25 2 | my1.name=Luis 3 | 4 | spring.profiles.active=dev -------------------------------------------------------------------------------- /.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /spring-boot-hadoop/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-hadoop/.DS_Store -------------------------------------------------------------------------------- /spring-boot-redisjson/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8001 3 | 4 | jrejson: 5 | host: localhost 6 | port: 6389 7 | -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8898 3 | spring: 4 | application: 5 | name: hadoop-demo 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-task/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-actuator/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-admin/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-config/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-data-jpa/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-dgs/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-dgs/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-exception/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-mybatis/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-start/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-swagger/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-swagger/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 扫描的包路径,默认扫描所有 2 | spring.swagger.base-package=com.winterchen 3 | # 默认为 true 4 | spring.swagger.enabled=true -------------------------------------------------------------------------------- /spring-boot-task/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-task/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-thymeleaf/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-actuator-admin/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-admin/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-admin/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-cache-redis/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-config/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-config/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-dubbo-client/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-dubbo-service/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-file-upload/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-hadoop/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-hadoop/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-jdbctemplate/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-lettuce-redis/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-mongodb/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-mongodb/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-mybatis-plugin/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-mybatis/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-mybatis/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-neo4j/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-neo4j/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-rabbit-amqp/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq-delay/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-rest-template/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-start/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-start/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-swagger/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-swagger/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-validation1/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-actuator-client/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-actuator/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-actuator/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-data-jpa/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-data-jpa/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-exception/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-exception/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-rabbitmq/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-redisjson/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-redisjson/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-thymeleaf/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-thymeleaf/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-cache-redis/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-cache-redis/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-dubbo-client/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-dubbo-client/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-file-upload/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-file-upload/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-jdbctemplate/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-jdbctemplate/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-rabbit-amqp/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-rabbit-amqp/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-validation1/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-validation1/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-actuator-admin/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-actuator-admin/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-dgs/src/main/resources/schema/schema.graphqls: -------------------------------------------------------------------------------- 1 | type Query { 2 | shows(titleFilter: String): [Show] 3 | } 4 | 5 | type Show { 6 | title: String 7 | releaseYear: Int 8 | } -------------------------------------------------------------------------------- /spring-boot-dubbo-service/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-dubbo-service/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-elasticsearch/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-elasticsearch/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-hadoop-sentry/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-lettuce-redis/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-lettuce-redis/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-mybatis-plugin/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-mybatis-plugin/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-rabbitmq-delay/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-rabbitmq-delay/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-rest-template/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-rest-template/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-actuator-client/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-actuator-client/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-mybatis-hikaricp/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-webservice-client/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-webservice-client/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-webservice-service/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-webservice-service/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WinterChenS/springboot-learning-experience/HEAD/spring-boot-mybatis-mutil-database/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-hadoop/shell/hadoop-run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | source ~/.bash_profile && \ 3 | cd /usr/local/Cellar/hadoop-2.9.0/sbin/ &&\ 4 | ./stop-all.sh && \ 5 | ./start-all.sh &&\ 6 | hadoop dfsadmin -safemode leave 7 | -------------------------------------------------------------------------------- /spring-boot-mongodb/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | data: 3 | mongodb: 4 | uri: mongodb://127.0.0.1/demo 5 | application: 6 | name: spring-boot-mongodb 7 | 8 | server: 9 | port: 8899 -------------------------------------------------------------------------------- /spring-boot-rabbitmq/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=1111 2 | 3 | spring.rabbitmq.host=127.0.0.1 4 | spring.rabbitmq.port=5672 5 | spring.rabbitmq.username=guest 6 | spring.rabbitmq.password=guest -------------------------------------------------------------------------------- /spring-boot-webservice-client/src/main/java/com/winterchen/webservice/client/webservice/package-info.java: -------------------------------------------------------------------------------- 1 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.winterchen.com/webservice") 2 | package com.winterchen.webservice.client.webservice; 3 | -------------------------------------------------------------------------------- /spring-boot-rabbit-amqp/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.rabbitmq.host=127.0.0.1 2 | spring.rabbitmq.port=5672 3 | spring.rabbitmq.virtual-host=/ 4 | # 手动ACK 不开启自动ACK模式,目的是防止报错后未正确处理消息丢失 默认 为 none 5 | spring.rabbitmq.listener.simple.acknowledge-mode=manual -------------------------------------------------------------------------------- /spring-boot-webservice-client/src/main/java/com/winterchen/webservice/client/webservice/author/package-info.java: -------------------------------------------------------------------------------- 1 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.winterchen.com/webservice") 2 | package com.winterchen.webservice.client.webservice.author; 3 | -------------------------------------------------------------------------------- /spring-boot-actuator-client/src/main/resources/application-dev.properties: -------------------------------------------------------------------------------- 1 | server.port=8090 2 | 3 | # spring-boot-admin的ip和端口 4 | spring.boot.admin.client.url=http://localhost:8080 5 | spring.boot.admin.instance.prefer-ip=true 6 | spring.application.name=@project.description@ -------------------------------------------------------------------------------- /spring-boot-actuator-client/src/main/resources/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port=80 2 | 3 | # spring-boot-admin的ip和端口 4 | spring.boot.admin.client.url=http://localhost:8080 5 | spring.boot.admin.instance.prefer-ip=true 6 | spring.application.name=@project.description@ -------------------------------------------------------------------------------- /spring-boot-dgs/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-hadoop/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-mongodb/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-neo4j/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-redisjson/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-elasticsearch/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-hadoop/src/main/java/com/winterchen/hadoopdemo/service/MapReduceService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.hadoopdemo.service; 2 | 3 | public interface MapReduceService { 4 | 5 | void wordCount(String jobName, String inputPath, String outputPath) throws Exception; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot-webservice-client/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-dubbo-service/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | dubbo: 3 | application: 4 | name: provider 5 | registry: 6 | address: zookeeper://127.0.0.1:2181 7 | protocol: 8 | name: dubbo 9 | port: 20880 10 | scan: com.winterchen.dubbo -------------------------------------------------------------------------------- /spring-boot-webservice-service/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-elasticsearch/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8897 3 | 4 | spring: 5 | application: 6 | name: spring-boot-elasticsearch 7 | elasticsearch: 8 | rest: 9 | uris: http://127.0.0.1:9200 10 | username: elastic 11 | password: 123456 12 | -------------------------------------------------------------------------------- /spring-boot-dubbo-client/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | ## 避免和 server 工程端口冲突 2 | server: 3 | port: 8081 4 | 5 | ## Dubbo 服务消费者配置 6 | spring: 7 | dubbo: 8 | application: 9 | name: consumer 10 | registry: 11 | address: zookeeper://127.0.0.1:2181 12 | scan: com.winterchen.dubbo -------------------------------------------------------------------------------- /spring-boot-dubbo-client/src/main/java/com/winterchen/dubbo/UserDubboService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.dubbo; 2 | 3 | import com.winterchen.domain.User; 4 | 5 | /** 6 | * Created by Donghua.Chen on 2018/5/29. 7 | */ 8 | public interface UserDubboService { 9 | 10 | User findUserById(Long userId); 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/sql/t_user.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE mytest; 2 | 3 | CREATE TABLE t_user( 4 | userId INT NOT NULL PRIMARY KEY AUTO_INCREMENT, 5 | userName VARCHAR(255) NOT NULL , 6 | password VARCHAR(255) NOT NULL , 7 | phone VARCHAR(255) NOT NULL 8 | ) ENGINE=INNODB AUTO_INCREMENT=1000 DEFAULT CHARSET=utf8; -------------------------------------------------------------------------------- /spring-boot-webservice-service/src/main/resources/mapperxml/UserInfoMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /spring-boot-dubbo-service/src/main/java/com/winterchen/dubbo/UserDubboService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.dubbo; 2 | 3 | import com.winterchen.domain.User; 4 | 5 | /** 6 | * Created by Donghua.Chen on 2018/5/29. 7 | */ 8 | public interface UserDubboService { 9 | 10 | User findUserById(Long userId); 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq-delay/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.rabbitmq.username=guest 2 | spring.rabbitmq.password=guest 3 | spring.rabbitmq.host=127.0.0.1 4 | spring.rabbitmq.port=5672 5 | spring.rabbitmq.virtual-host=/ 6 | # 手动ACK 不开启自动ACK模式,目的是防止报错后未正确处理消息丢失 默认 为 none 7 | spring.rabbitmq.listener.simple.acknowledge-mode=manual -------------------------------------------------------------------------------- /spring-boot-dgs/src/main/java/com/winterchen/springbootdgs/domain/Show.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootdgs.domain; 2 | 3 | import lombok.Data; 4 | 5 | /** 6 | * @author winterchen 7 | * @version 1.0 8 | * @date 2021/2/27 2:43 下午 9 | **/ 10 | @Data 11 | public class Show { 12 | private final String title; 13 | private final Integer releaseYear; 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-dgs/src/test/java/com/winterchen/springbootdgs/SpringBootDgsApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootdgs; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootDgsApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-mongodb/src/test/java/com/winterchen/mongodb/SpringBootMongodbApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.mongodb; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootMongodbApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-neo4j/src/test/java/com/winterchen/springbootneo4j/SpringBootNeo4jApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootneo4j; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootNeo4jApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.nar 17 | *.ear 18 | *.zip 19 | *.tar.gz 20 | *.rar 21 | 22 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 23 | hs_err_pid* 24 | -------------------------------------------------------------------------------- /spring-boot-redisjson/src/test/java/com/winterchen/redisjson/SpringBootRedisjsonApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.redisjson; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootRedisjsonApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/src/test/java/com/winterchen/sentry/SpringBootHadoopSentryApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.sentry; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootHadoopSentryApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/src/main/java/com/winterchen/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.dao; 2 | 3 | import com.winterchen.model.UserDomain; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Created by Donghua.Chen on 2018/5/29. 9 | */ 10 | public interface UserDao { 11 | 12 | int insert(UserDomain record); 13 | 14 | 15 | 16 | List selectUsers(); 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-admin/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-config/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-start/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-task/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-actuator/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-cache-redis/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-data-jpa/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-exception/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-file-upload/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-mybatis/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-rabbit-amqp/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-rabbitmq/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-swagger/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-thymeleaf/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-validation1/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-actuator-admin/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-actuator-admin/src/main/resources/application-prod.properties: -------------------------------------------------------------------------------- 1 | # 登陆所需的账号密码 2 | spring.security.user.name=luis 3 | spring.security.user.password=luis 4 | # 便于客户端可以在受保护的服务器上注册api 5 | spring.boot.admin.client.username=luis 6 | spring.boot.admin.client.password=luis 7 | # 便服务器可以访问受保护的客户端端点 8 | spring.boot.admin.client.instance.metadata.user.name=luis 9 | spring.boot.admin.client.instance.metadata.user.password=luis -------------------------------------------------------------------------------- /spring-boot-actuator-client/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-dubbo-client/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-dubbo-service/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-jdbctemplate/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-lettuce-redis/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-mybatis-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-rabbitmq-delay/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-rest-template/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-hadoop/src/main/java/com/winterchen/hadoopdemo/service/HiveService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.hadoopdemo.service; 2 | 3 | 4 | import java.util.List; 5 | 6 | public interface HiveService { 7 | 8 | Object select(String hql); 9 | 10 | List listAllTables(); 11 | 12 | List describeTable(String tableName); 13 | 14 | List selectFromTable(String tableName); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-elasticsearch/src/test/java/com/winterchen/springbootelasticsearch/SpringBootElasticsearchApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootelasticsearch; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootElasticsearchApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-hadoop/src/main/java/com/winterchen/hadoopdemo/enums/ExecuteTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.hadoopdemo.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | /** 7 | * @author winterchen 8 | * @version 1.0 9 | * @date 2020/11/25 6:38 下午 10 | * @description 处理类型 11 | **/ 12 | @Getter 13 | @AllArgsConstructor 14 | public enum ExecuteTypeEnum { 15 | 16 | OK,FAIL; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot-hadoop/src/main/java/com/winterchen/hadoopdemo/enums/TaskTypeEnum.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.hadoopdemo.enums; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Getter; 5 | 6 | /** 7 | * @author winterchen 8 | * @version 1.0 9 | * @date 2020/11/25 6:40 下午 10 | * @description 任务类型 11 | **/ 12 | @Getter 13 | @AllArgsConstructor 14 | public enum TaskTypeEnum { 15 | 16 | WORKFLOW,COORDINATOR; 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/src/main/java/com/winterchen/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.service; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.winterchen.model.UserDomain; 5 | 6 | /** 7 | * Created by Donghua.Chen on 2018/5/29. 8 | */ 9 | public interface UserService { 10 | 11 | int addUser(UserDomain user); 12 | 13 | PageInfo findAllUser(int pageNum, int pageSize); 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-actuator-client/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 描述信息 2 | info.blog-url=http://winterchen.com 3 | info.author=Luis 4 | info.version=@project.version@ 5 | info.name=@project.artifactId@ 6 | 7 | # 加载所有的端点/默认只加载了 info / health 8 | management.endpoints.web.exposure.include=* 9 | management.endpoint.health.show-details=always 10 | 11 | # 可以关闭制定的端点 12 | management.endpoint.shutdown.enabled=false 13 | 14 | spring.profiles.active=dev -------------------------------------------------------------------------------- /spring-boot-admin/src/main/resources/application-prod.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 2 | # 登陆所需的账号密码 3 | spring.security.user.name=admin 4 | spring.security.user.password=Aa123456 5 | # 便于客户端可以在受保护的服务器上注册api 6 | spring.boot.admin.client.username=admin 7 | spring.boot.admin.client.password=Aa123456 8 | # 便服务器可以访问受保护的客户端端点 9 | spring.boot.admin.client.instance.metadata.user.name=admin 10 | spring.boot.admin.client.instance.metadata.user.password=Aa123456 -------------------------------------------------------------------------------- /spring-boot-rabbitmq/src/main/java/cn/luischen/SpringbootRabbitApplication.java: -------------------------------------------------------------------------------- 1 | package cn.luischen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootRabbitApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootRabbitApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-webservice-service/src/main/java/com/winterchen/webservice/service/mapper/UserInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.webservice.service.mapper; 2 | 3 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 4 | 5 | import com.winterchen.webservice.service.entity.UserInfoEntity; 6 | import org.apache.ibatis.annotations.Mapper; 7 | 8 | @Mapper 9 | public interface UserInfoMapper extends BaseMapper { 10 | 11 | 12 | } -------------------------------------------------------------------------------- /spring-boot-config/src/main/java/com/winterchen/SpringBootConfigApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootConfigApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootConfigApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-data-jpa/src/main/java/com/winterchen/SpringBootDataJpaApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootDataJpaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootDataJpaApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-hadoop/src/main/java/com/winterchen/hadoopdemo/configuration/HadoopAuthManager.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.hadoopdemo.configuration; 2 | 3 | import java.security.PrivilegedAction; 4 | 5 | /** 6 | * @author winterchen 7 | * @version 1.0 8 | * @date 2020/11/19 7:20 下午 9 | * @description TODO 10 | **/ 11 | public interface HadoopAuthManager { 12 | void checkAuth(); 13 | 14 | T doPrivileged(PrivilegedAction var1); 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-mybatis-plugin/src/main/resources/mapper/UserMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-mybatis/src/main/java/com/winterchen/SpringBootMybatisApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootMybatisApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootMybatisApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-mybatis/src/main/resources/mapper/UserMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | INSERT INTO `t_user`(`username`,`password`) VALUES (#{username},#{password}) 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-data-jpa/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:mysql://localhost:3306/chapter5?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false 2 | spring.datasource.username=root 3 | spring.datasource.password=root 4 | #spring.datasource.type 5 | # JPA配置 6 | spring.jpa.hibernate.ddl-auto=update 7 | # 输出日志 8 | spring.jpa.show-sql=true 9 | # 数据库类型 10 | spring.jpa.database=mysql -------------------------------------------------------------------------------- /spring-boot-exception/src/main/java/com/winterchen/SpringBootExceptionApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootExceptionApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootExceptionApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-redisjson/src/main/java/com/winterchen/redisjson/entity/User.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.redisjson.entity; 2 | 3 | import lombok.Builder; 4 | import lombok.Data; 5 | 6 | /** 7 | * @author winterchen.com 8 | * @version 1.0 9 | * @date 2021/12/22 16:09 10 | * @description TODO 11 | **/ 12 | @Builder 13 | @Data 14 | public class User { 15 | 16 | private String id; 17 | 18 | private String name; 19 | 20 | private Integer age; 21 | 22 | } -------------------------------------------------------------------------------- /spring-boot-thymeleaf/src/main/java/com/winterchen/SpringBootThymeleafApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootThymeleafApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootThymeleafApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-file-upload/src/main/java/com/winterchen/SpringBootFileUploadApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootFileUploadApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootFileUploadApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-jdbctemplate/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=1111 2 | spring.datasource.url=jdbc:mysql://localhost:3306/chapter4?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false 3 | spring.datasource.username=root 4 | spring.datasource.password=root 5 | #spring.datasource.type 6 | #更多细微的配置可以通过下列前缀进行调整 7 | #spring.datasource.hikari 8 | #spring.datasource.tomcat 9 | 10 | #spring.datasource.dbcp2 -------------------------------------------------------------------------------- /spring-boot-rabbit-amqp/src/main/java/com/winterchen/SpringBootRabbitAmqpApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootRabbitAmqpApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootRabbitAmqpApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-validation1/src/main/java/com/winterchen/SpringBootValidation1Application.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootValidation1Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootValidation1Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-dgs/src/main/java/com/winterchen/springbootdgs/SpringBootDgsApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootdgs; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootDgsApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootDgsApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-dubbo-service/src/main/java/com/winterchen/SpringBootDubboServiceApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootDubboServiceApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootDubboServiceApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-jdbctemplate/src/main/java/com/winterchen/SpringBootJdbctemplateApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootJdbctemplateApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootJdbctemplateApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-lettuce-redis/src/main/java/com/winterchen/SpringBootLettuceRedisApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootLettuceRedisApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootLettuceRedisApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-mybatis-plugin/src/main/java/com/winterchen/SpringBootMybatisPluginApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootMybatisPluginApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootMybatisPluginApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq-delay/src/main/java/com/winterchen/SpringBootRabbitmqDelayApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootRabbitmqDelayApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootRabbitmqDelayApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-redisjson/src/main/java/com/winterchen/redisjson/service/TestService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.redisjson.service; 2 | 3 | import com.winterchen.redisjson.entity.User; 4 | 5 | /** 6 | * @author winterchen.com 7 | * @version 1.0 8 | * @date 2021/12/22 16:08 9 | * @description TODO 10 | **/ 11 | public interface TestService { 12 | 13 | 14 | void add(User user); 15 | 16 | void update(User user); 17 | 18 | User findById(String id); 19 | 20 | 21 | } -------------------------------------------------------------------------------- /spring-boot-actuator-client/src/main/java/com/winterchen/SpringBootActuatorClientApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootActuatorClientApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootActuatorClientApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-neo4j/src/main/java/com/winterchen/springbootneo4j/SpringBootNeo4jApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootneo4j; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootNeo4jApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootNeo4jApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq/src/test/java/cn/luischen/SpringbootRabbitApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.luischen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootRabbitApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-task/src/test/java/com/winterchen/SpringBootTaskApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootTaskApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-admin/src/test/java/com/winterchen/SpringBootAdminApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootAdminApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-config/src/test/java/com/winterchen/SpringBootConfigApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootConfigApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/src/main/java/com/winterchen/SpringBootMybatisHikaricpApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootMybatisHikaricpApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootMybatisHikaricpApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-start/src/test/java/com/winterchen/SpringBootStartApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootStartApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ant_ant_1_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__asm_asm_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/java/com/winterchen/SpringBootActuatorApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootActuatorApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-swagger/src/test/java/com/winterchen/SpringBootSwaggerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootSwaggerApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-exception/src/test/java/com/winterchen/SpringBootExceptionApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootExceptionApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-redisjson/src/main/java/com/winterchen/redisjson/SpringBootRedisjsonApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.redisjson; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootRedisjsonApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootRedisjsonApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf/src/test/java/com/winterchen/SpringBootThymeleafApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootThymeleafApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-dubbo-client/src/test/java/com/winterchen/SpringbootDubboClientApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootDubboClientApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-file-upload/src/test/java/com/winterchen/SpringBootFileUploadApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootFileUploadApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-rabbit-amqp/src/test/java/com/winterchen/SpringBootRabbitAmqpApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootRabbitAmqpApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-validation1/src/test/java/com/winterchen/SpringBootValidation1ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootValidation1ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-dubbo-service/src/test/java/com/winterchen/SpringBootDubboServiceApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootDubboServiceApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/src/main/java/com/winterchen/sentry/SpringBootHadoopSentryApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.sentry; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootHadoopSentryApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootHadoopSentryApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/src/main/java/com/winterchen/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.service; 2 | 3 | import com.winterchen.model.UserDomain; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Created by Donghua.Chen on 2018/7/25. 9 | */ 10 | public interface UserService { 11 | 12 | int insert(UserDomain record); 13 | 14 | void deleteUserById(Integer userId); 15 | 16 | void updateUser(UserDomain userDomain); 17 | 18 | List selectUsers(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /spring-boot-rest-template/src/test/java/com/winterchen/SpringBootRestTemplateApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootRestTemplateApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-webservice-service/src/main/java/com/winterchen/webservice/service/constants/WsConst.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.webservice.service.constants; 2 | 3 | /** 4 | * @author winterchen.com 5 | * @version 1.0 6 | * @date 2021/12/16 10:18 7 | * @description TODO 8 | **/ 9 | public class WsConst { 10 | 11 | public static final String NAMESPACE_URI = "http://www.winterchen.com/webservice"; 12 | public static final String NAMESPACE_URI_USER = "http://user.winterchen.com/webservice"; 13 | 14 | } -------------------------------------------------------------------------------- /.idea/libraries/Maven__ant_ant_1_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__oro_oro_2_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-actuator-admin/src/test/java/com/winterchen/SpringBootActuatorAdminApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootActuatorAdminApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-actuator-client/src/test/java/com/winterchen/SpringBootActuatorClientApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootActuatorClientApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-mybatis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:mysql://localhost:3306/chapter6?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false 2 | spring.datasource.username=root 3 | spring.datasource.password=root 4 | # 注意注意 5 | mybatis.mapper-locations=classpath:mapper/*.xml 6 | mybatis.type-aliases-package=com.winterchen.entity 7 | # 驼峰命名规范 如:数据库字段是 order_id 那么 实体字段就要写成 orderId 8 | mybatis.configuration.map-underscore-to-camel-case=true -------------------------------------------------------------------------------- /spring-boot-rabbitmq-delay/src/test/java/com/winterchen/SpringBootRabbitmqDelayApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootRabbitmqDelayApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/src/test/java/com/winterchen/SpringBootMybatisHikaricpApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootMybatisHikaricpApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jline_jline_2_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 描述信息 2 | info.blog-url=http://winterchen.com 3 | info.author=Luis 4 | info.version=@project.version@ 5 | 6 | # 加载所有的端点/默认只加载了 info / health 7 | management.endpoints.web.exposure.include=* 8 | management.endpoint.health.show-details=always 9 | 10 | # 可以关闭制定的端点 11 | management.endpoint.shutdown.enabled=false 12 | 13 | # 路径映射,将 health 路径映射成 rest_health 那么在访问 health 路径将为404,因为原路径已经变成 rest_health 了,一般情况下不建议使用 14 | # management.endpoints.web.path-mapping.health=rest_health -------------------------------------------------------------------------------- /.idea/libraries/Maven__asm_asm_tree_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/src/main/java/com/winterchen/sentry/service/SentryService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.sentry.service; 2 | 3 | 4 | import org.apache.sentry.api.service.thrift.TSentryRole; 5 | 6 | import java.util.Set; 7 | 8 | /** 9 | * @author winterchen 10 | * @version 1.0 11 | * @date 2021/1/22 11:05 上午 12 | * @description sentry接口 13 | **/ 14 | public interface SentryService { 15 | 16 | Set listAllRoles(String username); 17 | 18 | void createRole(String username, String role); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/src/test/java/com/winterchen/SpringBootMybatisMutilDatabaseApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBootMybatisMutilDatabaseApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__dom4j_dom4j_1_6_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-swagger/src/main/java/com/winterchen/SpringBootSwaggerApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import com.battcn.swagger.annotation.EnableSwagger2Doc; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication 8 | @EnableSwagger2Doc 9 | public class SpringBootSwaggerApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringBootSwaggerApplication.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jline_jline_0_9_94.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_13_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__log4j_log4j_1_2_17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_sf_jpam_jpam_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_ST4_4_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-elasticsearch/src/main/java/com/winterchen/springbootelasticsearch/SpringBootElasticsearchApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.springbootelasticsearch; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootElasticsearchApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootElasticsearchApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-hadoop/src/main/java/com/winterchen/hadoopdemo/HadoopDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.hadoopdemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import springfox.documentation.oas.annotations.EnableOpenApi; 6 | 7 | 8 | @SpringBootApplication 9 | public class HadoopDemoApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(HadoopDemoApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-webservice-client/src/main/java/com/winterchen/webservice/client/SpringBootWebserviceClientApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.webservice.client; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootWebserviceClientApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootWebserviceClientApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_tdunning_json_1_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-cache-redis/src/main/java/com/winterchen/SpringBootCacheRedisApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cache.annotation.EnableCaching; 6 | 7 | @SpringBootApplication 8 | @EnableCaching 9 | public class SpringBootCacheRedisApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringBootCacheRedisApplication.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-webservice-service/src/main/java/com/winterchen/webservice/service/SpringBootWebserviceServiceApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.webservice.service; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootWebserviceServiceApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootWebserviceServiceApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_mail_mail_1_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-lettuce-redis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.redis.host=localhost 2 | spring.redis.port=6379 3 | #spring.redis.password=root #根据需要 4 | # 连接超时时间(毫秒) 5 | spring.redis.timeout=10000 6 | # Redis默认情况下有16个分片,这里配置具体使用的分片,默认是0 7 | spring.redis.database=0 8 | # 连接池最大连接数(使用负值表示没有限制) 默认 8 9 | spring.redis.lettuce.pool.max-active=8 10 | # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认 -1 11 | spring.redis.lettuce.pool.max-wait=-1 12 | # 连接池中的最大空闲连接 默认 8 13 | spring.redis.lettuce.pool.max-idle=8 14 | # 连接池中的最小空闲连接 默认 0 15 | spring.redis.lettuce.pool.min-idle=0 -------------------------------------------------------------------------------- /.idea/libraries/Maven__asm_asm_commons_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jline_jline_3_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mongodb_bson_4_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__stax_stax_api_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_re2j_re2j_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_jcraft_jsch_0_1_55.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__dnsjava_dnsjava_2_1_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_transaction_jta_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_101tec_zkclient_0_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_druid_1_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_druid_1_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_dubbo_2_5_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_ant_ant_1_9_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_ivy_ivy_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-dgs/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_jdo_jdo_api_3_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-hadoop/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-mongodb/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-neo4j/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-redisjson/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_tdunning_t_digest_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_servlet_jsp_api_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_avro_avro_1_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jdt_ecj_3_12_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__redis_clients_jedis_3_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-cache-redis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.redis.host=localhost 2 | spring.redis.port=6379 3 | # 一般来说是不用配置的,Spring Cache 会根据依赖的包自行装配 4 | spring.cache.type=redis 5 | # 连接超时时间(毫秒) 6 | spring.redis.timeout=10000 7 | # Redis默认情况下有16个分片,这里配置具体使用的分片 8 | spring.redis.database=0 9 | # 连接池最大连接数(使用负值表示没有限制) 默认 8 10 | spring.redis.lettuce.pool.max-active=8 11 | # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认 -1 12 | spring.redis.lettuce.pool.max-wait=-1 13 | # 连接池中的最大空闲连接 默认 8 14 | spring.redis.lettuce.pool.max-idle=8 15 | # 连接池中的最小空闲连接 默认 0 16 | spring.redis.lettuce.pool.min-idle=0 -------------------------------------------------------------------------------- /spring-boot-elasticsearch/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-hadoop-sentry/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-mybatis-plugin/src/main/java/com/winterchen/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.mapper; 2 | 3 | import com.winterchen.entity.User; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import tk.mybatis.mapper.common.BaseMapper; 6 | 7 | /** 8 | * Created by Donghua.Chen on 2018/6/7. 9 | */ 10 | @Mapper 11 | public interface UserMapper extends BaseMapper { 12 | 13 | /** 14 | * 根据用户名统计(TODO 假设它是一个很复杂的SQL) 15 | * 16 | * @param username 用户名 17 | * @return 统计结果 18 | */ 19 | int countByUsername(String username); 20 | } 21 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_carrotsearch_hppc_0_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_guava_guava_18_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_inject_guice_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_sf_opencsv_opencsv_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_elasticsearch_jna_4_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_3_4_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xml_apis_xml_apis_1_4_01.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-webservice-client/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-webservice-service/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_beust_jcommander_1_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_squareup_okio_okio_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_zaxxer_HikariCP_2_7_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_el_commons_el_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xerces_xercesImpl_2_10_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_redislabs_jrejson_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__cn_hutool_hutool_all_5_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_fastjson_1_2_46.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_fastjson_1_2_47.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_net_commons_net_3_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_3_7_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__it_unimi_dsi_fastutil_6_5_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_inject_javax_inject_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_10_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_10_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_android_1_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-mybatis-mutil-database/src/main/java/com/winterchen/config/DatabaseContextHolder.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.config; 2 | 3 | /** 4 | * 保存一个线程安全的DatabaseType容器 5 | * Created by Donghua.Chen on 2018/5/29. 6 | */ 7 | public class DatabaseContextHolder { 8 | 9 | private static final ThreadLocal contextHolder = new ThreadLocal<>(); 10 | 11 | public static void setDatabaseType(DatabaseType type) { 12 | contextHolder.set(type); 13 | } 14 | 15 | public static DatabaseType getDatabaseType() { 16 | return contextHolder.get(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_gson_gson_2_8_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_gson_gson_2_8_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javolution_javolution_5_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_neethi_neethi_3_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_glassfish_javax_el_3_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_classmate_1_3_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_airlift_aircompressor_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_3_10_6_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_servlet_servlet_api_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_cxf_cxf_core_3_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_orc_orc_core_1_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__tk_mybatis_mapper_base_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__tk_mybatis_mapper_core_1_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq/src/main/java/cn/luischen/rabbit/many/NeoReceiver1.java: -------------------------------------------------------------------------------- 1 | package cn.luischen.rabbit.many; 2 | 3 | import org.springframework.amqp.rabbit.annotation.RabbitHandler; 4 | import org.springframework.amqp.rabbit.annotation.RabbitListener; 5 | import org.springframework.stereotype.Component; 6 | 7 | /** 8 | * Created by Donghua.Chen on 2018/4/27. 9 | */ 10 | @Component 11 | @RabbitListener(queues = "neo") 12 | public class NeoReceiver1 { 13 | 14 | @RabbitHandler 15 | public void process(String neo){ 16 | System.out.println("NeoReceiver1: [" + neo + "]"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot-rabbitmq/src/main/java/cn/luischen/rabbit/many/NeoReceiver2.java: -------------------------------------------------------------------------------- 1 | package cn.luischen.rabbit.many; 2 | 3 | import org.springframework.amqp.rabbit.annotation.RabbitHandler; 4 | import org.springframework.amqp.rabbit.annotation.RabbitListener; 5 | import org.springframework.stereotype.Component; 6 | 7 | /** 8 | * Created by Donghua.Chen on 2018/4/27. 9 | */ 10 | @Component 11 | @RabbitListener(queues = "neo") 12 | public class NeoReceiver2 { 13 | 14 | @RabbitHandler 15 | public void process(String neo){ 16 | System.out.println("NeoReceiver2: [" + neo + "]"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ant_contrib_ant_contrib_1_0b3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__cn_bestwu_ik_analyzers_5_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_mifmif_generex_1_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_squareup_okhttp_okhttp_2_7_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_dbcp_commons_dbcp_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_pool_commons_pool_1_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_antlr4_runtime_4_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_velocity_velocity_1_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_janino_janino_3_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_jandex_2_0_3_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_projectlombok_lombok_1_18_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xml_resolver_xml_resolver_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-mongodb/src/main/java/com/winterchen/mongodb/SpringBootMongodbApplication.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.mongodb; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.transaction.annotation.EnableTransactionManagement; 6 | 7 | 8 | @SpringBootApplication 9 | @EnableTransactionManagement 10 | public class SpringBootMongodbApplication { 11 | 12 | public static void main(String[] args) { 13 | SpringApplication.run(SpringBootMongodbApplication.class, args); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_guava_guava_27_0_jre.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_rabbitmq_amqp_client_5_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_activation_activation_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_sf_supercsv_super_csv_2_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_hive_hive_jdbc_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jetbrains_annotations_13_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__tk_mybatis_mapper_extra_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-mybatis-hikaricp/src/main/java/com/winterchen/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.dao; 2 | 3 | import com.winterchen.model.UserDomain; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * Created by Donghua.Chen on 2018/7/25. 11 | */ 12 | @Mapper 13 | public interface UserDao { 14 | 15 | int insert(UserDomain record); 16 | 17 | void deleteUserById(@Param("userId") Integer userId); 18 | 19 | void updateUser(UserDomain userDomain); 20 | 21 | List selectUsers(); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__co_cask_tephra_tephra_api_0_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_jersey_core_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_jersey_json_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_7_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_antlr_runtime_3_5_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_derby_derby_10_14_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_kerby_kerb_core_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_kerby_kerb_util_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_kerby_kerby_xdr_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_thrift_libfb303_0_9_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_assertj_assertj_core_3_9_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jamon_jamon_runtime_2_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jolokia_jolokia_core_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_3_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_projectlombok_lombok_1_18_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_projectlombok_lombok_1_18_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_projectlombok_lombok_1_18_18.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_simple_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_8_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-mongodb/src/main/java/com/winterchen/mongodb/service/PoemService.java: -------------------------------------------------------------------------------- 1 | package com.winterchen.mongodb.service; 2 | 3 | import com.winterchen.mongodb.model.Poem; 4 | 5 | import java.util.List; 6 | 7 | public interface PoemService { 8 | 9 | Poem insertOne(Poem poem) throws Throwable; 10 | 11 | List inertMany(List poemList); 12 | 13 | 14 | void deleteByAuthor(String author); 15 | 16 | void updateFirst(Poem poem); 17 | 18 | void updateMulti(Poem poem); 19 | 20 | void upsert(Poem poem); 21 | 22 | List selectManyByAuthor(String author); 23 | 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__co_cask_tephra_tephra_core_0_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_swagger_swagger_core_1_5_22.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_cxf_cxf_rt_wsdl_3_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_hive_hive_serde_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_hive_hive_shims_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_thrift_libthrift_0_9_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_fusesource_hawtbuf_hawtbuf_1_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__tk_mybatis_mapper_spring_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | --------------------------------------------------------------------------------