diff --git a/chapter1/.idea/compiler.xml b/chapter1/.idea/compiler.xml new file mode 100755 index 000000000..c5c9b3b11 --- /dev/null +++ b/chapter1/.idea/compiler.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/encodings.xml b/chapter1/.idea/encodings.xml new file mode 100755 index 000000000..1f4404bc9 --- /dev/null +++ b/chapter1/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/kotlinc.xml b/chapter1/.idea/kotlinc.xml new file mode 100755 index 000000000..1c24f9a8d --- /dev/null +++ b/chapter1/.idea/kotlinc.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__antlr_antlr_2_7_7.xml b/chapter1/.idea/libraries/Maven__antlr_antlr_2_7_7.xml new file mode 100755 index 000000000..85dd96de4 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__antlr_antlr_2_7_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml b/chapter1/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml new file mode 100755 index 000000000..750f9e713 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_11.xml b/chapter1/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_11.xml new file mode 100755 index 000000000..4c3a8bc26 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_11.xml b/chapter1/.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_11.xml new file mode 100755 index 000000000..df852c6ca --- /dev/null +++ b/chapter1/.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_classmate_1_3_3.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_classmate_1_3_3.xml new file mode 100755 index 000000000..34cc275f1 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_classmate_1_3_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml new file mode 100755 index 000000000..694668707 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_8_7.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_8_7.xml new file mode 100755 index 000000000..2534243c0 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_8_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_8_7.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_8_7.xml new file mode 100755 index 000000000..bce32dca8 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_8_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_xml_2_8_7.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_xml_2_8_7.xml new file mode 100755 index 000000000..3341a85f4 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_xml_2_8_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_7.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_7.xml new file mode 100755 index 000000000..04f419762 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_fasterxml_woodstox_woodstox_core_5_0_3.xml b/chapter1/.idea/libraries/Maven__com_fasterxml_woodstox_woodstox_core_5_0_3.xml new file mode 100755 index 000000000..8a3c83086 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_fasterxml_woodstox_woodstox_core_5_0_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_1.xml b/chapter1/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_1.xml new file mode 100755 index 000000000..bb5e92c77 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml b/chapter1/.idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml new file mode 100755 index 000000000..2c629d87e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_code_gson_gson_2_8_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_guava_guava_18_0.xml b/chapter1/.idea/libraries/Maven__com_google_guava_guava_18_0.xml new file mode 100755 index 000000000..01918eff6 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_guava_guava_18_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_assistedinject_4_0.xml b/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_assistedinject_4_0.xml new file mode 100755 index 000000000..4ac4264c1 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_assistedinject_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_grapher_4_0.xml b/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_grapher_4_0.xml new file mode 100755 index 000000000..c95d4200a --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_grapher_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_multibindings_4_0.xml b/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_multibindings_4_0.xml new file mode 100755 index 000000000..a8acb4932 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_inject_extensions_guice_multibindings_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_google_inject_guice_4_1_0.xml b/chapter1/.idea/libraries/Maven__com_google_inject_guice_4_1_0.xml new file mode 100755 index 000000000..67132b63f --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_google_inject_guice_4_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_2_0.xml b/chapter1/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_2_0.xml new file mode 100755 index 000000000..3a4386674 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_archaius_archaius_core_0_7_4.xml b/chapter1/.idea/libraries/Maven__com_netflix_archaius_archaius_core_0_7_4.xml new file mode 100755 index 000000000..3f7487ffc --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_archaius_archaius_core_0_7_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_eureka_eureka_client_1_6_1.xml b/chapter1/.idea/libraries/Maven__com_netflix_eureka_eureka_client_1_6_1.xml new file mode 100755 index 000000000..c7eed3d53 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_eureka_eureka_client_1_6_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_eureka_eureka_core_1_6_1.xml b/chapter1/.idea/libraries/Maven__com_netflix_eureka_eureka_core_1_6_1.xml new file mode 100755 index 000000000..f3865aa40 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_eureka_eureka_core_1_6_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_1_12_10.xml b/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_1_12_10.xml new file mode 100755 index 000000000..2e7c8eac8 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_1_12_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_api_1_12_10.xml b/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_api_1_12_10.xml new file mode 100755 index 000000000..4adb3b1ca --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_api_1_12_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_core_1_12_10.xml b/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_core_1_12_10.xml new file mode 100755 index 000000000..32f78eda9 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_governator_governator_core_1_12_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_hystrix_hystrix_core_1_5_10.xml b/chapter1/.idea/libraries/Maven__com_netflix_hystrix_hystrix_core_1_5_10.xml new file mode 100755 index 000000000..376a78796 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_hystrix_hystrix_core_1_5_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml new file mode 100755 index 000000000..72398f008 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_eventbus_0_3_0.xml b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_eventbus_0_3_0.xml new file mode 100755 index 000000000..210608f54 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_eventbus_0_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_infix_0_3_0.xml b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_infix_0_3_0.xml new file mode 100755 index 000000000..2930e5611 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_infix_0_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml new file mode 100755 index 000000000..7674ea127 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_2_2.xml b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_2_2.xml new file mode 100755 index 000000000..f50fd30ea --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_core_2_2_2.xml b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_core_2_2_2.xml new file mode 100755 index 000000000..4452fdbc3 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_core_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_eureka_2_2_2.xml b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_eureka_2_2_2.xml new file mode 100755 index 000000000..2662bb320 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_eureka_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_httpclient_2_2_2.xml b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_httpclient_2_2_2.xml new file mode 100755 index 000000000..3fcc82890 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_httpclient_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_loadbalancer_2_2_2.xml b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_loadbalancer_2_2_2.xml new file mode 100755 index 000000000..f00f7b247 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_loadbalancer_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_transport_2_2_2.xml b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_transport_2_2_2.xml new file mode 100755 index 000000000..d4502fe32 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_ribbon_ribbon_transport_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_servo_servo_core_0_10_1.xml b/chapter1/.idea/libraries/Maven__com_netflix_servo_servo_core_0_10_1.xml new file mode 100755 index 000000000..c1eaa0662 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_servo_servo_core_0_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_netflix_servo_servo_internal_0_10_1.xml b/chapter1/.idea/libraries/Maven__com_netflix_servo_servo_internal_0_10_1.xml new file mode 100755 index 000000000..39aa7d579 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_netflix_servo_servo_internal_0_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19_1.xml b/chapter1/.idea/libraries/Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19_1.xml new file mode 100755 index 000000000..6cca03801 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_client_1_19_1.xml b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_client_1_19_1.xml new file mode 100755 index 000000000..3524eefca --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_client_1_19_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_19_1.xml b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_19_1.xml new file mode 100755 index 000000000..c9e57e149 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_19_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_19_1.xml b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_19_1.xml new file mode 100755 index 000000000..d21adf92e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_19_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_servlet_1_19_1.xml b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_servlet_1_19_1.xml new file mode 100755 index 000000000..d97d9877e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_sun_jersey_jersey_servlet_1_19_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml b/chapter1/.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml new file mode 100755 index 000000000..975bb7cfd --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/chapter1/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml new file mode 100755 index 000000000..4e899c8b0 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml b/chapter1/.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml new file mode 100755 index 000000000..d76cc837e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml b/chapter1/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml new file mode 100755 index 000000000..b1d9b9173 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__commons_configuration_commons_configuration_1_8.xml b/chapter1/.idea/libraries/Maven__commons_configuration_commons_configuration_1_8.xml new file mode 100755 index 000000000..d07957346 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__commons_configuration_commons_configuration_1_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__commons_jxpath_commons_jxpath_1_3.xml b/chapter1/.idea/libraries/Maven__commons_jxpath_commons_jxpath_1_3.xml new file mode 100755 index 000000000..ef1bc1ada --- /dev/null +++ b/chapter1/.idea/libraries/Maven__commons_jxpath_commons_jxpath_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml b/chapter1/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml new file mode 100755 index 000000000..d476d0caa --- /dev/null +++ b/chapter1/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_buffer_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_buffer_4_0_27_Final.xml new file mode 100755 index 000000000..df2986809 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_buffer_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_codec_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_codec_4_0_27_Final.xml new file mode 100755 index 000000000..b097e7d30 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_codec_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_codec_http_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_codec_http_4_0_27_Final.xml new file mode 100755 index 000000000..eb5cb3163 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_codec_http_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_common_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_common_4_0_27_Final.xml new file mode 100755 index 000000000..94c24cb34 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_common_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_handler_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_handler_4_0_27_Final.xml new file mode 100755 index 000000000..37f1fc877 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_handler_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_transport_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_transport_4_0_27_Final.xml new file mode 100755 index 000000000..4db3d9f22 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_transport_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml b/chapter1/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml new file mode 100755 index 000000000..6d44d5d62 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_reactivex_rxjava_1_1_10.xml b/chapter1/.idea/libraries/Maven__io_reactivex_rxjava_1_1_10.xml new file mode 100755 index 000000000..3b6b87673 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_reactivex_rxjava_1_1_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml b/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml new file mode 100755 index 000000000..5aeb63795 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_contexts_0_4_9.xml b/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_contexts_0_4_9.xml new file mode 100755 index 000000000..cb832757f --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_contexts_0_4_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_servo_0_4_9.xml b/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_servo_0_4_9.xml new file mode 100755 index 000000000..eb468d6c3 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__io_reactivex_rxnetty_servo_0_4_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__javax_inject_javax_inject_1.xml b/chapter1/.idea/libraries/Maven__javax_inject_javax_inject_1.xml new file mode 100755 index 000000000..02fc939de --- /dev/null +++ b/chapter1/.idea/libraries/Maven__javax_inject_javax_inject_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__javax_validation_validation_api_1_1_0_Final.xml b/chapter1/.idea/libraries/Maven__javax_validation_validation_api_1_1_0_Final.xml new file mode 100755 index 000000000..c6ed18f0c --- /dev/null +++ b/chapter1/.idea/libraries/Maven__javax_validation_validation_api_1_1_0_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml b/chapter1/.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml new file mode 100755 index 000000000..b10346479 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml b/chapter1/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml new file mode 100755 index 000000000..64748a8dc --- /dev/null +++ b/chapter1/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__joda_time_joda_time_2_9_7.xml b/chapter1/.idea/libraries/Maven__joda_time_joda_time_2_9_7.xml new file mode 100755 index 000000000..21358c7ac --- /dev/null +++ b/chapter1/.idea/libraries/Maven__joda_time_joda_time_2_9_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__junit_junit_4_12.xml b/chapter1/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100755 index 000000000..2740d8a69 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__net_minidev_accessors_smart_1_1.xml b/chapter1/.idea/libraries/Maven__net_minidev_accessors_smart_1_1.xml new file mode 100755 index 000000000..1cdbd278a --- /dev/null +++ b/chapter1/.idea/libraries/Maven__net_minidev_accessors_smart_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__net_minidev_json_smart_2_2_1.xml b/chapter1/.idea/libraries/Maven__net_minidev_json_smart_2_2_1.xml new file mode 100755 index 000000000..48ffbb2ca --- /dev/null +++ b/chapter1/.idea/libraries/Maven__net_minidev_json_smart_2_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_antlr_antlr_runtime_3_4.xml b/chapter1/.idea/libraries/Maven__org_antlr_antlr_runtime_3_4.xml new file mode 100755 index 000000000..98f48525e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_antlr_antlr_runtime_3_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_antlr_stringtemplate_3_2_1.xml b/chapter1/.idea/libraries/Maven__org_antlr_stringtemplate_3_2_1.xml new file mode 100755 index 000000000..1c0a992d5 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_antlr_stringtemplate_3_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_apache_commons_commons_math_2_2.xml b/chapter1/.idea/libraries/Maven__org_apache_commons_commons_math_2_2.xml new file mode 100755 index 000000000..2efd08208 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_apache_commons_commons_math_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_5_3.xml b/chapter1/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_5_3.xml new file mode 100755 index 000000000..373425f82 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_5_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_6.xml b/chapter1/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_6.xml new file mode 100755 index 000000000..807e468d1 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_11.xml b/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_11.xml new file mode 100755 index 000000000..d3546512a --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_11.xml b/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_11.xml new file mode 100755 index 000000000..990a81370 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_11.xml b/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_11.xml new file mode 100755 index 000000000..1c602a858 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_assertj_assertj_core_2_6_0.xml b/chapter1/.idea/libraries/Maven__org_assertj_assertj_core_2_6_0.xml new file mode 100755 index 000000000..5b0af6055 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_assertj_assertj_core_2_6_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_55.xml b/chapter1/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_55.xml new file mode 100755 index 000000000..a8c0eb28b --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_55.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml b/chapter1/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml new file mode 100755 index 000000000..10bd676cf --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml b/chapter1/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml new file mode 100755 index 000000000..a8f0205ea --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_4.xml b/chapter1/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_4.xml new file mode 100755 index 000000000..0d2f08f28 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_4_1.xml b/chapter1/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_4_1.xml new file mode 100755 index 000000000..2f360abf0 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_freemarker_freemarker_2_3_25_incubating.xml b/chapter1/.idea/libraries/Maven__org_freemarker_freemarker_2_3_25_incubating.xml new file mode 100755 index 000000000..4b856f91c --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_freemarker_freemarker_2_3_25_incubating.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/chapter1/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml new file mode 100755 index 000000000..da958769c --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml b/chapter1/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml new file mode 100755 index 000000000..aff48a5d7 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml b/chapter1/.idea/libraries/Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml new file mode 100755 index 000000000..00d16ffc4 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_hibernate_hibernate_validator_5_3_4_Final.xml b/chapter1/.idea/libraries/Maven__org_hibernate_hibernate_validator_5_3_4_Final.xml new file mode 100755 index 000000000..f841fd7a7 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_hibernate_hibernate_validator_5_3_4_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_0_Final.xml b/chapter1/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_0_Final.xml new file mode 100755 index 000000000..e3386098e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_0_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_mockito_mockito_core_1_10_19.xml b/chapter1/.idea/libraries/Maven__org_mockito_mockito_core_1_10_19.xml new file mode 100755 index 000000000..3c1c587a8 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_mockito_mockito_core_1_10_19.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_objenesis_objenesis_2_1.xml b/chapter1/.idea/libraries/Maven__org_objenesis_objenesis_2_1.xml new file mode 100755 index 000000000..652ec0159 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_objenesis_objenesis_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml b/chapter1/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml new file mode 100755 index 000000000..2fe502460 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_4_0.xml b/chapter1/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_4_0.xml new file mode 100755 index 000000000..bd68d17f6 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_24.xml b/chapter1/.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_24.xml new file mode 100755 index 000000000..ffb241238 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_24.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_24.xml b/chapter1/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_24.xml new file mode 100755 index 000000000..b9f53c99b --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_24.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_24.xml b/chapter1/.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_24.xml new file mode 100755 index 000000000..bd985d786 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_24.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_24.xml b/chapter1/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_24.xml new file mode 100755 index 000000000..d3e8de402 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_24.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_1_5_2_RELEASE.xml new file mode 100755 index 000000000..320673e4c --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_actuator_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_actuator_1_5_2_RELEASE.xml new file mode 100755 index 000000000..683ac720e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_actuator_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_2_RELEASE.xml new file mode 100755 index 000000000..60b146b65 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_5_2_RELEASE.xml new file mode 100755 index 000000000..9067eea62 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_2_RELEASE.xml new file mode 100755 index 000000000..49e7e1661 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_2_RELEASE.xml new file mode 100755 index 000000000..c8feeb60a --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_5_2_RELEASE.xml new file mode 100755 index 000000000..a9f8fd994 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_5_2_RELEASE.xml new file mode 100755 index 000000000..80ff3d191 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_2_RELEASE.xml new file mode 100755 index 000000000..2fe7e2066 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_5_2_RELEASE.xml new file mode 100755 index 000000000..982f7ecc3 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_1_5_2_RELEASE.xml new file mode 100755 index 000000000..47306a749 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_2_RELEASE.xml new file mode 100755 index 000000000..9c43590cb --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_1_2_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_1_2_0_RC1.xml new file mode 100755 index 000000000..0d33e908d --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_1_2_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_1_2_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_1_2_0_RC1.xml new file mode 100755 index 000000000..35d444147 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_1_2_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_0_RC1.xml new file mode 100755 index 000000000..2a6b69122 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_0_RC1.xml new file mode 100755 index 000000000..8dcf988fb --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_0_RC1.xml new file mode 100755 index 000000000..6cb07c4e6 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_1_2_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_1_2_0_RC1.xml new file mode 100755 index 000000000..f94256ad7 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_1_2_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_0_RC1.xml new file mode 100755 index 000000000..551a84d9e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_1_3_0_RC1.xml new file mode 100755 index 000000000..f01faa4ae --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_0_RC1.xml new file mode 100755 index 000000000..762118f7e --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_0_RC1.xml b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_0_RC1.xml new file mode 100755 index 000000000..7ad239294 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_0_RC1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_security_spring_security_crypto_4_2_2_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_security_spring_security_crypto_4_2_2_RELEASE.xml new file mode 100755 index 000000000..fd753faae --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_security_spring_security_crypto_4_2_2_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_3_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_3_RELEASE.xml new file mode 100755 index 000000000..4374e6fe1 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_3_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_aop_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_aop_4_3_7_RELEASE.xml new file mode 100755 index 000000000..bf601f773 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_aop_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_beans_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_beans_4_3_7_RELEASE.xml new file mode 100755 index 000000000..d8ecff6db --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_beans_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_context_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_context_4_3_7_RELEASE.xml new file mode 100755 index 000000000..5d45305c0 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_context_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_context_support_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_context_support_4_3_7_RELEASE.xml new file mode 100755 index 000000000..91a99fa9c --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_context_support_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_core_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_core_4_3_7_RELEASE.xml new file mode 100755 index 000000000..a5c67a95c --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_core_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_expression_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_expression_4_3_7_RELEASE.xml new file mode 100755 index 000000000..4e7b7b331 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_expression_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_test_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_test_4_3_7_RELEASE.xml new file mode 100755 index 000000000..ba8d8eeb4 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_test_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_web_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_web_4_3_7_RELEASE.xml new file mode 100755 index 000000000..fc0f22758 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_web_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_springframework_spring_webmvc_4_3_7_RELEASE.xml b/chapter1/.idea/libraries/Maven__org_springframework_spring_webmvc_4_3_7_RELEASE.xml new file mode 100755 index 000000000..2e7b259fc --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_springframework_spring_webmvc_4_3_7_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml b/chapter1/.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml new file mode 100755 index 000000000..e6a9a38b6 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__stax_stax_api_1_0_1.xml b/chapter1/.idea/libraries/Maven__stax_stax_api_1_0_1.xml new file mode 100755 index 000000000..403bdcece --- /dev/null +++ b/chapter1/.idea/libraries/Maven__stax_stax_api_1_0_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml b/chapter1/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml new file mode 100755 index 000000000..9eea95f0b --- /dev/null +++ b/chapter1/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml b/chapter1/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml new file mode 100755 index 000000000..b20ce8eb6 --- /dev/null +++ b/chapter1/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/misc.xml b/chapter1/.idea/misc.xml new file mode 100755 index 000000000..9907f1e54 --- /dev/null +++ b/chapter1/.idea/misc.xml @@ -0,0 +1,15 @@ + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/modules.xml b/chapter1/.idea/modules.xml new file mode 100755 index 000000000..0dfcf06c8 --- /dev/null +++ b/chapter1/.idea/modules.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/.idea/workspace.xml b/chapter1/.idea/workspace.xml new file mode 100755 index 000000000..0f0f591e2 --- /dev/null +++ b/chapter1/.idea/workspace.xml @@ -0,0 +1,929 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1491458505949 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Spring + + + + + + + + + + + + + + + 1.8 + + + + + + + + eureka-server + + + + + + + + 1.8 + + + + + + + + Maven: antlr:antlr:2.7.7 + + + + + + + + \ No newline at end of file diff --git a/chapter1/chapter1.iml b/chapter1/chapter1.iml new file mode 100755 index 000000000..8d8ffd981 --- /dev/null +++ b/chapter1/chapter1.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/chapter1/eureka-server/.gitignore b/chapter1/eureka-server/.gitignore new file mode 100755 index 000000000..2af7cefb0 --- /dev/null +++ b/chapter1/eureka-server/.gitignore @@ -0,0 +1,24 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +nbproject/private/ +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ \ No newline at end of file diff --git a/chapter1/eureka-server/.mvn/wrapper/maven-wrapper.jar b/chapter1/eureka-server/.mvn/wrapper/maven-wrapper.jar new file mode 100755 index 000000000..5fd4d5023 Binary files /dev/null and b/chapter1/eureka-server/.mvn/wrapper/maven-wrapper.jar differ diff --git a/chapter1/eureka-server/.mvn/wrapper/maven-wrapper.properties b/chapter1/eureka-server/.mvn/wrapper/maven-wrapper.properties new file mode 100755 index 000000000..c954cec91 --- /dev/null +++ b/chapter1/eureka-server/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1 @@ +distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip diff --git a/chapter1/eureka-server/mvnw b/chapter1/eureka-server/mvnw new file mode 100755 index 000000000..a1ba1bf55 --- /dev/null +++ b/chapter1/eureka-server/mvnw @@ -0,0 +1,233 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven2 Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # + # Look for the Apple JDKs first to preserve the existing behaviour, and then look + # for the new JDKs provided by Oracle. + # + if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then + # + # Apple JDKs + # + export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then + # + # Apple JDKs + # + export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then + # + # Oracle JDKs + # + export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then + # + # Apple JDKs + # + export JAVA_HOME=`/usr/libexec/java_home` + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Migwn, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" + # TODO classpath? +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` +fi + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + local basedir=$(pwd) + local wdir=$(pwd) + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + wdir=$(cd "$wdir/.."; pwd) + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-$(find_maven_basedir)} +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} "$@" diff --git a/chapter1/eureka-server/mvnw.cmd b/chapter1/eureka-server/mvnw.cmd new file mode 100755 index 000000000..2b934e89d --- /dev/null +++ b/chapter1/eureka-server/mvnw.cmd @@ -0,0 +1,145 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven2 Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +set MAVEN_CMD_LINE_ARGS=%* + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" + +set WRAPPER_JAR="".\.mvn\wrapper\maven-wrapper.jar"" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS% +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% \ No newline at end of file diff --git a/chapter1/eureka-server/pom.xml b/chapter1/eureka-server/pom.xml new file mode 100755 index 000000000..c2d69ca8a --- /dev/null +++ b/chapter1/eureka-server/pom.xml @@ -0,0 +1,73 @@ + + + 4.0.0 + + com.forezp + eureka-server + 0.0.1-SNAPSHOT + jar + + eureka-server + Demo project for Spring Boot + + + org.springframework.boot + spring-boot-starter-parent + 1.5.2.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.cloud + spring-cloud-starter-eureka-server + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.cloud + spring-cloud-dependencies + Dalston.RC1 + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + diff --git a/chapter1/eureka-server/src/main/java/com/forezp/EurekaServerApplication.java b/chapter1/eureka-server/src/main/java/com/forezp/EurekaServerApplication.java new file mode 100755 index 000000000..05efafa36 --- /dev/null +++ b/chapter1/eureka-server/src/main/java/com/forezp/EurekaServerApplication.java @@ -0,0 +1,14 @@ +package com.forezp; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; + +@EnableEurekaServer +@SpringBootApplication +public class EurekaServerApplication { + + public static void main(String[] args) { + SpringApplication.run(EurekaServerApplication.class, args); + } +} diff --git a/chapter1/eureka-server/src/main/resources/application.yml b/chapter1/eureka-server/src/main/resources/application.yml new file mode 100755 index 000000000..892419535 --- /dev/null +++ b/chapter1/eureka-server/src/main/resources/application.yml @@ -0,0 +1,11 @@ +server: + port: 8761 + +eureka: + instance: + hostname: localhost + client: + registerWithEureka: false + fetchRegistry: false + serviceUrl: + defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ \ No newline at end of file diff --git a/chapter1/eureka-server/src/test/java/com/forezp/EurekaServerApplicationTests.java b/chapter1/eureka-server/src/test/java/com/forezp/EurekaServerApplicationTests.java new file mode 100755 index 000000000..8de4708ac --- /dev/null +++ b/chapter1/eureka-server/src/test/java/com/forezp/EurekaServerApplicationTests.java @@ -0,0 +1,16 @@ +package com.forezp; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class EurekaServerApplicationTests { + + @Test + public void contextLoads() { + } + +} diff --git a/chapter1/pom.xml b/chapter1/pom.xml new file mode 100755 index 000000000..9255e4f4a --- /dev/null +++ b/chapter1/pom.xml @@ -0,0 +1,12 @@ + + + 4.0.0 + + com.forezp + chapter1 + 1.0-SNAPSHOT + + + \ No newline at end of file diff --git a/chapter1/service-hi/.gitignore b/chapter1/service-hi/.gitignore new file mode 100755 index 000000000..2af7cefb0 --- /dev/null +++ b/chapter1/service-hi/.gitignore @@ -0,0 +1,24 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +nbproject/private/ +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ \ No newline at end of file diff --git a/chapter1/service-hi/.mvn/wrapper/maven-wrapper.jar b/chapter1/service-hi/.mvn/wrapper/maven-wrapper.jar new file mode 100755 index 000000000..5fd4d5023 Binary files /dev/null and b/chapter1/service-hi/.mvn/wrapper/maven-wrapper.jar differ diff --git a/chapter1/service-hi/.mvn/wrapper/maven-wrapper.properties b/chapter1/service-hi/.mvn/wrapper/maven-wrapper.properties new file mode 100755 index 000000000..c954cec91 --- /dev/null +++ b/chapter1/service-hi/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1 @@ +distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip diff --git a/chapter1/service-hi/mvnw b/chapter1/service-hi/mvnw new file mode 100755 index 000000000..a1ba1bf55 --- /dev/null +++ b/chapter1/service-hi/mvnw @@ -0,0 +1,233 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven2 Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # + # Look for the Apple JDKs first to preserve the existing behaviour, and then look + # for the new JDKs provided by Oracle. + # + if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then + # + # Apple JDKs + # + export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then + # + # Apple JDKs + # + export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then + # + # Oracle JDKs + # + export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then + # + # Apple JDKs + # + export JAVA_HOME=`/usr/libexec/java_home` + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Migwn, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" + # TODO classpath? +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` +fi + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + local basedir=$(pwd) + local wdir=$(pwd) + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + wdir=$(cd "$wdir/.."; pwd) + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-$(find_maven_basedir)} +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} "$@" diff --git a/chapter1/service-hi/mvnw.cmd b/chapter1/service-hi/mvnw.cmd new file mode 100755 index 000000000..2b934e89d --- /dev/null +++ b/chapter1/service-hi/mvnw.cmd @@ -0,0 +1,145 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven2 Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +set MAVEN_CMD_LINE_ARGS=%* + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" + +set WRAPPER_JAR="".\.mvn\wrapper\maven-wrapper.jar"" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS% +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% \ No newline at end of file diff --git a/chapter1/service-hi/pom.xml b/chapter1/service-hi/pom.xml new file mode 100755 index 000000000..8befb8b2d --- /dev/null +++ b/chapter1/service-hi/pom.xml @@ -0,0 +1,77 @@ + + + 4.0.0 + + com.forezp + service-hi + 0.0.1-SNAPSHOT + jar + + service-hi + Demo project for Spring Boot + + + org.springframework.boot + spring-boot-starter-parent + 1.5.2.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.cloud + spring-cloud-starter-eureka + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.cloud + spring-cloud-dependencies + Dalston.RC1 + pom + import + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + diff --git a/chapter1/service-hi/src/main/java/com/forezp/ServiceHiApplication.java b/chapter1/service-hi/src/main/java/com/forezp/ServiceHiApplication.java new file mode 100755 index 000000000..b5745d783 --- /dev/null +++ b/chapter1/service-hi/src/main/java/com/forezp/ServiceHiApplication.java @@ -0,0 +1,27 @@ +package com.forezp; + +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +@SpringBootApplication +@EnableEurekaClient +@RestController +public class ServiceHiApplication { + + public static void main(String[] args) { + SpringApplication.run(ServiceHiApplication.class, args); + } + + @Value("${server.port}") + String port; + @RequestMapping("/hi") + public String home(@RequestParam String name) { + return "hi "+name+",i am from port:" +port; + } + +} diff --git a/chapter1/service-hi/src/main/resources/bootstrap.yml b/chapter1/service-hi/src/main/resources/bootstrap.yml new file mode 100755 index 000000000..2cc9eae09 --- /dev/null +++ b/chapter1/service-hi/src/main/resources/bootstrap.yml @@ -0,0 +1,9 @@ +eureka: + client: + serviceUrl: + defaultZone: http://localhost:8761/eureka/ +server: + port: 8762 +spring: + application: + name: service-hi \ No newline at end of file diff --git a/chapter1/service-hi/src/test/java/com/forezp/ServiceHiApplicationTests.java b/chapter1/service-hi/src/test/java/com/forezp/ServiceHiApplicationTests.java new file mode 100755 index 000000000..343e1bcc9 --- /dev/null +++ b/chapter1/service-hi/src/test/java/com/forezp/ServiceHiApplicationTests.java @@ -0,0 +1,16 @@ +package com.forezp; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class ServiceHiApplicationTests { + + @Test + public void contextLoads() { + } + +}