[P25284-20] Initial commit with setup and first draft rest servcice

This commit is contained in:
verboomp
2026-01-20 11:39:25 +01:00
parent 071b1f7f95
commit 9d36ea7780
66 changed files with 4981 additions and 0 deletions

View File

@@ -0,0 +1 @@
20d9c068b272d7a2718d0d8e3e04271e

View File

@@ -0,0 +1,24 @@
Manifest-Version: 1.0
Class-Path: commons-logging-1.1.1.jar cue-platform-storage-3.0.1-SN
APSHOT.jar commons-lang3-3.5.jar javaslang-2.0.2.jar javaslang-match-2.
0.2.jar commons-io-2.4.jar org.eclipse.jgit-4.2.0.201601211800-r.jar js
ch-0.1.53.jar JavaEWAH-0.7.9.jar slf4j-api-1.7.2.jar cue-platform-
app-3.0.1-SNAPSHOT.jar cue-platform-push-3.0.1-SNAPSHOT.jar pushy-
0.13.5.jar netty-codec-http2-4.1.25.Final.jar netty-codec-http-4.1.25.F
inal.jar netty-codec-4.1.25.Final.jar netty-transport-4.1.25.Final.jar
netty-buffer-4.1.25.Final.jar netty-common-4.1.25.Final.jar netty-resol
ver-4.1.25.Final.jar netty-handler-4.1.25.Final.jar netty-handler-proxy
-4.1.25.Final.jar netty-codec-socks-4.1.25.Final.jar netty-resolver-dns
-4.1.25.Final.jar netty-codec-dns-4.1.25.Final.jar fast-uuid-0.1.jar gs
on-2.2.4.jar primefaces-6.1.jar primefaces-extensions-6.1.1.jar compile
r-0.9.5.jar antlr4-4.5.jar antlr4-runtime-4.5.jar org.abego.treelayout.
core-1.0.1.jar antlr-runtime-3.5.2.jar ST4-4.0.8.jar json-schema-valida
tor-0.1.2.jar slf4j-ext-1.7.21.jar cal10n-api-0.8.1.jar commons-lang-2.
6.jar omnifaces-2.6.2.jar flyway-core-3.1.jar commons-fileupload-1.3.ja
r poi-4.1.0.jar commons-codec-1.12.jar commons-collections4-4.3.jar com
mons-math3-3.6.1.jar poi-ooxml-4.1.0.jar poi-ooxml-schemas-4.1.0.jar xm
lbeans-3.1.0.jar commons-compress-1.18.jar curvesapi-1.06.jar cue-
platform-module-detailing-3.0.1-SNAPSHOT.jar cue-platform-module-c
ontent-3.0.1-SNAPSHOT.jar cue-platform-module-poll-3.0.1-SNAPSHOT.
jar resources-codemirror-6.1.1.jar

View File

@@ -0,0 +1,3 @@
<Context allowCasualMultipartParsing="true">
<!-- no content required -->
</Context>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
version="4.0" bean-discovery-mode="all">
</beans>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.jboss.as.controller-client" />
<module name="org.wildfly.security.elytron"/>
<module name="org.jboss.dmr"/>
<module name="javaee.api" />
</dependencies>
</deployment>
</jboss-deployment-structure>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:s="urn:security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_2.xsd" version="3.2" impl-version="2.0">
</jboss:ejb-jar>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<security-domain flushOnSessionInvalidation="true">fotoDocumentationSecurity</security-domain>
<context-root>/</context-root>
</jboss-web>

View File

@@ -0,0 +1,5 @@
prettyPrint: true
servers:
- url: https://localhost/api
description: Production server
-

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
<!-- <context-param> <param-name>resteasy.role.based.security</param-name> <param-value>true</param-value> </context-param> -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Secure</web-resource-name>
<url-pattern>/api/login</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>**</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>fotoDocumentationRealm</realm-name>
</login-config>
</web-app>