working on task creation
This commit is contained in:
parent
65cc403032
commit
d42bcf9a73
55 changed files with 66 additions and 97 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
1
AnalyseClient/.gitignore
vendored
Normal file
1
AnalyseClient/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/target/
|
0
AnalyseClient/target/classes/ClientOfAnalyzer.class
Executable file → Normal file
0
AnalyseClient/target/classes/ClientOfAnalyzer.class
Executable file → Normal file
2
AnalyseClient/target/classes/META-INF/MANIFEST.MF
Executable file → Normal file
2
AnalyseClient/target/classes/META-INF/MANIFEST.MF
Executable file → Normal file
|
@ -1,4 +1,4 @@
|
||||||
Manifest-Version: 1.0
|
Manifest-Version: 1.0
|
||||||
Build-Jdk-Spec: 22
|
Build-Jdk-Spec: 23
|
||||||
Created-By: Maven Integration for Eclipse
|
Created-By: Maven Integration for Eclipse
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
#Generated by Maven Integration for Eclipse
|
|
||||||
#Wed Oct 02 17:53:07 CEST 2024
|
|
||||||
artifactId=ClientWS
|
|
||||||
groupId=fr.insa.soap
|
|
||||||
m2e.projectLocation=/home/nbillard/eclipse-workspace/AnalyseClient
|
|
||||||
m2e.projectName=AnalyseClient
|
|
||||||
version=0.0.1-SNAPSHOT
|
|
|
@ -1,52 +0,0 @@
|
||||||
<project xmlns="https://maven.apache.org/POM/4.0.0"
|
|
||||||
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-
|
|
||||||
4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<groupId>fr.insa.soap</groupId>
|
|
||||||
<artifactId>ClientWS</artifactId>
|
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
|
||||||
<properties>
|
|
||||||
<java.version>11</java.version>
|
|
||||||
<cxf.version>3.4.2</cxf.version>
|
|
||||||
</properties>
|
|
||||||
<dependencies>
|
|
||||||
<!-- https://mvnrepository.com/artifact/com.sun.xml.ws/jaxws-rt -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.sun.xml.ws</groupId>
|
|
||||||
<artifactId>jaxws-rt</artifactId>
|
|
||||||
<version>2.3.3</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.cxf</groupId>
|
|
||||||
<artifactId>cxf-codegen-plugin</artifactId>
|
|
||||||
<version>${cxf.version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>generate-sources</id>
|
|
||||||
<phase>generate-sources</phase>
|
|
||||||
<configuration>
|
|
||||||
<sourceRoot>
|
|
||||||
${project.build.directory}/generated-sources/cxf
|
|
||||||
</sourceRoot>
|
|
||||||
<wsdlOptions>
|
|
||||||
<wsdlOption>
|
|
||||||
<wsdl>${basedir}/src/main/resources/wsdl/analyzer.wsdl</wsdl>
|
|
||||||
<packagenames>
|
|
||||||
<packagename>fr.insa.soap.wsdltojava</packagename>
|
|
||||||
</packagenames>
|
|
||||||
</wsdlOption>
|
|
||||||
</wsdlOptions>
|
|
||||||
</configuration>
|
|
||||||
<goals>
|
|
||||||
<goal>wsdl2java</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</project>
|
|
4
AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.properties
Executable file → Normal file
4
AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.properties
Executable file → Normal file
|
@ -1,7 +1,7 @@
|
||||||
#Generated by Maven Integration for Eclipse
|
#Generated by Maven Integration for Eclipse
|
||||||
#Tue Oct 08 14:15:42 CEST 2024
|
#Fri Nov 29 14:16:23 CET 2024
|
||||||
artifactId=AnalyseClient
|
artifactId=AnalyseClient
|
||||||
groupId=fr.insa.ws.soap
|
groupId=fr.insa.ws.soap
|
||||||
m2e.projectLocation=/home/nbillard/eclipse-workspace/AnalyseClient
|
m2e.projectLocation=/Users/juanito/Desktop/master/Tercer Cuatri/SOA/SOA/AnalyseClient
|
||||||
m2e.projectName=AnalyseClient
|
m2e.projectName=AnalyseClient
|
||||||
version=0.0.1-SNAPSHOT
|
version=0.0.1-SNAPSHOT
|
||||||
|
|
0
AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.xml
Executable file → Normal file
0
AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.xml
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/AnalyserChaineWS.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/AnalyserChaineWS.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Analyzer.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Analyzer.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Compare.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Compare.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/CompareResponse.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/CompareResponse.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/package-info.class
Executable file → Normal file
0
AnalyseClient/target/classes/fr/insa/soap/wsdltojava/package-info.class
Executable file → Normal file
1
Benevolat/.gitignore
vendored
Normal file
1
Benevolat/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/target/
|
2
Benevolat/target/classes/META-INF/MANIFEST.MF
Executable file → Normal file
2
Benevolat/target/classes/META-INF/MANIFEST.MF
Executable file → Normal file
|
@ -1,4 +1,4 @@
|
||||||
Manifest-Version: 1.0
|
Manifest-Version: 1.0
|
||||||
Build-Jdk-Spec: 22
|
Build-Jdk-Spec: 23
|
||||||
Created-By: Maven Integration for Eclipse
|
Created-By: Maven Integration for Eclipse
|
||||||
|
|
||||||
|
|
4
Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.properties
Executable file → Normal file
4
Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.properties
Executable file → Normal file
|
@ -1,7 +1,7 @@
|
||||||
#Generated by Maven Integration for Eclipse
|
#Generated by Maven Integration for Eclipse
|
||||||
#Wed Nov 13 16:02:17 CET 2024
|
#Fri Nov 29 14:16:24 CET 2024
|
||||||
artifactId=Benevolat
|
artifactId=Benevolat
|
||||||
groupId=fr.insa.ws.soap
|
groupId=fr.insa.ws.soap
|
||||||
m2e.projectLocation=/home/cameros-torr/Bureau/SOA/Benevolat
|
m2e.projectLocation=/Users/juanito/Desktop/master/Tercer Cuatri/SOA/SOA/Benevolat
|
||||||
m2e.projectName=Benevolat
|
m2e.projectName=Benevolat
|
||||||
version=0.0.1-SNAPSHOT
|
version=0.0.1-SNAPSHOT
|
||||||
|
|
0
Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.xml
Executable file → Normal file
0
Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.xml
Executable file → Normal file
0
Benevolat/target/classes/fr/insa/soap/AnalyserChaineApplication.class
Executable file → Normal file
0
Benevolat/target/classes/fr/insa/soap/AnalyserChaineApplication.class
Executable file → Normal file
0
Benevolat/target/classes/fr/insa/soap/AnalyserChaineWS.class
Executable file → Normal file
0
Benevolat/target/classes/fr/insa/soap/AnalyserChaineWS.class
Executable file → Normal file
1
NumberConversion/.gitignore
vendored
Normal file
1
NumberConversion/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/target/
|
2
NumberConversion/target/classes/META-INF/MANIFEST.MF
Executable file → Normal file
2
NumberConversion/target/classes/META-INF/MANIFEST.MF
Executable file → Normal file
|
@ -1,4 +1,4 @@
|
||||||
Manifest-Version: 1.0
|
Manifest-Version: 1.0
|
||||||
Build-Jdk-Spec: 22
|
Build-Jdk-Spec: 23
|
||||||
Created-By: Maven Integration for Eclipse
|
Created-By: Maven Integration for Eclipse
|
||||||
|
|
||||||
|
|
4
NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.properties
Executable file → Normal file
4
NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.properties
Executable file → Normal file
|
@ -1,7 +1,7 @@
|
||||||
#Generated by Maven Integration for Eclipse
|
#Generated by Maven Integration for Eclipse
|
||||||
#Tue Oct 08 14:51:58 CEST 2024
|
#Fri Nov 29 14:16:25 CET 2024
|
||||||
artifactId=NumberConversion
|
artifactId=NumberConversion
|
||||||
groupId=fr.insa.soap
|
groupId=fr.insa.soap
|
||||||
m2e.projectLocation=/home/nbillard/eclipse-workspace/NumberConversion
|
m2e.projectLocation=/Users/juanito/Desktop/master/Tercer Cuatri/SOA/SOA/NumberConversion
|
||||||
m2e.projectName=NumberConversion
|
m2e.projectName=NumberConversion
|
||||||
version=0.0.1-SNAPSHOT
|
version=0.0.1-SNAPSHOT
|
||||||
|
|
0
NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.xml
Executable file → Normal file
0
NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.xml
Executable file → Normal file
0
NumberConversion/target/classes/NumberConversionTester.class
Executable file → Normal file
0
NumberConversion/target/classes/NumberConversionTester.class
Executable file → Normal file
BIN
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberConversion.class
Executable file → Normal file
BIN
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberConversion.class
Executable file → Normal file
Binary file not shown.
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberConversionSoapType.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberConversionSoapType.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollars.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollars.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollarsResponse.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollarsResponse.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWords.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWords.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWordsResponse.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWordsResponse.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/package-info.class
Executable file → Normal file
0
NumberConversion/target/classes/fr/insa/soap/wsdltojava/package-info.class
Executable file → Normal file
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversion.java
Executable file → Normal file
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversion.java
Executable file → Normal file
|
@ -12,12 +12,12 @@ import javax.xml.ws.Service;
|
||||||
* The Number Conversion Web Service, implemented with Visual DataFlex, provides functions that convert numbers into words or dollar amounts.
|
* The Number Conversion Web Service, implemented with Visual DataFlex, provides functions that convert numbers into words or dollar amounts.
|
||||||
*
|
*
|
||||||
* This class was generated by Apache CXF 3.4.2
|
* This class was generated by Apache CXF 3.4.2
|
||||||
* 2024-10-08T14:41:29.112+02:00
|
* 2024-11-21T15:31:21.220+01:00
|
||||||
* Generated source version: 3.4.2
|
* Generated source version: 3.4.2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@WebServiceClient(name = "NumberConversion",
|
@WebServiceClient(name = "NumberConversion",
|
||||||
wsdlLocation = "file:/home/nbillard/eclipse-workspace/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl",
|
wsdlLocation = "file:/Users/juanito/Desktop/master/Tercer%20Cuatri/SOA/SOA/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl",
|
||||||
targetNamespace = "http://www.dataaccess.com/webservicesserver/")
|
targetNamespace = "http://www.dataaccess.com/webservicesserver/")
|
||||||
public class NumberConversion extends Service {
|
public class NumberConversion extends Service {
|
||||||
|
|
||||||
|
@ -29,11 +29,11 @@ public class NumberConversion extends Service {
|
||||||
static {
|
static {
|
||||||
URL url = null;
|
URL url = null;
|
||||||
try {
|
try {
|
||||||
url = new URL("file:/home/nbillard/eclipse-workspace/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl");
|
url = new URL("file:/Users/juanito/Desktop/master/Tercer%20Cuatri/SOA/SOA/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl");
|
||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
java.util.logging.Logger.getLogger(NumberConversion.class.getName())
|
java.util.logging.Logger.getLogger(NumberConversion.class.getName())
|
||||||
.log(java.util.logging.Level.INFO,
|
.log(java.util.logging.Level.INFO,
|
||||||
"Can not initialize the default wsdl from {0}", "file:/home/nbillard/eclipse-workspace/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl");
|
"Can not initialize the default wsdl from {0}", "file:/Users/juanito/Desktop/master/Tercer%20Cuatri/SOA/SOA/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl");
|
||||||
}
|
}
|
||||||
WSDL_LOCATION = url;
|
WSDL_LOCATION = url;
|
||||||
}
|
}
|
||||||
|
|
2
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversionSoapType.java
Executable file → Normal file
2
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversionSoapType.java
Executable file → Normal file
|
@ -10,7 +10,7 @@ import javax.xml.ws.ResponseWrapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class was generated by Apache CXF 3.4.2
|
* This class was generated by Apache CXF 3.4.2
|
||||||
* 2024-10-08T14:41:29.064+02:00
|
* 2024-11-21T15:31:21.191+01:00
|
||||||
* Generated source version: 3.4.2
|
* Generated source version: 3.4.2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollars.java
Executable file → Normal file
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollars.java
Executable file → Normal file
|
@ -10,9 +10,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Classe Java pour anonymous complex type.
|
* <p>Clase Java para anonymous complex type.
|
||||||
*
|
*
|
||||||
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* &lt;complexType&gt;
|
* &lt;complexType&gt;
|
||||||
|
@ -39,7 +39,7 @@ public class NumberToDollars {
|
||||||
protected BigDecimal dNum;
|
protected BigDecimal dNum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtient la valeur de la propriété dNum.
|
* Obtiene el valor de la propiedad dNum.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* possible object is
|
* possible object is
|
||||||
|
@ -51,7 +51,7 @@ public class NumberToDollars {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Définit la valeur de la propriété dNum.
|
* Define el valor de la propiedad dNum.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is
|
* allowed object is
|
||||||
|
|
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollarsResponse.java
Executable file → Normal file
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollarsResponse.java
Executable file → Normal file
|
@ -9,9 +9,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Classe Java pour anonymous complex type.
|
* <p>Clase Java para anonymous complex type.
|
||||||
*
|
*
|
||||||
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* &lt;complexType&gt;
|
* &lt;complexType&gt;
|
||||||
|
@ -38,7 +38,7 @@ public class NumberToDollarsResponse {
|
||||||
protected String numberToDollarsResult;
|
protected String numberToDollarsResult;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtient la valeur de la propriété numberToDollarsResult.
|
* Obtiene el valor de la propiedad numberToDollarsResult.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* possible object is
|
* possible object is
|
||||||
|
@ -50,7 +50,7 @@ public class NumberToDollarsResponse {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Définit la valeur de la propriété numberToDollarsResult.
|
* Define el valor de la propiedad numberToDollarsResult.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is
|
* allowed object is
|
||||||
|
|
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWords.java
Executable file → Normal file
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWords.java
Executable file → Normal file
|
@ -11,9 +11,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Classe Java pour anonymous complex type.
|
* <p>Clase Java para anonymous complex type.
|
||||||
*
|
*
|
||||||
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* &lt;complexType&gt;
|
* &lt;complexType&gt;
|
||||||
|
@ -41,7 +41,7 @@ public class NumberToWords {
|
||||||
protected BigInteger ubiNum;
|
protected BigInteger ubiNum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtient la valeur de la propriété ubiNum.
|
* Obtiene el valor de la propiedad ubiNum.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* possible object is
|
* possible object is
|
||||||
|
@ -53,7 +53,7 @@ public class NumberToWords {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Définit la valeur de la propriété ubiNum.
|
* Define el valor de la propiedad ubiNum.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is
|
* allowed object is
|
||||||
|
|
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWordsResponse.java
Executable file → Normal file
8
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWordsResponse.java
Executable file → Normal file
|
@ -9,9 +9,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Classe Java pour anonymous complex type.
|
* <p>Clase Java para anonymous complex type.
|
||||||
*
|
*
|
||||||
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
|
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* &lt;complexType&gt;
|
* &lt;complexType&gt;
|
||||||
|
@ -38,7 +38,7 @@ public class NumberToWordsResponse {
|
||||||
protected String numberToWordsResult;
|
protected String numberToWordsResult;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtient la valeur de la propriété numberToWordsResult.
|
* Obtiene el valor de la propiedad numberToWordsResult.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* possible object is
|
* possible object is
|
||||||
|
@ -50,7 +50,7 @@ public class NumberToWordsResponse {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Définit la valeur de la propriété numberToWordsResult.
|
* Define el valor de la propiedad numberToWordsResult.
|
||||||
*
|
*
|
||||||
* @param value
|
* @param value
|
||||||
* allowed object is
|
* allowed object is
|
||||||
|
|
0
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java
Executable file → Normal file
0
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java
Executable file → Normal file
0
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java
Executable file → Normal file
0
NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java
Executable file → Normal file
|
@ -34,7 +34,6 @@
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
|
|
0
RestProject/target/classes/fr/insa/rest/RestProject/Binome.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Binome.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Comparator.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Comparator.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Etudiant.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Etudiant.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/EtudiantRessource.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/EtudiantRessource.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Link.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Link.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/MyResource.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/MyResource.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Stage.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/Stage.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/StageRessource.class
Executable file → Normal file
0
RestProject/target/classes/fr/insa/rest/RestProject/StageRessource.class
Executable file → Normal file
|
@ -34,7 +34,6 @@
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
|
|
1
TestRest/.gitignore
vendored
Normal file
1
TestRest/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/target/
|
0
TestRest/target/classes/fr/insa/rest/TestRest/ClientRest.class
Executable file → Normal file
0
TestRest/target/classes/fr/insa/rest/TestRest/ClientRest.class
Executable file → Normal file
|
@ -1,5 +1,31 @@
|
||||||
package fr.insa.mas.taskCreator.controller;
|
package fr.insa.mas.taskCreator.controller;
|
||||||
|
|
||||||
public class taskRessource {
|
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.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import fr.insa.mas.taskCreator.model.task;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("task")
|
||||||
|
|
||||||
|
|
||||||
|
public class taskRessource {
|
||||||
|
|
||||||
|
@PostMapping("propose/{condition}/{approval}/{assignedAdmin}/{assignedHelper}/{assignedRequester}/{Description}")
|
||||||
|
public void addTask(@PathVariable("condition") Boolean condition, , @PathVariable("approval") Boolean approval , @PathVariable("assignedAdmin") int User.id, @PathVariable("assignedHelper") int User.id, @PathVariable("assignedRequester") int User, @PathVariable("assignedRequester") String Description) {
|
||||||
|
task.saveTask(false, false, Null, id, Null, Description);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@PostMapping("request/{condition}/{approval}/{assignedAdmin}/{assignedHelper}/{assignedRequester}/{Description}")
|
||||||
|
public void propTask(@PathVariable("condition") Boolean condition, , @PathVariable("approval") Boolean approval , @PathVariable("assignedAdmin") int User.id, @PathVariable("assignedHelper") int User.id, @PathVariable("assignedRequester") int User, @PathVariable("assignedRequester") String Description) {
|
||||||
|
task.saveTask(false, false, Null, id, Null, Description);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -48,16 +48,16 @@ public class task {
|
||||||
task task = new task(id, condition, approval, assignedAdmin, assignedHelper, assignedRequester, Description);
|
task task = new task(id, condition, approval, assignedAdmin, assignedHelper, assignedRequester, Description);
|
||||||
try {
|
try {
|
||||||
Statement statement = (Statement) task.connection.createStatement();
|
Statement statement = (Statement) task.connection.createStatement();
|
||||||
statement.addBatch("INSERT INTO task");
|
statement.addBatch("INSERT INTO task (id, approved, assignedAdmin, helper, helped, description, isCompleted) VALUES ("+ id +", \"" + task.approval + "\",\"" + task.assignedAdmin + "\",\"" + task.assignedHelper + "\"," + task.assignedRequester +"\", " + task.Description + " );");
|
||||||
statement.executeBatch();
|
statement.executeBatch();
|
||||||
statement.close();
|
statement.close();
|
||||||
}catch(SQLException e){
|
}catch(SQLException e){
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue