1 Commits
Author SHA1 Message Date
Cerbu Andrei Mihnea d5dd33e16c Server 1.0
Trebuie efectuate operatiile pe baza de date
2023-05-16 00:34:47 +03:00
30 changed files with 244 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<excludeFromCompile>
<directory url="file://$PROJECT_DIR$/src/main/resources/archetype-resources" includeSubdirectories="true" />
</excludeFromCompile>
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="Server_Delivery_Planner" />
</profile>
</annotationProcessing>
</component>
</project>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="https://repo.maven.apache.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
</component>
</project>
+106
View File
@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="372115a7-9327-4569-bb1c-c3a607560483" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/.gitignore" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/resources/META-INF/maven/archetype.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/resources/archetype-resources/pom.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/resources/archetype-resources/src/main/java/App.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/resources/archetype-resources/src/test/java/AppTest.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Enum" />
<option value="Interface" />
<option value="Class" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="ProjectId" id="2Pi04rFF1nxiEz0pl4YdlNRfQ1g" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;
}
}</component>
<component name="RunManager">
<configuration default="true" type="JetRunConfigurationType">
<module name="Server Delivery Planner" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
<module name="Server Delivery Planner" />
<option name="filePath" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="372115a7-9327-4569-bb1c-c3a607560483" name="Changes" comment="" />
<created>1683924408234</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1683924408234</updated>
</task>
<servers />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/andreicerbu/items/AdminJson.java</url>
<line>48</line>
<option name="timeStamp" value="5" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/andreicerbu/items/AdminJson.java</url>
<line>49</line>
<option name="timeStamp" value="6" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/andreicerbu/Main.java</url>
<line>24</line>
<option name="timeStamp" value="11" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/andreicerbu/Main.java</url>
<line>23</line>
<option name="timeStamp" value="12" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/andreicerbu/Main.java</url>
<line>22</line>
<option name="timeStamp" value="13" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component>
</project>
@@ -0,0 +1,9 @@
<archetype>
<id>Server_Delivery_Planner</id>
<sources>
<source>src/main/java/App.java</source>
</sources>
<testSources>
<source>src/test/java/AppTest.java</source>
</testSources>
</archetype>
@@ -0,0 +1,15 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>$com.andreicerbu.deliveryplanner</groupId>
<artifactId>$Server_Delivery_Planner</artifactId>
<version>$1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,13 @@
package $com.andreicerbu.deliveryplanner;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
@@ -0,0 +1,38 @@
package $com.andreicerbu.deliveryplanner;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
@@ -0,0 +1,5 @@
#Generated by Maven
#Sat May 13 00:47:57 EEST 2023
artifactId=Server_Delivery_Planner
groupId=com.andreicerbu.deliveryplanner
version=1.0-SNAPSHOT
@@ -0,0 +1,11 @@
com\andreicerbu\Algorithm.class
com\andreicerbu\items\Order.class
com\andreicerbu\items\Route.class
com\andreicerbu\items\Depot.class
com\andreicerbu\Server.class
com\andreicerbu\items\BaseItem.class
com\andreicerbu\ClientThread.class
com\andreicerbu\Database.class
com\andreicerbu\items\Product.class
com\andreicerbu\Main.class
com\andreicerbu\TokenValidator.class
@@ -0,0 +1,11 @@
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\items\Order.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\ClientThread.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\items\BaseItem.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\Database.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\items\Route.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\Server.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\Main.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\items\Depot.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\Algorithm.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\items\Product.java
C:\Users\Andrei\Documents\Advanced_Programming\Server Delivery Planner\src\main\java\com\andreicerbu\TokenValidator.java