diff --git a/.metadata/.log b/.metadata/.log index 3cdce96..91f4d1a 100644 --- a/.metadata/.log +++ b/.metadata/.log @@ -99,3 +99,336 @@ This warning can be switched off on the Team > Git > Confirmations and Warnings !ENTRY org.eclipse.ui 2 2 2022-02-18 15:07:48.205 !MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) +!SESSION 2022-02-18 19:54:32.678 ----------------------------------------------- +eclipse.buildId=4.5.1.202001211336-RELEASE +java.version=1.8.0_201 +java.vendor=Oracle Corporation +BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR +Framework arguments: -product org.springframework.boot.ide.branding.sts4 +Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4 + +!ENTRY org.eclipse.core.resources 4 567 2022-02-18 19:55:45.049 +!MESSAGE Workspace restored, but some problems occurred. +!SUBENTRY 1 org.eclipse.core.resources 4 567 2022-02-18 19:55:45.049 +!MESSAGE Could not read metadata for '.org.eclipse.egit.core.cmp'. +!STACK 1 +org.eclipse.core.internal.resources.ResourceException(/.org.eclipse.egit.core.cmp)[567]: java.lang.Exception: The project description file (.project) for '.org.eclipse.egit.core.cmp' is missing. This file contains important information about the project. The project will not function properly until this file is restored. + at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42) + at org.eclipse.core.internal.resources.ResourceException.(ResourceException.java:38) + at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:907) + at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:888) + at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:868) + at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:724) + at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1555) + at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2452) + at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2210) + at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:489) + at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:842) + at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) + at java.security.AccessController.doPrivileged(Native Method) + at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:834) + at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:791) + at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015) + at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365) + at org.eclipse.osgi.container.Module.doStart(Module.java:603) + at org.eclipse.osgi.container.Module.start(Module.java:467) + at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:493) + at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117) + at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:571) + at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:346) + at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:398) + at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41) + at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:472) + at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:425) + at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) + at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171) + at java.lang.ClassLoader.loadClass(Unknown Source) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) + at java.lang.reflect.Method.invoke(Unknown Source) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) + at org.eclipse.equinox.launcher.Main.run(Main.java:1465) +!SUBENTRY 2 org.eclipse.core.resources 4 567 2022-02-18 19:55:45.065 +!MESSAGE The project description file (.project) for '.org.eclipse.egit.core.cmp' is missing. This file contains important information about the project. The project will not function properly until this file is restored. +!STACK 0 +java.lang.Exception: The project description file (.project) for '.org.eclipse.egit.core.cmp' is missing. This file contains important information about the project. The project will not function properly until this file is restored. + at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42) + at org.eclipse.core.internal.resources.ResourceException.(ResourceException.java:38) + at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:907) + at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:888) + at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:868) + at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:724) + at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1555) + at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:2452) + at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:2210) + at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:489) + at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:842) + at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) + at java.security.AccessController.doPrivileged(Native Method) + at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:834) + at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:791) + at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1015) + at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365) + at org.eclipse.osgi.container.Module.doStart(Module.java:603) + at org.eclipse.osgi.container.Module.start(Module.java:467) + at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:493) + at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117) + at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:571) + at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:346) + at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:398) + at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41) + at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:472) + at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:425) + at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) + at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171) + at java.lang.ClassLoader.loadClass(Unknown Source) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) + at java.lang.reflect.Method.invoke(Unknown Source) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) + at org.eclipse.equinox.launcher.Main.run(Main.java:1465) + +!ENTRY org.eclipse.jface 2 0 2022-02-18 19:56:04.450 +!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. +!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-18 19:56:04.450 +!MESSAGE A conflict occurred for CTRL+SHIFT+T: +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, + Open a type in a Java editor, + Category(org.eclipse.ui.category.navigate,Navigate,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1760e688, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, + , + Category(org.eclipse.lsp4e.category,Language Servers,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@53fc870f, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) + +!ENTRY org.eclipse.egit.ui 2 0 2022-02-18 19:56:16.937 +!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git +user global configuration and to define the default location to store repositories: 'C:\Users\anash'. If this is +not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and +EGit might behave differently since they see different configuration options. +This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:17.181 +!MESSAGE Removing part descriptor with the 'org.eclipse.linuxtools.docker.ui.dockerContainersView' id and the 'Docker Containers' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.295 +!MESSAGE Removing part descriptor with the 'org.eclipse.linuxtools.docker.ui.dockerImagesView' id and the 'Docker Images' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.520 +!MESSAGE Removing part descriptor with the 'org.eclipse.linuxtools.docker.ui.dockerExplorerView' id and the 'Docker Explorer' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.521 +!MESSAGE Removing part descriptor with the 'org.eclipse.linuxtools.docker.ui.dockerImageHierarchyView' id and the 'Docker Image Hierarchy' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.692 +!MESSAGE Removing part descriptor with the 'org.springframework.tooling.ls.eclipse.gotosymbol.view.SpringSymbolsView' id and the 'Spring Symbols' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.693 +!MESSAGE Removing part descriptor with the 'org.eclipse.datatools.connectivity.DataSourceExplorerNavigator' id and the 'Data Source Explorer' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.694 +!MESSAGE Removing part descriptor with the 'org.eclipse.datatools.sqltools.plan.planView' id and the 'Execution Plan' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.695 +!MESSAGE Removing part descriptor with the 'org.eclipse.datatools.sqltools.result.resultView' id and the 'SQL Results' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.696 +!MESSAGE Removing part descriptor with the 'org.eclipse.dltk.debug.ui.dbgpLogView' id and the 'Script Debug Log' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.697 +!MESSAGE Removing part descriptor with the 'org.eclipse.dltk.debug.ui.ScriptDisplayView' id and the 'Interactive Console' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.699 +!MESSAGE Removing part descriptor with the 'org.eclipse.dltk.testing.ResultView' id and the 'Script Unit Test' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.699 +!MESSAGE Removing part descriptor with the 'org.eclipse.dltk.ui.ScriptExplorer' id and the 'Script Explorer' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.700 +!MESSAGE Removing part descriptor with the 'org.eclipse.dltk.callhierarchy.view' id and the 'Call Hierarchy' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.701 +!MESSAGE Removing part descriptor with the 'org.eclipse.dltk.ui.TypeHierarchy' id and the 'Type Hierarchy' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.703 +!MESSAGE Removing part descriptor with the 'org.eclipse.graphiti.ui.internal.editor.thumbnailview' id and the 'Miniature View' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.704 +!MESSAGE Removing part descriptor with the 'org.eclipse.jpt.ui.jpaStructureView' id and the 'JPA Structure' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.705 +!MESSAGE Removing part descriptor with the 'org.eclipse.jpt.ui.jpaDetailsView' id and the 'JPA Details' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.707 +!MESSAGE Removing part descriptor with the 'org.eclipse.jst.ws.jaxws.ui.views.AnnotationsView' id and the 'Annotation Properties' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.707 +!MESSAGE Removing part descriptor with the 'org.eclipse.debug.ui.PHPStackView' id and the 'Parameter Stack' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.708 +!MESSAGE Removing part descriptor with the 'org.eclipse.debug.ui.PHPDebugOutput' id and the 'Debug Output' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.709 +!MESSAGE Removing part descriptor with the 'org.eclipse.debug.ui.PHPBrowserOutput' id and the 'Browser Output' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.709 +!MESSAGE Removing part descriptor with the 'org.eclipse.php.ui.explorer' id and the 'PHP Explorer' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.710 +!MESSAGE Removing part descriptor with the 'org.eclipse.php.ui.functions' id and the 'PHP Functions' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.711 +!MESSAGE Removing part descriptor with the 'org.eclipse.php.ui.projectOutline' id and the 'PHP Project Outline' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.714 +!MESSAGE Removing part descriptor with the 'org.eclipse.wst.xml.views.XPathView' id and the 'XPath' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.715 +!MESSAGE Removing part descriptor with the 'org.eclipse.wst.xsl.jaxp.debug.ui.resultview' id and the 'Result' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.e4.ui.workbench 2 0 2022-02-18 19:56:18.715 +!MESSAGE Removing part descriptor with the 'org.eclipse.wst.xsl.ui.view.outline' id and the 'Stylesheet Model' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. + +!ENTRY org.eclipse.ui 2 2 2022-02-18 19:57:29.173 +!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) +!SESSION 2022-02-18 19:57:32.627 ----------------------------------------------- +eclipse.buildId=4.5.1.202001211336-RELEASE +java.version=1.8.0_201 +java.vendor=Oracle Corporation +BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR +Framework arguments: -product org.springframework.boot.ide.branding.sts4 +Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4 + +!ENTRY org.eclipse.jface 2 0 2022-02-18 19:58:23.875 +!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. +!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-18 19:58:23.875 +!MESSAGE A conflict occurred for CTRL+SHIFT+T: +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, + Open a type in a Java editor, + Category(org.eclipse.ui.category.navigate,Navigate,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@56a9a7b5, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, + , + Category(org.eclipse.lsp4e.category,Language Servers,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1dd247b, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) + +!ENTRY org.eclipse.egit.ui 2 0 2022-02-18 19:58:28.819 +!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git +user global configuration and to define the default location to store repositories: 'C:\Users\anash'. If this is +not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and +EGit might behave differently since they see different configuration options. +This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. + +!ENTRY org.eclipse.ui 2 2 2022-02-19 16:24:26.041 +!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) +!SESSION 2022-02-21 16:16:44.379 ----------------------------------------------- +eclipse.buildId=4.5.1.202001211336-RELEASE +java.version=1.8.0_201 +java.vendor=Oracle Corporation +BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR +Framework arguments: -product org.springframework.boot.ide.branding.sts4 +Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4 + +!ENTRY org.eclipse.jface 2 0 2022-02-21 16:17:00.662 +!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. +!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-21 16:17:00.662 +!MESSAGE A conflict occurred for CTRL+SHIFT+T: +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, + Open a type in a Java editor, + Category(org.eclipse.ui.category.navigate,Navigate,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@30eb55c9, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, + , + Category(org.eclipse.lsp4e.category,Language Servers,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@2524d07a, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) + +!ENTRY org.eclipse.egit.ui 2 0 2022-02-21 16:17:05.511 +!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git +user global configuration and to define the default location to store repositories: 'C:\Users\anash'. If this is +not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and +EGit might behave differently since they see different configuration options. +This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. + +!ENTRY org.eclipse.ui 2 2 2022-02-21 16:17:41.413 +!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) + +!ENTRY org.eclipse.ui 2 2 2022-02-22 22:56:38.874 +!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) +!SESSION 2022-02-23 16:06:26.941 ----------------------------------------------- +eclipse.buildId=4.5.1.202001211336-RELEASE +java.version=1.8.0_201 +java.vendor=Oracle Corporation +BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR +Framework arguments: -product org.springframework.boot.ide.branding.sts4 +Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4 + +!ENTRY org.eclipse.jface 2 0 2022-02-23 16:08:12.100 +!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. +!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-23 16:08:12.100 +!MESSAGE A conflict occurred for CTRL+SHIFT+T: +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, + Open a type in a Java editor, + Category(org.eclipse.ui.category.navigate,Navigate,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@71f056a, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) +Binding(CTRL+SHIFT+T, + ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, + , + Category(org.eclipse.lsp4e.category,Language Servers,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@64f6dd19, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) + +!ENTRY org.eclipse.egit.ui 2 0 2022-02-23 16:08:36.305 +!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git +user global configuration and to define the default location to store repositories: 'C:\Users\anash'. If this is +not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and +EGit might behave differently since they see different configuration options. +This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. + +!ENTRY org.eclipse.ui 2 2 2022-02-23 16:10:41.411 +!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/1.tree b/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/1.tree new file mode 100644 index 0000000..0c10ef3 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/1.tree differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index index 5897676..ed9b514 100644 Binary files a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index and b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree b/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree deleted file mode 100644 index a8f2473..0000000 Binary files a/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree and /dev/null differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/6.tree b/.metadata/.plugins/org.eclipse.core.resources/.root/6.tree new file mode 100644 index 0000000..6348fc1 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.root/6.tree differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources index 260f373..75e2d97 100644 Binary files a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ diff --git a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi index ca24302..6ef2d51 100644 --- a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi +++ b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi @@ -1,8 +1,9 @@ + ModelMigrationProcessor.001 activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration - + @@ -71,12 +72,12 @@ persp.viewSC:org.eclipse.tm.terminal.view.ui.TerminalsView persp.showIn:org.eclipse.tm.terminal.view.ui.TerminalsView persp.viewSC:org.eclipse.ant.ui.views.AntView - + persp.actionSet:org.eclipse.wst.jsdt.chromium.debug.ui.actionSets + - + org.eclipse.e4.primaryNavigationStack - active View categoryTag:Java @@ -108,7 +109,7 @@ - + @@ -131,8 +132,9 @@ - + org.eclipse.e4.secondaryDataStack + active View categoryTag:General @@ -157,7 +159,7 @@ View categoryTag:General - + View categoryTag:General @@ -219,7 +221,7 @@ ViewMenu menuContribution:menu - + @@ -233,8 +235,6 @@ View categoryTag:General - active - activeOnClose ViewMenu menuContribution:menu @@ -262,8 +262,14 @@ + View categoryTag:Java + + ViewMenu + menuContribution:menu + + @@ -286,8 +292,16 @@ + View categoryTag:General + active + activeOnClose + + ViewMenu + menuContribution:menu + + @@ -299,7 +313,7 @@ ViewMenu menuContribution:menu - + @@ -335,7 +349,7 @@ ViewMenu menuContribution:menu - + @@ -356,7 +370,7 @@ Draggable - + toolbarSeparator @@ -384,7 +398,7 @@ Draggable - + toolbarSeparator @@ -411,7 +425,7 @@ stretch - + Draggable @@ -425,7 +439,6 @@ - @@ -460,7 +473,6 @@ - @@ -468,14 +480,12 @@ - - @@ -505,6 +515,8 @@ + + @@ -523,7 +535,9 @@ - + + deleted + @@ -544,7 +558,6 @@ - @@ -577,9 +590,7 @@ - - @@ -599,7 +610,6 @@ - @@ -615,7 +625,6 @@ - @@ -630,12 +639,8 @@ - - - - @@ -648,41 +653,33 @@ - - - - - - - - - - - - + + locale:fr + + @@ -713,7 +710,6 @@ - @@ -739,70 +735,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -823,22 +759,17 @@ + + + + + + - - - - - - - - - - - - + @@ -856,6 +787,19 @@ + + + + + + + + + + + + + @@ -870,16 +814,9 @@ - - - - - - - - - - + + + @@ -936,17 +873,9 @@ - - - - - - - - - - - + + + @@ -954,23 +883,14 @@ - - - + - - - - - - - - + @@ -1048,6 +968,16 @@ + + + + + + + + + + @@ -1120,6 +1050,7 @@ + @@ -1182,6 +1113,13 @@ + + + + + + + Editor removeOnHide @@ -1355,31 +1293,7 @@ View categoryTag:Java - - - - View - categoryTag:Docker - - - - - View - categoryTag:Docker - - - - - View - categoryTag:Docker - - - - - View - categoryTag:Docker - - + View @@ -1445,17 +1359,19 @@ View categoryTag:General - + View categoryTag:Version Control (Team) + categoryTag:Team - + View categoryTag:Version Control (Team) + categoryTag:Team View @@ -1593,90 +1509,12 @@ View categoryTag:Other - - - - View - categoryTag:Other - - - - - View - categoryTag:Data Management - - - - - View - categoryTag:Data Management - - - - - View - categoryTag:Data Management - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - View categoryTag:General - - - - View - categoryTag:General - - - - - View - categoryTag:JPA - - - - - View - categoryTag:JPA - @@ -1689,89 +1527,44 @@ View categoryTag:JavaServer Faces - - - - View - categoryTag:Web Services - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - View categoryTag:General - + View categoryTag:Other + categoryTag:JavaScript - + View categoryTag:Other + categoryTag:JavaScript - + View categoryTag:Other + categoryTag:JavaScript - - - + + + View - categoryTag:XML + categoryTag:JavaScript - - - + + + View - categoryTag:XML - - - - - View - categoryTag:XML + categoryTag:JavaScript @@ -1977,7 +1770,7 @@ - + @@ -2720,7 +2513,7 @@ - + @@ -2870,7 +2663,7 @@ - + @@ -3081,6 +2874,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3092,7 +2961,7 @@ - + @@ -3149,4 +3018,6 @@ + + diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_0.cfs b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_0.cfs new file mode 100644 index 0000000..10c0c85 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_0.cfs differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_0_1.del b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_0_1.del new file mode 100644 index 0000000..1b473bd Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_0_1.del differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_1.cfs b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_1.cfs new file mode 100644 index 0000000..d32dbba Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/_1.cfs differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/segments.gen b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/segments.gen new file mode 100644 index 0000000..e9fa600 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/segments.gen differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/segments_3 b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/segments_3 new file mode 100644 index 0000000..b47a84f Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/segments_3 differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/write.lock b/.metadata/.plugins/org.eclipse.m2e.core/nexus/05b0fe8524860bd73cbb07ef30fb34cc/write.lock new file mode 100644 index 0000000..e69de29 diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0.cfs b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0.cfs new file mode 100644 index 0000000..2510e88 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0.cfs differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0_1.del b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0_1.del new file mode 100644 index 0000000..1b473bd Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_0_1.del differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_1.cfs b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_1.cfs new file mode 100644 index 0000000..051597c Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/_1.cfs differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen new file mode 100644 index 0000000..e9fa600 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments.gen differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments_3 b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments_3 new file mode 100644 index 0000000..86cfd53 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/segments_3 differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/write.lock b/.metadata/.plugins/org.eclipse.m2e.core/nexus/830bc118332e77292949ed1e6d2fabe0/write.lock new file mode 100644 index 0000000..e69de29 diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_0.cfs b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_0.cfs new file mode 100644 index 0000000..74b71fa Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_0.cfs differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_0_1.del b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_0_1.del new file mode 100644 index 0000000..1b473bd Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_0_1.del differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_1.cfs b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_1.cfs new file mode 100644 index 0000000..0e51b7f Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/_1.cfs differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/segments.gen b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/segments.gen new file mode 100644 index 0000000..e9fa600 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/segments.gen differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/segments_3 b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/segments_3 new file mode 100644 index 0000000..5e3178a Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/segments_3 differ diff --git a/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/write.lock b/.metadata/.plugins/org.eclipse.m2e.core/nexus/fa1988baf2768b588e08a492a7285572/write.lock new file mode 100644 index 0000000..e69de29 diff --git a/.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser b/.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser new file mode 100644 index 0000000..81df8dd Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser differ diff --git a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log index 58c259d..d92ff23 100644 --- a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log +++ b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log @@ -1 +1,6 @@ 2022-02-18 15:06:49,231 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update. +2022-02-18 19:56:16,541 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read. +2022-02-18 19:58:28,433 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read. +2022-02-21 16:17:05,218 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read. +2022-02-22 11:23:18,315 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update. +2022-02-23 16:08:34,980 [Worker-2: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update. diff --git a/bin/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.16.1.20210603-1006.xml b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.15.0.20200120-1354.xml similarity index 100% rename from bin/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.16.1.20210603-1006.xml rename to .metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.15.0.20200120-1354.xml diff --git a/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties b/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties index 7a25ce2..e795fcb 100644 --- a/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties +++ b/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties @@ -1,2 +1,2 @@ #Cached timestamps -#Fri Feb 18 15:07:48 CET 2022 +#Wed Feb 23 16:10:41 WAT 2022 diff --git a/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties b/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties new file mode 100644 index 0000000..db16b39 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties @@ -0,0 +1,6 @@ +#Fri Feb 18 19:55:57 WAT 2022 +0.Path=C\:\\Users\\anash\\AppData\\Local\\Programs\\Git\\bin\\sh.exe +0.Name=Git Bash +0.Args=--login -i +0.Translate=true +0.Icon=C\:\\Users\\anash\\AppData\\Local\\Programs\\Git\\mingw64\\share\\git\\git-for-windows.ico diff --git a/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml new file mode 100644 index 0000000..b90441c --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml @@ -0,0 +1,52 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
diff --git a/bin/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml similarity index 61% rename from bin/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml rename to .metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml index 5ca0b77..5b583c4 100644 --- a/bin/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml +++ b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml @@ -1,3 +1,5 @@
+
+
diff --git a/.metadata/version.ini b/.metadata/version.ini index 6e3196a..5ae7181 100644 --- a/.metadata/version.ini +++ b/.metadata/version.ini @@ -1,3 +1,3 @@ -#Fri Feb 18 15:06:24 CET 2022 +#Wed Feb 23 16:07:49 WAT 2022 org.eclipse.core.runtime=2 -org.eclipse.platform=4.21.0.v20210906-0500 +org.eclipse.platform=4.14.0.v20191210-0610 diff --git a/bin/.metadata/.log b/bin/.metadata/.log deleted file mode 100644 index 3cdce96..0000000 --- a/bin/.metadata/.log +++ /dev/null @@ -1,101 +0,0 @@ -!SESSION 2022-02-18 15:05:55.184 ----------------------------------------------- -eclipse.buildId=4.12.0.202109130635 -java.version=16.0.2 -java.vendor=Oracle Corporation -BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB -Framework arguments: -product org.springframework.boot.ide.branding.sts4 -Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springframework.boot.ide.branding.sts4 - -!ENTRY org.eclipse.jface 2 0 2022-02-18 15:06:41.641 -!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. -!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-18 15:06:41.641 -!MESSAGE A conflict occurred for CTRL+SHIFT+I: -Binding(CTRL+SHIFT+I, - ParameterizedCommand(Command(org.eclipse.jdt.debug.ui.commands.Inspect,Inspect, - Inspect result of evaluating selected text, - Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@9fc2f89, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.dialogAndWindow,,,system) -Binding(CTRL+SHIFT+I, - ParameterizedCommand(Command(org.eclipse.php.debug.ui.commands.Inspect,Inspect, - Inspect result of evaluating selected text, - Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5f877009, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.dialogAndWindow,,,system) - -!ENTRY org.eclipse.jface 2 0 2022-02-18 15:06:43.291 -!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. -!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-18 15:06:43.291 -!MESSAGE A conflict occurred for CTRL+SHIFT+T: -Binding(CTRL+SHIFT+T, - ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, - Open a type in a Java editor, - Category(org.eclipse.ui.category.navigate,Navigate,null,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@32f8a37b, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -Binding(CTRL+SHIFT+T, - ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, - , - Category(org.eclipse.lsp4e.category,Language Servers,null,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@657e7e8, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-18 15:06:43.291 -!MESSAGE A conflict occurred for ALT+SHIFT+X R: -Binding(ALT+SHIFT+X R, - ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.run,Run on Server, - Run the current selection on a server, - Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1b4ade78, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -Binding(ALT+SHIFT+X R, - ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.run,Run RAP Application, - Run RAP Application, - Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@45fa7fb7, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -!SUBENTRY 1 org.eclipse.jface 2 0 2022-02-18 15:06:43.291 -!MESSAGE A conflict occurred for ALT+SHIFT+D R: -Binding(ALT+SHIFT+D R, - ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.debug,Debug on Server, - Debug the current selection on a server, - Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@32eeef08, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) -Binding(ALT+SHIFT+D R, - ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.debug,Debug RAP Application, - Debug RAP Application, - Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), - org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@bbf361a, - ,,true),null), - org.eclipse.ui.defaultAcceleratorConfiguration, - org.eclipse.ui.contexts.window,,,system) - -!ENTRY org.eclipse.egit.ui 2 0 2022-02-18 15:06:49.249 -!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git -user global configuration and to define the default location to store repositories: 'C:\Users\issam'. If this is -not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and -EGit might behave differently since they see different configuration options. -This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. - -!ENTRY org.eclipse.ui.navigator 2 0 2022-02-18 15:07:27.556 -!MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering - -!ENTRY org.eclipse.ui.navigator 2 0 2022-02-18 15:07:27.557 -!MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering - -!ENTRY org.eclipse.ui 2 2 2022-02-18 15:07:48.205 -!MESSAGE Invalid property category path: org.springframework.ide.eclipse.beans.ui.properties.ProjectPropertyPage (bundle: org.springframework.ide.eclipse.xml.namespaces, propertyPage: org.springframework.ide.eclipse.beans.ui.namespaces.projectPropertyPage) diff --git a/bin/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.location b/bin/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.location deleted file mode 100644 index 1708d8c..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.location and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version deleted file mode 100644 index 25cb955..0000000 --- a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index deleted file mode 100644 index 5897676..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version deleted file mode 100644 index 6b2aaa7..0000000 --- a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree b/bin/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree deleted file mode 100644 index a8f2473..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/bin/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources deleted file mode 100644 index 260f373..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.dltk.core/Containers.dat b/bin/.metadata/.plugins/org.eclipse.dltk.core/Containers.dat deleted file mode 100644 index 9c82273..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.dltk.core/Containers.dat and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/bin/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi deleted file mode 100644 index ca24302..0000000 --- a/bin/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi +++ /dev/null @@ -1,3152 +0,0 @@ - - - - activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration - - - - - - - - topLevel - shellMaximized - - - - - persp.actionSet:org.eclipse.ui.cheatsheets.actionSet - persp.actionSet:org.eclipse.search.searchActionSet - persp.actionSet:org.eclipse.text.quicksearch.actionSet - persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation - persp.actionSet:org.eclipse.ui.edit.text.actionSet.navigation - persp.actionSet:org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo - persp.actionSet:org.eclipse.ui.externaltools.ExternalToolsSet - persp.actionSet:org.eclipse.ui.actionSet.keyBindings - persp.actionSet:org.eclipse.ui.actionSet.openFiles - persp.actionSet:org.springsource.ide.eclipse.commons.launch.actionSet - persp.actionSet:org.eclipse.debug.ui.launchActionSet - persp.actionSet:org.eclipse.jdt.ui.JavaActionSet - persp.actionSet:org.eclipse.jdt.ui.JavaElementCreationActionSet - persp.actionSet:org.eclipse.ui.NavigateActionSet - persp.viewSC:org.eclipse.jdt.ui.PackageExplorer - persp.viewSC:org.eclipse.jdt.ui.TypeHierarchy - persp.viewSC:org.eclipse.jdt.ui.SourceView - persp.viewSC:org.eclipse.jdt.ui.JavadocView - persp.viewSC:org.eclipse.search.ui.views.SearchView - persp.viewSC:org.eclipse.ui.console.ConsoleView - persp.viewSC:org.eclipse.ui.views.ContentOutline - persp.viewSC:org.eclipse.ui.views.ProblemView - persp.viewSC:org.eclipse.ui.views.ResourceNavigator - persp.viewSC:org.eclipse.ui.views.TaskList - persp.viewSC:org.eclipse.ui.views.ProgressView - persp.viewSC:org.eclipse.ui.navigator.ProjectExplorer - persp.viewSC:org.eclipse.ui.texteditor.TemplatesView - persp.viewSC:org.eclipse.pde.runtime.LogView - persp.newWizSC:org.eclipse.jdt.ui.wizards.JavaProjectWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewPackageCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewClassCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewInterfaceCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewEnumCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewRecordCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewAnnotationCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewSourceFolderCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewSnippetFileCreationWizard - persp.newWizSC:org.eclipse.jdt.ui.wizards.NewJavaWorkingSetWizard - persp.newWizSC:org.eclipse.ui.wizards.new.folder - persp.newWizSC:org.eclipse.ui.wizards.new.file - persp.newWizSC:org.eclipse.ui.editors.wizards.UntitledTextFileWizard - persp.perspSC:org.eclipse.jdt.ui.JavaBrowsingPerspective - persp.perspSC:org.eclipse.debug.ui.DebugPerspective - persp.showIn:org.eclipse.jdt.ui.PackageExplorer - persp.showIn:org.eclipse.team.ui.GenericHistoryView - persp.showIn:org.eclipse.ui.navigator.ProjectExplorer - persp.actionSet:org.eclipse.debug.ui.breakpointActionSet - persp.actionSet:org.eclipse.jdt.debug.ui.JDTDebugActionSet - persp.newWizSC:org.eclipse.jdt.junit.wizards.NewTestCaseCreationWizard - persp.actionSet:org.eclipse.jdt.junit.JUnitActionSet - persp.showIn:org.eclipse.egit.ui.RepositoriesView - persp.newWizSC:org.springsource.ide.eclipse.commons.gettingstarted.wizard.boot.NewSpringBootWizard - persp.newWizSC:org.springsource.ide.eclipse.gettingstarted.wizards.import.generic.newalias - persp.viewSC:org.eclipse.tm.terminal.view.ui.TerminalsView - persp.showIn:org.eclipse.tm.terminal.view.ui.TerminalsView - persp.viewSC:org.eclipse.ant.ui.views.AntView - - - - - org.eclipse.e4.primaryNavigationStack - active - - View - categoryTag:Java - - - View - categoryTag:Java - - - View - categoryTag:General - - - View - categoryTag:Java - - - - - View - categoryTag:Other - - - - - - View - categoryTag:Git - - - - - - - - org.eclipse.e4.secondaryNavigationStack - - View - categoryTag:General - - - View - categoryTag:General - - - View - categoryTag:General - - - View - categoryTag:Ant - - - - - org.eclipse.e4.secondaryDataStack - - View - categoryTag:General - - - View - categoryTag:Java - - - View - categoryTag:Java - - - View - categoryTag:General - - - View - categoryTag:General - - - View - categoryTag:General - - - View - categoryTag:General - - - View - categoryTag:Terminal - - - - - - - - - View - categoryTag:Help - - - View - categoryTag:General - - - View - categoryTag:Help - - - - - - - View - categoryTag:Help - - - - - View - categoryTag:General - - - - - View - categoryTag:Help - - - - org.eclipse.e4.primaryDataStack - EditorStack - - - - - - - View - categoryTag:Java - - ViewMenu - menuContribution:menu - - - - - - - View - categoryTag:Java - - - - - - View - categoryTag:General - active - activeOnClose - - ViewMenu - menuContribution:menu - - - - - - - - View - categoryTag:General - - ViewMenu - menuContribution:menu - - - - - - - View - categoryTag:Java - - - - - View - categoryTag:Java - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - - View - categoryTag:General - - ViewMenu - menuContribution:menu - - - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:Java - - - - - View - categoryTag:Git - - - - - - View - categoryTag:Other - - ViewMenu - menuContribution:menu - - - - - - - View - categoryTag:Terminal - - - - - View - categoryTag:Ant - - - - toolbarSeparator - - - - Draggable - - - - toolbarSeparator - - - - Draggable - - - toolbarSeparator - - - - Draggable - - - Draggable - - - Draggable - - - toolbarSeparator - - - - Draggable - - - - toolbarSeparator - - - - toolbarSeparator - - - - Draggable - - - stretch - SHOW_RESTORE_MENU - - - Draggable - HIDEABLE - SHOW_RESTORE_MENU - - - - - stretch - - - Draggable - - - Draggable - - - - - - - - - - - - - - - - - - - - - - - - - platform:win32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - platform:win32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Editor - removeOnHide - - - - - View - categoryTag:Ant - - - - - View - categoryTag:Gradle - - - - - View - categoryTag:Gradle - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Git - - - - - View - categoryTag:Git - - - - - View - categoryTag:Git - - - - - View - categoryTag:Git - NoRestore - - - - - View - categoryTag:Git - - - - - View - categoryTag:Help - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Java - - - - - View - categoryTag:Java - - - - - View - categoryTag:Java - - - - - View - categoryTag:Java Browsing - - - - - View - categoryTag:Java Browsing - - - - - View - categoryTag:Java Browsing - - - - - View - categoryTag:Java Browsing - - - - - View - categoryTag:Java - - - - - View - categoryTag:General - - - - - View - categoryTag:Java - - - - - View - categoryTag:Java - - - - - View - categoryTag:Docker - - - - - View - categoryTag:Docker - - - - - View - categoryTag:Docker - - - - - View - categoryTag:Docker - - - - - View - categoryTag:Maven - - - - - View - categoryTag:Maven - - - - - View - categoryTag:API Tools - - - - - View - categoryTag:Plug-in Development - - - - - View - categoryTag:Plug-in Development - - - - - View - categoryTag:Plug-in Development - - - - - View - categoryTag:Plug-in Development - - - - - View - categoryTag:Plug-in Development - - - - - View - categoryTag:Plug-in Development - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:Version Control (Team) - - - - - View - categoryTag:Version Control (Team) - - - View - categoryTag:Help - - - - - View - categoryTag:Terminal - - - - - View - categoryTag:Other - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:Help - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:Debug - - - - - View - categoryTag:Server - - - - - View - categoryTag:XML - - - - - View - categoryTag:XML - - - - - View - categoryTag:Other - - - - - View - categoryTag:Other - - - - - View - categoryTag:Data Management - - - - - View - categoryTag:Data Management - - - - - View - categoryTag:Data Management - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:Dynamic Languages - - - - - View - categoryTag:General - - - - - View - categoryTag:General - - - - - View - categoryTag:JPA - - - - - View - categoryTag:JPA - - - - - View - categoryTag:JavaServer Faces - - - - - View - categoryTag:JavaServer Faces - - - - - View - categoryTag:Web Services - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:PHP Tools - - - - - View - categoryTag:General - - - - - View - categoryTag:Other - - - - - View - categoryTag:Other - - - - - View - categoryTag:Other - - - - - View - categoryTag:XML - - - - - View - categoryTag:XML - - - - - View - categoryTag:XML - - - - glue - move_after:PerspectiveSpacer - SHOW_RESTORE_MENU - - - move_after:Spacer Glue - HIDEABLE - SHOW_RESTORE_MENU - - - glue - move_after:SearchField - SHOW_RESTORE_MENU - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache b/bin/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache deleted file mode 100644 index 593f470..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache b/bin/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache deleted file mode 100644 index 593f470..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt b/bin/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt deleted file mode 100644 index 8586397..0000000 --- a/bin/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt +++ /dev/null @@ -1 +0,0 @@ -java \ No newline at end of file diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/bin/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache deleted file mode 100644 index 593f470..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/bin/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat deleted file mode 100644 index 3de398e..0000000 Binary files a/bin/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat and /dev/null differ diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml b/bin/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml deleted file mode 100644 index a4ee3cb..0000000 --- a/bin/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/bin/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml deleted file mode 100644 index 9e390f5..0000000 --- a/bin/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/bin/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/bin/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml deleted file mode 100644 index 7ef28ed..0000000 --- a/bin/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml +++ /dev/null @@ -1,10 +0,0 @@ - -
-
- - - - - -
-
diff --git a/bin/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log b/bin/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log deleted file mode 100644 index 58c259d..0000000 --- a/bin/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log +++ /dev/null @@ -1 +0,0 @@ -2022-02-18 15:06:49,231 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update. diff --git a/bin/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties b/bin/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties deleted file mode 100644 index 7a25ce2..0000000 --- a/bin/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties +++ /dev/null @@ -1,2 +0,0 @@ -#Cached timestamps -#Fri Feb 18 15:07:48 CET 2022 diff --git a/bin/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/bin/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml deleted file mode 100644 index d9e71c7..0000000 --- a/bin/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/bin/.metadata/version.ini b/bin/.metadata/version.ini deleted file mode 100644 index 6e3196a..0000000 --- a/bin/.metadata/version.ini +++ /dev/null @@ -1,3 +0,0 @@ -#Fri Feb 18 15:06:24 CET 2022 -org.eclipse.core.runtime=2 -org.eclipse.platform=4.21.0.v20210906-0500 diff --git a/bin/.mvn/wrapper/MavenWrapperDownloader.class b/bin/.mvn/wrapper/MavenWrapperDownloader.class deleted file mode 100644 index 3075e87..0000000 Binary files a/bin/.mvn/wrapper/MavenWrapperDownloader.class and /dev/null differ diff --git a/bin/.mvn/wrapper/maven-wrapper.jar b/bin/.mvn/wrapper/maven-wrapper.jar deleted file mode 100644 index 2cc7d4a..0000000 Binary files a/bin/.mvn/wrapper/maven-wrapper.jar and /dev/null differ diff --git a/bin/.mvn/wrapper/maven-wrapper.properties b/bin/.mvn/wrapper/maven-wrapper.properties deleted file mode 100644 index a9f1ef8..0000000 --- a/bin/.mvn/wrapper/maven-wrapper.properties +++ /dev/null @@ -1,2 +0,0 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/bin/.vs/slnx.sqlite b/bin/.vs/slnx.sqlite deleted file mode 100644 index 2c240b0..0000000 Binary files a/bin/.vs/slnx.sqlite and /dev/null differ diff --git a/bin/.vs/slnx.sqlite-journal b/bin/.vs/slnx.sqlite-journal deleted file mode 100644 index 0a59cf2..0000000 Binary files a/bin/.vs/slnx.sqlite-journal and /dev/null differ diff --git a/bin/mvnw b/bin/mvnw deleted file mode 100644 index a16b543..0000000 --- a/bin/mvnw +++ /dev/null @@ -1,310 +0,0 @@ -#!/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 /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="`which java`" - fi -fi - -if [ ! -x "$JAVACMD" ] ; then - echo "Error: JAVA_HOME is not defined correctly." >&2 - echo " We cannot execute $JAVACMD" >&2 - exit 1 -fi - -if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." -fi - -CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher - -# 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/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - else - jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.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" - else - wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$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 \ - -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ - "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ - ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/bin/mvnw.cmd b/bin/mvnw.cmd deleted file mode 100644 index c8d4337..0000000 --- a/bin/mvnw.cmd +++ /dev/null @@ -1,182 +0,0 @@ -@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 "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" -if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" -:skipRcPre - -@setlocal - -set ERROR_CODE=0 - -@REM To isolate internal variables from possible post scripts, we use another setlocal -@setlocal - -@REM ==== START VALIDATION ==== -if not "%JAVA_HOME%" == "" goto OkJHome - -echo. -echo Error: JAVA_HOME not found in your environment. >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -:OkJHome -if exist "%JAVA_HOME%\bin\java.exe" goto init - -echo. -echo Error: JAVA_HOME is set to an invalid directory. >&2 -echo JAVA_HOME = "%JAVA_HOME%" >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -@REM ==== END VALIDATION ==== - -:init - -@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/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - -FOR /F "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%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.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 "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" -if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" -:skipRcPost - -@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' -if "%MAVEN_BATCH_PAUSE%" == "on" pause - -if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% - -exit /B %ERROR_CODE% diff --git a/bin/pom.xml b/bin/pom.xml deleted file mode 100644 index cb8e2e1..0000000 --- a/bin/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.5.5 - - - tn.esprit.spring - ExamenBlanc - 1.0 - ExamenBlanc - ExamenBlanc - - 1.8 - 3.1.1 - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-devtools - runtime - true - - - io.springfox - springfox-boot-starter - 3.0.0 - - - junit - junit - test - - - org.projectlombok - lombok - provided - - - mysql - mysql-connector-java - runtime - - - org.springframework.boot - spring-boot-starter-test - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/bin/src/main/java/tn/esprit/spring/ExamenBlancApplication.class b/bin/src/main/java/tn/esprit/spring/ExamenBlancApplication.class deleted file mode 100644 index a51bc8c..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/ExamenBlancApplication.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/config/LoggingAspect.class b/bin/src/main/java/tn/esprit/spring/config/LoggingAspect.class deleted file mode 100644 index c0bd308..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/config/LoggingAspect.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/config/SwaggerConfig.class b/bin/src/main/java/tn/esprit/spring/config/SwaggerConfig.class deleted file mode 100644 index 174664f..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/config/SwaggerConfig.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/controllers/ClientRestController.class b/bin/src/main/java/tn/esprit/spring/controllers/ClientRestController.class deleted file mode 100644 index edc9d08..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/controllers/ClientRestController.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/entities/Examen.class b/bin/src/main/java/tn/esprit/spring/entities/Examen.class deleted file mode 100644 index 1437fcd..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/entities/Examen.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/entities/First.class b/bin/src/main/java/tn/esprit/spring/entities/First.class deleted file mode 100644 index 6db2327..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/entities/First.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/entities/Trip.class b/bin/src/main/java/tn/esprit/spring/entities/Trip.class deleted file mode 100644 index 061589e..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/entities/Trip.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/repository/ExamenRepository.class b/bin/src/main/java/tn/esprit/spring/repository/ExamenRepository.class deleted file mode 100644 index e574563..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/repository/ExamenRepository.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/service/ExamenServiceImpl.class b/bin/src/main/java/tn/esprit/spring/service/ExamenServiceImpl.class deleted file mode 100644 index 2fb3a87..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/service/ExamenServiceImpl.class and /dev/null differ diff --git a/bin/src/main/java/tn/esprit/spring/serviceInterface/IExamenService.class b/bin/src/main/java/tn/esprit/spring/serviceInterface/IExamenService.class deleted file mode 100644 index 3c82417..0000000 Binary files a/bin/src/main/java/tn/esprit/spring/serviceInterface/IExamenService.class and /dev/null differ diff --git a/bin/src/main/resources/application.properties b/bin/src/main/resources/application.properties deleted file mode 100644 index 805a9f2..0000000 --- a/bin/src/main/resources/application.properties +++ /dev/null @@ -1,17 +0,0 @@ -spring.datasource.url=jdbc:mysql://localhost:3306/pidev?createDatabaseIfNotExist=true&useUnicode=true -spring.datasource.username=root -spring.datasource.password= - -spring.jpa.show-sql=false -spring.jpa.hibernate.ddl-auto=update -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect -server.port=8087 - -server.servlet.context-path=/SpringMVC - -logging.level.root=INFO -logging.pattern.console=%d{yyyy-MM-dd HH:mm:ss} - %-5level - %logger{60} - %msg %n -logging.file.name=D:/spring_log_file/spring_file.log - - - diff --git a/bin/src/test/java/tn/esprit/spring/ExamenBlancApplicationTests.class b/bin/src/test/java/tn/esprit/spring/ExamenBlancApplicationTests.class deleted file mode 100644 index c62b9ac..0000000 Binary files a/bin/src/test/java/tn/esprit/spring/ExamenBlancApplicationTests.class and /dev/null differ diff --git a/pom.xml b/pom.xml index cb8e2e1..fbc58da 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,17 @@ org.springframework.boot spring-boot-starter-web + + + com.twilio.sdk + twilio + 8.27.0 + + + com.google.apis + google-api-services-calendar + v3-rev411-1.25.0 + org.springframework.boot diff --git a/src/main/java/tn/esprit/spring/controllers/ActivityController.java b/src/main/java/tn/esprit/spring/controllers/ActivityController.java new file mode 100644 index 0000000..75e0333 --- /dev/null +++ b/src/main/java/tn/esprit/spring/controllers/ActivityController.java @@ -0,0 +1,105 @@ +package tn.esprit.spring.controllers; + +import java.util.List; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.bind.annotation.RestController; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import tn.esprit.spring.entities.Activity; +import tn.esprit.spring.entities.TripPlan; +import tn.esprit.spring.repository.ActivityRepo; +import tn.esprit.spring.repository.TripPlanRepo; +import tn.esprit.spring.serviceInterface.IActivityService; + +@RestController +@Api(tags = "Activity managment") +@RequestMapping("/Activity") +public class ActivityController { + + @Autowired + IActivityService ActivityService; + + @Autowired + ActivityRepo ar; + + @Autowired + TripPlanRepo trp; + //http://localhost:8087/SpringMVC/swagger-ui/index.html + + + @ApiOperation(value = "getAllActivitys") + @GetMapping("/getAll") + @ResponseBody + public List getAll() { + return ActivityService.getAll(); + } + + + @ApiOperation(value = "addActivity") + @PostMapping("/add") + @ResponseBody + public String add(@RequestBody Activity activity) { + /*TripPlan tp = trp.findById(tripPlanId).orElse(null);*/ + /*activity.setTripPlan(tp);*/ + //ar.save(activity); + return ActivityService.add(activity); + } + + @ApiOperation(value = "getById") + @GetMapping("/getById/{Activity-id}") + @ResponseBody + public Activity getById(@PathVariable("Activity-id") Long id) { + System.out.println("********************"+id+"**********"); + return ActivityService.getById(id); + } + + @ApiOperation(value = "updateActivity") + @PutMapping("/update/{tripPlanId}") + @ResponseBody + public void update(@PathVariable("tripPlanId") Long tripPlanId) { + ActivityService.update(tripPlanId); + } + + + + + /*@ApiOperation(value = "deleteActivity") + @DeleteMapping("/delete/{Activity-id}") + @ResponseBody + public void delete(@PathVariable("Activity-id") Long id) { + ActivityService.delete(id); + } + +*/ + @ApiOperation(value = "ajouterActivityToTripPlan") + @GetMapping("/asgTPAC/{tripPlan-id}/{activity-id}") + @ResponseBody + public void assgProjetToUser(@PathVariable("tripPlan-id") long tripPlanid ,@PathVariable("activity-id") long activityid) { + ActivityService.addActivityToTripPlan(tripPlanid, activityid); + } + + @ApiOperation(value = "find-Activities-ByTripPlan") + @GetMapping("/find-Activities-ByTripPlan/{tripPlan-id}") + @ResponseBody + public List findActivitiesByTripPlan(@PathVariable("tripPlan-id") long tripPlanid ) { + return ActivityService.listActivityByTripPlanId(tripPlanid); + + } + + @ApiOperation(value = "makeActivityDone") + @PutMapping("/done/{idActivity}") + @ResponseBody + public String makeActivityDone(@PathVariable("idActivity") Long idActivity) { + return ActivityService.makeDoneActivity(idActivity); + } +} diff --git a/src/main/java/tn/esprit/spring/controllers/ClientRestController.java b/src/main/java/tn/esprit/spring/controllers/ClientRestController.java deleted file mode 100644 index 38c81fb..0000000 --- a/src/main/java/tn/esprit/spring/controllers/ClientRestController.java +++ /dev/null @@ -1,33 +0,0 @@ -package tn.esprit.spring.controllers; - -import java.util.List; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.bind.annotation.RestController; - -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import tn.esprit.spring.entities.Examen; -import tn.esprit.spring.serviceInterface.IExamenService; -@RestController -@Api(tags = "Gestion des examens") -@RequestMapping("/examen") -public class ClientRestController { - - @Autowired - IExamenService examenService; - //http://localhost:8087/SpringMVC/swagger-ui/index.html - @ApiOperation(value = "Récupérer la liste des examens") - @GetMapping("/retrieve-all-examens") - @ResponseBody - public List getClients() { - return examenService.retrieveAllExamens(); - } - - - - -} diff --git a/src/main/java/tn/esprit/spring/controllers/ReportController.java b/src/main/java/tn/esprit/spring/controllers/ReportController.java new file mode 100644 index 0000000..fad5781 --- /dev/null +++ b/src/main/java/tn/esprit/spring/controllers/ReportController.java @@ -0,0 +1,161 @@ +package tn.esprit.spring.controllers; + +import java.util.List; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.bind.annotation.RestController; + +import com.twilio.Twilio; +import com.twilio.rest.api.v2010.account.Message; + + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import tn.esprit.spring.entities.Activity; +import tn.esprit.spring.entities.Report; +import tn.esprit.spring.entities.User; +import tn.esprit.spring.repository.UserRepo; +import tn.esprit.spring.serviceInterface.IReportService; + +@RestController +@Api(tags = "Reports managment") +@RequestMapping("/Report") +public class ReportController { + + + + @Autowired + IReportService ReportService; + + @Autowired + UserRepo userRepo; + + @PostMapping("/add-Report") + public Report addReport(@RequestBody Report r) + { + String ACCOUNT_SID = "AC39b3348ddc32e1b8ea10dab06afc1f9a"; + String AUTH_TOKEN = "03506d35b5d6b2a8f3c54acaa4036f0e"; + Report report = ReportService.addReclamation(r); + + Twilio.init(ACCOUNT_SID, AUTH_TOKEN); + Message message = Message.creator( + new com.twilio.type.PhoneNumber("whatsapp:+21652135404"), + new com.twilio.type.PhoneNumber("whatsapp:+14155238886"), + report.getResponse()) + + + .create(); + + System.out.println(message.getSid()); + return report; + + } + + @GetMapping("/get-Reclamation") + public List getReclam() + { + return ReportService.RecalamationList(); + } + + + @DeleteMapping("/delete-Reclamation/{reclam-id}") + public void deleteReclamation(@PathVariable("reclam-id") int id) + { + ReportService.deleteReclamation(id); + } + + /*@PostMapping("/update-Report") + public void UpdateReport(@RequestBody Report r) + { + ReportService.updateReclamation(r); + }*/ + + + @GetMapping("/ReclamationByUserId/{user-id}") + public List ListReportByIdUser(@PathVariable("user-id") int id) + { + return ReportService.findReclamByUser(id); + } + + @GetMapping("/semaine") + public Map NombreDesReclamParSemaine() + { + return ReportService.NombreDesReclamParSemaine(); + } + + @GetMapping("/mois") + public Map NombreDesReclamParmois() + { + return ReportService.NombreDesReclamParMois(); + } + + @GetMapping("/an") + public Map NombreDesReclamParAn() + { + return ReportService.NombreDesReclamParAn(); + } + + @GetMapping("/chartReportType/{periode}") + public Map NombreDesReclamParType(@PathVariable("periode") String periode){ + return ReportService.NombreDesReclamParType(periode); + } + + @GetMapping("/get-reclamParday") + public int NombreDesReclamParDay() { + return ReportService.NombreDesReclamParDay(); + + } + + @ApiOperation(value = "updateReport") + @PutMapping("/update/{idReclam}") + @ResponseBody + public void update(@PathVariable("idReclam") int idReclam) { + + + Report r = ReportService.updateReclamation(idReclam); + + String ACCOUNT_SID = "AC39b3348ddc32e1b8ea10dab06afc1f9a"; + String AUTH_TOKEN = "03506d35b5d6b2a8f3c54acaa4036f0e"; + + Twilio.init(ACCOUNT_SID, AUTH_TOKEN); + Message message = Message.creator( + new com.twilio.type.PhoneNumber("whatsapp:+21652135404"), + new com.twilio.type.PhoneNumber("whatsapp:+14155238886"),"Bonjour Mr/Mme "+r.getUtilisateur().getFirstNameEmploye()+" "+r.getResponse()) + /*r.getResponse()+"qui est lié au"+r.getType()+r.getUtilisateur().getFirstNameEmploye())*/ + .create(); + + System.out.println(message.getSid()); + } + + + @GetMapping("/msg") + public void sendMSG() { + String ACCOUNT_SID = "AC39b3348ddc32e1b8ea10dab06afc1f9a"; + String AUTH_TOKEN = "03506d35b5d6b2a8f3c54acaa4036f0e"; + + Twilio.init(ACCOUNT_SID, AUTH_TOKEN); + Message message = Message.creator( + new com.twilio.type.PhoneNumber("whatsapp:+21652135404"), + new com.twilio.type.PhoneNumber("whatsapp:+14155238886"), + "Hello") + .create(); + + System.out.println(message.getSid()); + + } + + + + + + +} diff --git a/src/main/java/tn/esprit/spring/controllers/TripPlanController.java b/src/main/java/tn/esprit/spring/controllers/TripPlanController.java new file mode 100644 index 0000000..d041e87 --- /dev/null +++ b/src/main/java/tn/esprit/spring/controllers/TripPlanController.java @@ -0,0 +1,76 @@ +package tn.esprit.spring.controllers; + +import java.util.List; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.bind.annotation.RestController; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import tn.esprit.spring.entities.TripPlan; +import tn.esprit.spring.serviceInterface.ITripPlanService; + +@RestController +@Api(tags = "TripPlan Manager") +@RequestMapping("/TripPlan") +public class TripPlanController { + + + @Autowired + ITripPlanService TripPlanService; + //http://localhost:8087/SpringMVC/swagger-ui/index.html + + + @ApiOperation(value = "getAllTripPlans") + @GetMapping("/getAll") + @ResponseBody + public List getAll() { + return TripPlanService.getAll(); + } + + + @ApiOperation(value = "addTripPlan") + @PostMapping("/add") + @ResponseBody + public TripPlan add(@RequestBody TripPlan TripPlan) { + return TripPlanService.add(TripPlan); + } + + @ApiOperation(value = "getById") + @GetMapping("/getById/{TripPlan-id}") + @ResponseBody + public TripPlan getById(@PathVariable("TripPlan-id") Long id) { + System.out.println("********************"+id+"**********"); + return TripPlanService.getById(id); + } + + @ApiOperation(value = "updateTripPlan") + @PutMapping("/update") + @ResponseBody + public TripPlan update(@RequestBody TripPlan TripPlan) { + return TripPlanService.update(TripPlan); + } + + + @ApiOperation(value = "deleteTripPlan") + @DeleteMapping("/delete/{TripPlan-id}") + @ResponseBody + public void delete(@PathVariable("TripPlan-id") Long id) { + TripPlanService.delete(id); + } + + + + + + + +} diff --git a/src/main/java/tn/esprit/spring/entities/Activity.java b/src/main/java/tn/esprit/spring/entities/Activity.java new file mode 100644 index 0000000..ae290cd --- /dev/null +++ b/src/main/java/tn/esprit/spring/entities/Activity.java @@ -0,0 +1,51 @@ +package tn.esprit.spring.entities; +import java.io.Serializable; +import java.util.Date; + +import javax.persistence.Entity; +import javax.persistence.EnumType; +import javax.persistence.Enumerated; +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; +import javax.persistence.ManyToOne; + +import com.fasterxml.jackson.annotation.JsonIgnore; + +import lombok.AccessLevel; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; +import lombok.experimental.FieldDefaults; + + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@FieldDefaults(level = AccessLevel.PRIVATE) +@Entity +@ToString +public class Activity implements Serializable { + private static final long serialVersionUID = 1L; + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long activityId; + private String acivity; + private String activityDescription; + private Date startActivity; + private Date endActivity; + private int period; + @Enumerated(EnumType.STRING) + private Progress progress; + + @JsonIgnore + @ManyToOne + private TripPlan tripPlan; + + + +} diff --git a/src/main/java/tn/esprit/spring/entities/Post.java b/src/main/java/tn/esprit/spring/entities/Post.java index 73a630c..ac2550d 100644 --- a/src/main/java/tn/esprit/spring/entities/Post.java +++ b/src/main/java/tn/esprit/spring/entities/Post.java @@ -22,9 +22,7 @@ @FieldDefaults(level = AccessLevel.PRIVATE) @Entity @ToString -public class Post implements Serializable {/** - * - */ +public class Post implements Serializable { private static final long serialVersionUID = 1L; @Id diff --git a/src/main/java/tn/esprit/spring/entities/Progress.java b/src/main/java/tn/esprit/spring/entities/Progress.java new file mode 100644 index 0000000..2d3b989 --- /dev/null +++ b/src/main/java/tn/esprit/spring/entities/Progress.java @@ -0,0 +1,6 @@ +package tn.esprit.spring.entities; + +public enum Progress { + inprogress,done,notdone,personal + +} diff --git a/src/main/java/tn/esprit/spring/entities/ReclamStatus.java b/src/main/java/tn/esprit/spring/entities/ReclamStatus.java new file mode 100644 index 0000000..8a448b2 --- /dev/null +++ b/src/main/java/tn/esprit/spring/entities/ReclamStatus.java @@ -0,0 +1,6 @@ +package tn.esprit.spring.entities; + +public enum ReclamStatus { + pending,Inprogress,Handled + +} diff --git a/src/main/java/tn/esprit/spring/entities/ReclamType.java b/src/main/java/tn/esprit/spring/entities/ReclamType.java new file mode 100644 index 0000000..cfa1d60 --- /dev/null +++ b/src/main/java/tn/esprit/spring/entities/ReclamType.java @@ -0,0 +1,5 @@ +package tn.esprit.spring.entities; + +public enum ReclamType { +A,B,C,D,E,F,G,H +} diff --git a/src/main/java/tn/esprit/spring/entities/Report.java b/src/main/java/tn/esprit/spring/entities/Report.java new file mode 100644 index 0000000..5c574ff --- /dev/null +++ b/src/main/java/tn/esprit/spring/entities/Report.java @@ -0,0 +1,60 @@ +package tn.esprit.spring.entities; + +import java.io.Serializable; +import java.util.Date; + +import javax.persistence.Entity; +import javax.persistence.EnumType; +import javax.persistence.Enumerated; +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; +import javax.persistence.ManyToOne; + +import com.fasterxml.jackson.annotation.JsonIgnore; + +import lombok.AccessLevel; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; +import lombok.experimental.FieldDefaults; + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@FieldDefaults(level = AccessLevel.PRIVATE) +@ToString +@Entity +public class Report implements Serializable { + + /** + * + */ + private static final long serialVersionUID = 1L; + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private int reclamId; + @Enumerated(EnumType.STRING) + private ReclamType type; + @Enumerated(EnumType.STRING) + private ReclamStatus Staus; + private String other; + private int severity; + private Date dateReport; + private String Response; + + + + @JsonIgnore + @ManyToOne + private User utilisateur; + + + + + + +} diff --git a/src/main/java/tn/esprit/spring/entities/Trip.java b/src/main/java/tn/esprit/spring/entities/Trip.java index 78e0ceb..a53e263 100644 --- a/src/main/java/tn/esprit/spring/entities/Trip.java +++ b/src/main/java/tn/esprit/spring/entities/Trip.java @@ -7,6 +7,8 @@ import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; +import javax.persistence.ManyToOne; +import javax.persistence.OneToOne; import lombok.AccessLevel; import lombok.AllArgsConstructor; @@ -40,7 +42,10 @@ public class Trip implements Serializable { Long longitude; Long latitude; - int num; - int issam2; - int hamma; + public String image; + + + @OneToOne + private TripPlan tripPlan; + } diff --git a/src/main/java/tn/esprit/spring/entities/TripPlan.java b/src/main/java/tn/esprit/spring/entities/TripPlan.java new file mode 100644 index 0000000..ceca592 --- /dev/null +++ b/src/main/java/tn/esprit/spring/entities/TripPlan.java @@ -0,0 +1,50 @@ +package tn.esprit.spring.entities; +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +import javax.persistence.CascadeType; +import javax.persistence.Entity; +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; +import javax.persistence.OneToMany; +import javax.persistence.OneToOne; + +import lombok.AccessLevel; +import lombok.AllArgsConstructor; +import lombok.Getter; +import lombok.NoArgsConstructor; +import lombok.Setter; +import lombok.ToString; +import lombok.experimental.FieldDefaults; + + +@Getter +@Setter +@NoArgsConstructor +@AllArgsConstructor +@FieldDefaults(level = AccessLevel.PRIVATE) +@Entity +@ToString +public class TripPlan implements Serializable { + private static final long serialVersionUID = 1L; + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long tripPlanId; + private String projectName; + private String mission; + private String Description; + + @OneToOne(mappedBy="tripPlan") + private Trip trip; + + @OneToMany(cascade = CascadeType.ALL, mappedBy="tripPlan") + private List activities; + + + +//anas + +} diff --git a/src/main/java/tn/esprit/spring/entities/User.java b/src/main/java/tn/esprit/spring/entities/User.java index b4637f9..db2d886 100644 --- a/src/main/java/tn/esprit/spring/entities/User.java +++ b/src/main/java/tn/esprit/spring/entities/User.java @@ -1,11 +1,18 @@ package tn.esprit.spring.entities; +import java.io.Serializable; import java.util.Date; +import java.util.List; +import java.util.Set; +import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; +import javax.persistence.OneToMany; +import javax.persistence.Temporal; +import javax.persistence.TemporalType; import lombok.AccessLevel; import lombok.AllArgsConstructor; @@ -22,19 +29,37 @@ @FieldDefaults(level = AccessLevel.PRIVATE) @Entity @ToString -public class User { +public class User implements Serializable { + + /** + * + */ + private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) - Long userId; - String login; - String password; - Integer registrationNumber; - String FirstName; - String LastName; - Date BirthDate; - String socialStatus; - String profilePicture; - String name; - String logo; + long idUser; + + private String login; + private String password; + private Integer registrationNumberEmploye; + private String FirstNameEmploye; + private String LastNameEmploye; + + @Temporal(TemporalType.DATE) + private Date BirthDateEmploye; + + private String socialStatusEmploye; + private String profilePictureEmploye; + private String nameCompany; + private String logoCompany; + + + + @OneToMany + private List trips; + + + @OneToMany(cascade = CascadeType.ALL, mappedBy="utilisateur") + private List reclamations; } diff --git a/src/main/java/tn/esprit/spring/repository/ActivityRepo.java b/src/main/java/tn/esprit/spring/repository/ActivityRepo.java new file mode 100644 index 0000000..4f2e0be --- /dev/null +++ b/src/main/java/tn/esprit/spring/repository/ActivityRepo.java @@ -0,0 +1,34 @@ +package tn.esprit.spring.repository; + +import java.util.Date; +import java.util.List; + +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.CrudRepository; +import org.springframework.data.repository.query.Param; +import org.springframework.stereotype.Repository; + +import tn.esprit.spring.entities.Activity; +import tn.esprit.spring.entities.TripPlan; + + +@Repository +public interface ActivityRepo extends CrudRepository { + + @Query + ("SELECT a From Activity a Where a.endActivity < CURRENT_TIMESTAMP ") + List ListActivityInfCurentDate(); + + @Query + ("SELECT a From Activity a Where a.tripPlan = :id ") + List ListActivityByIdTripplan(@Param("id") TripPlan id); + + @Query + ("SELECT a From Activity a Where (a.startActivity IS NULL AND a.endActivity IS NULL AND a.tripPlan = :id)") + List ListActivityWithoutDate(@Param("id") TripPlan id); + + + + + +} diff --git a/src/main/java/tn/esprit/spring/repository/ExamenRepository.java b/src/main/java/tn/esprit/spring/repository/ExamenRepository.java deleted file mode 100644 index fc971e2..0000000 --- a/src/main/java/tn/esprit/spring/repository/ExamenRepository.java +++ /dev/null @@ -1,13 +0,0 @@ -package tn.esprit.spring.repository; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -import tn.esprit.spring.entities.Examen; - - -@Repository -public interface ExamenRepository extends JpaRepository { - - -} diff --git a/src/main/java/tn/esprit/spring/repository/RepportRepository.java b/src/main/java/tn/esprit/spring/repository/RepportRepository.java new file mode 100644 index 0000000..6b84a8d --- /dev/null +++ b/src/main/java/tn/esprit/spring/repository/RepportRepository.java @@ -0,0 +1,25 @@ +package tn.esprit.spring.repository; +import java.util.Date; +import java.util.List; + +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.CrudRepository; +import org.springframework.data.repository.query.Param; +import org.springframework.stereotype.Repository; + +import tn.esprit.spring.entities.Report; + + +@Repository +public interface RepportRepository extends CrudRepository { + + @Query + ("SELECT r From Report r Where r.dateReport BETWEEN :date1 AND :date2 ORDER BY r.dateReport ASC") + List ListReportOfweekAgo(@Param("date1") Date date1,@Param("date2") Date date2); + + @Query + ("SELECT r From Report r Where date_format(r.dateReport,'%Y-%m-%d') = :date2") + List ListReportparJour(@Param("date2") Date date2); + +} diff --git a/src/main/java/tn/esprit/spring/repository/TripPlanRepo.java b/src/main/java/tn/esprit/spring/repository/TripPlanRepo.java new file mode 100644 index 0000000..9a3c1ef --- /dev/null +++ b/src/main/java/tn/esprit/spring/repository/TripPlanRepo.java @@ -0,0 +1,12 @@ +package tn.esprit.spring.repository; + +import org.springframework.data.repository.CrudRepository; +import org.springframework.stereotype.Repository; + +import tn.esprit.spring.entities.TripPlan; + +@Repository +public interface TripPlanRepo extends CrudRepository { + + +} diff --git a/src/main/java/tn/esprit/spring/repository/UserRepo.java b/src/main/java/tn/esprit/spring/repository/UserRepo.java new file mode 100644 index 0000000..55231e4 --- /dev/null +++ b/src/main/java/tn/esprit/spring/repository/UserRepo.java @@ -0,0 +1,10 @@ +package tn.esprit.spring.repository; + +import org.springframework.data.jpa.repository.JpaRepository; + +import tn.esprit.spring.entities.Report; +import tn.esprit.spring.entities.User; + +public interface UserRepo extends JpaRepository { + +} diff --git a/src/main/java/tn/esprit/spring/service/ActivityService.java b/src/main/java/tn/esprit/spring/service/ActivityService.java new file mode 100644 index 0000000..00edc31 --- /dev/null +++ b/src/main/java/tn/esprit/spring/service/ActivityService.java @@ -0,0 +1,256 @@ +package tn.esprit.spring.service; + +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.List; +import java.util.Optional; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.scheduling.annotation.Scheduled; +import org.springframework.stereotype.Service; + +import lombok.extern.slf4j.Slf4j; +import tn.esprit.spring.entities.Activity; +import tn.esprit.spring.entities.Progress; +import tn.esprit.spring.entities.Report; +import tn.esprit.spring.entities.TripPlan; +import tn.esprit.spring.repository.ActivityRepo; +import tn.esprit.spring.repository.TripPlanRepo; +import tn.esprit.spring.serviceInterface.IActivityService; + +@Service +@Slf4j +public class ActivityService implements IActivityService { + + @Autowired + ActivityRepo ActivityRepo; + + @Autowired + TripPlanRepo tripPlanRepo; + + @Override + public List getAll() { + try { + List Activitys = (List) ActivityRepo.findAll(); + for (Activity Activity : Activitys) { + log.info(" Activity : " + Activity); + } + return Activitys; + } catch (Exception e) { + return null; + } + } + + @Override + public String add(Activity activity) { + List Activitys = (List) ActivityRepo.findAll(); + int cpt = 0; + + + if(Activitys.size()!=0 ) { + System.out.println("dkhal lel if lowlaa"); + + for(Activity a : Activitys) { + System.out.println( "dkhal lel boucle for thenya "); + //ActivityRepo.save(activity); + + if(a.getStartActivity()!=null && a.getEndActivity()!=null) { + if(((activity.getStartActivity().equals(a.getStartActivity()))|| + ((activity.getStartActivity().after(a.getStartActivity()))))&& + ((activity.getEndActivity().equals(a.getEndActivity()))|| + ((activity.getEndActivity().before(a.getEndActivity()))))) { + //if(activity.getStartActivity().after(a.getStartActivity()&&activity.getEndActivity().before(a.getEndActivity())) { + //if((activity.getStartActivity().after(a.getStartActivity())) && (activity.getEndActivity().before(a.getEndActivity()))){ + cpt = cpt + 1; + } + } + /*else { + System.out.println( "dkhal lel else"); + //ActivityRepo.save(activity); + //return " valid"; + + }*/ + } + System.out.println( "cpt :"+cpt); + + if((cpt==0)&&(activity.getStartActivity().before(activity.getEndActivity()))) { + + ActivityRepo.save(activity); + return "Activité Valid"; + } + else{ + return "Date Réservé ! , Cherchez une autre date ou contacté le planificateur"; + } + } + + ActivityRepo.save(activity); + return "Activité Valid"; + + + + } + + + + @SuppressWarnings("deprecation") + @Override + public void update(long idTripPlan) { + TripPlan p =tripPlanRepo.findById(idTripPlan).orElse(null); // 2 bech twali dynamique + List Activitys = (List) ActivityRepo.ListActivityWithoutDate(p); + Date dateDebut = p.getTrip().getStartDate(); + Calendar calendar1 = Calendar.getInstance(); + calendar1.setTime(dateDebut); + calendar1.add(Calendar.DATE, 1); + Date dateFin = p.getTrip().getEndDate(); + System.out.println("dd:"+dateDebut+"df:"+dateFin); + System.out.println("size : "+ Activitys.size()); + Date debut = calendar1.getTime(); + debut.setHours(8); + debut.setMinutes(0); + debut.setSeconds(0); + calendar1.setTime(debut); + Date faza = calendar1.getTime(); + Calendar calendar2 = Calendar.getInstance(); + calendar2.setTime(debut); + for(Activity a : Activitys) { + if(a.getStartActivity()==null && a.getEndActivity()==null ) { + if(calendar2.getTime().getHours()+a.getPeriod()<18) { + a.setStartActivity( calendar2.getTime()); + + calendar2.add(Calendar.HOUR, a.getPeriod()); + + a.setEndActivity(calendar2.getTime()); + System.out.println("d5al lel if lowla"); + } + else if(calendar2.getTime().getHours()+a.getPeriod()>=18) { + + calendar2.add(Calendar.DATE,1); + faza= calendar2.getTime(); + faza.setHours(8); + faza.setMinutes(0); + faza.setSeconds(0); + calendar2.setTime(faza); + + System.out.println("calander****:"+calendar2); + + //calendar2.setTime(debut); + a.setStartActivity( calendar2.getTime()); + + calendar2.add(Calendar.HOUR, a.getPeriod()); + a.setEndActivity(calendar2.getTime()); + System.out.println("d5al lel if thenya"); + } + System.out.println("datedebut"+a.getPeriod()); + System.out.println("datefin"+a.getPeriod()); + + ActivityRepo.save(a); + + debut = calendar2.getTime(); + + + } + + + } + + + } + + //@Scheduled(fixedRate = 600000) + public void delete() { + List Activitys = (List) ActivityRepo.ListActivityInfCurentDate(); + for (Activity Activity : Activitys) { + ActivityRepo.delete(Activity); + + } + + System.out.println("deleted"); + + + + } + + + + @Override + public Activity getById(Long Activityid) { + + + try { + Activity Activity = ActivityRepo.findById(Activityid).orElse(null); + return Activity; + }catch(Exception e) { + log.info(e.getMessage()); + return null; + } + } + + @Override + public void addActivityToTripPlan(long idTripPlan, long idActivity) { + TripPlan p = tripPlanRepo.findById(idTripPlan).orElse(null); + Activity a = ActivityRepo.findById(idActivity).orElse(null); + a.setTripPlan(p); + ActivityRepo.save(a); + + + + } + + @Override + public List listActivityByTripPlanId(long id) { + TripPlan p = tripPlanRepo.findById(id).orElse(null); + List Activities = (List) ActivityRepo.ListActivityByIdTripplan(p); + return Activities; + + + } + + @Override + public String makeDoneActivity(long id) { + Activity activity = ActivityRepo.findById(id).orElse(null); + if((activity.getProgress()!=Progress.notdone) || (activity.getProgress()==Progress.done)) { + activity.setProgress(Progress.done); + ActivityRepo.save(activity); + + return "Good Job, your Activity is Done"; + } + + + else { + return "you can't make it done because you missed the deadline You can consult your responsible"; + + } + + + + + + } + + + //@Scheduled(fixedRate = 6000) + @Override + public void makeNotDoneActivity() { + List activities = (List) ActivityRepo.findAll(); + Date date = new Date(System.currentTimeMillis()); + for (Activity activity : activities) { + + if((activity.getProgress()!=Progress.done)&&(activity.getEndActivity().before(date))) { + activity.setProgress(Progress.notdone); + ActivityRepo.save(activity); + System.out.println("***************traitement***************"); + + } + + + } + + } + + + + + +} \ No newline at end of file diff --git a/src/main/java/tn/esprit/spring/service/ExamenServiceImpl.java b/src/main/java/tn/esprit/spring/service/ExamenServiceImpl.java deleted file mode 100644 index e54504c..0000000 --- a/src/main/java/tn/esprit/spring/service/ExamenServiceImpl.java +++ /dev/null @@ -1,28 +0,0 @@ -package tn.esprit.spring.service; - -import java.util.List; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import lombok.extern.slf4j.Slf4j; -import tn.esprit.spring.entities.Examen; -import tn.esprit.spring.repository.ExamenRepository; -import tn.esprit.spring.serviceInterface.IExamenService; - -@Service -@Slf4j -public class ExamenServiceImpl implements IExamenService { - - @Autowired - ExamenRepository examenRepository; - - @Override - public List retrieveAllExamens() { - List examens = (List) examenRepository.findAll(); - for (Examen examen : examens) { - log.info(" Examen : " + examen); - } - return examens; - } -} \ No newline at end of file diff --git a/src/main/java/tn/esprit/spring/service/ReportService.java b/src/main/java/tn/esprit/spring/service/ReportService.java new file mode 100644 index 0000000..5b9743b --- /dev/null +++ b/src/main/java/tn/esprit/spring/service/ReportService.java @@ -0,0 +1,385 @@ +package tn.esprit.spring.service; + +import java.text.DateFormat; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import lombok.extern.slf4j.Slf4j; +import tn.esprit.spring.entities.ReclamStatus; +import tn.esprit.spring.entities.ReclamType; +import tn.esprit.spring.entities.Report; +import tn.esprit.spring.entities.User; +import tn.esprit.spring.repository.RepportRepository; +import tn.esprit.spring.repository.UserRepo; +import tn.esprit.spring.serviceInterface.IReportService; + +@Service +@Slf4j +public class ReportService implements IReportService { + + @Autowired + RepportRepository repoRecalam; + + @Autowired + UserRepo userRepo; + + + + + @Override + public Report addReclamation(Report r) { + Date date = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + /*cal.setTime(date); + cal.add(Calendar.DATE, -8); + Date date1 = cal.getTime(); + */ + User u = userRepo.findById((long) 2).orElse(null); + r.setUtilisateur(u); + r.setDateReport(date); + r.setStaus(ReclamStatus.Inprogress); + r.setResponse("Mr/Mme "+r.getUtilisateur().getFirstNameEmploye()+" your complaint concerning"+ r.getType()+ " was taken into consideration"); + + u.getReclamations().add(r); + + repoRecalam.save(r); + + + + return r; + + } + + @Override + public Map NombreDesReclamParSemaine() { + Map mapReclamweek = new HashMap(); + Date date = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + + cal.setTime(date); + cal.add(Calendar.DATE, -7); + + Date date1 = cal.getTime(); + + SimpleDateFormat formater = new SimpleDateFormat("dd/MM/yyyy"); + + System.out.println(formater.format(date)+"**********"+formater.format(date1)); + + + List listReport = (List) repoRecalam.ListReportOfweekAgo(date1,date); + for(Report report : listReport) { + System.out.println(report.getDateReport()); + + //System.out.println(report.getDateReport()); + if(mapReclamweek.containsKey(formater.format(report.getDateReport()))==false) { + mapReclamweek.put(formater.format(report.getDateReport()), 0); + + } + if(mapReclamweek.containsKey(formater.format(report.getDateReport()))) { + + mapReclamweek.put(formater.format(report.getDateReport()),mapReclamweek.get(formater.format(report.getDateReport()))+1 ); + + } + + + + } + + return mapReclamweek; + + } + + + /* + @Override + public Map NombreDesReclamParMois() { + + Map mapReclamweek = new HashMap(); + + + + Date dateFin = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + cal.setTime(dateFin); + for(int i=1;i<5;i++) { + + cal.add(Calendar.DATE, -7*i); + + Date date1 = cal.getTime(); + + SimpleDateFormat formater = new SimpleDateFormat("dd/MM/yyyy"); + + System.out.println(formater.format(dateFin)+"**********"+formater.format(date1)); + List listReport = (List) repoRecalam.ListReportOfweekAgo(date1,date); + mapReclamweek.put(cal.getTime().toString() , listReport.size()); + dateFin = date1; + } + + + + return mapReclamweek; + + + } + */ + + @Override + public Map NombreDesReclamParMois() { + + Map mapReclamweek = new HashMap(); + + + + Date dateFin = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + cal.setTime(dateFin); + for(int i=1;i<5;i++) { + + cal.add(Calendar.DATE, -7); + + Date date1 = cal.getTime(); + + + + SimpleDateFormat formater = new SimpleDateFormat("dd/MM/yyyy"); + + System.out.println(formater.format(dateFin)+"**********"+formater.format(date1)); + List listReport = (List) repoRecalam.ListReportOfweekAgo(date1,dateFin); + mapReclamweek.put(cal.getTime().toString() , listReport.size()); + dateFin = date1; + + System.out.println("current date : "+dateFin); + } + + + + return mapReclamweek; + + + } + + @Override + public Map NombreDesReclamParAn() { + + + + Map mapReclamweek = new HashMap(); + + + + Date date = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + + for(int i=1;i<13;i++) { + cal.setTime(date); + + + cal.add(Calendar.DATE, -30); + + Date date1 = cal.getTime(); + + SimpleDateFormat formater = new SimpleDateFormat("dd/MM/yyyy"); + + System.out.println(formater.format(date)+"**********"+formater.format(date1)); + List listReport = (List) repoRecalam.ListReportOfweekAgo(date1,date); + mapReclamweek.put(cal.getTime().toString(), listReport.size()); + date = date1; + } + + + + + + return mapReclamweek; + + + } + @Override + public void deleteReclamation(int id) { + repoRecalam.deleteById(id); + + } + + @Override + public Report updateReclamation(int id) { + Report r = repoRecalam.findById(id).orElse(null); + r.setResponse("votre problemme est resolu !"); + r.setStaus(ReclamStatus.Handled); + repoRecalam.save(r); + return r; + + + } + + @Override + public List RecalamationList() { + List listReclam = (List) repoRecalam.findAll(); + + return listReclam; + } + + @Override + public List findReclamByUser(long id) { + User user = userRepo.findById(id).orElse(null); + return user.getReclamations(); + + } + + @Override + public Map NombreDesReclamParType(String periode) { + + Map mapReclamweek = new HashMap(); + Date date = new Date(System.currentTimeMillis()); + Calendar cal = Calendar.getInstance(); + + cal.setTime(date); + if(periode.equals("semaine")) { + cal.add(Calendar.DATE, -7); + } + if(periode.equals("mois")) { + cal.add(Calendar.DATE, -30); + } + if(periode.equals("an")) { + cal.add(Calendar.DATE, -360); + } + + Date date1 = cal.getTime(); + + SimpleDateFormat formater = new SimpleDateFormat("dd/MM/yyyy"); + + System.out.println(formater.format(date)+"**********"+formater.format(date1)); + + + List listReport = (List) repoRecalam.ListReportOfweekAgo(date1,date); + + int a = 0; + int b =0; + int c =0; + int d = 0; + int e =0; + int f = 0; + int g =0; + int h =0; + for(Report report : listReport) { + + if(report.getType().equals(ReclamType.A)){ + a = a + 1; + mapReclamweek.put("A", a); + } + + + if(report.getType().equals(ReclamType.B)){ + b = b + 1; + mapReclamweek.put("B", b); + } + if(report.getType().equals(ReclamType.C)){ + c = c + 1; + mapReclamweek.put("C", c); + } + if(report.getType().equals(ReclamType.D)){ + d = d + 1; + mapReclamweek.put("D", d); + } + if(report.getType().equals(ReclamType.E)){ + e = e + 1; + mapReclamweek.put("E", e); + } + if(report.getType().equals(ReclamType.F)){ + f = f + 1; + mapReclamweek.put("F", f); + } + if(report.getType().equals(ReclamType.G)){ + g = g + 1; + mapReclamweek.put("G", g); + } + if(report.getType().equals(ReclamType.H)){ + h = h + 1; + mapReclamweek.put("H", h); + } + + + + } + + return mapReclamweek; + + } + + @SuppressWarnings("deprecation") + @Override + public int NombreDesReclamParDay() { + + int count = 0; + List listReclam = (List) repoRecalam.findAll(); + Date date = new Date(System.currentTimeMillis()); + + System.out.println("++++++++++++++++++"+date); + + + + for(Report report : listReclam) { + + System.out.println(report.getDateReport()); + if(report.getDateReport()!=null) { + if(report.getDateReport().getDay()==date.getDay()&&report.getDateReport().getMonth()==date.getMonth()&&report.getDateReport().getYear()==date.getYear()) { + count = count + 1 ; + + } + } + } + + return count; + + } + + + + + + + + + + + + + private Date formater(Date date) { + // TODO Auto-generated method stub + return null; + } + + @Override + public int NombreDesReclamTraite() { + // TODO Auto-generated method stub + return 0; + } + + @Override + public int NombreDesReclamNonTraite() { + // TODO Auto-generated method stub + return 0; + } + + + + + + + + + + + + +} diff --git a/src/main/java/tn/esprit/spring/service/TripPlanService.java b/src/main/java/tn/esprit/spring/service/TripPlanService.java new file mode 100644 index 0000000..610f673 --- /dev/null +++ b/src/main/java/tn/esprit/spring/service/TripPlanService.java @@ -0,0 +1,74 @@ +package tn.esprit.spring.service; + +import java.util.List; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import lombok.extern.slf4j.Slf4j; +import tn.esprit.spring.entities.TripPlan; +import tn.esprit.spring.repository.TripPlanRepo; +import tn.esprit.spring.serviceInterface.ITripPlanService; + +@Service +@Slf4j +public class TripPlanService implements ITripPlanService { + + @Autowired + TripPlanRepo TripPlanRepo; + + @Override + public List getAll() { + try { + List TripPlans = (List) TripPlanRepo.findAll(); + for (TripPlan TripPlan : TripPlans) { + log.info(" TripPlan : " + TripPlan); + } + return TripPlans; + } catch (Exception e) { + return null; + } + } + @Override + public TripPlan add(TripPlan TripPlan) { + try { + return TripPlanRepo.save(TripPlan); + + } catch (Exception e) { + log.info(e.getMessage()); + return null; + } + } + + @Override + public TripPlan update(TripPlan TripPlan) { + try { + TripPlanRepo.save(TripPlan); + return TripPlan; + } catch (Exception e) { + log.info(e.getMessage()); + return null; + } + } + + @Override + public void delete(Long TripPlanid) { + try { + TripPlanRepo.deleteById(TripPlanid); + } catch (Exception e) { + log.info(e.getMessage()); + } + } + + @Override + public TripPlan getById(Long TripPlanid) { + try { + TripPlan TripPlan = TripPlanRepo.findById(TripPlanid).orElse(null); + return TripPlan; + }catch(Exception e) { + log.info(e.getMessage()); + return null; + } + } + +} diff --git a/src/main/java/tn/esprit/spring/serviceInterface/IActivityService.java b/src/main/java/tn/esprit/spring/serviceInterface/IActivityService.java new file mode 100644 index 0000000..f2f03ed --- /dev/null +++ b/src/main/java/tn/esprit/spring/serviceInterface/IActivityService.java @@ -0,0 +1,28 @@ +package tn.esprit.spring.serviceInterface; + +import java.util.List; + +import tn.esprit.spring.entities.Activity; + +public interface IActivityService { + + +public List getAll(); + + + public String add(Activity Activity); + + public void update(long idTripPlan); + + public void delete(); + + public Activity getById(Long Activityid); + + public List listActivityByTripPlanId(long id); + + void addActivityToTripPlan(long idTripPlan, long idActivity); + + public String makeDoneActivity(long id); + public void makeNotDoneActivity(); + +} diff --git a/src/main/java/tn/esprit/spring/serviceInterface/IReportService.java b/src/main/java/tn/esprit/spring/serviceInterface/IReportService.java new file mode 100644 index 0000000..e75116b --- /dev/null +++ b/src/main/java/tn/esprit/spring/serviceInterface/IReportService.java @@ -0,0 +1,30 @@ +package tn.esprit.spring.serviceInterface; + +import java.util.List; +import java.util.Map; + +import tn.esprit.spring.entities.Report; + +public interface IReportService { + + public Report addReclamation(Report r ) ; + public void deleteReclamation(int id); + public Report updateReclamation(int r); + public List RecalamationList(); + public ListfindReclamByUser(long id); + + public Map NombreDesReclamParMois(); + public Map NombreDesReclamParSemaine(); + public Map NombreDesReclamParAn(); + public Map NombreDesReclamParType(String periode); + + public int NombreDesReclamParDay(); + + + public int NombreDesReclamTraite(); + public int NombreDesReclamNonTraite(); + + + + +} diff --git a/src/main/java/tn/esprit/spring/serviceInterface/ITripPlanService.java b/src/main/java/tn/esprit/spring/serviceInterface/ITripPlanService.java new file mode 100644 index 0000000..39311df --- /dev/null +++ b/src/main/java/tn/esprit/spring/serviceInterface/ITripPlanService.java @@ -0,0 +1,20 @@ +package tn.esprit.spring.serviceInterface; + +import java.util.List; + +import tn.esprit.spring.entities.TripPlan; + +public interface ITripPlanService { +public List getAll(); + + + public TripPlan add(TripPlan TripPlan); + + public TripPlan update(TripPlan TripPlan); + + public void delete(Long TripPlanid); + + public TripPlan getById(Long TripPlanid); + + +}