-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2cd68f9
commit 5f49eb5
Showing
36 changed files
with
1,470 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>hu.icellmobilsoft.sampler.sample</groupId> | ||
<artifactId>sample</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<groupId>hu.icellmobilsoft.sampler.sample.fileupload</groupId> | ||
<artifactId>sample-fileupload</artifactId> | ||
|
||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
<module>sample-fileupload-api</module> | ||
<module>sample-fileupload-service</module> | ||
</modules> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>hu.icellmobilsoft.sampler.bom</groupId> | ||
<artifactId>bom-all</artifactId> | ||
<version>${project.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>hu.icellmobilsoft.sampler.sample.fileupload</groupId> | ||
<artifactId>sample-fileupload</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<groupId>hu.icellmobilsoft.sampler.sample.fileupload.api</groupId> | ||
<artifactId>sample-fileupload-api</artifactId> | ||
|
||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
<module>sample-fileupload-api-schema</module> | ||
<module>sample-fileupload-api-dto</module> | ||
<module>sample-fileupload-api-rest-jee</module> | ||
</modules> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>hu.icellmobilsoft.sampler.bom</groupId> | ||
<artifactId>bom-all</artifactId> | ||
<version>${project.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
</project> |
119 changes: 119 additions & 0 deletions
119
sample/sample-fileupload/sample-fileupload-api/sample-fileupload-api-dto/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<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/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>hu.icellmobilsoft.sampler.sample.fileupload.api</groupId> | ||
<artifactId>sample-fileupload-api</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>sample-fileupload-api-dto</artifactId> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>hu.icellmobilsoft.sampler.sample.fileupload.api</groupId> | ||
<artifactId>sample-fileupload-api-schema</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>hu.icellmobilsoft.coffee</groupId> | ||
<artifactId>coffee-dto-impl</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>hu.icellmobilsoft.coffee</groupId> | ||
<artifactId>coffee-module-configdoc</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<configuration> | ||
<failOnWarnings>false</failOnWarnings> | ||
<failOnError>false</failOnError> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jvnet.jaxb</groupId> | ||
<artifactId>jaxb-maven-plugin</artifactId> | ||
<version>4.0.3</version> | ||
<executions> | ||
<execution> | ||
<id>icell-super</id> | ||
<goals> | ||
<goal>generate</goal> | ||
</goals> | ||
<configuration> | ||
<strict>false</strict> | ||
<catalog> | ||
src/main/resources/xsd/hu/icellmobilsoft/sampler/sample/fileupload/super.catalog.xml</catalog> | ||
<schemaIncludes> | ||
<include> | ||
xsd/hu/icellmobilsoft/sampler/sample/fileupload/super.xsd</include> | ||
</schemaIncludes> | ||
<bindingIncludes> | ||
<include> | ||
xsd/hu/icellmobilsoft/sampler/sample/fileupload/bindings.xjb</include> | ||
</bindingIncludes> | ||
<generateDirectory> | ||
${project.build.directory}/generated-sources/src/main/java</generateDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<verbose>true</verbose> | ||
<enableIntrospection>true</enableIntrospection> | ||
<schemaDirectory>src/main/resources</schemaDirectory> | ||
<args> | ||
<arguments>-openapify</arguments> | ||
<arguments>-Xfluent-api</arguments> | ||
<arguments>-Xannotate</arguments> | ||
</args> | ||
<plugins> | ||
<plugin> | ||
<groupId>hu.icellmobilsoft.jaxb</groupId> | ||
<artifactId>openapi-jaxb-plugin</artifactId> | ||
<version>2.0.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>net.java.dev.jaxb2-commons</groupId> | ||
<artifactId>jaxb-fluent-api</artifactId> | ||
<version>2.1.8</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jvnet.jaxb2_commons</groupId> | ||
<artifactId>jaxb2-basics-annotate</artifactId> | ||
<version>1.1.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>2.14.1</version> | ||
</plugin> | ||
</plugins> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<compilerArgs> | ||
<arg> | ||
-Acoffee.configDoc.outputDir=${project.basedir}/target</arg> | ||
<arg>-Acoffee.configDoc.outputToClassPath=false</arg> | ||
</compilerArgs> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
41 changes: 41 additions & 0 deletions
41
.../main/java/hu/icellmobilsoft/sampler/sample/fileupload/schema/FileUploadXsdConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*- | ||
* #%L | ||
* Sampler | ||
* %% | ||
* Copyright (C) 2022 - 2024 i-Cell Mobilsoft Zrt. | ||
* %% | ||
* Licensed 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 | ||
* | ||
* http://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. | ||
* #L% | ||
*/ | ||
|
||
package hu.icellmobilsoft.sampler.sample.fileupload.schema; | ||
|
||
/** | ||
* XSD constatnts. | ||
* | ||
* @author attila-kiss-it | ||
* @since 2.0.0 | ||
*/ | ||
public interface FileUploadXsdConstants { | ||
|
||
/** | ||
* Path of the super XSD. | ||
*/ | ||
String SUPER_XSD = "xsd/hu/icellmobilsoft/sampler/sample/fileupload/super.xsd"; | ||
|
||
/** | ||
* Path of the super catalog. | ||
*/ | ||
String SUPER_CATALOG = "xsd/hu/icellmobilsoft/sampler/sample/fileupload/super.catalog.xml"; | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
...d-api-dto/src/main/resources/xsd/hu/icellmobilsoft/sampler/sample/fileupload/bindings.xjb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" ?> | ||
<jaxb:bindings version="3.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb" | ||
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:extensionBindingPrefixes="xjc annox"> | ||
|
||
<jaxb:globalBindings generateIsSetMethod="true"> | ||
<xjc:serializable uid="1" /> | ||
|
||
<xjc:javaType xmlType="xsd:date" name="java.time.LocalDate" adapter="hu.icellmobilsoft.coffee.dto.adapter.LocalDateXmlAdapter" /> | ||
<xjc:javaType xmlType="xsd:time" name="java.time.OffsetTime" adapter="hu.icellmobilsoft.coffee.dto.adapter.OffsetTimeXmlAdapter" /> | ||
<xjc:javaType xmlType="xsd:dateTime" name="java.time.OffsetDateTime" | ||
adapter="hu.icellmobilsoft.coffee.dto.adapter.OffsetDateTimeXmlAdapter" /> | ||
</jaxb:globalBindings> | ||
|
||
</jaxb:bindings> |
7 changes: 7 additions & 0 deletions
7
...-dto/src/main/resources/xsd/hu/icellmobilsoft/sampler/sample/fileupload/super.catalog.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
|
||
<public publicId="http://sample.sampler.icellmobilsoft.hu/fileupload" | ||
uri="maven:hu.icellmobilsoft.sampler.sample.fileupload.api:sample-fileupload-api-schema:jar::!/xsd/hu/icellmobilsoft/sampler/sample/fileupload/schema/fileupload.xsd" /> | ||
|
||
</catalog> |
9 changes: 9 additions & 0 deletions
9
...load-api-dto/src/main/resources/xsd/hu/icellmobilsoft/sampler/sample/fileupload/super.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsd:schema xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns="http://http://sample.sampler.icellmobilsoft.hu/fileupload/super" | ||
targetNamespace="http://sample.sampler.icellmobilsoft.hu/fileupload/super" elementFormDefault="qualified" attributeFormDefault="unqualified" | ||
jaxb:version="3.0" jaxb:extensionBindingPrefixes="xjc"> | ||
|
||
<xsd:import namespace="http://sample.sampler.icellmobilsoft.hu/fileupload" /> | ||
|
||
</xsd:schema> |
Oops, something went wrong.