diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/Project.iml b/.idea/Project.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/Project.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jpa-buddy.xml b/.idea/jpa-buddy.xml
new file mode 100644
index 0000000..966d5f5
--- /dev/null
+++ b/.idea/jpa-buddy.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..59780fe
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..74f1bcb
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-frontend b/brcm-frontend
deleted file mode 160000
index 9056ea7..0000000
--- a/brcm-frontend
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 9056ea7d737b43ed3f387eeb5888be24cd07e1a7
diff --git a/brcm/.idea/.gitignore b/brcm-old/.idea/.gitignore
similarity index 100%
rename from brcm/.idea/.gitignore
rename to brcm-old/.idea/.gitignore
diff --git a/brcm-old/.idea/compiler.xml b/brcm-old/.idea/compiler.xml
new file mode 100644
index 0000000..751f3f6
--- /dev/null
+++ b/brcm-old/.idea/compiler.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa.xml b/brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa.xml
similarity index 100%
rename from brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa.xml
rename to brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa.xml
diff --git a/brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA.meta b/brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA.meta
similarity index 100%
rename from brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA.meta
rename to brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA.meta
diff --git a/brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/information_schema.FNRwLQ.meta b/brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/information_schema.FNRwLQ.meta
similarity index 100%
rename from brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/information_schema.FNRwLQ.meta
rename to brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/information_schema.FNRwLQ.meta
diff --git a/brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/pg_catalog.0S1ZNQ.meta b/brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/pg_catalog.0S1ZNQ.meta
similarity index 100%
rename from brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/pg_catalog.0S1ZNQ.meta
rename to brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/pg_catalog.0S1ZNQ.meta
diff --git a/brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/public.abK9xQ.meta b/brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/public.abK9xQ.meta
similarity index 100%
rename from brcm/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/public.abK9xQ.meta
rename to brcm-old/.idea/dataSources/e1da602a-1461-4afe-ad38-9747a7f59eaa/storage_v2/_src_/database/brcm.ukQuAA/schema/public.abK9xQ.meta
diff --git a/brcm-old/.idea/encodings.xml b/brcm-old/.idea/encodings.xml
new file mode 100644
index 0000000..b21e620
--- /dev/null
+++ b/brcm-old/.idea/encodings.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/.idea/jarRepositories.xml b/brcm-old/.idea/jarRepositories.xml
new file mode 100644
index 0000000..712ab9d
--- /dev/null
+++ b/brcm-old/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm/.idea/jpa-buddy-datasource.xml b/brcm-old/.idea/jpa-buddy-datasource.xml
similarity index 100%
rename from brcm/.idea/jpa-buddy-datasource.xml
rename to brcm-old/.idea/jpa-buddy-datasource.xml
diff --git a/brcm-old/.idea/jpa-buddy.xml b/brcm-old/.idea/jpa-buddy.xml
new file mode 100644
index 0000000..22b36ed
--- /dev/null
+++ b/brcm-old/.idea/jpa-buddy.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/.idea/libraries/Spring_5_2_3_RELEASE.xml b/brcm-old/.idea/libraries/Spring_5_2_3_RELEASE.xml
new file mode 100644
index 0000000..efc0afa
--- /dev/null
+++ b/brcm-old/.idea/libraries/Spring_5_2_3_RELEASE.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/.idea/misc.xml b/brcm-old/.idea/misc.xml
new file mode 100644
index 0000000..7ac4a61
--- /dev/null
+++ b/brcm-old/.idea/misc.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm/.idea/uiDesigner.xml b/brcm-old/.idea/uiDesigner.xml
similarity index 100%
rename from brcm/.idea/uiDesigner.xml
rename to brcm-old/.idea/uiDesigner.xml
diff --git a/brcm-old/.idea/vcs.xml b/brcm-old/.idea/vcs.xml
new file mode 100644
index 0000000..6c0b863
--- /dev/null
+++ b/brcm-old/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm/.jpb/persistence-units.xml b/brcm-old/.jpb/persistence-units.xml
similarity index 100%
rename from brcm/.jpb/persistence-units.xml
rename to brcm-old/.jpb/persistence-units.xml
diff --git a/brcm-old/core-old/core.iml b/brcm-old/core-old/core.iml
new file mode 100644
index 0000000..4f1a478
--- /dev/null
+++ b/brcm-old/core-old/core.iml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm/core/pom.xml b/brcm-old/core-old/pom.xml
similarity index 100%
rename from brcm/core/pom.xml
rename to brcm-old/core-old/pom.xml
diff --git a/brcm/core/src/test/java/org/cpp/AppTest.java b/brcm-old/core-old/src/test/java/org/cpp/AppTest.java
similarity index 100%
rename from brcm/core/src/test/java/org/cpp/AppTest.java
rename to brcm-old/core-old/src/test/java/org/cpp/AppTest.java
diff --git a/brcm-old/core-old/target/classes/Main.class b/brcm-old/core-old/target/classes/Main.class
new file mode 100644
index 0000000..35c9aa9
Binary files /dev/null and b/brcm-old/core-old/target/classes/Main.class differ
diff --git a/brcm-old/core-old/target/classes/common/Hibernate.class b/brcm-old/core-old/target/classes/common/Hibernate.class
new file mode 100644
index 0000000..7cf902e
Binary files /dev/null and b/brcm-old/core-old/target/classes/common/Hibernate.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/ActivityDto.class b/brcm-old/core-old/target/classes/dtos/ActivityDto.class
new file mode 100644
index 0000000..246f616
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/ActivityDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/AddressDto.class b/brcm-old/core-old/target/classes/dtos/AddressDto.class
new file mode 100644
index 0000000..9735912
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/AddressDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/AppointmentDto.class b/brcm-old/core-old/target/classes/dtos/AppointmentDto.class
new file mode 100644
index 0000000..59379fe
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/AppointmentDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/CustomerDto.class b/brcm-old/core-old/target/classes/dtos/CustomerDto.class
new file mode 100644
index 0000000..f8f767d
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/CustomerDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/DiscountschemeDto.class b/brcm-old/core-old/target/classes/dtos/DiscountschemeDto.class
new file mode 100644
index 0000000..ebe1698
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/DiscountschemeDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/HistoricalpriceDto.class b/brcm-old/core-old/target/classes/dtos/HistoricalpriceDto.class
new file mode 100644
index 0000000..43a6084
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/HistoricalpriceDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/LineitemDto.class b/brcm-old/core-old/target/classes/dtos/LineitemDto.class
new file mode 100644
index 0000000..4110e38
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/LineitemDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/OrderDto.class b/brcm-old/core-old/target/classes/dtos/OrderDto.class
new file mode 100644
index 0000000..74f0796
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/OrderDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/ProfessorDto.class b/brcm-old/core-old/target/classes/dtos/ProfessorDto.class
new file mode 100644
index 0000000..10aef6d
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/ProfessorDto.class differ
diff --git a/brcm-old/core-old/target/classes/dtos/StudentDto.class b/brcm-old/core-old/target/classes/dtos/StudentDto.class
new file mode 100644
index 0000000..c33e6ee
Binary files /dev/null and b/brcm-old/core-old/target/classes/dtos/StudentDto.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Activity.class b/brcm-old/core-old/target/classes/entities/Activity.class
new file mode 100644
index 0000000..b99e7f9
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Activity.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Address.class b/brcm-old/core-old/target/classes/entities/Address.class
new file mode 100644
index 0000000..1868d7f
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Address.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Appointment.class b/brcm-old/core-old/target/classes/entities/Appointment.class
new file mode 100644
index 0000000..9e30b01
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Appointment.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Customer.class b/brcm-old/core-old/target/classes/entities/Customer.class
new file mode 100644
index 0000000..748307c
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Customer.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Discountscheme.class b/brcm-old/core-old/target/classes/entities/Discountscheme.class
new file mode 100644
index 0000000..8fceb68
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Discountscheme.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Historicalprice.class b/brcm-old/core-old/target/classes/entities/Historicalprice.class
new file mode 100644
index 0000000..1905f87
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Historicalprice.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Lineitem.class b/brcm-old/core-old/target/classes/entities/Lineitem.class
new file mode 100644
index 0000000..f9df114
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Lineitem.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Order.class b/brcm-old/core-old/target/classes/entities/Order.class
new file mode 100644
index 0000000..00b82ae
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Order.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Professor.class b/brcm-old/core-old/target/classes/entities/Professor.class
new file mode 100644
index 0000000..e73ce1a
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Professor.class differ
diff --git a/brcm-old/core-old/target/classes/entities/Student.class b/brcm-old/core-old/target/classes/entities/Student.class
new file mode 100644
index 0000000..1b5c6be
Binary files /dev/null and b/brcm-old/core-old/target/classes/entities/Student.class differ
diff --git a/brcm-old/core-old/target/classes/impl/CustomerManagementServiceImpl.class b/brcm-old/core-old/target/classes/impl/CustomerManagementServiceImpl.class
new file mode 100644
index 0000000..7b297cf
Binary files /dev/null and b/brcm-old/core-old/target/classes/impl/CustomerManagementServiceImpl.class differ
diff --git a/brcm-old/core-old/target/classes/impl/CustomerRepositoryImpl.class b/brcm-old/core-old/target/classes/impl/CustomerRepositoryImpl.class
new file mode 100644
index 0000000..d4658d1
Binary files /dev/null and b/brcm-old/core-old/target/classes/impl/CustomerRepositoryImpl.class differ
diff --git a/brcm-old/core-old/target/classes/impl/ProfessorRepositoryImpl.class b/brcm-old/core-old/target/classes/impl/ProfessorRepositoryImpl.class
new file mode 100644
index 0000000..a6514b6
Binary files /dev/null and b/brcm-old/core-old/target/classes/impl/ProfessorRepositoryImpl.class differ
diff --git a/brcm-old/core-old/target/classes/impl/StudentRepositoryImpl.class b/brcm-old/core-old/target/classes/impl/StudentRepositoryImpl.class
new file mode 100644
index 0000000..4d80f26
Binary files /dev/null and b/brcm-old/core-old/target/classes/impl/StudentRepositoryImpl.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/ActivityRepository.class b/brcm-old/core-old/target/classes/repositories/ActivityRepository.class
new file mode 100644
index 0000000..cb9c297
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/ActivityRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/AppointmentRepository.class b/brcm-old/core-old/target/classes/repositories/AppointmentRepository.class
new file mode 100644
index 0000000..46da34d
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/AppointmentRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/CustomerRepository.class b/brcm-old/core-old/target/classes/repositories/CustomerRepository.class
new file mode 100644
index 0000000..8ba8fc4
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/CustomerRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/DiscountSchemeRepository.class b/brcm-old/core-old/target/classes/repositories/DiscountSchemeRepository.class
new file mode 100644
index 0000000..c32bc65
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/DiscountSchemeRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/LineItemRepository.class b/brcm-old/core-old/target/classes/repositories/LineItemRepository.class
new file mode 100644
index 0000000..cfacc1e
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/LineItemRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/OrderRepository.class b/brcm-old/core-old/target/classes/repositories/OrderRepository.class
new file mode 100644
index 0000000..5cdbcfe
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/OrderRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/PriceHistoryRepository.class b/brcm-old/core-old/target/classes/repositories/PriceHistoryRepository.class
new file mode 100644
index 0000000..155172d
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/PriceHistoryRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/ProfessorRepository.class b/brcm-old/core-old/target/classes/repositories/ProfessorRepository.class
new file mode 100644
index 0000000..20aa9f8
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/ProfessorRepository.class differ
diff --git a/brcm-old/core-old/target/classes/repositories/StudentRepository.class b/brcm-old/core-old/target/classes/repositories/StudentRepository.class
new file mode 100644
index 0000000..d3198ae
Binary files /dev/null and b/brcm-old/core-old/target/classes/repositories/StudentRepository.class differ
diff --git a/brcm-old/core-old/target/classes/services/ActivityRegistrationService.class b/brcm-old/core-old/target/classes/services/ActivityRegistrationService.class
new file mode 100644
index 0000000..d999582
Binary files /dev/null and b/brcm-old/core-old/target/classes/services/ActivityRegistrationService.class differ
diff --git a/brcm-old/core-old/target/classes/services/CustomerManagementService.class b/brcm-old/core-old/target/classes/services/CustomerManagementService.class
new file mode 100644
index 0000000..cc00258
Binary files /dev/null and b/brcm-old/core-old/target/classes/services/CustomerManagementService.class differ
diff --git a/brcm-old/core-old/target/classes/services/DiscountManagementService.class b/brcm-old/core-old/target/classes/services/DiscountManagementService.class
new file mode 100644
index 0000000..ad5ad5e
Binary files /dev/null and b/brcm-old/core-old/target/classes/services/DiscountManagementService.class differ
diff --git a/brcm-old/core-old/target/classes/services/PriceHistoryService.class b/brcm-old/core-old/target/classes/services/PriceHistoryService.class
new file mode 100644
index 0000000..f8f0e7b
Binary files /dev/null and b/brcm-old/core-old/target/classes/services/PriceHistoryService.class differ
diff --git a/brcm-old/core-old/target/classes/services/RevenueReportService.class b/brcm-old/core-old/target/classes/services/RevenueReportService.class
new file mode 100644
index 0000000..d6ace6e
Binary files /dev/null and b/brcm-old/core-old/target/classes/services/RevenueReportService.class differ
diff --git a/brcm-old/core-old/target/classes/services/VisitRegistrationService.class b/brcm-old/core-old/target/classes/services/VisitRegistrationService.class
new file mode 100644
index 0000000..fbc666b
Binary files /dev/null and b/brcm-old/core-old/target/classes/services/VisitRegistrationService.class differ
diff --git a/brcm/core/target/core-1.0-SNAPSHOT.jar b/brcm-old/core-old/target/core-1.0-SNAPSHOT.jar
similarity index 100%
rename from brcm/core/target/core-1.0-SNAPSHOT.jar
rename to brcm-old/core-old/target/core-1.0-SNAPSHOT.jar
diff --git a/brcm/core/target/maven-archiver/pom.properties b/brcm-old/core-old/target/maven-archiver/pom.properties
similarity index 100%
rename from brcm/core/target/maven-archiver/pom.properties
rename to brcm-old/core-old/target/maven-archiver/pom.properties
diff --git a/brcm/core/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/brcm-old/core-old/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
similarity index 100%
rename from brcm/core/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
rename to brcm-old/core-old/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
diff --git a/brcm/core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/brcm-old/core-old/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
similarity index 100%
rename from brcm/core/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
rename to brcm-old/core-old/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
diff --git a/brcm/core/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/brcm-old/core-old/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
similarity index 100%
rename from brcm/core/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
rename to brcm-old/core-old/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
diff --git a/brcm/core/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/brcm-old/core-old/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
similarity index 100%
rename from brcm/core/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
rename to brcm-old/core-old/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
diff --git a/brcm/core/target/surefire-reports/TEST-org.cpp.AppTest.xml b/brcm-old/core-old/target/surefire-reports/TEST-org.cpp.AppTest.xml
similarity index 100%
rename from brcm/core/target/surefire-reports/TEST-org.cpp.AppTest.xml
rename to brcm-old/core-old/target/surefire-reports/TEST-org.cpp.AppTest.xml
diff --git a/brcm/core/target/surefire-reports/org.cpp.AppTest.txt b/brcm-old/core-old/target/surefire-reports/org.cpp.AppTest.txt
similarity index 100%
rename from brcm/core/target/surefire-reports/org.cpp.AppTest.txt
rename to brcm-old/core-old/target/surefire-reports/org.cpp.AppTest.txt
diff --git a/brcm/web/target/test-classes/org/cpp/AppTest.class b/brcm-old/core-old/target/test-classes/org/cpp/AppTest.class
similarity index 91%
rename from brcm/web/target/test-classes/org/cpp/AppTest.class
rename to brcm-old/core-old/target/test-classes/org/cpp/AppTest.class
index 20291de..f4df318 100644
Binary files a/brcm/web/target/test-classes/org/cpp/AppTest.class and b/brcm-old/core-old/target/test-classes/org/cpp/AppTest.class differ
diff --git a/brcm-old/core-spring/core/.idea/compiler.xml b/brcm-old/core-spring/core/.idea/compiler.xml
new file mode 100644
index 0000000..5fc661b
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/compiler.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/encodings.xml b/brcm-old/core-spring/core/.idea/encodings.xml
new file mode 100644
index 0000000..63e9001
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/jarRepositories.xml b/brcm-old/core-spring/core/.idea/jarRepositories.xml
new file mode 100644
index 0000000..712ab9d
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/jpa-buddy.xml b/brcm-old/core-spring/core/.idea/jpa-buddy.xml
new file mode 100644
index 0000000..898e07a
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/jpa-buddy.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__antlr_antlr_2_7_7.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__antlr_antlr_2_7_7.xml
new file mode 100644
index 0000000..b8d93d8
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__antlr_antlr_2_7_7.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_11.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_11.xml
new file mode 100644
index 0000000..fd681bb
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_11.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_11.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_11.xml
new file mode 100644
index 0000000..4b957f8
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_11.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml
new file mode 100644
index 0000000..bc7d7fd
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_13_4.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_13_4.xml
new file mode 100644
index 0000000..50b4341
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_13_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_13_4.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_13_4.xml
new file mode 100644
index 0000000..f876adb
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_13_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_13_4_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_13_4_2.xml
new file mode 100644
index 0000000..92ff477
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_13_4_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_13_4.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_13_4.xml
new file mode 100644
index 0000000..faf28b3
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_13_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_13_4.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_13_4.xml
new file mode 100644
index 0000000..8f30950
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_13_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_13_4.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_13_4.xml
new file mode 100644
index 0000000..1f6efd5
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_13_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_7_0.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_7_0.xml
new file mode 100644
index 0000000..65ee6e6
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_7_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_samskivert_jmustache_1_15.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_samskivert_jmustache_1_15.xml
new file mode 100644
index 0000000..f2f5d1e
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_samskivert_jmustache_1_15.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_2.xml
new file mode 100644
index 0000000..fea99f0
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_12.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_12.xml
new file mode 100644
index 0000000..9f0fc05
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_12.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
new file mode 100644
index 0000000..b8581a6
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__com_zaxxer_HikariCP_4_0_3.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__com_zaxxer_HikariCP_4_0_3.xml
new file mode 100644
index 0000000..9314c36
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__com_zaxxer_HikariCP_4_0_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml
new file mode 100644
index 0000000..be90656
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml
new file mode 100644
index 0000000..cba9dd2
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml
new file mode 100644
index 0000000..c11957d
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml
new file mode 100644
index 0000000..5b31fe5
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml
new file mode 100644
index 0000000..04213f7
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_12_18.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_12_18.xml
new file mode 100644
index 0000000..c4f58d0
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_12_18.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_12_18.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_12_18.xml
new file mode 100644
index 0000000..7839b1e
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_12_18.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__net_minidev_accessors_smart_2_4_8.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__net_minidev_accessors_smart_2_4_8.xml
new file mode 100644
index 0000000..6b7b59a
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__net_minidev_accessors_smart_2_4_8.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__net_minidev_json_smart_2_4_8.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__net_minidev_json_smart_2_4_8.xml
new file mode 100644
index 0000000..7479a40
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__net_minidev_json_smart_2_4_8.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_17_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_17_2.xml
new file mode 100644
index 0000000..0a8d4ff
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_17_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_17_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_17_2.xml
new file mode 100644
index 0000000..a4f1650
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_17_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_68.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_68.xml
new file mode 100644
index 0000000..211b241
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_68.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_68.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_68.xml
new file mode 100644
index 0000000..13b023f
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_68.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_68.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_68.xml
new file mode 100644
index 0000000..ed9b105
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_68.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_2.xml
new file mode 100644
index 0000000..6ac1c42
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_7.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_7.xml
new file mode 100644
index 0000000..bbaf9a7
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_7.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_assertj_assertj_core_3_22_0.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_assertj_assertj_core_3_22_0.xml
new file mode 100644
index 0000000..a084174
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_assertj_assertj_core_3_22_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_checkerframework_checker_qual_3_5_0.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_checkerframework_checker_qual_3_5_0.xml
new file mode 100644
index 0000000..a520083
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_checkerframework_checker_qual_3_5_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_7.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_7.xml
new file mode 100644
index 0000000..7a4e1ee
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_7.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_7.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_7.xml
new file mode 100644
index 0000000..c89bdc0
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_7.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml
new file mode 100644
index 0000000..6b5496f
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml
new file mode 100644
index 0000000..a775836
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_hibernate_hibernate_core_5_6_12_Final.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_hibernate_hibernate_core_5_6_12_Final.xml
new file mode 100644
index 0000000..c019ff2
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_hibernate_hibernate_core_5_6_12_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_jboss_jandex_2_4_2_Final.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_jboss_jandex_2_4_2_Final.xml
new file mode 100644
index 0000000..e65fbd0
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_jboss_jandex_2_4_2_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_3_Final.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_3_Final.xml
new file mode 100644
index 0000000..5845c01
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_3_Final.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_8_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_8_2.xml
new file mode 100644
index 0000000..4f367e7
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_8_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_8_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_8_2.xml
new file mode 100644
index 0000000..8e50783
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_8_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_8_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_8_2.xml
new file mode 100644
index 0000000..fc8291b
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_8_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_8_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_8_2.xml
new file mode 100644
index 0000000..4b3ffb1
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_8_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_8_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_8_2.xml
new file mode 100644
index 0000000..181d095
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_8_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_8_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_8_2.xml
new file mode 100644
index 0000000..5f3aebe
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_8_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_mockito_mockito_core_4_5_1.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_mockito_mockito_core_4_5_1.xml
new file mode 100644
index 0000000..68542c2
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_mockito_mockito_core_4_5_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_4_5_1.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_4_5_1.xml
new file mode 100644
index 0000000..42f334f
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_4_5_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_objenesis_objenesis_3_2.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_objenesis_objenesis_3_2.xml
new file mode 100644
index 0000000..6613def
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_objenesis_objenesis_3_2.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml
new file mode 100644
index 0000000..fbc1b16
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_ow2_asm_asm_9_1.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_ow2_asm_asm_9_1.xml
new file mode 100644
index 0000000..67127c2
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_ow2_asm_asm_9_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_postgresql_postgresql_42_3_7.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_postgresql_postgresql_42_3_7.xml
new file mode 100644
index 0000000..5aa26a7
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_postgresql_postgresql_42_3_7.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_1.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_1.xml
new file mode 100644
index 0000000..56582d6
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_36.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_36.xml
new file mode 100644
index 0000000..5d5c14b
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_36.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_36.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_36.xml
new file mode 100644
index 0000000..2d759c1
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_36.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_7_5.xml
new file mode 100644
index 0000000..6697829
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_7_5.xml
new file mode 100644
index 0000000..c7dfef8
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_7_5.xml
new file mode 100644
index 0000000..5a319c5
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_7_5.xml
new file mode 100644
index 0000000..e00cf8f
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_7_5.xml
new file mode 100644
index 0000000..d143948
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_7_5.xml
new file mode 100644
index 0000000..84eae7e
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_7_5.xml
new file mode 100644
index 0000000..a90c147
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_7_5.xml
new file mode 100644
index 0000000..4d17a9b
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_mustache_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_mustache_2_7_5.xml
new file mode 100644
index 0000000..ab54881
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_mustache_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_7_5.xml
new file mode 100644
index 0000000..205128e
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_7_5.xml
new file mode 100644
index 0000000..3bf05c4
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_7_5.xml
new file mode 100644
index 0000000..63e2536
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_7_5.xml
new file mode 100644
index 0000000..cf739ca
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_7_5.xml
new file mode 100644
index 0000000..b7eb6dc
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_7_5.xml
new file mode 100644
index 0000000..25be097
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_7_5.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_7_5.xml
new file mode 100644
index 0000000..ac5933e
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_7_5.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml
new file mode 100644
index 0000000..b07f8ff
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_aop_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_aspects_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_aspects_5_3_23.xml
new file mode 100644
index 0000000..111b00d
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_aspects_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml
new file mode 100644
index 0000000..739a62d
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_beans_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml
new file mode 100644
index 0000000..76d8edd
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_context_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml
new file mode 100644
index 0000000..2a2a6b5
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_core_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml
new file mode 100644
index 0000000..b16b8d7
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_expression_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml
new file mode 100644
index 0000000..fb6dc37
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_23.xml
new file mode 100644
index 0000000..ecefa2d
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_orm_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_orm_5_3_23.xml
new file mode 100644
index 0000000..21b71dd
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_orm_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_test_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_test_5_3_23.xml
new file mode 100644
index 0000000..8ab7122
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_test_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_tx_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_tx_5_3_23.xml
new file mode 100644
index 0000000..3655410
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_tx_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_web_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_web_5_3_23.xml
new file mode 100644
index 0000000..927f5c1
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_web_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_23.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_23.xml
new file mode 100644
index 0000000..4e7bed3
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_23.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_9_0.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_9_0.xml
new file mode 100644
index 0000000..e4d53eb
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_9_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/libraries/Maven__org_yaml_snakeyaml_1_30.xml b/brcm-old/core-spring/core/.idea/libraries/Maven__org_yaml_snakeyaml_1_30.xml
new file mode 100644
index 0000000..7eda891
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/libraries/Maven__org_yaml_snakeyaml_1_30.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/.idea/workspace.xml b/brcm-old/core-spring/core/.idea/workspace.xml
new file mode 100644
index 0000000..bf2f86f
--- /dev/null
+++ b/brcm-old/core-spring/core/.idea/workspace.xml
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1668997316385
+
+
+ 1668997316385
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core-spring/core/core.iml b/brcm-old/core-spring/core/core.iml
new file mode 100644
index 0000000..a2b84d3
--- /dev/null
+++ b/brcm-old/core-spring/core/core.iml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm-old/core/.gitignore b/brcm-old/core/.gitignore
new file mode 100644
index 0000000..4e551ee
--- /dev/null
+++ b/brcm-old/core/.gitignore
@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.ideaoldd
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
diff --git a/brcm-old/core/.mvn/wrapper/maven-wrapper.jar b/brcm-old/core/.mvn/wrapper/maven-wrapper.jar
new file mode 100644
index 0000000..c1dd12f
Binary files /dev/null and b/brcm-old/core/.mvn/wrapper/maven-wrapper.jar differ
diff --git a/brcm-old/core/.mvn/wrapper/maven-wrapper.properties b/brcm-old/core/.mvn/wrapper/maven-wrapper.properties
new file mode 100644
index 0000000..b74bf7f
--- /dev/null
+++ b/brcm-old/core/.mvn/wrapper/maven-wrapper.properties
@@ -0,0 +1,2 @@
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
+wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
diff --git a/brcm-old/core/mvnw b/brcm-old/core/mvnw
new file mode 100755
index 0000000..8a8fb22
--- /dev/null
+++ b/brcm-old/core/mvnw
@@ -0,0 +1,316 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+# ----------------------------------------------------------------------------
+# Maven Start Up Batch script
+#
+# Required ENV vars:
+# ------------------
+# JAVA_HOME - location of a JDK home dir
+#
+# Optional ENV vars
+# -----------------
+# M2_HOME - location of maven2's installed home dir
+# MAVEN_OPTS - parameters passed to the Java VM when running Maven
+# e.g. to debug Maven itself, use
+# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+# ----------------------------------------------------------------------------
+
+if [ -z "$MAVEN_SKIP_RC" ] ; then
+
+ if [ -f /usr/local/etc/mavenrc ] ; then
+ . /usr/local/etc/mavenrc
+ fi
+
+ if [ -f /etc/mavenrc ] ; then
+ . /etc/mavenrc
+ fi
+
+ if [ -f "$HOME/.mavenrc" ] ; then
+ . "$HOME/.mavenrc"
+ fi
+
+fi
+
+# OS specific support. $var _must_ be set to either true or false.
+cygwin=false;
+darwin=false;
+mingw=false
+case "`uname`" in
+ CYGWIN*) cygwin=true ;;
+ MINGW*) mingw=true;;
+ Darwin*) darwin=true
+ # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
+ # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
+ if [ -z "$JAVA_HOME" ]; then
+ if [ -x "/usr/libexec/java_home" ]; then
+ export JAVA_HOME="`/usr/libexec/java_home`"
+ else
+ export JAVA_HOME="/Library/Java/Home"
+ fi
+ fi
+ ;;
+esac
+
+if [ -z "$JAVA_HOME" ] ; then
+ if [ -r /etc/gentoo-release ] ; then
+ JAVA_HOME=`java-config --jre-home`
+ fi
+fi
+
+if [ -z "$M2_HOME" ] ; then
+ ## resolve links - $0 may be a link to maven's home
+ PRG="$0"
+
+ # need this for relative symlinks
+ while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG="`dirname "$PRG"`/$link"
+ fi
+ done
+
+ saveddir=`pwd`
+
+ M2_HOME=`dirname "$PRG"`/..
+
+ # make it fully qualified
+ M2_HOME=`cd "$M2_HOME" && pwd`
+
+ cd "$saveddir"
+ # echo Using m2 at $M2_HOME
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --unix "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For Mingw, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME="`(cd "$M2_HOME"; pwd)`"
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ javaExecutable="`which javac`"
+ if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
+ # readlink(1) is not available as standard on Solaris 10.
+ readLink=`which readlink`
+ if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
+ if $darwin ; then
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
+ else
+ javaExecutable="`readlink -f \"$javaExecutable\"`"
+ fi
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaHome=`expr "$javaHome" : '\(.*\)/bin'`
+ JAVA_HOME="$javaHome"
+ export JAVA_HOME
+ fi
+ fi
+fi
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD="`\\unset -f command; \\command -v java`"
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly." >&2
+ echo " We cannot execute $JAVACMD" >&2
+ exit 1
+fi
+
+if [ -z "$JAVA_HOME" ] ; then
+ echo "Warning: JAVA_HOME environment variable is not set."
+fi
+
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+
+# traverses directory structure from process work directory to filesystem root
+# first directory with .mvn subdirectory is considered project base directory
+find_maven_basedir() {
+
+ if [ -z "$1" ]
+ then
+ echo "Path not specified to find_maven_basedir"
+ return 1
+ fi
+
+ basedir="$1"
+ wdir="$1"
+ while [ "$wdir" != '/' ] ; do
+ if [ -d "$wdir"/.mvn ] ; then
+ basedir=$wdir
+ break
+ fi
+ # workaround for JBEAP-8937 (on Solaris 10/Sparc)
+ if [ -d "${wdir}" ]; then
+ wdir=`cd "$wdir/.."; pwd`
+ fi
+ # end of workaround
+ done
+ echo "${basedir}"
+}
+
+# concatenates all lines of a file
+concat_lines() {
+ if [ -f "$1" ]; then
+ echo "$(tr -s '\n' ' ' < "$1")"
+ fi
+}
+
+BASE_DIR=`find_maven_basedir "$(pwd)"`
+if [ -z "$BASE_DIR" ]; then
+ exit 1;
+fi
+
+##########################################################################################
+# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+# This allows using the maven wrapper in projects that prohibit checking in binary data.
+##########################################################################################
+if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Found .mvn/wrapper/maven-wrapper.jar"
+ fi
+else
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
+ fi
+ if [ -n "$MVNW_REPOURL" ]; then
+ jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+ else
+ jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+ fi
+ while IFS="=" read key value; do
+ case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
+ esac
+ done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Downloading from: $jarUrl"
+ fi
+ wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
+ if $cygwin; then
+ wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
+ fi
+
+ if command -v wget > /dev/null; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Found wget ... using wget"
+ fi
+ if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+ wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
+ else
+ wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
+ fi
+ elif command -v curl > /dev/null; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Found curl ... using curl"
+ fi
+ if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+ curl -o "$wrapperJarPath" "$jarUrl" -f
+ else
+ curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
+ fi
+
+ else
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Falling back to using Java to download"
+ fi
+ javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
+ # For Cygwin, switch paths to Windows format before running javac
+ if $cygwin; then
+ javaClass=`cygpath --path --windows "$javaClass"`
+ fi
+ if [ -e "$javaClass" ]; then
+ if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo " - Compiling MavenWrapperDownloader.java ..."
+ fi
+ # Compiling the Java class
+ ("$JAVA_HOME/bin/javac" "$javaClass")
+ fi
+ if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
+ # Running the downloader
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo " - Running MavenWrapperDownloader.java ..."
+ fi
+ ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
+ fi
+ fi
+ fi
+fi
+##########################################################################################
+# End of extension
+##########################################################################################
+
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
+if [ "$MVNW_VERBOSE" = true ]; then
+ echo $MAVEN_PROJECTBASEDIR
+fi
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --path --windows "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+ [ -n "$MAVEN_PROJECTBASEDIR" ] &&
+ MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
+fi
+
+# Provide a "standardized" way to retrieve the CLI args that will
+# work with both Windows and non-Windows executions.
+MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
+export MAVEN_CMD_LINE_ARGS
+
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+exec "$JAVACMD" \
+ $MAVEN_OPTS \
+ $MAVEN_DEBUG_OPTS \
+ -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
+ "-Dmaven.home=${M2_HOME}" \
+ "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
+ ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/brcm-old/core/mvnw.cmd b/brcm-old/core/mvnw.cmd
new file mode 100644
index 0000000..1d8ab01
--- /dev/null
+++ b/brcm-old/core/mvnw.cmd
@@ -0,0 +1,188 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM https://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Maven Start Up Batch script
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM M2_HOME - location of maven2's installed home dir
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM set title of command window
+title %0
+@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
+
+@REM set %HOME% to equivalent of $HOME
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
+
+@REM Execute a user defined script before this one
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
+if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
+if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
+:skipRcPre
+
+@setlocal
+
+set ERROR_CODE=0
+
+@REM To isolate internal variables from possible post scripts, we use another setlocal
+@setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo.
+echo Error: JAVA_HOME not found in your environment. >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto init
+
+echo.
+echo Error: JAVA_HOME is set to an invalid directory. >&2
+echo JAVA_HOME = "%JAVA_HOME%" >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+@REM ==== END VALIDATION ====
+
+:init
+
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
+@REM Fallback to current working directory if not found.
+
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+
+set EXEC_DIR=%CD%
+set WDIR=%EXEC_DIR%
+:findBaseDir
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
+cd ..
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
+set WDIR=%CD%
+goto findBaseDir
+
+:baseDirFound
+set MAVEN_PROJECTBASEDIR=%WDIR%
+cd "%EXEC_DIR%"
+goto endDetectBaseDir
+
+:baseDirNotFound
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
+cd "%EXEC_DIR%"
+
+:endDetectBaseDir
+
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
+
+@setlocal EnableExtensions EnableDelayedExpansion
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
+
+:endReadAdditionalConfig
+
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+
+FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
+ IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
+)
+
+@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
+if exist %WRAPPER_JAR% (
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Found %WRAPPER_JAR%
+ )
+) else (
+ if not "%MVNW_REPOURL%" == "" (
+ SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+ )
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Couldn't find %WRAPPER_JAR%, downloading it ...
+ echo Downloading from: %DOWNLOAD_URL%
+ )
+
+ powershell -Command "&{"^
+ "$webclient = new-object System.Net.WebClient;"^
+ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
+ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
+ "}"^
+ "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
+ "}"
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Finished downloading %WRAPPER_JAR%
+ )
+)
+@REM End of extension
+
+@REM Provide a "standardized" way to retrieve the CLI args that will
+@REM work with both Windows and non-Windows executions.
+set MAVEN_CMD_LINE_ARGS=%*
+
+%MAVEN_JAVA_EXE% ^
+ %JVM_CONFIG_MAVEN_PROPS% ^
+ %MAVEN_OPTS% ^
+ %MAVEN_DEBUG_OPTS% ^
+ -classpath %WRAPPER_JAR% ^
+ "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
+ %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+set ERROR_CODE=1
+
+:end
+@endlocal & set ERROR_CODE=%ERROR_CODE%
+
+if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
+if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
+if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
+:skipRcPost
+
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%"=="on" pause
+
+if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
+
+cmd /C exit /B %ERROR_CODE%
diff --git a/brcm-old/core/pom.xml b/brcm-old/core/pom.xml
new file mode 100644
index 0000000..017a321
--- /dev/null
+++ b/brcm-old/core/pom.xml
@@ -0,0 +1,58 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.7.5
+
+
+ org.cpp
+ core
+ 0.0.1-SNAPSHOT
+ core
+ core
+
+ 11
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+ org.springframework.boot
+ spring-boot-starter-jdbc
+
+
+ org.springframework.boot
+ spring-boot-starter-mustache
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.postgresql
+ postgresql
+ runtime
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/brcm-old/core/src/main/java/common/Hibernate.java b/brcm-old/core/src/main/java/common/Hibernate.java
new file mode 100644
index 0000000..ccf7c0c
--- /dev/null
+++ b/brcm-old/core/src/main/java/common/Hibernate.java
@@ -0,0 +1,17 @@
+package common;
+
+import org.hibernate.Session;
+import org.hibernate.SessionFactory;
+import org.hibernate.cfg.Configuration;
+
+import javax.persistence.EntityManagerFactory;
+
+public class Hibernate {
+ private static SessionFactory factory;
+ static {
+ factory = new Configuration().configure().buildSessionFactory();
+ }
+ public static Session getSession(){
+ return factory.openSession();
+ }
+}
diff --git a/brcm/core/src/main/java/dtos/ActivityDto.java b/brcm-old/core/src/main/java/dtos/ActivityDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/ActivityDto.java
rename to brcm-old/core/src/main/java/dtos/ActivityDto.java
diff --git a/brcm/core/src/main/java/dtos/AddressDto.java b/brcm-old/core/src/main/java/dtos/AddressDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/AddressDto.java
rename to brcm-old/core/src/main/java/dtos/AddressDto.java
diff --git a/brcm/core/src/main/java/dtos/AppointmentDto.java b/brcm-old/core/src/main/java/dtos/AppointmentDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/AppointmentDto.java
rename to brcm-old/core/src/main/java/dtos/AppointmentDto.java
diff --git a/brcm/core/src/main/java/dtos/CustomerDto.java b/brcm-old/core/src/main/java/dtos/CustomerDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/CustomerDto.java
rename to brcm-old/core/src/main/java/dtos/CustomerDto.java
diff --git a/brcm/core/src/main/java/dtos/DiscountschemeDto.java b/brcm-old/core/src/main/java/dtos/DiscountschemeDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/DiscountschemeDto.java
rename to brcm-old/core/src/main/java/dtos/DiscountschemeDto.java
diff --git a/brcm/core/src/main/java/dtos/HistoricalpriceDto.java b/brcm-old/core/src/main/java/dtos/HistoricalpriceDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/HistoricalpriceDto.java
rename to brcm-old/core/src/main/java/dtos/HistoricalpriceDto.java
diff --git a/brcm/core/src/main/java/dtos/LineitemDto.java b/brcm-old/core/src/main/java/dtos/LineitemDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/LineitemDto.java
rename to brcm-old/core/src/main/java/dtos/LineitemDto.java
diff --git a/brcm/core/src/main/java/dtos/OrderDto.java b/brcm-old/core/src/main/java/dtos/OrderDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/OrderDto.java
rename to brcm-old/core/src/main/java/dtos/OrderDto.java
diff --git a/brcm/core/src/main/java/dtos/ProfessorDto.java b/brcm-old/core/src/main/java/dtos/ProfessorDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/ProfessorDto.java
rename to brcm-old/core/src/main/java/dtos/ProfessorDto.java
diff --git a/brcm/core/src/main/java/dtos/StudentDto.java b/brcm-old/core/src/main/java/dtos/StudentDto.java
similarity index 100%
rename from brcm/core/src/main/java/dtos/StudentDto.java
rename to brcm-old/core/src/main/java/dtos/StudentDto.java
diff --git a/brcm/core/src/main/java/entities/Activity.java b/brcm-old/core/src/main/java/entities/Activity.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Activity.java
rename to brcm-old/core/src/main/java/entities/Activity.java
diff --git a/brcm/core/src/main/java/entities/Address.java b/brcm-old/core/src/main/java/entities/Address.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Address.java
rename to brcm-old/core/src/main/java/entities/Address.java
diff --git a/brcm/core/src/main/java/entities/Appointment.java b/brcm-old/core/src/main/java/entities/Appointment.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Appointment.java
rename to brcm-old/core/src/main/java/entities/Appointment.java
diff --git a/brcm/core/src/main/java/entities/Customer.java b/brcm-old/core/src/main/java/entities/Customer.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Customer.java
rename to brcm-old/core/src/main/java/entities/Customer.java
diff --git a/brcm/core/src/main/java/entities/Discountscheme.java b/brcm-old/core/src/main/java/entities/Discountscheme.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Discountscheme.java
rename to brcm-old/core/src/main/java/entities/Discountscheme.java
diff --git a/brcm/core/src/main/java/entities/Historicalprice.java b/brcm-old/core/src/main/java/entities/Historicalprice.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Historicalprice.java
rename to brcm-old/core/src/main/java/entities/Historicalprice.java
diff --git a/brcm/core/src/main/java/entities/Lineitem.java b/brcm-old/core/src/main/java/entities/Lineitem.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Lineitem.java
rename to brcm-old/core/src/main/java/entities/Lineitem.java
diff --git a/brcm/core/src/main/java/entities/Order.java b/brcm-old/core/src/main/java/entities/Order.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Order.java
rename to brcm-old/core/src/main/java/entities/Order.java
diff --git a/brcm/core/src/main/java/entities/Professor.java b/brcm-old/core/src/main/java/entities/Professor.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Professor.java
rename to brcm-old/core/src/main/java/entities/Professor.java
diff --git a/brcm/core/src/main/java/entities/Student.java b/brcm-old/core/src/main/java/entities/Student.java
similarity index 100%
rename from brcm/core/src/main/java/entities/Student.java
rename to brcm-old/core/src/main/java/entities/Student.java
diff --git a/brcm/core/src/main/java/impl/CustomerManagementServiceImpl.java b/brcm-old/core/src/main/java/impl/CustomerManagementServiceImpl.java
similarity index 64%
rename from brcm/core/src/main/java/impl/CustomerManagementServiceImpl.java
rename to brcm-old/core/src/main/java/impl/CustomerManagementServiceImpl.java
index 9aacc8e..d0285cd 100644
--- a/brcm/core/src/main/java/impl/CustomerManagementServiceImpl.java
+++ b/brcm-old/core/src/main/java/impl/CustomerManagementServiceImpl.java
@@ -2,6 +2,9 @@ package impl;
import dtos.ProfessorDto;
import dtos.StudentDto;
+import entities.Customer;
+import entities.Student;
+import repositories.CustomerRepository;
import repositories.ProfessorRepository;
import repositories.StudentRepository;
import services.CustomerManagementService;
@@ -12,15 +15,27 @@ public class CustomerManagementServiceImpl implements CustomerManagementService
private final ProfessorRepository professorRepository;
private final StudentRepository studentRepository;
-
- public CustomerManagementServiceImpl(StudentRepository studentRepository, ProfessorRepository professorRepository){
+ private final CustomerRepository customerRepository;
+ public CustomerManagementServiceImpl(StudentRepository studentRepository, ProfessorRepository professorRepository, CustomerRepository customerRepository){
this.studentRepository = studentRepository;
this.professorRepository = professorRepository;
+ this.customerRepository = customerRepository;
}
@Override
public void saveStudent(StudentDto student) {
-
+ Customer c = new Customer();
+ c.setDateofbirth(student.getDateofbirth());
+ c.setFirstname(student.getFirstname());
+ c.setLastname(student.getLastname());
+ c.setPhone(student.getPhone());
+ Student s = new Student();
+ s.setCustomer(c);
+ s.setEnterdate(student.getGraddate());
+ s.setEnterdate(student.getEnterdate());
+ s.setMajor(student.getMajor());
+ s.setMinor(student.getMinor());
+ studentRepository.saveStudent(s);
}
@Override
diff --git a/brcm-old/core/src/main/java/impl/CustomerRepositoryImpl.java b/brcm-old/core/src/main/java/impl/CustomerRepositoryImpl.java
new file mode 100644
index 0000000..80f9b86
--- /dev/null
+++ b/brcm-old/core/src/main/java/impl/CustomerRepositoryImpl.java
@@ -0,0 +1,89 @@
+package impl;
+
+import common.Hibernate;
+import entities.Customer;
+import org.hibernate.Session;
+import repositories.CustomerRepository;
+
+import java.util.Optional;
+
+public class CustomerRepositoryImpl implements CustomerRepository {
+ private Session session;
+
+ public CustomerRepositoryImpl(){
+ session = Hibernate.getSession();
+ }
+ @Override
+ public Customer getCustomerById(int id) {
+ Customer customer = (Customer)session.get(Customer.class, id);
+ return customer;
+ }
+
+ @Override
+ public Customer saveCustomer(Customer customer) {
+ int id = (Integer)session.save(customer);
+ session.flush();
+ customer.setId(id);
+ return customer;
+ }
+
+ @Override
+ public S save(S entity) {
+ return null;
+ }
+
+ @Override
+ public Iterable saveAll(Iterable entities) {
+ return null;
+ }
+
+ @Override
+ public Optional findById(Integer integer) {
+ return Optional.empty();
+ }
+
+ @Override
+ public boolean existsById(Integer integer) {
+ return false;
+ }
+
+ @Override
+ public Iterable findAll() {
+ return null;
+ }
+
+ @Override
+ public Iterable findAllById(Iterable integers) {
+ return null;
+ }
+
+ @Override
+ public long count() {
+ return 0;
+ }
+
+ @Override
+ public void deleteById(Integer integer) {
+
+ }
+
+ @Override
+ public void delete(Customer entity) {
+
+ }
+
+ @Override
+ public void deleteAllById(Iterable extends Integer> integers) {
+
+ }
+
+ @Override
+ public void deleteAll(Iterable extends Customer> entities) {
+
+ }
+
+ @Override
+ public void deleteAll() {
+
+ }
+}
diff --git a/brcm-old/core/src/main/java/impl/ProfessorRepositoryImpl.java b/brcm-old/core/src/main/java/impl/ProfessorRepositoryImpl.java
new file mode 100644
index 0000000..ce79ffd
--- /dev/null
+++ b/brcm-old/core/src/main/java/impl/ProfessorRepositoryImpl.java
@@ -0,0 +1,33 @@
+package impl;
+
+import entities.Professor;
+import repositories.ProfessorRepository;
+
+import java.util.List;
+
+public class ProfessorRepositoryImpl implements ProfessorRepository {
+ @Override
+ public Professor saveProfessor(Professor Professor) {
+ return null;
+ }
+
+ @Override
+ public void deleteProfessor(int id) {
+
+ }
+
+ @Override
+ public void updateProfessor(int id) {
+
+ }
+
+ @Override
+ public void getProfessorById(int id) {
+
+ }
+
+ @Override
+ public List getProfessorsByDept(String dept) {
+ return null;
+ }
+}
diff --git a/brcm-old/core/src/main/java/impl/StudentRepositoryImpl.java b/brcm-old/core/src/main/java/impl/StudentRepositoryImpl.java
new file mode 100644
index 0000000..a99656f
--- /dev/null
+++ b/brcm-old/core/src/main/java/impl/StudentRepositoryImpl.java
@@ -0,0 +1,53 @@
+package impl;
+
+import common.Hibernate;
+import entities.Student;
+import org.hibernate.Session;
+import org.hibernate.query.Query;
+import repositories.StudentRepository;
+
+import java.util.List;
+import java.util.stream.Collectors;
+
+public class StudentRepositoryImpl implements StudentRepository {
+ private Session session;
+
+ public StudentRepositoryImpl(){
+ session = Hibernate.getSession();
+ }
+
+ @Override
+ public Student saveStudent(Student student) {
+ int id = (Integer)session.save(student);
+ session.flush();
+ student.setId(id);
+ return student;
+ }
+
+ @Override
+ public void deleteStudent(int id) {
+ Student student = (Student)session.get(Student.class, id);
+ session.delete(student);
+ }
+
+ @Override
+ public void updateStudent(Student student) {
+ saveStudent(student);
+ }
+
+ @Override
+ public Student getStudentById(int id) {
+ Student student = (Student)session.get(Student.class, id);
+ return student;
+ }
+
+ @Override
+ public List getStudentsByMajor(String major) {
+ String hql = "FROM Student s WHERE s.major = :major";
+ Query q = session.createQuery(hql);
+ q.setParameter("major", major);
+ List results = q.list();
+ List ss = (List) results.stream().map(o -> (Student)o).collect(Collectors.toList());
+ return ss;
+ }
+}
diff --git a/brcm/core/src/main/java/repositories/ActivityRepository.java b/brcm-old/core/src/main/java/repositories/ActivityRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/ActivityRepository.java
rename to brcm-old/core/src/main/java/repositories/ActivityRepository.java
diff --git a/brcm/core/src/main/java/repositories/AppointmentRepository.java b/brcm-old/core/src/main/java/repositories/AppointmentRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/AppointmentRepository.java
rename to brcm-old/core/src/main/java/repositories/AppointmentRepository.java
diff --git a/brcm-old/core/src/main/java/repositories/CustomerRepository.java b/brcm-old/core/src/main/java/repositories/CustomerRepository.java
new file mode 100644
index 0000000..9a8d5bc
--- /dev/null
+++ b/brcm-old/core/src/main/java/repositories/CustomerRepository.java
@@ -0,0 +1,9 @@
+package repositories;
+
+import entities.Customer;
+import org.springframework.data.repository.CrudRepository;
+
+public interface CustomerRepository extends CrudRepository {
+ Customer getCustomerById(int id);
+ Customer saveCustomer(Customer customer);
+}
diff --git a/brcm/core/src/main/java/repositories/DiscountSchemeRepository.java b/brcm-old/core/src/main/java/repositories/DiscountSchemeRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/DiscountSchemeRepository.java
rename to brcm-old/core/src/main/java/repositories/DiscountSchemeRepository.java
diff --git a/brcm/core/src/main/java/repositories/LineItemRepository.java b/brcm-old/core/src/main/java/repositories/LineItemRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/LineItemRepository.java
rename to brcm-old/core/src/main/java/repositories/LineItemRepository.java
diff --git a/brcm/core/src/main/java/repositories/OrderRepository.java b/brcm-old/core/src/main/java/repositories/OrderRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/OrderRepository.java
rename to brcm-old/core/src/main/java/repositories/OrderRepository.java
diff --git a/brcm/core/src/main/java/repositories/PriceHistoryRepository.java b/brcm-old/core/src/main/java/repositories/PriceHistoryRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/PriceHistoryRepository.java
rename to brcm-old/core/src/main/java/repositories/PriceHistoryRepository.java
diff --git a/brcm/core/src/main/java/repositories/ProfessorRepository.java b/brcm-old/core/src/main/java/repositories/ProfessorRepository.java
similarity index 100%
rename from brcm/core/src/main/java/repositories/ProfessorRepository.java
rename to brcm-old/core/src/main/java/repositories/ProfessorRepository.java
diff --git a/brcm/core/src/main/java/repositories/StudentRepository.java b/brcm-old/core/src/main/java/repositories/StudentRepository.java
similarity index 75%
rename from brcm/core/src/main/java/repositories/StudentRepository.java
rename to brcm-old/core/src/main/java/repositories/StudentRepository.java
index efadd07..7d4d8d6 100644
--- a/brcm/core/src/main/java/repositories/StudentRepository.java
+++ b/brcm-old/core/src/main/java/repositories/StudentRepository.java
@@ -6,7 +6,7 @@ import java.util.List;
public interface StudentRepository {
Student saveStudent(Student student);
void deleteStudent(int id);
- void updateStudent(int id);
- void getStudentById(int id);
+ void updateStudent(Student student);
+ Student getStudentById(int id);
List getStudentsByMajor(String major);
}
diff --git a/brcm-old/core/src/main/java/run/CoreApplication.java b/brcm-old/core/src/main/java/run/CoreApplication.java
new file mode 100644
index 0000000..750ca3b
--- /dev/null
+++ b/brcm-old/core/src/main/java/run/CoreApplication.java
@@ -0,0 +1,29 @@
+package run;
+
+import dtos.StudentDto;
+import impl.CustomerManagementServiceImpl;
+import impl.CustomerRepositoryImpl;
+import impl.ProfessorRepositoryImpl;
+import impl.StudentRepositoryImpl;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import repositories.CustomerRepository;
+import repositories.ProfessorRepository;
+import repositories.StudentRepository;
+
+import java.time.LocalDate;
+
+@SpringBootApplication
+public class CoreApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(CoreApplication.class, args);
+// StudentRepository sr = new StudentRepositoryImpl();
+// CustomerRepository cr = new CustomerRepositoryImpl();
+// ProfessorRepository pr = new ProfessorRepositoryImpl();
+// CustomerManagementServiceImpl s = new CustomerManagementServiceImpl(sr, pr, cr);
+// s.saveStudent(new StudentDto(123, LocalDate.now(), "maj", "min", LocalDate.MAX, "fname", "lname", LocalDate.MIN, "12345567"));
+// System.out.println( "Hello World!" );
+ }
+
+}
diff --git a/brcm/core/src/main/java/services/ActivityRegistrationService.java b/brcm-old/core/src/main/java/services/ActivityRegistrationService.java
similarity index 100%
rename from brcm/core/src/main/java/services/ActivityRegistrationService.java
rename to brcm-old/core/src/main/java/services/ActivityRegistrationService.java
diff --git a/brcm/core/src/main/java/services/CustomerManagementService.java b/brcm-old/core/src/main/java/services/CustomerManagementService.java
similarity index 100%
rename from brcm/core/src/main/java/services/CustomerManagementService.java
rename to brcm-old/core/src/main/java/services/CustomerManagementService.java
diff --git a/brcm/core/src/main/java/services/DiscountManagementService.java b/brcm-old/core/src/main/java/services/DiscountManagementService.java
similarity index 100%
rename from brcm/core/src/main/java/services/DiscountManagementService.java
rename to brcm-old/core/src/main/java/services/DiscountManagementService.java
diff --git a/brcm/core/src/main/java/services/PriceHistoryService.java b/brcm-old/core/src/main/java/services/PriceHistoryService.java
similarity index 100%
rename from brcm/core/src/main/java/services/PriceHistoryService.java
rename to brcm-old/core/src/main/java/services/PriceHistoryService.java
diff --git a/brcm/core/src/main/java/services/RevenueReportService.java b/brcm-old/core/src/main/java/services/RevenueReportService.java
similarity index 100%
rename from brcm/core/src/main/java/services/RevenueReportService.java
rename to brcm-old/core/src/main/java/services/RevenueReportService.java
diff --git a/brcm/core/src/main/java/services/VisitRegistrationService.java b/brcm-old/core/src/main/java/services/VisitRegistrationService.java
similarity index 100%
rename from brcm/core/src/main/java/services/VisitRegistrationService.java
rename to brcm-old/core/src/main/java/services/VisitRegistrationService.java
diff --git a/brcm-old/core/src/main/resources/application.properties b/brcm-old/core/src/main/resources/application.properties
new file mode 100644
index 0000000..fc3eb82
--- /dev/null
+++ b/brcm-old/core/src/main/resources/application.properties
@@ -0,0 +1,7 @@
+spring.datasource.url=jdbc:postgresql://localhost:5432/brcm
+spring.datasource.username=sivacharan
+spring.datasource.password=
+spring.datasource.driver-class-name=org.postgresql.Driver
+spring.jpa.database-platform = org.hibernate.dialect.PostgreSQLDialect
+spring.jpa.generate-ddl=true
+spring.jpa.hibernate.ddl-auto = update
diff --git a/brcm-old/core/src/test/java/run/CoreApplicationTests.java b/brcm-old/core/src/test/java/run/CoreApplicationTests.java
new file mode 100644
index 0000000..a679108
--- /dev/null
+++ b/brcm-old/core/src/test/java/run/CoreApplicationTests.java
@@ -0,0 +1,13 @@
+package run;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class CoreApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/brcm/desktop/pom.xml b/brcm-old/desktop/pom.xml
similarity index 100%
rename from brcm/desktop/pom.xml
rename to brcm-old/desktop/pom.xml
diff --git a/brcm/desktop/src/main/java/org/cpp/App.java b/brcm-old/desktop/src/main/java/org/cpp/App.java
similarity index 100%
rename from brcm/desktop/src/main/java/org/cpp/App.java
rename to brcm-old/desktop/src/main/java/org/cpp/App.java
diff --git a/brcm/desktop/src/test/java/org/cpp/AppTest.java b/brcm-old/desktop/src/test/java/org/cpp/AppTest.java
similarity index 100%
rename from brcm/desktop/src/test/java/org/cpp/AppTest.java
rename to brcm-old/desktop/src/test/java/org/cpp/AppTest.java
diff --git a/brcm/core/target/classes/org/cpp/App.class b/brcm-old/desktop/target/classes/org/cpp/App.class
similarity index 100%
rename from brcm/core/target/classes/org/cpp/App.class
rename to brcm-old/desktop/target/classes/org/cpp/App.class
diff --git a/brcm/desktop/target/desktop-1.0-SNAPSHOT.jar b/brcm-old/desktop/target/desktop-1.0-SNAPSHOT.jar
similarity index 100%
rename from brcm/desktop/target/desktop-1.0-SNAPSHOT.jar
rename to brcm-old/desktop/target/desktop-1.0-SNAPSHOT.jar
diff --git a/brcm/desktop/target/maven-archiver/pom.properties b/brcm-old/desktop/target/maven-archiver/pom.properties
similarity index 100%
rename from brcm/desktop/target/maven-archiver/pom.properties
rename to brcm-old/desktop/target/maven-archiver/pom.properties
diff --git a/brcm/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/brcm-old/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
similarity index 100%
rename from brcm/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
rename to brcm-old/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
diff --git a/brcm/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/brcm-old/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
similarity index 100%
rename from brcm/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
rename to brcm-old/desktop/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
diff --git a/brcm/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/brcm-old/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
similarity index 100%
rename from brcm/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
rename to brcm-old/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
diff --git a/brcm/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/brcm-old/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
similarity index 100%
rename from brcm/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
rename to brcm-old/desktop/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
diff --git a/brcm/desktop/target/surefire-reports/TEST-org.cpp.AppTest.xml b/brcm-old/desktop/target/surefire-reports/TEST-org.cpp.AppTest.xml
similarity index 100%
rename from brcm/desktop/target/surefire-reports/TEST-org.cpp.AppTest.xml
rename to brcm-old/desktop/target/surefire-reports/TEST-org.cpp.AppTest.xml
diff --git a/brcm/desktop/target/surefire-reports/org.cpp.AppTest.txt b/brcm-old/desktop/target/surefire-reports/org.cpp.AppTest.txt
similarity index 100%
rename from brcm/desktop/target/surefire-reports/org.cpp.AppTest.txt
rename to brcm-old/desktop/target/surefire-reports/org.cpp.AppTest.txt
diff --git a/brcm/core/target/test-classes/org/cpp/AppTest.class b/brcm-old/desktop/target/test-classes/org/cpp/AppTest.class
similarity index 100%
rename from brcm/core/target/test-classes/org/cpp/AppTest.class
rename to brcm-old/desktop/target/test-classes/org/cpp/AppTest.class
diff --git a/brcm/lib/FastInfoset-1.2.15.jar b/brcm-old/lib/FastInfoset-1.2.15.jar
similarity index 100%
rename from brcm/lib/FastInfoset-1.2.15.jar
rename to brcm-old/lib/FastInfoset-1.2.15.jar
diff --git a/brcm/lib/antlr-2.7.7.jar b/brcm-old/lib/antlr-2.7.7.jar
similarity index 100%
rename from brcm/lib/antlr-2.7.7.jar
rename to brcm-old/lib/antlr-2.7.7.jar
diff --git a/brcm-old/lib/aopalliance-1.0.jar b/brcm-old/lib/aopalliance-1.0.jar
new file mode 100644
index 0000000..578b1a0
Binary files /dev/null and b/brcm-old/lib/aopalliance-1.0.jar differ
diff --git a/brcm/lib/byte-buddy-1.12.8.jar b/brcm-old/lib/byte-buddy-1.12.8.jar
similarity index 100%
rename from brcm/lib/byte-buddy-1.12.8.jar
rename to brcm-old/lib/byte-buddy-1.12.8.jar
diff --git a/brcm/lib/c3p0-0.9.5.5.jar b/brcm-old/lib/c3p0-0.9.5.5.jar
similarity index 100%
rename from brcm/lib/c3p0-0.9.5.5.jar
rename to brcm-old/lib/c3p0-0.9.5.5.jar
diff --git a/brcm/lib/classmate-1.5.1.jar b/brcm-old/lib/classmate-1.5.1.jar
similarity index 100%
rename from brcm/lib/classmate-1.5.1.jar
rename to brcm-old/lib/classmate-1.5.1.jar
diff --git a/brcm-old/lib/commons-logging-1.2.jar b/brcm-old/lib/commons-logging-1.2.jar
new file mode 100644
index 0000000..93a3b9f
Binary files /dev/null and b/brcm-old/lib/commons-logging-1.2.jar differ
diff --git a/brcm/lib/hibernate-c3p0-5.6.7.Final.jar b/brcm-old/lib/hibernate-c3p0-5.6.7.Final.jar
similarity index 100%
rename from brcm/lib/hibernate-c3p0-5.6.7.Final.jar
rename to brcm-old/lib/hibernate-c3p0-5.6.7.Final.jar
diff --git a/brcm/lib/hibernate-commons-annotations-5.1.2.Final.jar b/brcm-old/lib/hibernate-commons-annotations-5.1.2.Final.jar
similarity index 100%
rename from brcm/lib/hibernate-commons-annotations-5.1.2.Final.jar
rename to brcm-old/lib/hibernate-commons-annotations-5.1.2.Final.jar
diff --git a/brcm/lib/hibernate-core-5.6.7.Final.jar b/brcm-old/lib/hibernate-core-5.6.7.Final.jar
similarity index 100%
rename from brcm/lib/hibernate-core-5.6.7.Final.jar
rename to brcm-old/lib/hibernate-core-5.6.7.Final.jar
diff --git a/brcm/lib/istack-commons-runtime-3.0.7.jar b/brcm-old/lib/istack-commons-runtime-3.0.7.jar
similarity index 100%
rename from brcm/lib/istack-commons-runtime-3.0.7.jar
rename to brcm-old/lib/istack-commons-runtime-3.0.7.jar
diff --git a/brcm/lib/jandex-2.4.2.Final.jar b/brcm-old/lib/jandex-2.4.2.Final.jar
similarity index 100%
rename from brcm/lib/jandex-2.4.2.Final.jar
rename to brcm-old/lib/jandex-2.4.2.Final.jar
diff --git a/brcm/lib/javax.activation-api-1.2.0.jar b/brcm-old/lib/javax.activation-api-1.2.0.jar
similarity index 100%
rename from brcm/lib/javax.activation-api-1.2.0.jar
rename to brcm-old/lib/javax.activation-api-1.2.0.jar
diff --git a/brcm/lib/javax.persistence-api-2.2.jar b/brcm-old/lib/javax.persistence-api-2.2.jar
similarity index 100%
rename from brcm/lib/javax.persistence-api-2.2.jar
rename to brcm-old/lib/javax.persistence-api-2.2.jar
diff --git a/brcm/lib/jaxb-api-2.3.1.jar b/brcm-old/lib/jaxb-api-2.3.1.jar
similarity index 100%
rename from brcm/lib/jaxb-api-2.3.1.jar
rename to brcm-old/lib/jaxb-api-2.3.1.jar
diff --git a/brcm/lib/jaxb-runtime-2.3.1.jar b/brcm-old/lib/jaxb-runtime-2.3.1.jar
similarity index 100%
rename from brcm/lib/jaxb-runtime-2.3.1.jar
rename to brcm-old/lib/jaxb-runtime-2.3.1.jar
diff --git a/brcm/lib/jboss-logging-3.4.3.Final.jar b/brcm-old/lib/jboss-logging-3.4.3.Final.jar
similarity index 100%
rename from brcm/lib/jboss-logging-3.4.3.Final.jar
rename to brcm-old/lib/jboss-logging-3.4.3.Final.jar
diff --git a/brcm/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar b/brcm-old/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar
similarity index 100%
rename from brcm/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar
rename to brcm-old/lib/jboss-transaction-api_1.2_spec-1.1.1.Final.jar
diff --git a/brcm/lib/mchange-commons-java-0.2.19.jar b/brcm-old/lib/mchange-commons-java-0.2.19.jar
similarity index 100%
rename from brcm/lib/mchange-commons-java-0.2.19.jar
rename to brcm-old/lib/mchange-commons-java-0.2.19.jar
diff --git a/brcm-old/lib/spring-aop-5.2.3.RELEASE.jar b/brcm-old/lib/spring-aop-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..b4c9ae0
Binary files /dev/null and b/brcm-old/lib/spring-aop-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-aspects-5.2.3.RELEASE.jar b/brcm-old/lib/spring-aspects-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..bc57dbc
Binary files /dev/null and b/brcm-old/lib/spring-aspects-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-beans-5.2.3.RELEASE.jar b/brcm-old/lib/spring-beans-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..839ca43
Binary files /dev/null and b/brcm-old/lib/spring-beans-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-context-5.2.3.RELEASE.jar b/brcm-old/lib/spring-context-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..72ead31
Binary files /dev/null and b/brcm-old/lib/spring-context-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-context-support-5.2.3.RELEASE.jar b/brcm-old/lib/spring-context-support-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..2352504
Binary files /dev/null and b/brcm-old/lib/spring-context-support-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-core-5.2.3.RELEASE.jar b/brcm-old/lib/spring-core-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..00f4749
Binary files /dev/null and b/brcm-old/lib/spring-core-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-expression-5.2.3.RELEASE.jar b/brcm-old/lib/spring-expression-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..abc4420
Binary files /dev/null and b/brcm-old/lib/spring-expression-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-instrument-5.2.3.RELEASE.jar b/brcm-old/lib/spring-instrument-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..7847f47
Binary files /dev/null and b/brcm-old/lib/spring-instrument-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-jdbc-5.2.3.RELEASE.jar b/brcm-old/lib/spring-jdbc-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..83dcd50
Binary files /dev/null and b/brcm-old/lib/spring-jdbc-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-jms-5.2.3.RELEASE.jar b/brcm-old/lib/spring-jms-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..ccdb346
Binary files /dev/null and b/brcm-old/lib/spring-jms-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-messaging-5.2.3.RELEASE.jar b/brcm-old/lib/spring-messaging-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..ce353c6
Binary files /dev/null and b/brcm-old/lib/spring-messaging-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-orm-5.2.3.RELEASE.jar b/brcm-old/lib/spring-orm-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..c1e5c9f
Binary files /dev/null and b/brcm-old/lib/spring-orm-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-oxm-5.2.3.RELEASE.jar b/brcm-old/lib/spring-oxm-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..a254655
Binary files /dev/null and b/brcm-old/lib/spring-oxm-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-test-5.2.3.RELEASE.jar b/brcm-old/lib/spring-test-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..13c7c94
Binary files /dev/null and b/brcm-old/lib/spring-test-5.2.3.RELEASE.jar differ
diff --git a/brcm-old/lib/spring-tx-5.2.3.RELEASE.jar b/brcm-old/lib/spring-tx-5.2.3.RELEASE.jar
new file mode 100644
index 0000000..47d64dd
Binary files /dev/null and b/brcm-old/lib/spring-tx-5.2.3.RELEASE.jar differ
diff --git a/brcm/lib/stax-ex-1.8.jar b/brcm-old/lib/stax-ex-1.8.jar
similarity index 100%
rename from brcm/lib/stax-ex-1.8.jar
rename to brcm-old/lib/stax-ex-1.8.jar
diff --git a/brcm/lib/txw2-2.3.1.jar b/brcm-old/lib/txw2-2.3.1.jar
similarity index 100%
rename from brcm/lib/txw2-2.3.1.jar
rename to brcm-old/lib/txw2-2.3.1.jar
diff --git a/brcm-old/pom.xml b/brcm-old/pom.xml
new file mode 100644
index 0000000..3533a76
--- /dev/null
+++ b/brcm-old/pom.xml
@@ -0,0 +1,28 @@
+
+
+ 4.0.0
+ org.cpp
+ brcm
+ 1.0-SNAPSHOT
+ pom
+ brcm
+ http://maven.apache.org
+
+ UTF-8
+ 11
+ 11
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
+ core
+ desktop
+ web
+
+
diff --git a/brcm/readme.md b/brcm-old/readme.md
similarity index 100%
rename from brcm/readme.md
rename to brcm-old/readme.md
diff --git a/brcm/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/brcm-old/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
similarity index 100%
rename from brcm/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
rename to brcm-old/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
diff --git a/brcm/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/brcm-old/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
similarity index 100%
rename from brcm/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
rename to brcm-old/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
diff --git a/brcm/web/pom.xml b/brcm-old/web/pom.xml
similarity index 100%
rename from brcm/web/pom.xml
rename to brcm-old/web/pom.xml
diff --git a/brcm/web/src/test/java/org/cpp/AppTest.java b/brcm-old/web/src/test/java/org/cpp/AppTest.java
similarity index 100%
rename from brcm/web/src/test/java/org/cpp/AppTest.java
rename to brcm-old/web/src/test/java/org/cpp/AppTest.java
diff --git a/brcm/web/target/maven-archiver/pom.properties b/brcm-old/web/target/maven-archiver/pom.properties
similarity index 100%
rename from brcm/web/target/maven-archiver/pom.properties
rename to brcm-old/web/target/maven-archiver/pom.properties
diff --git a/brcm/web/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/brcm-old/web/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
similarity index 100%
rename from brcm/web/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
rename to brcm-old/web/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
diff --git a/brcm/web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/brcm-old/web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
similarity index 100%
rename from brcm/web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
rename to brcm-old/web/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
diff --git a/brcm/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/brcm-old/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
similarity index 100%
rename from brcm/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
rename to brcm-old/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
diff --git a/brcm/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/brcm-old/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
similarity index 100%
rename from brcm/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
rename to brcm-old/web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
diff --git a/brcm/web/target/surefire-reports/TEST-org.cpp.AppTest.xml b/brcm-old/web/target/surefire-reports/TEST-org.cpp.AppTest.xml
similarity index 100%
rename from brcm/web/target/surefire-reports/TEST-org.cpp.AppTest.xml
rename to brcm-old/web/target/surefire-reports/TEST-org.cpp.AppTest.xml
diff --git a/brcm/web/target/surefire-reports/org.cpp.AppTest.txt b/brcm-old/web/target/surefire-reports/org.cpp.AppTest.txt
similarity index 100%
rename from brcm/web/target/surefire-reports/org.cpp.AppTest.txt
rename to brcm-old/web/target/surefire-reports/org.cpp.AppTest.txt
diff --git a/brcm/desktop/target/test-classes/org/cpp/AppTest.class b/brcm-old/web/target/test-classes/org/cpp/AppTest.class
similarity index 100%
rename from brcm/desktop/target/test-classes/org/cpp/AppTest.class
rename to brcm-old/web/target/test-classes/org/cpp/AppTest.class
diff --git a/brcm/web/target/web-1.0-SNAPSHOT.jar b/brcm-old/web/target/web-1.0-SNAPSHOT.jar
similarity index 100%
rename from brcm/web/target/web-1.0-SNAPSHOT.jar
rename to brcm-old/web/target/web-1.0-SNAPSHOT.jar
diff --git a/brcm/.gitignore b/brcm/.gitignore
new file mode 100644
index 0000000..549e00a
--- /dev/null
+++ b/brcm/.gitignore
@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
diff --git a/brcm/.idea/compiler.xml b/brcm/.idea/compiler.xml
index 8763a81..dae19de 100644
--- a/brcm/.idea/compiler.xml
+++ b/brcm/.idea/compiler.xml
@@ -6,10 +6,16 @@
-
-
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/brcm/.idea/dataSources.local.xml b/brcm/.idea/dataSources.local.xml
deleted file mode 100644
index 23b614e..0000000
--- a/brcm/.idea/dataSources.local.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
- "
-
-
- master_key
- sivacharan
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/brcm/.idea/dataSources.xml b/brcm/.idea/dataSources.xml
deleted file mode 100644
index 3c3901b..0000000
--- a/brcm/.idea/dataSources.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- postgresql
- true
- org.postgresql.Driver
- jdbc:postgresql://localhost:5432/brcm
- $ProjectFileDir$
-
-
-
\ No newline at end of file
diff --git a/brcm/.idea/dbnavigator.xml b/brcm/.idea/dbnavigator.xml
deleted file mode 100644
index 472f9c9..0000000
--- a/brcm/.idea/dbnavigator.xml
+++ /dev/null
@@ -1,514 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/brcm/.idea/encodings.xml b/brcm/.idea/encodings.xml
index b21e620..aa00ffa 100644
--- a/brcm/.idea/encodings.xml
+++ b/brcm/.idea/encodings.xml
@@ -1,13 +1,7 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/brcm/.idea/jpa-buddy.xml b/brcm/.idea/jpa-buddy.xml
index 22b36ed..898e07a 100644
--- a/brcm/.idea/jpa-buddy.xml
+++ b/brcm/.idea/jpa-buddy.xml
@@ -3,7 +3,5 @@
-
-
\ No newline at end of file
diff --git a/brcm/.idea/misc.xml b/brcm/.idea/misc.xml
index 7ac4a61..278160f 100644
--- a/brcm/.idea/misc.xml
+++ b/brcm/.idea/misc.xml
@@ -1,9 +1,5 @@
-
-
-
-
@@ -11,7 +7,7 @@
-
+
diff --git a/brcm/.mvn/wrapper/maven-wrapper.jar b/brcm/.mvn/wrapper/maven-wrapper.jar
new file mode 100644
index 0000000..c1dd12f
Binary files /dev/null and b/brcm/.mvn/wrapper/maven-wrapper.jar differ
diff --git a/brcm/.mvn/wrapper/maven-wrapper.properties b/brcm/.mvn/wrapper/maven-wrapper.properties
new file mode 100644
index 0000000..b74bf7f
--- /dev/null
+++ b/brcm/.mvn/wrapper/maven-wrapper.properties
@@ -0,0 +1,2 @@
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
+wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
diff --git a/brcm/desktop/target/classes/org/cpp/App.class b/brcm/desktop/target/classes/org/cpp/App.class
deleted file mode 100644
index 89e7f9c..0000000
Binary files a/brcm/desktop/target/classes/org/cpp/App.class and /dev/null differ
diff --git a/brcm/mvnw b/brcm/mvnw
new file mode 100755
index 0000000..8a8fb22
--- /dev/null
+++ b/brcm/mvnw
@@ -0,0 +1,316 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+# ----------------------------------------------------------------------------
+# Maven Start Up Batch script
+#
+# Required ENV vars:
+# ------------------
+# JAVA_HOME - location of a JDK home dir
+#
+# Optional ENV vars
+# -----------------
+# M2_HOME - location of maven2's installed home dir
+# MAVEN_OPTS - parameters passed to the Java VM when running Maven
+# e.g. to debug Maven itself, use
+# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+# ----------------------------------------------------------------------------
+
+if [ -z "$MAVEN_SKIP_RC" ] ; then
+
+ if [ -f /usr/local/etc/mavenrc ] ; then
+ . /usr/local/etc/mavenrc
+ fi
+
+ if [ -f /etc/mavenrc ] ; then
+ . /etc/mavenrc
+ fi
+
+ if [ -f "$HOME/.mavenrc" ] ; then
+ . "$HOME/.mavenrc"
+ fi
+
+fi
+
+# OS specific support. $var _must_ be set to either true or false.
+cygwin=false;
+darwin=false;
+mingw=false
+case "`uname`" in
+ CYGWIN*) cygwin=true ;;
+ MINGW*) mingw=true;;
+ Darwin*) darwin=true
+ # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
+ # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
+ if [ -z "$JAVA_HOME" ]; then
+ if [ -x "/usr/libexec/java_home" ]; then
+ export JAVA_HOME="`/usr/libexec/java_home`"
+ else
+ export JAVA_HOME="/Library/Java/Home"
+ fi
+ fi
+ ;;
+esac
+
+if [ -z "$JAVA_HOME" ] ; then
+ if [ -r /etc/gentoo-release ] ; then
+ JAVA_HOME=`java-config --jre-home`
+ fi
+fi
+
+if [ -z "$M2_HOME" ] ; then
+ ## resolve links - $0 may be a link to maven's home
+ PRG="$0"
+
+ # need this for relative symlinks
+ while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG="`dirname "$PRG"`/$link"
+ fi
+ done
+
+ saveddir=`pwd`
+
+ M2_HOME=`dirname "$PRG"`/..
+
+ # make it fully qualified
+ M2_HOME=`cd "$M2_HOME" && pwd`
+
+ cd "$saveddir"
+ # echo Using m2 at $M2_HOME
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --unix "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For Mingw, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME="`(cd "$M2_HOME"; pwd)`"
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ javaExecutable="`which javac`"
+ if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
+ # readlink(1) is not available as standard on Solaris 10.
+ readLink=`which readlink`
+ if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
+ if $darwin ; then
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
+ else
+ javaExecutable="`readlink -f \"$javaExecutable\"`"
+ fi
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaHome=`expr "$javaHome" : '\(.*\)/bin'`
+ JAVA_HOME="$javaHome"
+ export JAVA_HOME
+ fi
+ fi
+fi
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD="`\\unset -f command; \\command -v java`"
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly." >&2
+ echo " We cannot execute $JAVACMD" >&2
+ exit 1
+fi
+
+if [ -z "$JAVA_HOME" ] ; then
+ echo "Warning: JAVA_HOME environment variable is not set."
+fi
+
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+
+# traverses directory structure from process work directory to filesystem root
+# first directory with .mvn subdirectory is considered project base directory
+find_maven_basedir() {
+
+ if [ -z "$1" ]
+ then
+ echo "Path not specified to find_maven_basedir"
+ return 1
+ fi
+
+ basedir="$1"
+ wdir="$1"
+ while [ "$wdir" != '/' ] ; do
+ if [ -d "$wdir"/.mvn ] ; then
+ basedir=$wdir
+ break
+ fi
+ # workaround for JBEAP-8937 (on Solaris 10/Sparc)
+ if [ -d "${wdir}" ]; then
+ wdir=`cd "$wdir/.."; pwd`
+ fi
+ # end of workaround
+ done
+ echo "${basedir}"
+}
+
+# concatenates all lines of a file
+concat_lines() {
+ if [ -f "$1" ]; then
+ echo "$(tr -s '\n' ' ' < "$1")"
+ fi
+}
+
+BASE_DIR=`find_maven_basedir "$(pwd)"`
+if [ -z "$BASE_DIR" ]; then
+ exit 1;
+fi
+
+##########################################################################################
+# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+# This allows using the maven wrapper in projects that prohibit checking in binary data.
+##########################################################################################
+if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Found .mvn/wrapper/maven-wrapper.jar"
+ fi
+else
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
+ fi
+ if [ -n "$MVNW_REPOURL" ]; then
+ jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+ else
+ jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+ fi
+ while IFS="=" read key value; do
+ case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
+ esac
+ done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Downloading from: $jarUrl"
+ fi
+ wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
+ if $cygwin; then
+ wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
+ fi
+
+ if command -v wget > /dev/null; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Found wget ... using wget"
+ fi
+ if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+ wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
+ else
+ wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
+ fi
+ elif command -v curl > /dev/null; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Found curl ... using curl"
+ fi
+ if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+ curl -o "$wrapperJarPath" "$jarUrl" -f
+ else
+ curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
+ fi
+
+ else
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo "Falling back to using Java to download"
+ fi
+ javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
+ # For Cygwin, switch paths to Windows format before running javac
+ if $cygwin; then
+ javaClass=`cygpath --path --windows "$javaClass"`
+ fi
+ if [ -e "$javaClass" ]; then
+ if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo " - Compiling MavenWrapperDownloader.java ..."
+ fi
+ # Compiling the Java class
+ ("$JAVA_HOME/bin/javac" "$javaClass")
+ fi
+ if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
+ # Running the downloader
+ if [ "$MVNW_VERBOSE" = true ]; then
+ echo " - Running MavenWrapperDownloader.java ..."
+ fi
+ ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
+ fi
+ fi
+ fi
+fi
+##########################################################################################
+# End of extension
+##########################################################################################
+
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
+if [ "$MVNW_VERBOSE" = true ]; then
+ echo $MAVEN_PROJECTBASEDIR
+fi
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ [ -n "$M2_HOME" ] &&
+ M2_HOME=`cygpath --path --windows "$M2_HOME"`
+ [ -n "$JAVA_HOME" ] &&
+ JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+ [ -n "$CLASSPATH" ] &&
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+ [ -n "$MAVEN_PROJECTBASEDIR" ] &&
+ MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
+fi
+
+# Provide a "standardized" way to retrieve the CLI args that will
+# work with both Windows and non-Windows executions.
+MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
+export MAVEN_CMD_LINE_ARGS
+
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+exec "$JAVACMD" \
+ $MAVEN_OPTS \
+ $MAVEN_DEBUG_OPTS \
+ -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
+ "-Dmaven.home=${M2_HOME}" \
+ "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
+ ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/brcm/mvnw.cmd b/brcm/mvnw.cmd
new file mode 100644
index 0000000..1d8ab01
--- /dev/null
+++ b/brcm/mvnw.cmd
@@ -0,0 +1,188 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM https://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Maven Start Up Batch script
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM M2_HOME - location of maven2's installed home dir
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM set title of command window
+title %0
+@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
+
+@REM set %HOME% to equivalent of $HOME
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
+
+@REM Execute a user defined script before this one
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
+if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
+if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
+:skipRcPre
+
+@setlocal
+
+set ERROR_CODE=0
+
+@REM To isolate internal variables from possible post scripts, we use another setlocal
+@setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo.
+echo Error: JAVA_HOME not found in your environment. >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto init
+
+echo.
+echo Error: JAVA_HOME is set to an invalid directory. >&2
+echo JAVA_HOME = "%JAVA_HOME%" >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+@REM ==== END VALIDATION ====
+
+:init
+
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
+@REM Fallback to current working directory if not found.
+
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+
+set EXEC_DIR=%CD%
+set WDIR=%EXEC_DIR%
+:findBaseDir
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
+cd ..
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
+set WDIR=%CD%
+goto findBaseDir
+
+:baseDirFound
+set MAVEN_PROJECTBASEDIR=%WDIR%
+cd "%EXEC_DIR%"
+goto endDetectBaseDir
+
+:baseDirNotFound
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
+cd "%EXEC_DIR%"
+
+:endDetectBaseDir
+
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
+
+@setlocal EnableExtensions EnableDelayedExpansion
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
+
+:endReadAdditionalConfig
+
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+
+FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
+ IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
+)
+
+@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
+if exist %WRAPPER_JAR% (
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Found %WRAPPER_JAR%
+ )
+) else (
+ if not "%MVNW_REPOURL%" == "" (
+ SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
+ )
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Couldn't find %WRAPPER_JAR%, downloading it ...
+ echo Downloading from: %DOWNLOAD_URL%
+ )
+
+ powershell -Command "&{"^
+ "$webclient = new-object System.Net.WebClient;"^
+ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
+ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
+ "}"^
+ "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
+ "}"
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Finished downloading %WRAPPER_JAR%
+ )
+)
+@REM End of extension
+
+@REM Provide a "standardized" way to retrieve the CLI args that will
+@REM work with both Windows and non-Windows executions.
+set MAVEN_CMD_LINE_ARGS=%*
+
+%MAVEN_JAVA_EXE% ^
+ %JVM_CONFIG_MAVEN_PROPS% ^
+ %MAVEN_OPTS% ^
+ %MAVEN_DEBUG_OPTS% ^
+ -classpath %WRAPPER_JAR% ^
+ "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
+ %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+set ERROR_CODE=1
+
+:end
+@endlocal & set ERROR_CODE=%ERROR_CODE%
+
+if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
+if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
+if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
+:skipRcPost
+
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%"=="on" pause
+
+if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
+
+cmd /C exit /B %ERROR_CODE%
diff --git a/brcm/pom.xml b/brcm/pom.xml
index 3533a76..a064408 100644
--- a/brcm/pom.xml
+++ b/brcm/pom.xml
@@ -1,28 +1,50 @@
-
-
- 4.0.0
- org.cpp
- brcm
- 1.0-SNAPSHOT
- pom
- brcm
- http://maven.apache.org
-
- UTF-8
- 11
- 11
-
-
-
- junit
- junit
- 3.8.1
- test
-
-
-
- core
- desktop
- web
-
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.7.5
+
+
+ edu.cpp
+ brcm
+ 0.0.1-SNAPSHOT
+ brcm
+ brcm
+
+ 19
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.postgresql
+ postgresql
+ runtime
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
diff --git a/brcm/src/main/java/common/Hibernate.java b/brcm/src/main/java/common/Hibernate.java
new file mode 100644
index 0000000..ccf7c0c
--- /dev/null
+++ b/brcm/src/main/java/common/Hibernate.java
@@ -0,0 +1,17 @@
+package common;
+
+import org.hibernate.Session;
+import org.hibernate.SessionFactory;
+import org.hibernate.cfg.Configuration;
+
+import javax.persistence.EntityManagerFactory;
+
+public class Hibernate {
+ private static SessionFactory factory;
+ static {
+ factory = new Configuration().configure().buildSessionFactory();
+ }
+ public static Session getSession(){
+ return factory.openSession();
+ }
+}
diff --git a/brcm/src/main/java/dtos/ActivityDto.java b/brcm/src/main/java/dtos/ActivityDto.java
new file mode 100644
index 0000000..adf170e
--- /dev/null
+++ b/brcm/src/main/java/dtos/ActivityDto.java
@@ -0,0 +1,30 @@
+package dtos;
+
+import java.io.Serializable;
+
+/**
+ * A DTO for the {@link entities.Activity} entity
+ */
+public class ActivityDto implements Serializable {
+ private final Integer id;
+ private final String name;
+ private final Double price;
+
+ public ActivityDto(Integer id, String name, Double price) {
+ this.id = id;
+ this.name = name;
+ this.price = price;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public Double getPrice() {
+ return price;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/AddressDto.java b/brcm/src/main/java/dtos/AddressDto.java
new file mode 100644
index 0000000..e9d55f2
--- /dev/null
+++ b/brcm/src/main/java/dtos/AddressDto.java
@@ -0,0 +1,48 @@
+package dtos;
+
+import java.io.Serializable;
+
+/**
+ * A DTO for the {@link entities.Address} entity
+ */
+public class AddressDto implements Serializable {
+ private final Integer id;
+ private final String street;
+ private final String number;
+ private final Integer zipcode;
+ private final String city;
+ private final String state;
+
+ public AddressDto(Integer id, String street, String number, Integer zipcode, String city, String state) {
+ this.id = id;
+ this.street = street;
+ this.number = number;
+ this.zipcode = zipcode;
+ this.city = city;
+ this.state = state;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public String getStreet() {
+ return street;
+ }
+
+ public String getNumber() {
+ return number;
+ }
+
+ public Integer getZipcode() {
+ return zipcode;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public String getState() {
+ return state;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/AppointmentDto.java b/brcm/src/main/java/dtos/AppointmentDto.java
new file mode 100644
index 0000000..742a56a
--- /dev/null
+++ b/brcm/src/main/java/dtos/AppointmentDto.java
@@ -0,0 +1,47 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.Instant;
+
+/**
+ * A DTO for the {@link entities.Appointment} entity
+ */
+public class AppointmentDto implements Serializable {
+ private final Integer id;
+ private final Instant starttime;
+ private final Instant endtime;
+ private final Integer activityid;
+ private final Integer customerid;
+ private final String status;
+
+ public AppointmentDto(Integer id, Instant starttime, Instant endtime, Integer activityid, Integer customerid, String status) {
+ this.id = id;
+ this.starttime = starttime;
+ this.endtime = endtime;
+ this.activityid = activityid;
+ this.customerid = customerid;
+ this.status = status;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public Instant getStarttime() {
+ return starttime;
+ }
+
+ public Instant getEndtime() {
+ return endtime;
+ }
+
+ public Integer getActivityid() {
+ return activityid;
+ }
+
+ public Integer getCustomerid() {
+ return customerid;
+ }
+
+ public String getStatus() { return status; }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/CustomerDto.java b/brcm/src/main/java/dtos/CustomerDto.java
new file mode 100644
index 0000000..cafe969
--- /dev/null
+++ b/brcm/src/main/java/dtos/CustomerDto.java
@@ -0,0 +1,43 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.LocalDate;
+
+/**
+ * A DTO for the {@link entities.Customer} entity
+ */
+public class CustomerDto implements Serializable {
+ private final Integer id;
+ private final String firstname;
+ private final String lastname;
+ private final LocalDate dateofbirth;
+ private final String phone;
+
+ public CustomerDto(Integer id, String firstname, String lastname, LocalDate dateofbirth, String phone) {
+ this.id = id;
+ this.firstname = firstname;
+ this.lastname = lastname;
+ this.dateofbirth = dateofbirth;
+ this.phone = phone;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public String getFirstname() {
+ return firstname;
+ }
+
+ public String getLastname() {
+ return lastname;
+ }
+
+ public LocalDate getDateofbirth() {
+ return dateofbirth;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/DiscountschemeDto.java b/brcm/src/main/java/dtos/DiscountschemeDto.java
new file mode 100644
index 0000000..3b13362
--- /dev/null
+++ b/brcm/src/main/java/dtos/DiscountschemeDto.java
@@ -0,0 +1,49 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.LocalDate;
+
+/**
+ * A DTO for the {@link entities.Discountscheme} entity
+ */
+public class DiscountschemeDto implements Serializable {
+ private final Integer id;
+ private final Double pricediscount;
+ private final Double percentdiscount;
+ private final String customertype;
+ private final LocalDate startdate;
+ private final LocalDate enddate;
+
+ public DiscountschemeDto(Integer id, Double pricediscount, Double percentdiscount, String customertype, LocalDate startdate, LocalDate enddate) {
+ this.id = id;
+ this.pricediscount = pricediscount;
+ this.percentdiscount = percentdiscount;
+ this.customertype = customertype;
+ this.startdate = startdate;
+ this.enddate = enddate;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public Double getPricediscount() {
+ return pricediscount;
+ }
+
+ public Double getPercentdiscount() {
+ return percentdiscount;
+ }
+
+ public String getCustomertype() {
+ return customertype;
+ }
+
+ public LocalDate getStartdate() {
+ return startdate;
+ }
+
+ public LocalDate getEnddate() {
+ return enddate;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/HistoricalpriceDto.java b/brcm/src/main/java/dtos/HistoricalpriceDto.java
new file mode 100644
index 0000000..29e13e0
--- /dev/null
+++ b/brcm/src/main/java/dtos/HistoricalpriceDto.java
@@ -0,0 +1,31 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.LocalDate;
+
+/**
+ * A DTO for the {@link entities.Historicalprice} entity
+ */
+public class HistoricalpriceDto implements Serializable {
+ private final Integer id;
+ private final LocalDate date;
+ private final Double price;
+
+ public HistoricalpriceDto(Integer id, LocalDate date, Double price) {
+ this.id = id;
+ this.date = date;
+ this.price = price;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public LocalDate getDate() {
+ return date;
+ }
+
+ public Double getPrice() {
+ return price;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/LineitemDto.java b/brcm/src/main/java/dtos/LineitemDto.java
new file mode 100644
index 0000000..93d5492
--- /dev/null
+++ b/brcm/src/main/java/dtos/LineitemDto.java
@@ -0,0 +1,24 @@
+package dtos;
+
+import java.io.Serializable;
+
+/**
+ * A DTO for the {@link Lineitem} entity
+ */
+public class LineitemDto implements Serializable {
+ private final Integer id;
+ private final Integer quantity;
+
+ public LineitemDto(Integer id, Integer quantity) {
+ this.id = id;
+ this.quantity = quantity;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/OrderDto.java b/brcm/src/main/java/dtos/OrderDto.java
new file mode 100644
index 0000000..d1ff14a
--- /dev/null
+++ b/brcm/src/main/java/dtos/OrderDto.java
@@ -0,0 +1,62 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.LocalDate;
+import java.time.LocalTime;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * A DTO for the {@link Order} entity
+ */
+public class OrderDto implements Serializable {
+ private final Integer id;
+ private final LocalDate date;
+ private final LocalTime time;
+ private final Double discountapplied;
+ private final String totalprice;
+
+ private final List lineitems;
+
+ public OrderDto(Integer id, LocalDate date, LocalTime time, Double discountapplied, String totalprice) {
+ this.id = id;
+ this.date = date;
+ this.time = time;
+ this.discountapplied = discountapplied;
+ this.totalprice = totalprice;
+ this.lineitems = new ArrayList();
+ }
+ public void addLineItem(LineitemDto lineitem){
+ this.lineitems.add(lineitem);
+ }
+ public void deleteLineItem(int id){
+ LineitemDto objToRemove = null;
+ for (LineitemDto lineitem : this.lineitems) {
+ if (lineitem.getId() == id) {
+ objToRemove = lineitem;
+ }
+ }
+ if(objToRemove != null){
+ this.lineitems.remove(objToRemove);
+ }
+ }
+ public Integer getId() {
+ return id;
+ }
+
+ public LocalDate getDate() {
+ return date;
+ }
+
+ public LocalTime getTime() {
+ return time;
+ }
+
+ public Double getDiscountapplied() {
+ return discountapplied;
+ }
+
+ public String getTotalprice() {
+ return totalprice;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/ProfessorDto.java b/brcm/src/main/java/dtos/ProfessorDto.java
new file mode 100644
index 0000000..6f802c5
--- /dev/null
+++ b/brcm/src/main/java/dtos/ProfessorDto.java
@@ -0,0 +1,38 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.LocalDate;
+
+/**
+ * A DTO for the {@link Professor} entity
+ */
+public class ProfessorDto extends CustomerDto implements Serializable {
+ private final Integer id;
+ private final String department;
+ private final String office;
+ private final String research;
+
+ public ProfessorDto(Integer id, String department, String office, String research, String firstname, String lastname, LocalDate dateofbirth, String phone) {
+ super(id, firstname, lastname, dateofbirth, phone);
+ this.id = id;
+ this.department = department;
+ this.office = office;
+ this.research = research;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public String getDepartment() {
+ return department;
+ }
+
+ public String getOffice() {
+ return office;
+ }
+
+ public String getResearch() {
+ return research;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/dtos/StudentDto.java b/brcm/src/main/java/dtos/StudentDto.java
new file mode 100644
index 0000000..3c272d2
--- /dev/null
+++ b/brcm/src/main/java/dtos/StudentDto.java
@@ -0,0 +1,44 @@
+package dtos;
+
+import java.io.Serializable;
+import java.time.LocalDate;
+
+/**
+ * A DTO for the {@link Student} entity
+ */
+public class StudentDto extends CustomerDto implements Serializable {
+ private final Integer id;
+ private final LocalDate enterdate;
+ private final String major;
+ private final String minor;
+ private final LocalDate graddate;
+
+ public StudentDto(Integer id, LocalDate enterdate, String major, String minor, LocalDate graddate, String firstname, String lastname, LocalDate dateofbirth, String phone) {
+ super(id, firstname, lastname, dateofbirth, phone);
+ this.id = id;
+ this.enterdate = enterdate;
+ this.major = major;
+ this.minor = minor;
+ this.graddate = graddate;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public LocalDate getEnterdate() {
+ return enterdate;
+ }
+
+ public String getMajor() {
+ return major;
+ }
+
+ public String getMinor() {
+ return minor;
+ }
+
+ public LocalDate getGraddate() {
+ return graddate;
+ }
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/edu/cpp/brcm/BrcmApplication.java b/brcm/src/main/java/edu/cpp/brcm/BrcmApplication.java
new file mode 100644
index 0000000..811f99c
--- /dev/null
+++ b/brcm/src/main/java/edu/cpp/brcm/BrcmApplication.java
@@ -0,0 +1,13 @@
+package edu.cpp.brcm;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class BrcmApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(BrcmApplication.class, args);
+ }
+
+}
diff --git a/brcm/src/main/java/entities/Activity.java b/brcm/src/main/java/entities/Activity.java
new file mode 100644
index 0000000..8f0cf38
--- /dev/null
+++ b/brcm/src/main/java/entities/Activity.java
@@ -0,0 +1,43 @@
+package entities;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "activities")
+public class Activity {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Lob
+ @Column(name = "name", nullable = false)
+ private String name;
+
+ @Column(name = "price", nullable = false)
+ private Double price;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Double getPrice() {
+ return price;
+ }
+
+ public void setPrice(Double price) {
+ this.price = price;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Address.java b/brcm/src/main/java/entities/Address.java
new file mode 100644
index 0000000..e22afbb
--- /dev/null
+++ b/brcm/src/main/java/entities/Address.java
@@ -0,0 +1,79 @@
+package entities;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "addresses")
+public class Address {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Lob
+ @Column(name = "street")
+ private String street;
+
+ @Lob
+ @Column(name = "number")
+ private String number;
+
+ @Column(name = "zipcode")
+ private Integer zipcode;
+
+ @Lob
+ @Column(name = "city")
+ private String city;
+
+ @Lob
+ @Column(name = "state")
+ private String state;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getStreet() {
+ return street;
+ }
+
+ public void setStreet(String street) {
+ this.street = street;
+ }
+
+ public String getNumber() {
+ return number;
+ }
+
+ public void setNumber(String number) {
+ this.number = number;
+ }
+
+ public Integer getZipcode() {
+ return zipcode;
+ }
+
+ public void setZipcode(Integer zipcode) {
+ this.zipcode = zipcode;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Appointment.java b/brcm/src/main/java/entities/Appointment.java
new file mode 100644
index 0000000..e3aeeec
--- /dev/null
+++ b/brcm/src/main/java/entities/Appointment.java
@@ -0,0 +1,77 @@
+package entities;
+
+import javax.persistence.*;
+import java.time.Instant;
+
+@Entity
+@Table(name = "appointments")
+public class Appointment {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Column(name = "starttime", nullable = false)
+ private Instant starttime;
+
+ @Column(name = "endtime", nullable = false)
+ private Instant endtime;
+
+ @Column(name = "activityid", nullable = false)
+ private Integer activityid;
+
+ @Column(name = "customerid", nullable = false)
+ private Integer customerid;
+
+ @Lob
+ @Column(name = "status")
+ private String status;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Instant getStarttime() {
+ return starttime;
+ }
+
+ public void setStarttime(Instant starttime) {
+ this.starttime = starttime;
+ }
+
+ public Instant getEndtime() {
+ return endtime;
+ }
+
+ public void setEndtime(Instant endtime) {
+ this.endtime = endtime;
+ }
+
+ public Integer getActivityid() {
+ return activityid;
+ }
+
+ public void setActivityid(Integer activityid) {
+ this.activityid = activityid;
+ }
+
+ public Integer getCustomerid() {
+ return customerid;
+ }
+
+ public void setCustomerid(Integer customerid) {
+ this.customerid = customerid;
+ }
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Customer.java b/brcm/src/main/java/entities/Customer.java
new file mode 100644
index 0000000..9ed0852
--- /dev/null
+++ b/brcm/src/main/java/entities/Customer.java
@@ -0,0 +1,80 @@
+package entities;
+
+import javax.persistence.*;
+import java.time.LocalDate;
+
+@Entity
+@Table(name = "customers")
+public class Customer {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Lob
+ @Column(name = "firstname", nullable = false)
+ private String firstname;
+
+ @Lob
+ @Column(name = "lastname")
+ private String lastname;
+
+ @Column(name = "dateofbirth")
+ private LocalDate dateofbirth;
+
+ @Lob
+ @Column(name = "phone")
+ private String phone;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "addressid", nullable = false)
+ private Address addressid;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getFirstname() {
+ return firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getLastname() {
+ return lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+
+ public LocalDate getDateofbirth() {
+ return dateofbirth;
+ }
+
+ public void setDateofbirth(LocalDate dateofbirth) {
+ this.dateofbirth = dateofbirth;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public Address getAddressid() {
+ return addressid;
+ }
+
+ public void setAddressid(Address addressid) {
+ this.addressid = addressid;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Discountscheme.java b/brcm/src/main/java/entities/Discountscheme.java
new file mode 100644
index 0000000..17418f7
--- /dev/null
+++ b/brcm/src/main/java/entities/Discountscheme.java
@@ -0,0 +1,77 @@
+package entities;
+
+import javax.persistence.*;
+import java.time.LocalDate;
+
+@Entity
+@Table(name = "discountscheme")
+public class Discountscheme {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Column(name = "pricediscount")
+ private Double pricediscount;
+
+ @Column(name = "percentdiscount")
+ private Double percentdiscount;
+
+ @Lob
+ @Column(name = "customertype")
+ private String customertype;
+
+ @Column(name = "startdate")
+ private LocalDate startdate;
+
+ @Column(name = "enddate")
+ private LocalDate enddate;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Double getPricediscount() {
+ return pricediscount;
+ }
+
+ public void setPricediscount(Double pricediscount) {
+ this.pricediscount = pricediscount;
+ }
+
+ public Double getPercentdiscount() {
+ return percentdiscount;
+ }
+
+ public void setPercentdiscount(Double percentdiscount) {
+ this.percentdiscount = percentdiscount;
+ }
+
+ public String getCustomertype() {
+ return customertype;
+ }
+
+ public void setCustomertype(String customertype) {
+ this.customertype = customertype;
+ }
+
+ public LocalDate getStartdate() {
+ return startdate;
+ }
+
+ public void setStartdate(LocalDate startdate) {
+ this.startdate = startdate;
+ }
+
+ public LocalDate getEnddate() {
+ return enddate;
+ }
+
+ public void setEnddate(LocalDate enddate) {
+ this.enddate = enddate;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Historicalprice.java b/brcm/src/main/java/entities/Historicalprice.java
new file mode 100644
index 0000000..0602f63
--- /dev/null
+++ b/brcm/src/main/java/entities/Historicalprice.java
@@ -0,0 +1,55 @@
+package entities;
+
+import javax.persistence.*;
+import java.time.LocalDate;
+
+@Entity
+@Table(name = "historicalprice")
+public class Historicalprice {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Column(name = "date", nullable = false)
+ private LocalDate date;
+
+ @Column(name = "price", nullable = false)
+ private Double price;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "activityid", nullable = false)
+ private Activity activityid;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public LocalDate getDate() {
+ return date;
+ }
+
+ public void setDate(LocalDate date) {
+ this.date = date;
+ }
+
+ public Double getPrice() {
+ return price;
+ }
+
+ public void setPrice(Double price) {
+ this.price = price;
+ }
+
+ public Activity getActivityid() {
+ return activityid;
+ }
+
+ public void setActivityid(Activity activityid) {
+ this.activityid = activityid;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Lineitem.java b/brcm/src/main/java/entities/Lineitem.java
new file mode 100644
index 0000000..2f7af38
--- /dev/null
+++ b/brcm/src/main/java/entities/Lineitem.java
@@ -0,0 +1,67 @@
+package entities;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "lineitems")
+public class Lineitem {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "activityid", nullable = false)
+ private Activity activityid;
+
+ @Column(name = "quantity", nullable = false)
+ private Integer quantity;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "appointmentid", nullable = false)
+ private Appointment appointmentid;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "orderid", nullable = false)
+ private Order orderid;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Activity getActivityid() {
+ return activityid;
+ }
+
+ public void setActivityid(Activity activityid) {
+ this.activityid = activityid;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public Appointment getAppointmentid() {
+ return appointmentid;
+ }
+
+ public void setAppointmentid(Appointment appointmentid) {
+ this.appointmentid = appointmentid;
+ }
+
+ public Order getOrderid() {
+ return orderid;
+ }
+
+ public void setOrderid(Order orderid) {
+ this.orderid = orderid;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Order.java b/brcm/src/main/java/entities/Order.java
new file mode 100644
index 0000000..00fe507
--- /dev/null
+++ b/brcm/src/main/java/entities/Order.java
@@ -0,0 +1,91 @@
+package entities;
+
+import javax.persistence.*;
+import java.time.LocalDate;
+import java.time.LocalTime;
+
+@Entity
+@Table(name = "orders")
+public class Order {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @Column(name = "date", nullable = false)
+ private LocalDate date;
+
+ @Column(name = "\"time\"", nullable = false)
+ private LocalTime time;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "customerid", nullable = false)
+ private Customer customerid;
+
+ @Column(name = "discountapplied", nullable = false)
+ private Double discountapplied;
+
+ @Lob
+ @Column(name = "totalprice", nullable = false)
+ private String totalprice;
+
+ @ManyToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "discountschemeid", nullable = false)
+ private Discountscheme discountschemeid;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public LocalDate getDate() {
+ return date;
+ }
+
+ public void setDate(LocalDate date) {
+ this.date = date;
+ }
+
+ public LocalTime getTime() {
+ return time;
+ }
+
+ public void setTime(LocalTime time) {
+ this.time = time;
+ }
+
+ public Customer getCustomerid() {
+ return customerid;
+ }
+
+ public void setCustomerid(Customer customerid) {
+ this.customerid = customerid;
+ }
+
+ public Double getDiscountapplied() {
+ return discountapplied;
+ }
+
+ public void setDiscountapplied(Double discountapplied) {
+ this.discountapplied = discountapplied;
+ }
+
+ public String getTotalprice() {
+ return totalprice;
+ }
+
+ public void setTotalprice(String totalprice) {
+ this.totalprice = totalprice;
+ }
+
+ public Discountscheme getDiscountschemeid() {
+ return discountschemeid;
+ }
+
+ public void setDiscountschemeid(Discountscheme discountschemeid) {
+ this.discountschemeid = discountschemeid;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Professor.java b/brcm/src/main/java/entities/Professor.java
new file mode 100644
index 0000000..598d11b
--- /dev/null
+++ b/brcm/src/main/java/entities/Professor.java
@@ -0,0 +1,69 @@
+package entities;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "professors")
+public class Professor {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @MapsId
+ @OneToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "id", nullable = false)
+ private Customer customer;
+
+ @Lob
+ @Column(name = "department", nullable = false)
+ private String department;
+
+ @Lob
+ @Column(name = "office", nullable = false)
+ private String office;
+
+ @Lob
+ @Column(name = "research", nullable = false)
+ private String research;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Customer getCustomer() {
+ return customer;
+ }
+
+ public void setCustomer(Customer customer) {
+ this.customer = customer;
+ }
+
+ public String getDepartment() {
+ return department;
+ }
+
+ public void setDepartment(String department) {
+ this.department = department;
+ }
+
+ public String getOffice() {
+ return office;
+ }
+
+ public void setOffice(String office) {
+ this.office = office;
+ }
+
+ public String getResearch() {
+ return research;
+ }
+
+ public void setResearch(String research) {
+ this.research = research;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/entities/Student.java b/brcm/src/main/java/entities/Student.java
new file mode 100644
index 0000000..34e2a0e
--- /dev/null
+++ b/brcm/src/main/java/entities/Student.java
@@ -0,0 +1,80 @@
+package entities;
+
+import javax.persistence.*;
+import java.time.LocalDate;
+
+@Entity
+@Table(name = "students")
+public class Student {
+ @Id
+ @Column(name = "id", nullable = false)
+ private Integer id;
+
+ @MapsId
+ @OneToOne(fetch = FetchType.LAZY, optional = false)
+ @JoinColumn(name = "id", nullable = false)
+ private Customer customer;
+
+ @Column(name = "enterdate", nullable = false)
+ private LocalDate enterdate;
+
+ @Lob
+ @Column(name = "major", nullable = false)
+ private String major;
+
+ @Lob
+ @Column(name = "minor", nullable = false)
+ private String minor;
+
+ @Column(name = "graddate", nullable = false)
+ private LocalDate graddate;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public Customer getCustomer() {
+ return customer;
+ }
+
+ public void setCustomer(Customer customer) {
+ this.customer = customer;
+ }
+
+ public LocalDate getEnterdate() {
+ return enterdate;
+ }
+
+ public void setEnterdate(LocalDate enterdate) {
+ this.enterdate = enterdate;
+ }
+
+ public String getMajor() {
+ return major;
+ }
+
+ public void setMajor(String major) {
+ this.major = major;
+ }
+
+ public String getMinor() {
+ return minor;
+ }
+
+ public void setMinor(String minor) {
+ this.minor = minor;
+ }
+
+ public LocalDate getGraddate() {
+ return graddate;
+ }
+
+ public void setGraddate(LocalDate graddate) {
+ this.graddate = graddate;
+ }
+
+}
\ No newline at end of file
diff --git a/brcm/src/main/java/impl/CustomerManagementServiceImpl.java b/brcm/src/main/java/impl/CustomerManagementServiceImpl.java
new file mode 100644
index 0000000..d0285cd
--- /dev/null
+++ b/brcm/src/main/java/impl/CustomerManagementServiceImpl.java
@@ -0,0 +1,85 @@
+package impl;
+
+import dtos.ProfessorDto;
+import dtos.StudentDto;
+import entities.Customer;
+import entities.Student;
+import repositories.CustomerRepository;
+import repositories.ProfessorRepository;
+import repositories.StudentRepository;
+import services.CustomerManagementService;
+
+import java.util.List;
+
+public class CustomerManagementServiceImpl implements CustomerManagementService {
+
+ private final ProfessorRepository professorRepository;
+ private final StudentRepository studentRepository;
+ private final CustomerRepository customerRepository;
+ public CustomerManagementServiceImpl(StudentRepository studentRepository, ProfessorRepository professorRepository, CustomerRepository customerRepository){
+ this.studentRepository = studentRepository;
+ this.professorRepository = professorRepository;
+ this.customerRepository = customerRepository;
+ }
+
+ @Override
+ public void saveStudent(StudentDto student) {
+ Customer c = new Customer();
+ c.setDateofbirth(student.getDateofbirth());
+ c.setFirstname(student.getFirstname());
+ c.setLastname(student.getLastname());
+ c.setPhone(student.getPhone());
+ Student s = new Student();
+ s.setCustomer(c);
+ s.setEnterdate(student.getGraddate());
+ s.setEnterdate(student.getEnterdate());
+ s.setMajor(student.getMajor());
+ s.setMinor(student.getMinor());
+ studentRepository.saveStudent(s);
+ }
+
+ @Override
+ public void saveProfessor(ProfessorDto professor) {
+
+ }
+
+ @Override
+ public StudentDto getStudentByBroncoId(int id) {
+ return null;
+ }
+
+ @Override
+ public ProfessorDto getProfessorByBroncoId(int id) {
+ return null;
+ }
+
+ @Override
+ public void updateStudent(StudentDto student) {
+
+ }
+
+ @Override
+ public void updateProfessor(ProfessorDto professor) {
+
+ }
+
+ @Override
+ public void deleteStudentByBroncoId(int id) {
+
+ }
+
+ @Override
+ public void deleteProfessorByBroncoId(int id) {
+
+ }
+
+ @Override
+ public List listStudentsbyMajor(String major) {
+ return null;
+ }
+
+ @Override
+ public List listProfessorsbyDept(String dept) {
+ return null;
+ }
+}
diff --git a/brcm/src/main/java/impl/CustomerRepositoryImpl.java b/brcm/src/main/java/impl/CustomerRepositoryImpl.java
new file mode 100644
index 0000000..80f9b86
--- /dev/null
+++ b/brcm/src/main/java/impl/CustomerRepositoryImpl.java
@@ -0,0 +1,89 @@
+package impl;
+
+import common.Hibernate;
+import entities.Customer;
+import org.hibernate.Session;
+import repositories.CustomerRepository;
+
+import java.util.Optional;
+
+public class CustomerRepositoryImpl implements CustomerRepository {
+ private Session session;
+
+ public CustomerRepositoryImpl(){
+ session = Hibernate.getSession();
+ }
+ @Override
+ public Customer getCustomerById(int id) {
+ Customer customer = (Customer)session.get(Customer.class, id);
+ return customer;
+ }
+
+ @Override
+ public Customer saveCustomer(Customer customer) {
+ int id = (Integer)session.save(customer);
+ session.flush();
+ customer.setId(id);
+ return customer;
+ }
+
+ @Override
+ public S save(S entity) {
+ return null;
+ }
+
+ @Override
+ public Iterable saveAll(Iterable entities) {
+ return null;
+ }
+
+ @Override
+ public Optional findById(Integer integer) {
+ return Optional.empty();
+ }
+
+ @Override
+ public boolean existsById(Integer integer) {
+ return false;
+ }
+
+ @Override
+ public Iterable findAll() {
+ return null;
+ }
+
+ @Override
+ public Iterable findAllById(Iterable integers) {
+ return null;
+ }
+
+ @Override
+ public long count() {
+ return 0;
+ }
+
+ @Override
+ public void deleteById(Integer integer) {
+
+ }
+
+ @Override
+ public void delete(Customer entity) {
+
+ }
+
+ @Override
+ public void deleteAllById(Iterable extends Integer> integers) {
+
+ }
+
+ @Override
+ public void deleteAll(Iterable extends Customer> entities) {
+
+ }
+
+ @Override
+ public void deleteAll() {
+
+ }
+}
diff --git a/brcm/src/main/java/impl/ProfessorRepositoryImpl.java b/brcm/src/main/java/impl/ProfessorRepositoryImpl.java
new file mode 100644
index 0000000..ce79ffd
--- /dev/null
+++ b/brcm/src/main/java/impl/ProfessorRepositoryImpl.java
@@ -0,0 +1,33 @@
+package impl;
+
+import entities.Professor;
+import repositories.ProfessorRepository;
+
+import java.util.List;
+
+public class ProfessorRepositoryImpl implements ProfessorRepository {
+ @Override
+ public Professor saveProfessor(Professor Professor) {
+ return null;
+ }
+
+ @Override
+ public void deleteProfessor(int id) {
+
+ }
+
+ @Override
+ public void updateProfessor(int id) {
+
+ }
+
+ @Override
+ public void getProfessorById(int id) {
+
+ }
+
+ @Override
+ public List getProfessorsByDept(String dept) {
+ return null;
+ }
+}
diff --git a/brcm/src/main/java/impl/StudentRepositoryImpl.java b/brcm/src/main/java/impl/StudentRepositoryImpl.java
new file mode 100644
index 0000000..a99656f
--- /dev/null
+++ b/brcm/src/main/java/impl/StudentRepositoryImpl.java
@@ -0,0 +1,53 @@
+package impl;
+
+import common.Hibernate;
+import entities.Student;
+import org.hibernate.Session;
+import org.hibernate.query.Query;
+import repositories.StudentRepository;
+
+import java.util.List;
+import java.util.stream.Collectors;
+
+public class StudentRepositoryImpl implements StudentRepository {
+ private Session session;
+
+ public StudentRepositoryImpl(){
+ session = Hibernate.getSession();
+ }
+
+ @Override
+ public Student saveStudent(Student student) {
+ int id = (Integer)session.save(student);
+ session.flush();
+ student.setId(id);
+ return student;
+ }
+
+ @Override
+ public void deleteStudent(int id) {
+ Student student = (Student)session.get(Student.class, id);
+ session.delete(student);
+ }
+
+ @Override
+ public void updateStudent(Student student) {
+ saveStudent(student);
+ }
+
+ @Override
+ public Student getStudentById(int id) {
+ Student student = (Student)session.get(Student.class, id);
+ return student;
+ }
+
+ @Override
+ public List getStudentsByMajor(String major) {
+ String hql = "FROM Student s WHERE s.major = :major";
+ Query q = session.createQuery(hql);
+ q.setParameter("major", major);
+ List results = q.list();
+ List ss = (List) results.stream().map(o -> (Student)o).collect(Collectors.toList());
+ return ss;
+ }
+}
diff --git a/brcm/src/main/java/repositories/ActivityRepository.java b/brcm/src/main/java/repositories/ActivityRepository.java
new file mode 100644
index 0000000..507ca7b
--- /dev/null
+++ b/brcm/src/main/java/repositories/ActivityRepository.java
@@ -0,0 +1,12 @@
+package repositories;
+
+import entities.Activity;
+
+import java.util.List;
+
+public interface ActivityRepository {
+ Activity saveActivity(Activity activity);
+ List getAllActivities();
+ void updateActivity(Activity activity);
+ void deleteActivity(int id);
+}
diff --git a/brcm/src/main/java/repositories/AppointmentRepository.java b/brcm/src/main/java/repositories/AppointmentRepository.java
new file mode 100644
index 0000000..a63fa8f
--- /dev/null
+++ b/brcm/src/main/java/repositories/AppointmentRepository.java
@@ -0,0 +1,13 @@
+package repositories;
+
+import entities.Appointment;
+
+import java.time.LocalDate;
+import java.util.List;
+
+public interface AppointmentRepository {
+ Appointment saveAppointment(Appointment appointment);
+ void updateAppointment(Appointment appointment);
+ void updateAppointmentStatus(int id, String status);
+ List getAllAppointmentsBetweenDates(LocalDate startDate, LocalDate endDate);
+}
diff --git a/brcm/src/main/java/repositories/CustomerRepository.java b/brcm/src/main/java/repositories/CustomerRepository.java
new file mode 100644
index 0000000..9a8d5bc
--- /dev/null
+++ b/brcm/src/main/java/repositories/CustomerRepository.java
@@ -0,0 +1,9 @@
+package repositories;
+
+import entities.Customer;
+import org.springframework.data.repository.CrudRepository;
+
+public interface CustomerRepository extends CrudRepository {
+ Customer getCustomerById(int id);
+ Customer saveCustomer(Customer customer);
+}
diff --git a/brcm/src/main/java/repositories/DiscountSchemeRepository.java b/brcm/src/main/java/repositories/DiscountSchemeRepository.java
new file mode 100644
index 0000000..521c768
--- /dev/null
+++ b/brcm/src/main/java/repositories/DiscountSchemeRepository.java
@@ -0,0 +1,12 @@
+package repositories;
+
+import entities.Discountscheme;
+
+import java.util.List;
+
+public interface DiscountSchemeRepository {
+ Discountscheme AddDiscount(Discountscheme discountscheme);
+ void DeleteDiscount(int id);
+ List getAllDiscounts();
+ void UpdateDiscount(Discountscheme discountscheme);
+}
diff --git a/brcm/src/main/java/repositories/LineItemRepository.java b/brcm/src/main/java/repositories/LineItemRepository.java
new file mode 100644
index 0000000..7a188a7
--- /dev/null
+++ b/brcm/src/main/java/repositories/LineItemRepository.java
@@ -0,0 +1,12 @@
+package repositories;
+
+import entities.Lineitem;
+
+import java.util.List;
+
+public interface LineItemRepository {
+ void saveLineItem(Lineitem lineitem);
+ void deleteLineItem(int id);
+ void updateLineItem(Lineitem lineitem);
+ List getLineItemsForOrderId(int id);
+}
diff --git a/brcm/src/main/java/repositories/OrderRepository.java b/brcm/src/main/java/repositories/OrderRepository.java
new file mode 100644
index 0000000..23b4025
--- /dev/null
+++ b/brcm/src/main/java/repositories/OrderRepository.java
@@ -0,0 +1,12 @@
+package repositories;
+
+import entities.Order;
+
+import java.util.Date;
+import java.util.List;
+
+public interface OrderRepository {
+ void saveOrder(Order order);
+ void updateOrder(Order order);
+ List getOrdersBetweenDates(Date start, Date end);
+}
diff --git a/brcm/src/main/java/repositories/PriceHistoryRepository.java b/brcm/src/main/java/repositories/PriceHistoryRepository.java
new file mode 100644
index 0000000..4432c33
--- /dev/null
+++ b/brcm/src/main/java/repositories/PriceHistoryRepository.java
@@ -0,0 +1,9 @@
+package repositories;
+
+import entities.Historicalprice;
+
+import java.util.List;
+
+public interface PriceHistoryRepository {
+ List getPriceHistoryForActivity(int activityId);
+}
diff --git a/brcm/src/main/java/repositories/ProfessorRepository.java b/brcm/src/main/java/repositories/ProfessorRepository.java
new file mode 100644
index 0000000..5a1aea6
--- /dev/null
+++ b/brcm/src/main/java/repositories/ProfessorRepository.java
@@ -0,0 +1,11 @@
+package repositories;
+
+import entities.Professor;
+import java.util.List;
+public interface ProfessorRepository {
+ Professor saveProfessor(Professor Professor);
+ void deleteProfessor(int id);
+ void updateProfessor(int id);
+ void getProfessorById(int id);
+ List getProfessorsByDept(String dept);
+}
diff --git a/brcm/src/main/java/repositories/StudentRepository.java b/brcm/src/main/java/repositories/StudentRepository.java
new file mode 100644
index 0000000..7d4d8d6
--- /dev/null
+++ b/brcm/src/main/java/repositories/StudentRepository.java
@@ -0,0 +1,12 @@
+package repositories;
+
+import entities.Student;
+import java.util.List;
+
+public interface StudentRepository {
+ Student saveStudent(Student student);
+ void deleteStudent(int id);
+ void updateStudent(Student student);
+ Student getStudentById(int id);
+ List getStudentsByMajor(String major);
+}
diff --git a/brcm/src/main/java/services/ActivityRegistrationService.java b/brcm/src/main/java/services/ActivityRegistrationService.java
new file mode 100644
index 0000000..8ca1cdc
--- /dev/null
+++ b/brcm/src/main/java/services/ActivityRegistrationService.java
@@ -0,0 +1,4 @@
+package services;
+
+public interface ActivityRegistrationService {
+}
diff --git a/brcm/src/main/java/services/CustomerManagementService.java b/brcm/src/main/java/services/CustomerManagementService.java
new file mode 100644
index 0000000..9e832ca
--- /dev/null
+++ b/brcm/src/main/java/services/CustomerManagementService.java
@@ -0,0 +1,18 @@
+package services;
+
+import dtos.ProfessorDto;
+import dtos.StudentDto;
+import java.util.List;
+
+public interface CustomerManagementService {
+ void saveStudent(StudentDto student);
+ void saveProfessor(ProfessorDto professor);
+ StudentDto getStudentByBroncoId(int id);
+ ProfessorDto getProfessorByBroncoId(int id);
+ void updateStudent(StudentDto student);
+ void updateProfessor(ProfessorDto professor);
+ void deleteStudentByBroncoId(int id);
+ void deleteProfessorByBroncoId(int id);
+ List listStudentsbyMajor(String major);
+ List listProfessorsbyDept(String dept);
+}
diff --git a/brcm/src/main/java/services/DiscountManagementService.java b/brcm/src/main/java/services/DiscountManagementService.java
new file mode 100644
index 0000000..78efeb9
--- /dev/null
+++ b/brcm/src/main/java/services/DiscountManagementService.java
@@ -0,0 +1,4 @@
+package services;
+
+public interface DiscountManagementService {
+}
diff --git a/brcm/src/main/java/services/PriceHistoryService.java b/brcm/src/main/java/services/PriceHistoryService.java
new file mode 100644
index 0000000..eb54727
--- /dev/null
+++ b/brcm/src/main/java/services/PriceHistoryService.java
@@ -0,0 +1,4 @@
+package services;
+
+public interface PriceHistoryService {
+}
diff --git a/brcm/src/main/java/services/RevenueReportService.java b/brcm/src/main/java/services/RevenueReportService.java
new file mode 100644
index 0000000..ca88e56
--- /dev/null
+++ b/brcm/src/main/java/services/RevenueReportService.java
@@ -0,0 +1,4 @@
+package services;
+
+public interface RevenueReportService {
+}
diff --git a/brcm/src/main/java/services/VisitRegistrationService.java b/brcm/src/main/java/services/VisitRegistrationService.java
new file mode 100644
index 0000000..1e519a0
--- /dev/null
+++ b/brcm/src/main/java/services/VisitRegistrationService.java
@@ -0,0 +1,4 @@
+package services;
+
+public interface VisitRegistrationService {
+}
diff --git a/brcm/src/main/resources/application.properties b/brcm/src/main/resources/application.properties
new file mode 100644
index 0000000..fc3eb82
--- /dev/null
+++ b/brcm/src/main/resources/application.properties
@@ -0,0 +1,7 @@
+spring.datasource.url=jdbc:postgresql://localhost:5432/brcm
+spring.datasource.username=sivacharan
+spring.datasource.password=
+spring.datasource.driver-class-name=org.postgresql.Driver
+spring.jpa.database-platform = org.hibernate.dialect.PostgreSQLDialect
+spring.jpa.generate-ddl=true
+spring.jpa.hibernate.ddl-auto = update
diff --git a/brcm/src/test/java/edu/cpp/brcm/BrcmApplicationTests.java b/brcm/src/test/java/edu/cpp/brcm/BrcmApplicationTests.java
new file mode 100644
index 0000000..e496aef
--- /dev/null
+++ b/brcm/src/test/java/edu/cpp/brcm/BrcmApplicationTests.java
@@ -0,0 +1,13 @@
+package edu.cpp.brcm;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class BrcmApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/brcm/web/target/classes/org/cpp/App.class b/brcm/web/target/classes/org/cpp/App.class
deleted file mode 100644
index 89e7f9c..0000000
Binary files a/brcm/web/target/classes/org/cpp/App.class and /dev/null differ
diff --git a/docs/brcm_sql.architect b/docs/brcm_sql.architect
index 590af47..368d511 100644
--- a/docs/brcm_sql.architect
+++ b/docs/brcm_sql.architect
@@ -880,36 +880,36 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/docs/brcm_sql.architect~ b/docs/brcm_sql.architect~
index dfc51c7..590af47 100644
--- a/docs/brcm_sql.architect~
+++ b/docs/brcm_sql.architect~
@@ -4,20 +4,11 @@
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
@@ -29,7 +20,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+