Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename default branch to main #304

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/microshed-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: MicroShed CI
on:
pull_request:
branches:
- master
- main
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.gitignore'
Expand Down
26 changes: 13 additions & 13 deletions docs/features/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ Sometimes code is worth a thousand words. Here are some pointers to working exam

## General Examples

- [Basic JAX-RS application using Gradle](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-json)
- [Basic JAX-RS application using Maven](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/maven-app)
- [Basic JAX-RS application using REST Assured](https://github.com/MicroShed/microshed-testing/blob/master/sample-apps/everything-app/src/test/java/org/example/app/RestAssuredIT.java)
- [JAX-RS and JDBC application using a PostgreSQL database](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jdbc-app)
- [JAX-RS application secured with Basic Auth](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-basicauth)
- [JAX-RS application secured with MP JWT](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/jaxrs-mpjwt)
- [JAX-RS and MongoDB application that depends on an external REST service](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/everything-app)
- [Application using Apache Kafka messaging](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/kafka-app)
- [Application with no Dockerfile using OpenLiberty adapter](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/liberty-app)
- [Basic JAX-RS application using Gradle](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/jaxrs-json)
- [Basic JAX-RS application using Maven](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/maven-app)
- [Basic JAX-RS application using REST Assured](https://github.com/MicroShed/microshed-testing/blob/main/sample-apps/everything-app/src/test/java/org/example/app/RestAssuredIT.java)
- [JAX-RS and JDBC application using a PostgreSQL database](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/jdbc-app)
- [JAX-RS application secured with Basic Auth](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/jaxrs-basicauth)
- [JAX-RS application secured with MP JWT](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/jaxrs-mpjwt)
- [JAX-RS and MongoDB application that depends on an external REST service](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/everything-app)
- [Application using Apache Kafka messaging](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/kafka-app)
- [Application with no Dockerfile using OpenLiberty adapter](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/liberty-app)

## Runtime examples:

- [Testing an application with OpenLiberty](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/liberty-app)
- [Testing an application with Payara Micro](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/payara-app)
- [Testing an application with Wildfly](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/wildfly-app)
- [Testing an application with Quarkus](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/quarkus-app)
- [Testing an application with OpenLiberty](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/liberty-app)
- [Testing an application with Payara Micro](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/payara-app)
- [Testing an application with Wildfly](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/wildfly-app)
- [Testing an application with Quarkus](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/quarkus-app)
2 changes: 1 addition & 1 deletion docs/features/KafkaMessaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ injected `consumer` to the specified `topics`.

## Additional resources

- [Example application using Apache Kafka messaging](https://github.com/MicroShed/microshed-testing/tree/master/sample-apps/kafka-app)
- [Example application using Apache Kafka messaging](https://github.com/MicroShed/microshed-testing/tree/main/sample-apps/kafka-app)
- [OpenLiberty blog on using MicroProfile Reactive Messaging](https://openliberty.io/blog/2019/09/13/microprofile-reactive-messaging.html)
- [Quarkus guide on using Apache Kafka with Reactive Messaging](https://quarkus.io/guides/kafka)
2 changes: 1 addition & 1 deletion docs/features/RestAssured.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ It is also possible to send/receive POJOs with the JSON-B based ObjectMapper:
}
```

For a complete working example, see the [RestAssuredTest class](https://github.com/MicroShed/microshed-testing/blob/master/sample-apps/everything-app/src/test/java/org/example/app/RestAssuredIT.java)
For a complete working example, see the [RestAssuredTest class](https://github.com/MicroShed/microshed-testing/blob/main/sample-apps/everything-app/src/test/java/org/example/app/RestAssuredIT.java)

## Auto-configuration override

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ private String readMpRestClientConfigKey(Class<?> restClientClass) {
*/
public ApplicationContainer withMpRestClient(String restClientClass, String hostUri) {
// If we will be running in Docker, sanitize environment variable name using Environment Variables Mapping Rules defined in MP Config:
// https://github.com/eclipse/microprofile-config/blob/master/spec/src/main/asciidoc/configsources.asciidoc#environment-variables-mapping-rules
// https://github.com/eclipse/microprofile-config/blob/main/spec/src/main/asciidoc/configsources.asciidoc#environment-variables-mapping-rules
if (ApplicationEnvironment.Resolver.isSelected(TestcontainersConfiguration.class)) {
restClientClass = restClientClass.replaceAll("[^a-zA-Z0-9_]", "_") + "_mp_rest_url";
} else {
Expand Down
Loading