diff --git a/Lab2/insurancewebapp-master/.idea/.gitignore b/Lab2/insurancewebapp-master/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/Lab2/insurancewebapp-master/.idea/.name b/Lab2/insurancewebapp-master/.idea/.name new file mode 100644 index 0000000000000000000000000000000000000000..cb81da39462e586961630fb86f543af4915d16b9 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/.name @@ -0,0 +1 @@ +InsuranceApp \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/compiler.xml b/Lab2/insurancewebapp-master/.idea/compiler.xml new file mode 100644 index 0000000000000000000000000000000000000000..70400edf66bcbfcb7893cb407f9b09536cb22f63 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/compiler.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="CompilerConfiguration"> + <annotationProcessing> + <profile name="Maven default annotation processors profile" enabled="true"> + <sourceOutputDir name="target/generated-sources/annotations" /> + <sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> + <outputRelativeToContentRoot value="true" /> + <module name="InsuranceApp" /> + </profile> + </annotationProcessing> + <bytecodeTargetLevel target="8"> + <module name="InsuranceApp" target="8" /> + </bytecodeTargetLevel> + </component> + <component name="JavacSettings"> + <option name="ADDITIONAL_OPTIONS_OVERRIDE"> + <module name="InsuranceApp" options="-parameters" /> + </option> + </component> +</project> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/encodings.xml b/Lab2/insurancewebapp-master/.idea/encodings.xml new file mode 100644 index 0000000000000000000000000000000000000000..63e900193296f8ed911a1b9f5b051cf908099431 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/encodings.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="Encoding"> + <file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" /> + </component> +</project> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/jarRepositories.xml b/Lab2/insurancewebapp-master/.idea/jarRepositories.xml new file mode 100644 index 0000000000000000000000000000000000000000..712ab9d985c20018a0c97b93d2148ac1ffe588a5 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="RemoteRepositoriesConfiguration"> + <remote-repository> + <option name="id" value="central" /> + <option name="name" value="Central Repository" /> + <option name="url" value="https://repo.maven.apache.org/maven2" /> + </remote-repository> + <remote-repository> + <option name="id" value="central" /> + <option name="name" value="Maven Central repository" /> + <option name="url" value="https://repo1.maven.org/maven2" /> + </remote-repository> + <remote-repository> + <option name="id" value="jboss.community" /> + <option name="name" value="JBoss Community repository" /> + <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" /> + </remote-repository> + </component> +</project> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..6fec8f4346ac31350b855bd6cd3886f1d15e3f79 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: ch.qos.logback:logback-classic:1.2.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..9eb8596a33a55f6e2480baf37393b24b7ae8da60 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: ch.qos.logback:logback-core:1.2.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..3aa81754b9683f49bc6a556ba5d48b78e9c1e684 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.11.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..bd0d97911800fd2c4b07cb0f49ba8535801de038 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.fasterxml.jackson.core:jackson-core:2.11.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..08c00104bccc80dbb921209b09ed4c7beb0257fc --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.11.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..ea31a53c1f5025a7456a28b7cac35623fd0718e5 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.1/jackson-datatype-jdk8-2.11.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.1/jackson-datatype-jdk8-2.11.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.1/jackson-datatype-jdk8-2.11.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..50b2736c38d1aa4182ec4379716794e1de2b4223 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.1/jackson-datatype-jsr310-2.11.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.1/jackson-datatype-jsr310-2.11.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.1/jackson-datatype-jsr310-2.11.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..6eac9737ae6ac661f93d383a6bb3ebdbf8e0cfe3 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.1/jackson-module-parameter-names-2.11.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.1/jackson-module-parameter-names-2.11.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/module/jackson-module-parameter-names/2.11.1/jackson-module-parameter-names-2.11.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..f19f6eb36d90a68eaceb438559d62b3054eaef31 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.jayway.jsonpath:json-path:2.4.0"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml new file mode 100644 index 0000000000000000000000000000000000000000..b8581a6f5eef96c4979f258063e7c7c8d633f024 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..be90656e69bb0356d5fbed85d2639aeac6c5f16a --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: jakarta.activation:jakarta.activation-api:1.2.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml new file mode 100644 index 0000000000000000000000000000000000000000..cba9dd244f222ce7ecbdcab4c7f9621a57fe1a67 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..04213f73868a39471664c431bdb5073055eb36d5 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: jakarta.xml.bind:jakarta.xml.bind-api:2.3.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_13.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_13.xml new file mode 100644 index 0000000000000000000000000000000000000000..74f49f31671beecdfdddf19aea878eb0f480d512 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_13.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: net.bytebuddy:byte-buddy:1.10.13"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.10.13/byte-buddy-1.10.13.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.10.13/byte-buddy-1.10.13-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.10.13/byte-buddy-1.10.13-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_13.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_13.xml new file mode 100644 index 0000000000000000000000000000000000000000..768d1aad10bd1d46ecf074f5b3658530ee30e101 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_13.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: net.bytebuddy:byte-buddy-agent:1.10.13"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy-agent/1.10.13/byte-buddy-agent-1.10.13.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy-agent/1.10.13/byte-buddy-agent-1.10.13-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy-agent/1.10.13/byte-buddy-agent-1.10.13-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..b3d38583846d5aa1772f53caeccc169761a55a6f --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: net.minidev:accessors-smart:1.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.2/accessors-smart-1.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/accessors-smart/1.2/accessors-smart-1.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..108302355fbaaf40e819f97756e3ed357517a466 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: net.minidev:json-smart:2.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/json-smart/2.3/json-smart-2.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/json-smart/2.3/json-smart-2.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/net/minidev/json-smart/2.3/json-smart-2.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..8ad499666deb18b7b66bbe7b7af75a4cb9d0a946 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.apache.logging.log4j:log4j-api:2.13.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/logging/log4j/log4j-api/2.13.3/log4j-api-2.13.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..57e6ac4878219cace6e087de5021bc4b5a223092 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.13.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/logging/log4j/log4j-to-slf4j/2.13.3/log4j-to-slf4j-2.13.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_37.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_37.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e39935e6806903090d77f6d72f530e1987dffd5 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_37.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.37"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-core/9.0.37/tomcat-embed-core-9.0.37.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-core/9.0.37/tomcat-embed-core-9.0.37-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-core/9.0.37/tomcat-embed-core-9.0.37-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_37.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_37.xml new file mode 100644 index 0000000000000000000000000000000000000000..6a300568b4090ccda2b71fead4f7ddd6c9a865cc --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_37.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.37"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.37/tomcat-embed-websocket-9.0.37.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.37/tomcat-embed-websocket-9.0.37-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.37/tomcat-embed-websocket-9.0.37-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..f854ab00fdbf2e7209bbdf678f7c45f3bb209378 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.apiguardian:apiguardian-api:1.1.0"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_assertj_assertj_core_3_16_1.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_assertj_assertj_core_3_16_1.xml new file mode 100644 index 0000000000000000000000000000000000000000..89765002a792d3fd2fba7f7c7c3d7afaf224225c --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_assertj_assertj_core_3_16_1.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.assertj:assertj-core:3.16.1"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/assertj/assertj-core/3.16.1/assertj-core-3.16.1-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..ae5020d69f0e700c9eca359ae07f33d714285800 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.glassfish:jakarta.el:3.0.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/glassfish/jakarta.el/3.0.3/jakarta.el-3.0.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..6b5496ff097a7fd9b72025c4acf36cda1416eda3 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.hamcrest:hamcrest:2.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest/2.2/hamcrest-2.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest/2.2/hamcrest-2.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_6_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..717115364724bcf04f06f1dc15a0e3a8d96ce923 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_6_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.junit.jupiter:junit-jupiter:5.6.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.6.2/junit-jupiter-5.6.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.6.2/junit-jupiter-5.6.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.6.2/junit-jupiter-5.6.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_6_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..ef160d24203925c3f0f32de1e56fd94124c3d1d2 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_6_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.junit.jupiter:junit-jupiter-api:5.6.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.6.2/junit-jupiter-api-5.6.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.6.2/junit-jupiter-api-5.6.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.6.2/junit-jupiter-api-5.6.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_6_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..fc4c644ed81841705e7f9ca5b5f797061b77ed90 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_6_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.junit.jupiter:junit-jupiter-engine:5.6.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.6.2/junit-jupiter-engine-5.6.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.6.2/junit-jupiter-engine-5.6.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.6.2/junit-jupiter-engine-5.6.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_6_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..45b4af371c0a5b9c2ac3aea0356e44bd3d964bb3 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_6_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.junit.jupiter:junit-jupiter-params:5.6.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.6.2/junit-jupiter-params-5.6.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.6.2/junit-jupiter-params-5.6.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.6.2/junit-jupiter-params-5.6.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_6_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..f2699b9523307f4aee7c73f6aae6d8a472c9eeb8 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_6_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.junit.platform:junit-platform-commons:1.6.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.6.2/junit-platform-commons-1.6.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.6.2/junit-platform-commons-1.6.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.6.2/junit-platform-commons-1.6.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_6_2.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_6_2.xml new file mode 100644 index 0000000000000000000000000000000000000000..c13a302c4b38a5fe8f7edca0acf0056f5330ff41 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_6_2.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.junit.platform:junit-platform-engine:1.6.2"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.6.2/junit-platform-engine-1.6.2.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.6.2/junit-platform-engine-1.6.2-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.6.2/junit-platform-engine-1.6.2-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_mockito_mockito_core_3_3_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_mockito_mockito_core_3_3_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..d2f4afa38dac9c566f6f17c199d19f865fedfbe0 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_mockito_mockito_core_3_3_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.mockito:mockito-core:3.3.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/3.3.3/mockito-core-3.3.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/3.3.3/mockito-core-3.3.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/3.3.3/mockito-core-3.3.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_3_3.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_3_3.xml new file mode 100644 index 0000000000000000000000000000000000000000..6c02a6376ec4e61dbe2889ad621120c27b5c21f5 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_3_3.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.mockito:mockito-junit-jupiter:3.3.3"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-junit-jupiter/3.3.3/mockito-junit-jupiter-3.3.3.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-junit-jupiter/3.3.3/mockito-junit-jupiter-3.3.3-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-junit-jupiter/3.3.3/mockito-junit-jupiter-3.3.3-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml new file mode 100644 index 0000000000000000000000000000000000000000..af41e3b6171208cedd29faa1922420ed916cc5b7 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.objenesis:objenesis:2.6"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.6/objenesis-2.6.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.6/objenesis-2.6-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/objenesis/objenesis/2.6/objenesis-2.6-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..fbc1b1635a2c69174f8bea7d6306f5175015adc0 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.opentest4j:opentest4j:1.2.0"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml new file mode 100644 index 0000000000000000000000000000000000000000..0bf8cf2b279adf5dbfdb0ad574f87390f1e4b072 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.ow2.asm:asm:5.0.4"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/ow2/asm/asm/5.0.4/asm-5.0.4-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/ow2/asm/asm/5.0.4/asm-5.0.4-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..c4c54d6d5452b5e2f25085adb2d2b98c38ae4731 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.skyscreamer:jsonassert:1.5.0"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/skyscreamer/jsonassert/1.5.0/jsonassert-1.5.0.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/skyscreamer/jsonassert/1.5.0/jsonassert-1.5.0-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/skyscreamer/jsonassert/1.5.0/jsonassert-1.5.0-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml new file mode 100644 index 0000000000000000000000000000000000000000..27229ce3e82cb0f1ec67292e953fc9bf08bb12ba --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.slf4j:jul-to-slf4j:1.7.30"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml new file mode 100644 index 0000000000000000000000000000000000000000..02b6812c3b22ac0b71ecfdd339cfc092deb99e0e --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.slf4j:slf4j-api:1.7.30"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..158ddd9ec9af4cf83688622833098de064d2c802 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/2.3.2.RELEASE/spring-boot-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/2.3.2.RELEASE/spring-boot-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot/2.3.2.RELEASE/spring-boot-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..d547da6bfa646533cb8efc1766516f37541a2a55 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/2.3.2.RELEASE/spring-boot-autoconfigure-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/2.3.2.RELEASE/spring-boot-autoconfigure-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-autoconfigure/2.3.2.RELEASE/spring-boot-autoconfigure-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..0cfdca92d0c87b45e8ab0d720730d4bbc8bc1943 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-starter:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/2.3.2.RELEASE/spring-boot-starter-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/2.3.2.RELEASE/spring-boot-starter-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter/2.3.2.RELEASE/spring-boot-starter-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..b2bec5583eba7b3ff393d7e518f63f56cc9bcb91 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-starter-json:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-json/2.3.2.RELEASE/spring-boot-starter-json-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-json/2.3.2.RELEASE/spring-boot-starter-json-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-json/2.3.2.RELEASE/spring-boot-starter-json-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..30cfcb13340e7ff3ef53f168f08f0cbf8f292dfd --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-starter-logging:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/2.3.2.RELEASE/spring-boot-starter-logging-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/2.3.2.RELEASE/spring-boot-starter-logging-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-logging/2.3.2.RELEASE/spring-boot-starter-logging-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..835393564368d868b606688d6f25b67eb35b3ea2 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-starter-test:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/2.3.2.RELEASE/spring-boot-starter-test-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/2.3.2.RELEASE/spring-boot-starter-test-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-test/2.3.2.RELEASE/spring-boot-starter-test-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..2aed09e9b4aa11738236a271161dce3cae347561 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-tomcat/2.3.2.RELEASE/spring-boot-starter-tomcat-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-tomcat/2.3.2.RELEASE/spring-boot-starter-tomcat-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-tomcat/2.3.2.RELEASE/spring-boot-starter-tomcat-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..af10dc819653ed7f60ece70272512f5ec57457e3 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-starter-web:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/2.3.2.RELEASE/spring-boot-starter-web-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/2.3.2.RELEASE/spring-boot-starter-web-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-web/2.3.2.RELEASE/spring-boot-starter-web-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..8465350500670e4e7ad87d7f80c9211bd89441fa --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-test:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test/2.3.2.RELEASE/spring-boot-test-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test/2.3.2.RELEASE/spring-boot-test-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test/2.3.2.RELEASE/spring-boot-test-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_3_2_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_3_2_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..686327ed788eef7478b8e0a6a44be9d821cacedc --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_3_2_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.3.2.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test-autoconfigure/2.3.2.RELEASE/spring-boot-test-autoconfigure-2.3.2.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test-autoconfigure/2.3.2.RELEASE/spring-boot-test-autoconfigure-2.3.2.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-test-autoconfigure/2.3.2.RELEASE/spring-boot-test-autoconfigure-2.3.2.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_aop_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_aop_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..000f9ffc81e2703da19a20ec84941a45543b6621 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_aop_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-aop:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-aop/5.2.8.RELEASE/spring-aop-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_beans_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_beans_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..ca7aa332c7e1b37831d39119578f6ff2fec29468 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_beans_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-beans:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-beans/5.2.8.RELEASE/spring-beans-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_context_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_context_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..3194e8eba0d6bcc97426934b384b93a95300e85d --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_context_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-context:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/5.2.8.RELEASE/spring-context-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_core_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_core_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..e7d5de569b74218e1e089f24c380a43c35113a5d --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_core_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-core:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-core/5.2.8.RELEASE/spring-core-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_expression_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_expression_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..2d2456de74726d470a60d098c2a00092a729392a --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_expression_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-expression:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-expression/5.2.8.RELEASE/spring-expression-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..4fea859a822c3d3deff463099093ba67b96ae39d --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_jcl_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-jcl:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-jcl/5.2.8.RELEASE/spring-jcl-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_test_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_test_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..5fa25dc6e05f6a1dd94493a3f7cdb07628d353ec --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_test_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-test:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/5.2.8.RELEASE/spring-test-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/5.2.8.RELEASE/spring-test-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/5.2.8.RELEASE/spring-test-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_web_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_web_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..ae46cf0aeec7b560825373ccf97df00f83b204d1 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_web_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-web:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/5.2.8.RELEASE/spring-web-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/5.2.8.RELEASE/spring-web-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-web/5.2.8.RELEASE/spring-web-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_8_RELEASE.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_8_RELEASE.xml new file mode 100644 index 0000000000000000000000000000000000000000..d584e2479578399aa7c3d604723ea3ec36a227c8 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_springframework_spring_webmvc_5_2_8_RELEASE.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.springframework:spring-webmvc:5.2.8.RELEASE"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/5.2.8.RELEASE/spring-webmvc-5.2.8.RELEASE.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/5.2.8.RELEASE/spring-webmvc-5.2.8.RELEASE-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-webmvc/5.2.8.RELEASE/spring-webmvc-5.2.8.RELEASE-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml new file mode 100644 index 0000000000000000000000000000000000000000..006a8d346efa506e119271dd612dfc07f4eef831 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.xmlunit:xmlunit-core:2.7.0"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/xmlunit/xmlunit-core/2.7.0/xmlunit-core-2.7.0.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/xmlunit/xmlunit-core/2.7.0/xmlunit-core-2.7.0-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/xmlunit/xmlunit-core/2.7.0/xmlunit-core-2.7.0-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml new file mode 100644 index 0000000000000000000000000000000000000000..e998675a21e799d26744edcb29eac417ab916b69 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml @@ -0,0 +1,13 @@ +<component name="libraryTable"> + <library name="Maven: org.yaml:snakeyaml:1.26"> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar!/" /> + </CLASSES> + <JAVADOC> + <root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.26/snakeyaml-1.26-javadoc.jar!/" /> + </JAVADOC> + <SOURCES> + <root url="jar://$MAVEN_REPOSITORY$/org/yaml/snakeyaml/1.26/snakeyaml-1.26-sources.jar!/" /> + </SOURCES> + </library> +</component> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/misc.xml b/Lab2/insurancewebapp-master/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..d1eecca23eeaacb2b19eeb76d54939a0eecf4c7a --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/misc.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="MavenProjectsManager"> + <option name="originalFiles"> + <list> + <option value="$PROJECT_DIR$/pom.xml" /> + </list> + </option> + </component> + <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK" /> +</project> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/.idea/modules.xml b/Lab2/insurancewebapp-master/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..72f8036b82fcf191c5181971d3bf8778959b2f28 --- /dev/null +++ b/Lab2/insurancewebapp-master/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/InsuranceApp.iml" filepath="$PROJECT_DIR$/InsuranceApp.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/InsuranceApp.iml b/Lab2/insurancewebapp-master/InsuranceApp.iml new file mode 100644 index 0000000000000000000000000000000000000000..36c8ccf13bede6ec96f239fecd059dcdae202a16 --- /dev/null +++ b/Lab2/insurancewebapp-master/InsuranceApp.iml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> + <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8"> + <output url="file://$MODULE_DIR$/target/classes" /> + <output-test url="file://$MODULE_DIR$/target/test-classes" /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> + <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> + <excludeFolder url="file://$MODULE_DIR$/target" /> + </content> + <orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module-library"> + <library> + <CLASSES> + <root url="jar://$USER_HOME$/Downloads/json-simple-1.1.jar!/" /> + </CLASSES> + <JAVADOC /> + <SOURCES /> + </library> + </orderEntry> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" /> + <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" /> + <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.13.3" level="project" /> + <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.13.3" level="project" /> + <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.30" level="project" /> + <orderEntry type="library" name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5" level="project" /> + <orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.26" level="project" /> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.11.1" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.11.1" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.11.1" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.1" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.1" level="project" /> + <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.1" level="project" /> + <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.37" level="project" /> + <orderEntry type="library" name="Maven: org.glassfish:jakarta.el:3.0.3" level="project" /> + <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.37" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-web:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-beans:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-aop:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-context:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-expression:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.3.2.RELEASE" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.4.0" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.3" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:1.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.ow2.asm:asm:5.0.4" level="project" /> + <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.30" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: jakarta.xml.bind:jakarta.xml.bind-api:2.3.3" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: jakarta.activation:jakarta.activation-api:1.2.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.16.1" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest:2.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter:5.6.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.6.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.0" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.opentest4j:opentest4j:1.2.0" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-commons:1.6.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-params:5.6.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-engine:5.6.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-engine:1.6.2" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:3.3.3" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy:1.10.13" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.10.13" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:2.6" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-junit-jupiter:3.3.3" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.0" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-core:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:5.2.8.RELEASE" level="project" /> + <orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.7.0" level="project" /> + <orderEntry type="library" name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1" level="project" /> + </component> +</module> \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/README.md b/Lab2/insurancewebapp-master/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e68a5e379227d52b4cc486d2f49d3c087cd05545 --- /dev/null +++ b/Lab2/insurancewebapp-master/README.md @@ -0,0 +1,2 @@ +# InsuranceWebApp + diff --git a/Lab2/insurancewebapp-master/pom.xml b/Lab2/insurancewebapp-master/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..92d8f0805faa3b435f6ad20b4a19a58f589931ec --- /dev/null +++ b/Lab2/insurancewebapp-master/pom.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-parent</artifactId> + <version>2.3.2.RELEASE</version> + <relativePath/> <!-- lookup parent from repository --> + </parent> + <groupId>se.liu.ida</groupId> + <artifactId>InsuranceApp</artifactId> + <version>0.0.1-SNAPSHOT</version> + <name>InsuranceApp</name> + <description>Example app for testing</description> + + <properties> + <java.version>11</java.version> + </properties> + + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.vaadin.external.google</groupId> + <artifactId>android-json</artifactId> + <version>0.0.20131108.vaadin1</version> + <scope>compile</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + </plugin> + </plugins> + </build> + +</project> diff --git a/Lab2/insurancewebapp-master/profileList.txt b/Lab2/insurancewebapp-master/profileList.txt new file mode 100644 index 0000000000000000000000000000000000000000..be4b24eb4e474072008eeddecc2d1765aa1f5ebf --- /dev/null +++ b/Lab2/insurancewebapp-master/profileList.txt @@ -0,0 +1 @@ +{"results":[{"lastName":"Joan","firstName":"Smith","yearsWithoutAccidents":0,"yearOfLicence":2013,"clientId":1,"goldMember":false,"carsInsured":[],"numberOfAccidentsThisYear":0,"yearOfBirth":1990,"yearBecameClient":2020},{"lastName":"abc","firstName":"xyz","yearsWithoutAccidents":0,"yearOfLicence":2012,"clientId":2,"goldMember":false,"carsInsured":[],"numberOfAccidentsThisYear":0,"yearOfBirth":1991,"yearBecameClient":2020},{"lastName":"Joan","firstName":"Smith","yearsWithoutAccidents":0,"yearOfLicence":2013,"clientId":3,"goldMember":false,"carsInsured":[],"numberOfAccidentsThisYear":0,"yearOfBirth":1990,"yearBecameClient":2020},{"lastName":"abc","firstName":"xyz","yearsWithoutAccidents":0,"yearOfLicence":2012,"clientId":4,"goldMember":false,"carsInsured":[],"numberOfAccidentsThisYear":0,"yearOfBirth":1991,"yearBecameClient":2020},{"lastName":"Jo","firstName":"Smith","yearsWithoutAccidents":0,"yearOfLicence":2000,"clientId":12,"goldMember":false,"carsInsured":[],"numberOfAccidentsThisYear":0,"yearOfBirth":1980,"yearBecameClient":2020}]} \ No newline at end of file diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/InsuranceApplication.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/InsuranceApplication.java new file mode 100644 index 0000000000000000000000000000000000000000..584344e94f666dd7da84669dca31d430135676f6 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/InsuranceApplication.java @@ -0,0 +1,13 @@ +package se.liu.ida.InsuranceApp; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class InsuranceApplication { + + public static void main(String[] args) { + SpringApplication.run(InsuranceApplication.class, args); + } + +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/InsuranceController.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/InsuranceController.java new file mode 100644 index 0000000000000000000000000000000000000000..ae5a1ce94de97fc05dd281c259334be6d1ae8c17 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/InsuranceController.java @@ -0,0 +1,55 @@ +package se.liu.ida.InsuranceApp; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import se.liu.ida.InsuranceApp.data.ClientProfile; +import se.liu.ida.InsuranceApp.services.InsuranceService; + +@RestController +public class InsuranceController { + + + @Autowired + private InsuranceService is; + + public InsuranceController(InsuranceService is) { + this.is = is; + } + + @GetMapping("/addNewClient") + public String addClient(String lastName, String firstName, int yearOfBirth, int yearOfLicence) { + is.registerNewMember(lastName, firstName, yearOfBirth, yearOfLicence); + return "Added new client\n"; + } + + @GetMapping("/addNewCar") + public String addCar(int clientId, String color, int year) { + is.addNewCarToMember(clientId, color, year); + return "Added new car to client" + clientId; + } + + @GetMapping("/getClientData") + public ClientProfile getClientById( @RequestParam(defaultValue = "-1", name="id") Integer clientID) { + return is.getClientProfile(clientID); + //return new ClientProfile(clientID, "Joan", "Smith", 1990, 2013); + } + + @GetMapping("/getClientMonthlyRate") + public int getMonthlyRate(@RequestParam(defaultValue = "-1", name="id") int clientID) { + return is.MonthlyInsuranceCost(clientID); + } + + @GetMapping("/getClientDeductible") + public int getDeductible(@RequestParam(defaultValue = "-1", name="id") int clientID) { + return is.getClientDeductible(clientID); + } + + //created by me + @GetMapping("/addNewAccident") + public int addAccident(@RequestParam(defaultValue = "-1", name="id") int clientID) { + return is.registerNewAccident(clientID); + } +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/data/CarData.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/data/CarData.java new file mode 100644 index 0000000000000000000000000000000000000000..ef2ccb103eb07f83f99d64c4263a07643a1bf8c1 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/data/CarData.java @@ -0,0 +1,27 @@ +package se.liu.ida.InsuranceApp.data; + +public class CarData { + String carColor ; + int yearOfProduction; + + public CarData (String carColor, int yearOfProduction) { + this.carColor = carColor; + this.yearOfProduction = yearOfProduction; + } + + public String getCarColor() { + return carColor; + } + + public void setCarColor(String carColor) { + this.carColor = carColor; + } + + public int getYearOfProduction() { + return yearOfProduction; + } + + public void setYearOfProduction(int yearOfProduction) { + this.yearOfProduction = yearOfProduction; + } +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/data/ClientProfile.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/data/ClientProfile.java new file mode 100644 index 0000000000000000000000000000000000000000..da46639e22d9a495986bcb06d8789bd97e6e2e89 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/data/ClientProfile.java @@ -0,0 +1,106 @@ +package se.liu.ida.InsuranceApp.data; + +import java.time.LocalDate; +import java.util.ArrayList; +import java.util.Date; + +public class ClientProfile { + + private int clientId; + private String lastName; + private String firstName; + private int yearOfBirth; + private int yearOfLicence; + private int yearBecameClient; + private int numberOfAccidentsThisYear; + private int yearsWithoutAccidents; + private Boolean goldMember; + private Date insuranceExpiryDate; + private ArrayList<CarData> carsInsured; + + public ClientProfile(){} // empty + public ClientProfile(int clientId, String lastName, String firstName, + int yearOfBirth, int yearOfLicence) { + this.setClientId(clientId); + this.lastName = lastName; + this.firstName = firstName; + this.yearOfBirth = yearOfBirth; + this.yearOfLicence = yearOfLicence; + yearBecameClient = LocalDate.now().getYear(); + numberOfAccidentsThisYear = 0; + yearsWithoutAccidents = 0; + goldMember = false; + carsInsured = new ArrayList<CarData>(); + } + public void addCarInsured(CarData newCar) { + this.carsInsured.add(newCar); + } + public int getClientId() { + return clientId; + } + public void setClientId(int clientId) { + this.clientId = clientId; + } + public String getLastName() { + return lastName; + } + public void setLastName(String lastName) { + this.lastName = lastName; + } + public String getFirstName() { + return firstName; + } + public void setFirstName(String firstName) { + this.firstName = firstName; + } + public int getYearOfBirth() { + return yearOfBirth; + } + public void setYearOfBirth(int yearOfBirth) { + this.yearOfBirth = yearOfBirth; + } + public int getYearOfLicence() { + return yearOfLicence; + } + public void setYearOfLicence(int yearOfLicence) { + this.yearOfLicence = yearOfLicence; + } + public int getYearBecameClient() { + return yearBecameClient; + } + public void setYearBecameClient(int yearBecameClient) { + this.yearBecameClient = yearBecameClient; + } + public int getNumberOfAccidentsThisYear() { + return numberOfAccidentsThisYear; + } + public void setNumberOfAccidentsThisYear(int numberOfAccidentsThisYear) { + this.numberOfAccidentsThisYear = numberOfAccidentsThisYear; + } + public int getYearsWithoutAccidents() { + return yearsWithoutAccidents; + } + public void setYearsWithoutAccidents(int yearsWithoutAccidents) { + this.yearsWithoutAccidents = yearsWithoutAccidents; + } + public Boolean getGoldMember() { + return goldMember; + } + public void setGoldMember(Boolean goldMember) { + this.goldMember = goldMember; + } + public Date getInsuranceExpiryDate() { + return insuranceExpiryDate; + } + public void setInsuranceExpiryDate(Date insuranceExpiryDate) { + this.insuranceExpiryDate = insuranceExpiryDate; + } + public ArrayList<CarData> getCarsInsured() { + return carsInsured; + } + public void setCarsInsured(ArrayList<CarData> carsInsured) { + this.carsInsured = carsInsured; + } + + +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/ClientDataManagementService.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/ClientDataManagementService.java new file mode 100644 index 0000000000000000000000000000000000000000..69979525f45a5245c2e590c9f71a5658921d0624 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/ClientDataManagementService.java @@ -0,0 +1,14 @@ +package se.liu.ida.InsuranceApp.services; + +import org.springframework.stereotype.Service; + +import se.liu.ida.InsuranceApp.data.ClientProfile; + +@Service +public interface ClientDataManagementService { + ClientProfile findById(int id); + Boolean updateClientProfile(int id, ClientProfile c); + Boolean addClientProfile(ClientProfile c); + Boolean removeClientProfile(int id); + int getCounterId(); +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/ClientDataManagementServiceImpl.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/ClientDataManagementServiceImpl.java new file mode 100644 index 0000000000000000000000000000000000000000..908b149c8d32ef460a44389cbea3fb372859b866 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/ClientDataManagementServiceImpl.java @@ -0,0 +1,204 @@ +package se.liu.ida.InsuranceApp.services; + + + + +import org.json.JSONArray; +import org.json.JSONException; +import org.json.JSONObject; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import se.liu.ida.InsuranceApp.data.CarData; +import se.liu.ida.InsuranceApp.data.ClientProfile; + +import java.io.*; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Date; +import java.util.Scanner; + +@Service +public class ClientDataManagementServiceImpl implements ClientDataManagementService { + ArrayList<ClientProfile> cp; + private int counterId; + + @Autowired + public ClientDataManagementServiceImpl(){ + cp = new ArrayList<>(); + retriveDataFromFile(); + } + + @Override + public ClientProfile findById(int id) { + + // TODO Auto-generated method stub + for (ClientProfile profile: cp) { + System.out.println(profile.getFirstName()); + if (profile.getClientId() == id){ + return profile; + } + } + return null; + } + + @Override + public Boolean updateClientProfile(int id, ClientProfile c) { + for(int d = 0; d < cp.size(); d++){ + if(cp.get(d).getClientId() == id){ + cp.remove(d); + cp.add(d, c); + return true; + } + } + return false; + } + + @Override + public Boolean addClientProfile(ClientProfile c){ + for (ClientProfile profile: cp) { + if (profile.getClientId() == c.getClientId()){ + return false; + } + } + counterId = c.getClientId(); + cp.add(c); + try{ + storeDataInFile(); + }catch (Exception e){ + System.out.println(e); + return false; + } + return true; + } + + @Override + public Boolean removeClientProfile(int id) { + // TODO Auto-generated method stub + for (int c = 0; c < cp.size(); c++){ + if (cp.get(c).getClientId() == id){ + cp.remove(c); + return true; + } + } + return false; + } + + public int getCounterId(){ + return counterId; + } + + private void storeDataInFile() throws JSONException { + JSONArray jsonArray = new JSONArray(); + JSONObject Item = new JSONObject(); + for (ClientProfile profile: cp) { + JSONObject objItem = new JSONObject(); + objItem.put("clientId", profile.getClientId()); + objItem.put("lastName", profile.getLastName()); + objItem.put("firstName", profile.getFirstName()); + objItem.put("yearOfBirth", profile.getYearOfBirth()); + objItem.put("yearOfLicence", profile.getYearOfLicence()); + objItem.put("yearBecameClient", profile.getYearBecameClient()); + objItem.put("numberOfAccidentsThisYear", profile.getNumberOfAccidentsThisYear()); + objItem.put("yearsWithoutAccidents", profile.getYearsWithoutAccidents()); + objItem.put("goldMember", profile.getGoldMember()); + objItem.put("insuranceExpiryDate", profile.getInsuranceExpiryDate()); + JSONArray carList = new JSONArray(); + for (CarData car: profile.getCarsInsured()) { + JSONObject cars = new JSONObject(); + cars.put("carColor", car.getCarColor()); + cars.put("yearOfProduction", car.getYearOfProduction()); + carList.put(cars); + } + objItem.put("carsInsured", carList); + jsonArray.put(objItem); + + } + Item.put("results", jsonArray); + try (FileWriter file = new FileWriter("profileList.txt")) { + file.write(Item.toString()); + file.flush(); + } catch(Exception e){ + System.out.println(e); + } + } + + public void retriveDataFromFile(){ + //JSON parser object to parse read file + //JSONParser jsonParser = new JSONParser(); + + BufferedReader in = null; + try { + in = new BufferedReader( + new FileReader("profileList.txt")); + String inputLine; + StringBuffer response = new StringBuffer(); + while ((inputLine = in.readLine()) != null) { + response.append(inputLine); + } in.close(); + //System.out.println(response.toString()); + JSONObject obj = new JSONObject(response.toString()); + JSONArray JArray = obj.getJSONArray("results"); + + for(int j = 0; j < JArray.length(); j++){ + JSONObject objData = JArray.getJSONObject(j); + ClientProfile temp = new + ClientProfile( + Integer.parseInt(objData.getString("clientId")), + objData.getString("lastName"), + objData.getString("firstName"), + Integer.parseInt(objData.getString("yearOfBirth")), + Integer.parseInt(objData.getString("yearOfLicence"))); + + temp.setYearBecameClient(Integer.parseInt(objData.getString("yearBecameClient"))); + temp.setNumberOfAccidentsThisYear(Integer.parseInt(objData.getString("numberOfAccidentsThisYear"))); + temp.setYearsWithoutAccidents(Integer.parseInt(objData.getString("yearsWithoutAccidents"))); + temp.setGoldMember(Boolean.parseBoolean(objData.getString("goldMember"))); + //temp.setInsuranceExpiryDate((Date) objData.get("insuranceExpiryDate")); + + JSONArray JArrayCars = (JSONArray) objData.get("carsInsured"); + ArrayList<CarData> carList = new ArrayList<>(); + for(int c = 0; c < JArrayCars.length(); c++){ + JSONObject objTemp = JArray.getJSONObject(c); + CarData tempCar = new CarData(objTemp.getString("carColor"), Integer.parseInt(objTemp.getString("yearOfProduction"))); + carList.add(tempCar); + } + temp.setCarsInsured(carList); + if(temp.getClientId() > counterId){ + counterId = temp.getClientId(); + } + cp.add(temp); + } + } catch (IOException | JSONException e) { + e.printStackTrace(); + } + + +// try (FileReader reader = new FileReader("profileList.txt")) +// { +// Object obj = jsonParser.parse(reader); +// JSONArray employeeList = (JSONArray) obj; +// System.out.println(employeeList+"done"); +// +// //employeeList.forEach( emp -> parseEmployeeObject( (JSONObject) emp ) ); +// +// } catch (Exception e) { +// e.printStackTrace(); +// } + +// try { +// File myObj = new File("profileList.txt"); +// Scanner myReader = new Scanner(myObj); +// while (myReader.hasNextLine()) { +// String data = myReader.nextLine(); +// System.out.println(data); +// +// } +// myReader.close(); +// } catch (Exception e) { +// System.out.println("An error occurred."); +// } + } + +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/InsuranceService.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/InsuranceService.java new file mode 100644 index 0000000000000000000000000000000000000000..26c659b124d8eb54e7f2a6739c5f43c1b98d37a7 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/InsuranceService.java @@ -0,0 +1,63 @@ +package se.liu.ida.InsuranceApp.services; + +import org.springframework.stereotype.Service; + +import se.liu.ida.InsuranceApp.data.ClientProfile; + +@Service +public interface InsuranceService { + + /** + * + * @param clientId + * @return true if the client is a gold member + */ + Boolean isClientGoldMember (int clientId); + + Boolean registerNewMember(String lastName, String firstName, int yearOfBirth, int yearOfLicence); + + Boolean addNewCarToMember(int id, String color, int year); + + ClientProfile getClientProfile (int id); + /** + * Register new accident and update client profile accordingly + * @param clientId + * @return deductible for this accident (after this the decuctible will go up) + */ + int registerNewAccident(int clientId); + + /** + * Runs at the beginning of every calendar year to update the clients + * who have had 5 years without accidents to gold members and reset accidents for year to 0 + * @return + */ + Boolean updateDatabase(); + + /** + * Calculate the deductible for the client + * Base cost is 5000 SEK if the client is above 30 or has had a driving licence for more that 5 years and 8000 SEK otherwise + * With every accident for that calendar the deductible increases: + * 1 accident : by 1000 SEK + * 2 accidents : by 2500 SEK + * 3 accidents : by 4000 SEK + * 4 accidents and more by : 10000 SEK + * If the client is a gold member, then for the first 2 accidents, there is no increase + * but for 3 accidents and more normal rates apply + * + * @param clientId + * @return + */ + int getClientDeductible (int clientId); + + /** + * Calculate the monthly cost for the service for the client + * First year rate is 500SEK if the client is above 30 or has had a driving licence for more that 5 years and 600 SEK otherwise + * If the car is red the cost goes up by 100SEK + * Each additional car adds 200 SEK unless it is red then it adds 300SEK + * After the first year, there is a 10% discount if there were 0 accidents that year or if the client is a gold member + * @param clientId + * @return + */ + int MonthlyInsuranceCost(int clientId); + +} diff --git a/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/InsuranceServiceImpl.java b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/InsuranceServiceImpl.java new file mode 100644 index 0000000000000000000000000000000000000000..77ff730fb323cae35755989dfcad21d416edf110 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/java/se/liu/ida/InsuranceApp/services/InsuranceServiceImpl.java @@ -0,0 +1,140 @@ +package se.liu.ida.InsuranceApp.services; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import se.liu.ida.InsuranceApp.data.CarData; +import se.liu.ida.InsuranceApp.data.ClientProfile; + +import java.time.LocalDate; +import java.util.ArrayList; + +@Service +public class InsuranceServiceImpl implements InsuranceService { + + @Autowired + private ClientDataManagementService clientDB; + private int counter; + private int currYear = LocalDate.now().getYear(); + + public InsuranceServiceImpl(ClientDataManagementService clientDB) { + this.clientDB = clientDB; + counter = 0; + } + + @Override + public Boolean isClientGoldMember(int clientId) { + ClientProfile cl = clientDB.findById(clientId); + return cl.getGoldMember(); + } + + @Override + public Boolean registerNewMember(String lastName, String firstName, int yearOfBirth, int yearOfLicence) { + counter = clientDB.getCounterId(); + ClientProfile new_c = new ClientProfile(++counter, lastName, firstName, yearOfBirth, yearOfLicence); + return clientDB.addClientProfile(new_c); + } + + @Override + public int registerNewAccident(int clientId) { + ClientProfile cl = clientDB.findById(clientId); + int accidents = cl.getNumberOfAccidentsThisYear() + 1; + cl.setNumberOfAccidentsThisYear(accidents); + clientDB.updateClientProfile(clientId, cl); + return accidents; + } + + @Override + public Boolean updateDatabase() { + for (int c = 1; c <= counter; c++) + { + ClientProfile cl = clientDB.findById(c); + if (cl != null){ + if (cl.getNumberOfAccidentsThisYear() == 0 ){ + cl.setYearsWithoutAccidents(cl.getYearsWithoutAccidents() + 1); + if (cl.getYearsWithoutAccidents() >= 5){ + cl.setGoldMember(true); + } + }else { + cl.setNumberOfAccidentsThisYear(0); + } + } + } + return null; + } + @Override + public int getClientDeductible(int clientId) { + int baseCost = 0; + ClientProfile cl = clientDB.findById(clientId); + int currYear = LocalDate.now().getYear(); + if (currYear - cl.getYearOfBirth() > 30 || currYear - cl.getYearOfLicence() > 5 ){ + baseCost = 5000; + }else{ + baseCost = 8000; + } + if (cl.getGoldMember() && cl.getNumberOfAccidentsThisYear() >= 3){ + switch (cl.getNumberOfAccidentsThisYear()){ + case 1: + baseCost += 1000; + case 2: + baseCost += 2500; + case 3: + baseCost += 4000; + default: + baseCost += 10000; + } + } + return baseCost; + } + @Override + public int MonthlyInsuranceCost(int clientId) { + int monthlyCost = 0; + ClientProfile cl = clientDB.findById(clientId); + + if (currYear - cl.getYearOfBirth() > 30 || currYear - cl.getYearOfLicence() > 5 ){ + monthlyCost = 500; + }else{ + monthlyCost = 600; + } + + ArrayList<CarData> cars = cl.getCarsInsured(); + int count = 0; + for (CarData car: cars) { + if (count == 0){ + if (car.getCarColor() == "red"){ + monthlyCost += 100; + } + } else { + if (car.getCarColor() == "red"){ + monthlyCost += 300; + }else{ + monthlyCost += 200; + } + } + count++; + } + + if ((cl.getGoldMember() || cl.getNumberOfAccidentsThisYear() == 0) && currYear - cl.getYearBecameClient() == 1){ + monthlyCost -= monthlyCost * 10 / 100; + } + return monthlyCost; + } + + @Override + public Boolean addNewCarToMember(int id, String color, int year) { + ClientProfile cl = clientDB.findById(id); + ArrayList<CarData> cars = cl.getCarsInsured(); + CarData newCar = new CarData(color, year); + cars.add(newCar); + cl.setCarsInsured(cars); + clientDB.updateClientProfile(id, cl); + return true; + } + + @Override + public ClientProfile getClientProfile(int id) { + ClientProfile cl = clientDB.findById(id); + return cl; + } + +} diff --git a/Lab2/insurancewebapp-master/src/main/resources/application.properties b/Lab2/insurancewebapp-master/src/main/resources/application.properties new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/Lab2/insurancewebapp-master/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/InsuranceAppApplicationMockMvcTests.java b/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/InsuranceAppApplicationMockMvcTests.java new file mode 100644 index 0000000000000000000000000000000000000000..389df5b6a369675506b1e3664e843d6fcd68841f --- /dev/null +++ b/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/InsuranceAppApplicationMockMvcTests.java @@ -0,0 +1,154 @@ +package se.liu.ida.InsuranceApp; + + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.mock.mockito.MockBean; +import org.springframework.test.context.ActiveProfiles; +import org.springframework.test.web.servlet.MockMvc; +import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; +import org.springframework.test.web.servlet.setup.MockMvcBuilders; + +import ch.qos.logback.core.status.Status; +import org.springframework.util.LinkedMultiValueMap; +import se.liu.ida.InsuranceApp.data.ClientProfile; +import se.liu.ida.InsuranceApp.services.ClientDataManagementService; +import se.liu.ida.InsuranceApp.services.ClientDataManagementServiceImpl; +import se.liu.ida.InsuranceApp.services.InsuranceService; +import se.liu.ida.InsuranceApp.services.InsuranceServiceImpl; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; + + +@SpringBootTest +@AutoConfigureMockMvc +@ExtendWith(MockitoExtension.class) +@ActiveProfiles("mockClientM") +class InsuranceAppApplicationMockMvcTests { + + @Autowired + private MockDataTestConfig testConfig; + + @Autowired + private MockMvc mvc; + + + private InsuranceController ic; + + @Autowired + ClientDataManagementService cm; + + InsuranceService is; + + @BeforeEach + public void setup() { + ic = new InsuranceController(new InsuranceServiceImpl(cm)); + this.mvc = MockMvcBuilders.standaloneSetup(ic).build(); + cm = testConfig.clientDataManagementService(); + is = testConfig.InsuranceService(); + } + + @Test + public void test_addNewClient() throws Exception { + LinkedMultiValueMap<String, String> requestParams = new LinkedMultiValueMap<>(); + requestParams.add("lastName", "Joan"); + requestParams.add("firstName", "Smith"); + requestParams.add("yearOfBirth", "1990"); + requestParams.add("yearOfLicence", "2013"); + mvc.perform( + MockMvcRequestBuilders.get("/addNewClient").params(requestParams)).andExpect(status().isOk()); + } + + @Test + public void test_addNewCar() throws Exception { + LinkedMultiValueMap<String, String> requestParams = new LinkedMultiValueMap<>(); + requestParams.add("clientId", "1"); + requestParams.add("color", "Black"); + requestParams.add("year", "2019"); + mvc.perform( + MockMvcRequestBuilders.get("/addNewCar").params(requestParams)).andExpect(status().isOk()); + } + + @Test + public void test_getClientData() throws Exception { + mvc.perform( + MockMvcRequestBuilders.get("/getClientData").param("id", "1")).andExpect(status().isOk()); + } + + @Test + public void test_getClientMonthlyRate() throws Exception { + mvc.perform( + MockMvcRequestBuilders.get("/getClientMonthlyRate").param("id", "1")).andExpect(status().isOk()); + } + + @Test + public void test_getClientDeductible() throws Exception { + mvc.perform( + MockMvcRequestBuilders.get("/getClientDeductible").param("id", "1")).andExpect(status().isOk()); + } + + @Test + public void test_addNewAccident() throws Exception { + mvc.perform( + MockMvcRequestBuilders.get("/addNewAccident").param("id", "1")).andExpect(status().isOk()); + } + + @Test + public void test_registerNewMemberMock() throws Exception { + assertEquals(true, is.registerNewMember("Joan", "ulf", 1980, 2000)); + } + + @Test + public void test_isClientGoldMemberMock() throws Exception { + assertEquals(false, is.isClientGoldMember(1)); + } + + @Test + public void test_registerNewAccidentMock() throws Exception { + assertEquals(1, is.registerNewAccident(1)); + } + + @Test + public void test_MonthlyInsuranceCostMock() throws Exception { + assertEquals(500, is.MonthlyInsuranceCost(1)); + } + + @Test + public void test_getClientDeductibleMock() throws Exception { + assertEquals(5000, is.getClientDeductible(1)); + } + + @Test + public void test_addNewCarToMemberMock() throws Exception { + assertEquals(true, is.addNewCarToMember(1, "Black", 2019)); + } + + @Test + public void test_findByIdMock() throws Exception { + ClientProfile t = cm.findById(1); + boolean f = t.getLastName().equals("Joan"); + assertEquals(true, f); + } + + @Test + public void test_updateClientProfileMock() throws Exception { + assertEquals(true, cm.updateClientProfile(1, null)); + } + + @Test + public void test_addClientProfileMock() throws Exception { + assertEquals(true, cm.addClientProfile(null)); + } + + @Test + public void test_removeClientProfileMock() throws Exception { + assertEquals(true, cm.removeClientProfile(1)); + } +} diff --git a/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/InsuranceAppApplicationTests.java b/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/InsuranceAppApplicationTests.java new file mode 100644 index 0000000000000000000000000000000000000000..ba3e502f42d801084a6ebc7e861a3cd750b373ba --- /dev/null +++ b/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/InsuranceAppApplicationTests.java @@ -0,0 +1,100 @@ +package se.liu.ida.InsuranceApp; + +import static org.junit.jupiter.api.Assertions.assertArrayEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.junit.jupiter.MockitoExtension; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.ActiveProfiles; + +import se.liu.ida.InsuranceApp.data.ClientProfile; +import se.liu.ida.InsuranceApp.services.ClientDataManagementService; +import se.liu.ida.InsuranceApp.services.ClientDataManagementServiceImpl; +import se.liu.ida.InsuranceApp.services.InsuranceService; +import se.liu.ida.InsuranceApp.services.InsuranceServiceImpl; + + +@SpringBootTest +@ExtendWith(MockitoExtension.class) +@ActiveProfiles("mockClientM") +class InsuranceAppApplicationTests { + + @Autowired + ClientDataManagementService cm; + + // the service we are testing + @Autowired + InsuranceService is; + + + @BeforeEach + public void init() { + cm = new ClientDataManagementServiceImpl(); + is = new InsuranceServiceImpl(cm); + } + + @Test + public void test_newClient_notGoldMember() throws Exception { + assertEquals(false, is.isClientGoldMember(1)); + } + + @Test + public void test_registerNewMember() throws Exception { + assertEquals(true, is.registerNewMember("Joan", "Smith", 1990, 2013)); + } + + @Test + public void test_registerNewMember1() throws Exception { + assertEquals(true, is.registerNewMember("abc", "xyz", 1991, 2012)); + } + + @Test + public void test_addNewCarToMember() throws Exception { + assertEquals(true, is.addNewCarToMember(1, "Black", 2015)); + } + + @Test + public void test_getClientProfile() throws Exception { + assertEquals("Smith", is.getClientProfile(1).getFirstName()); + } + + @Test + public void test_getClientDeductible() throws Exception { + assertEquals(5000, is.getClientDeductible(1)); + } + + @Test + public void test_registerNewAccident() throws Exception { + assertEquals(1, is.registerNewAccident(1)); + } + + @Test + public void test_MonthlyInsuranceCost() throws Exception { + assertEquals(500, is.MonthlyInsuranceCost(1)); + } + + @Test + public void test_findById() throws Exception { + assertEquals(null, cm.findById(11)); + } + + @Test + public void test_addClientProfile() throws Exception { + assertEquals(true, cm.addClientProfile(new ClientProfile(12, "Jo", "Smith", 1980, 2000))); + } + + @Test + public void test_removeClientProfile() throws Exception { + assertEquals(true, cm.removeClientProfile(2)); + } + + @Test + public void test_updateClientProfile() throws Exception { + assertEquals(true, cm.updateClientProfile(2, new ClientProfile(12, "Jo", "Smith", 1980, 2000))); + } + +} diff --git a/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/MockDataTestConfig.java b/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/MockDataTestConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..0252816451fac6ed077da41eec809aa374ffe0b7 --- /dev/null +++ b/Lab2/insurancewebapp-master/src/test/java/se/liu/ida/InsuranceApp/MockDataTestConfig.java @@ -0,0 +1,68 @@ +package se.liu.ida.InsuranceApp; + +import org.mockito.Mockito; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Primary; +import org.springframework.context.annotation.Profile; + +import se.liu.ida.InsuranceApp.data.ClientProfile; +import se.liu.ida.InsuranceApp.services.ClientDataManagementService; +import se.liu.ida.InsuranceApp.services.InsuranceService; + +@Profile("mockClientM") +@Configuration +public class MockDataTestConfig { + + @Bean + @Primary + public ClientDataManagementService clientDataManagementService() { + ClientDataManagementService cs = Mockito.mock(ClientDataManagementService.class); + + /** Add mocked behavior */ + Mockito.when(cs.findById(1)) + .thenReturn(new ClientProfile(1, "Joan", "ulf", 1980, 2000)); + + Mockito.when(cs.updateClientProfile(1, null)) + .thenReturn(true); + + Mockito.when(cs.addClientProfile(null)) + .thenReturn(true); + + Mockito.when(cs.removeClientProfile(1)) + .thenReturn(true); + + return cs; + } + + @Bean + @Primary + public InsuranceService InsuranceService() { + InsuranceService is = Mockito.mock(InsuranceService.class); + + /** Add mocked behavior */ + Mockito.when(is.registerNewMember("Joan", "ulf", 1980, 2000)) + .thenReturn(true); + + Mockito.when(is.isClientGoldMember(1)) + .thenReturn(false); + + Mockito.when(is.registerNewAccident(1)) + .thenReturn(1); + + Mockito.when(is.getClientDeductible(1)) + .thenReturn(5000); + + Mockito.when(is.MonthlyInsuranceCost(1)) + .thenReturn(500); + + Mockito.when(is.addNewCarToMember(1, "Black", 2019)) + .thenReturn(true); + + Mockito.when(is.getClientProfile(1)) + .thenReturn(new ClientProfile(1, "Joan", "ulf", 1980, 2000)); + + return is; + } + +} diff --git a/Lab2/insurancewebapp-master/target/classes/application.properties b/Lab2/insurancewebapp-master/target/classes/application.properties new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/Lab2/insurancewebapp-master/target/classes/application.properties @@ -0,0 +1 @@ + diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/InsuranceApplication.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/InsuranceApplication.class new file mode 100644 index 0000000000000000000000000000000000000000..0eb5933f991fad44c52d624b92485ec79ebcadcf Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/InsuranceApplication.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/InsuranceController.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/InsuranceController.class new file mode 100644 index 0000000000000000000000000000000000000000..a4c6a075020234d240d0fd0a3d566ffe938bf2b3 Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/InsuranceController.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/data/CarData.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/data/CarData.class new file mode 100644 index 0000000000000000000000000000000000000000..618d2915974159622d2ac4e21842cbf1c154a5ab Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/data/CarData.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/data/ClientProfile.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/data/ClientProfile.class new file mode 100644 index 0000000000000000000000000000000000000000..8f7ca08676aac9010eae139a5f39edd3d2ce9fa6 Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/data/ClientProfile.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/ClientDataManagementService.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/ClientDataManagementService.class new file mode 100644 index 0000000000000000000000000000000000000000..dc470dabe5194f4e3a7fe5892c1fb60cebbc02bf Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/ClientDataManagementService.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/ClientDataManagementServiceImpl.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/ClientDataManagementServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..9a6dce137109aa8a18d33e14dc49f7a1329b919c Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/ClientDataManagementServiceImpl.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/InsuranceService.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/InsuranceService.class new file mode 100644 index 0000000000000000000000000000000000000000..565d570df9d468a9fa7a934fa020245d8f50fbe4 Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/InsuranceService.class differ diff --git a/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/InsuranceServiceImpl.class b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/InsuranceServiceImpl.class new file mode 100644 index 0000000000000000000000000000000000000000..8f86deb235bd46feae72aaa2d4d5d5ea4c4b8d9c Binary files /dev/null and b/Lab2/insurancewebapp-master/target/classes/se/liu/ida/InsuranceApp/services/InsuranceServiceImpl.class differ diff --git a/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/InsuranceAppApplicationMockMvcTests.class b/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/InsuranceAppApplicationMockMvcTests.class new file mode 100644 index 0000000000000000000000000000000000000000..7cae4d8a299f13b52467df6bd7dbe63cf38999d5 Binary files /dev/null and b/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/InsuranceAppApplicationMockMvcTests.class differ diff --git a/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/InsuranceAppApplicationTests.class b/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/InsuranceAppApplicationTests.class new file mode 100644 index 0000000000000000000000000000000000000000..d1dbd2e1bb5abfbbc224d338215c9bbf488c47a9 Binary files /dev/null and b/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/InsuranceAppApplicationTests.class differ diff --git a/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/MockDataTestConfig.class b/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/MockDataTestConfig.class new file mode 100644 index 0000000000000000000000000000000000000000..baf3001fb8ecd57ed3c37416d4c58ede6c34dd5b Binary files /dev/null and b/Lab2/insurancewebapp-master/target/test-classes/se/liu/ida/InsuranceApp/MockDataTestConfig.class differ