-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorg of /demos/ with focus on demo-spec downstream dependencies. (#5367
) * Reorg of /demos/ with focus on spec modules * Reworking demo-mock-resources into /demos/ proper * Removing old /tests/ modules that no longer have a reason for existing. * Making demo-mock-resources a formal module * demo-jndi and demo-spec now depend on it * Restoring jetty-maven-plugin config lost in demo-jetty-webapp * Fixing jetty-maven-plugin realm usage to be local Signed-off-by: Joakim Erdfelt <[email protected]>
- Loading branch information
Showing
64 changed files
with
184 additions
and
372 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
20 changes: 20 additions & 0 deletions
20
demos/demo-jetty-webapp/src/test/resources/test-realm.properties
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,20 @@ | ||
# | ||
# This file defines users passwords and roles for a HashUserRealm | ||
# | ||
# The format is | ||
# <username>: <password>[,<rolename> ...] | ||
# | ||
# Passwords may be clear text, obfuscated or checksummed. The class | ||
# org.eclipse.util.Password should be used to generate obfuscated | ||
# passwords or password checksums | ||
# | ||
# If DIGEST Authentication is used, the password must be in a recoverable | ||
# format, either plain text or OBF:. | ||
# | ||
jetty:MD5:164c88b302622e17050af52c89945d44,user | ||
admin:CRYPT:adpexzg3FUZAk,server-administrator,content-administrator,admin,user | ||
other:OBF:1xmk1w261u9r1w1c1xmq,user | ||
plain:plain,user | ||
user:password,user | ||
# This entry is for digest auth. The credential is a MD5 hash of username:realmname:password | ||
digest:MD5:6e120743ad67abfbc385bc2bb754e297,user |
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
14 changes: 14 additions & 0 deletions
14
demos/demo-mock-resources/src/main/config/modules/demo-mock-resources.mod
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 @@ | ||
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html | ||
|
||
[description] | ||
Download and install some Demo Mock Resources | ||
|
||
[tags] | ||
demo | ||
|
||
[depends] | ||
jdbc | ||
annotations | ||
|
||
[files] | ||
maven://org.eclipse.jetty.demos/demo-mock-resources/${jetty.version}/jar|lib/ext/demo-mock-resources-${jetty.version}.jar |
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions
11
...st-servlet-spec/test-web-fragment/pom.xml → demos/demo-spec/demo-web-fragment/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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...s/META-INF/resources/fragmentA/index.html → ...s/META-INF/resources/fragmentA/index.html
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
42 changes: 42 additions & 0 deletions
42
demos/demo-spec/demo-web-fragment/src/main/resources/META-INF/web-fragment.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,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<web-fragment | ||
xmlns="http://xmlns.jcp.org/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd" | ||
version="3.1"> | ||
|
||
<name>FragmentA</name> | ||
|
||
<ordering> | ||
<after> | ||
<others /> | ||
</after> | ||
</ordering> | ||
|
||
<servlet> | ||
<servlet-name>AnnotationTest</servlet-name> | ||
<servlet-class>com.acme.test.AnnotationTest</servlet-class> | ||
<init-param> | ||
<param-name>extra1</param-name> | ||
<param-value>123</param-value> | ||
</init-param> | ||
<init-param> | ||
<param-name>extra2</param-name> | ||
<param-value>345</param-value> | ||
</init-param> | ||
</servlet> | ||
|
||
<servlet> | ||
<servlet-name>Fragment</servlet-name> | ||
<servlet-class>com.acme.fragment.FragmentServlet</servlet-class> | ||
</servlet> | ||
|
||
<servlet-mapping> | ||
<servlet-name>Fragment</servlet-name> | ||
<url-pattern>/fragment/*</url-pattern> | ||
</servlet-mapping> | ||
|
||
</web-fragment> | ||
|
||
|
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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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> | ||
<parent> | ||
<groupId>org.eclipse.jetty.demos</groupId> | ||
<artifactId>demos-parent</artifactId> | ||
<version>10.0.0-SNAPSHOT</version> | ||
</parent> | ||
<name>Demo :: Servlet Spec</name> | ||
<artifactId>demo-spec</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
<module>demo-spec-webapp</module> | ||
<module>demo-container-initializer</module> | ||
<module>demo-web-fragment</module> | ||
</modules> | ||
</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
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
Oops, something went wrong.