-
Add a ByteArrayDataSource
This seems like an odd ommission, surely an in-memory data source makes sense and is trivial to implement (but no more trivial than FileDataSource). It would save people from having to implement this in many places. -
Move Implementation tests into API project, convert to JUnit 5
The jakarta.activation apis are a mix of API and implementation. Is there any reason why the implementation pieces are not tested within the API project? Having the tests closer to the code would ease the maintenance burdon and be more in line with modern practices. This will help new contributors. -
Add "name" attribute
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
from: docx | |
to: markdown-smart-simple_tables-multiline_tables-grid_tables+pipe_tables+yaml_metadata_block-superscript-subscript-bracketed_spans-native_spans-link_attributes-raw_html+rebase_relative_paths+four_space_rule | |
extract-media: "./" | |
wrap: preserve | |
markdown-headings: atx | |
tab-stop: 2 | |
shift-heading-level-by: 1 | |
standalone: true | |
template: obsidian.md | |
filters: |
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
<configuration> | |
<!-- Turning down the wiremock logging --> | |
<!-- based on https://stackoverflow.com/questions/44460834/cant-turn-off-debug-logging-for-wiremock --> | |
<logger name="com.github.tomakehurst.wiremock" level="DEBUG" /> | |
<logger name="wiremock.org" level="DEBUG" /> | |
<logger name="WireMock" level="DEBUG" /> | |
<!-- wiremock has per endpoint servlet logging --> | |
<logger name="/" level="DEBUG" /> | |
</configuration> |
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
@startuml Diagram | |
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml | |
!define DEVICONS https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons2 | |
!define FONTAWESOME https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5 | |
!define MATERIAL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/material | |
!include FONTAWESOME/java.puml | |
!include FONTAWESOME/linux.puml | |
!include DEVICONS/dot_net.puml | |
!include DEVICONS/spring.puml |
Downloads and installs the browsers required to run playwright
jbang -m com.microsoft.playwright.CLI com.microsoft.playwright:playwright:RELEASE install
Launches browser and records session as Java code
jbang -m com.microsoft.playwright.CLI com.microsoft.playwright:playwright:RELEASE codegen -o Example.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
@WireMockTest | |
class SampleTest { | |
private static final boolean WIREMOCK_RECORDING = false; // true tells WIREMOCK to call AEM and record the result | |
private static final boolean SAVE_RESULTS = false; // true saves the resuts in the actualResults directory | |
@BeforeEach | |
void setUp(WireMockRuntimeInfo wmRuntimeInfo) throws Exception { | |
underTest = new Sample(createAemConfig("localhost", wmRuntimeInfo.getHttpPort())); | |
if (WIREMOCK_RECORDING) { |
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
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt | |
# Mobile Tools for Java (J2ME) |
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
package com.github.rmcdouga; | |
import static org.junit.jupiter.api.Assertions.*; | |
import java.io.ByteArrayInputStream; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.nio.charset.StandardCharsets; | |
import java.util.List; |
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
package com.github.rmcdouga.gist; | |
import java.io.Serializable; | |
/** | |
* <p>A convenience class to represent name-value pairs.</p> | |
* | |
* Code was blatantly stolen from javafx.util.Pair class | |
* | |
* @param <K> |
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
import static org.hamcrest.MatcherAssert.assertThat; | |
import static org.hamcrest.Matchers.*; |
NewerOlder