Skip to content

Commit 2ca371c

Browse files
committed
2 parents 0b11c31 + 3a1a714 commit 2ca371c

File tree

30 files changed

+1260
-28
lines changed

30 files changed

+1260
-28
lines changed

.all-contributorsrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,6 +3357,33 @@
33573357
"contributions": [
33583358
"code"
33593359
]
3360+
},
3361+
{
3362+
"login": "shahdhoss",
3363+
"name": "Shahd Hossam",
3364+
"avatar_url": "https://avatars.githubusercontent.com/u/132148556?v=4",
3365+
"profile": "https://github.com/shahdhoss",
3366+
"contributions": [
3367+
"code"
3368+
]
3369+
},
3370+
{
3371+
"login": "mehdirahimi",
3372+
"name": "Mehdi Rahimi",
3373+
"avatar_url": "https://avatars.githubusercontent.com/u/24210842?v=4",
3374+
"profile": "https://mehdirahimi.github.io",
3375+
"contributions": [
3376+
"code"
3377+
]
3378+
},
3379+
{
3380+
"login": "clintaire",
3381+
"name": "Clint Airé",
3382+
"avatar_url": "https://avatars.githubusercontent.com/u/111376518?v=4",
3383+
"profile": "https://github.com/clintaire",
3384+
"contributions": [
3385+
"code"
3386+
]
33603387
}
33613388
],
33623389
"contributorsPerLine": 6,

.github/workflows/presubmit.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Presubmit.ai
2+
3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
issues: write
7+
8+
on:
9+
pull_request_target: # Handle forked repository PRs in the base repository context
10+
types: [opened, synchronize]
11+
pull_request_review_comment: # Handle review comments
12+
types: [created]
13+
14+
jobs:
15+
review:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Check required secrets
19+
run: |
20+
if [ -z "${{ secrets.LLM_API_KEY }}" ]; then
21+
echo "Error: LLM_API_KEY secret is not configured"
22+
exit 1
23+
fi
24+
25+
- name: Check out PR code
26+
uses: actions/checkout@v3
27+
with:
28+
ref: ${{ github.event.pull_request.head.sha }}
29+
30+
- name: Run AI Reviewer
31+
uses: presubmit/ai-reviewer@latest
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
35+
LLM_MODEL: "gemini-1.5-flash"

.github/workflows/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ jobs:
1717
days-before-pr-stale: 60
1818
days-before-issue-close: -1
1919
days-before-pr-close: -1
20+
exempt-issue-labels: 'info: help wanted'

PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
<!--
2-
Thank you for contributing to Java Design Patterns!
1+
# Pull Request Template
32

4-
If you're unsure where to start, please refer to the contributing doc:
3+
## What does this PR do?
54

6-
https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute
5+
<!-- Provide a short description of what this pull request does. -->
76

8-
If you still have questions, please let us know via issues or [gitter](https://matrix.to/#/#iluwatar_java-design-patterns:gitter.im).
9-
-->
10-
11-
## What problem does this PR solve?
12-
13-
<!-- Please describe the problem you're trying to solve. Uncomment the following line if this PR closes some issues -->
14-
<!-- Close #<issue number> -->
7+
<!-- Fixes #<issue-number> (if applicable) -->

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=coverage)](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)
77
[![Join the chat at https://gitter.im/iluwatar/java-design-patterns](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
88
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
9-
[![All Contributors](https://img.shields.io/badge/all_contributors-368-orange.svg?style=flat-square)](#contributors-)
9+
[![All Contributors](https://img.shields.io/badge/all_contributors-371-orange.svg?style=flat-square)](#contributors-)
1010
<!-- ALL-CONTRIBUTORS-BADGE:END -->
1111

1212
<br/>
@@ -551,6 +551,9 @@ This project is licensed under the terms of the MIT license.
551551
<tr>
552552
<td align="center" valign="top" width="16.66%"><a href="https://github.com/depthlending"><img src="https://avatars.githubusercontent.com/u/164312726?v=4?s=100" width="100px;" alt="BiKangNing"/><br /><sub><b>BiKangNing</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=depthlending" title="Documentation">📖</a></td>
553553
<td align="center" valign="top" width="16.66%"><a href="https://github.com/TarunVishwakarma1"><img src="https://avatars.githubusercontent.com/u/138651451?v=4?s=100" width="100px;" alt="Tarun Vishwakarma"/><br /><sub><b>Tarun Vishwakarma</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=TarunVishwakarma1" title="Code">💻</a></td>
554+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/shahdhoss"><img src="https://avatars.githubusercontent.com/u/132148556?v=4?s=100" width="100px;" alt="Shahd Hossam"/><br /><sub><b>Shahd Hossam</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=shahdhoss" title="Code">💻</a></td>
555+
<td align="center" valign="top" width="16.66%"><a href="https://mehdirahimi.github.io"><img src="https://avatars.githubusercontent.com/u/24210842?v=4?s=100" width="100px;" alt="Mehdi Rahimi"/><br /><sub><b>Mehdi Rahimi</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=mehdirahimi" title="Code">💻</a></td>
556+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/clintaire"><img src="https://avatars.githubusercontent.com/u/111376518?v=4?s=100" width="100px;" alt="Clint Airé"/><br /><sub><b>Clint Airé</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=clintaire" title="Code">💻</a></td>
554557
</tr>
555558
</tbody>
556559
</table>

dynamic-proxy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>com.fasterxml.jackson.core</groupId>
4040
<artifactId>jackson-core</artifactId>
41-
<version>2.18.1</version>
41+
<version>2.18.2</version>
4242
</dependency>
4343
<dependency>
4444
<groupId>com.fasterxml.jackson.core</groupId>

event-sourcing/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>com.fasterxml.jackson.core</groupId>
4444
<artifactId>jackson-core</artifactId>
45-
<version>2.18.1</version>
45+
<version>2.18.2</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>com.fasterxml.jackson.core</groupId>

localization/es/strategy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public class LambdaStrategy {
127127

128128
public enum Strategy implements DragonSlayingStrategy {
129129
MeleeStrategy(() -> LOGGER.info(
130-
"With your Excalibur you severe the dragon's head!")),
130+
"With your Excalibur you sever the dragon's head!")),
131131
ProjectileStrategy(() -> LOGGER.info(
132132
"You shoot the dragon with the magical crossbow and it falls dead on the ground!")),
133133
SpellStrategy(() -> LOGGER.info(

localization/ko/strategy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public class LambdaStrategy {
123123

124124
public enum Strategy implements DragonSlayingStrategy {
125125
MeleeStrategy(() -> LOGGER.info(
126-
"With your Excalibur you severe the dragon's head!")),
126+
"With your Excalibur you sever the dragon's head!")),
127127
ProjectileStrategy(() -> LOGGER.info(
128128
"You shoot the dragon with the magical crossbow and it falls dead on the ground!")),
129129
SpellStrategy(() -> LOGGER.info(

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
<module>microservices-distributed-tracing</module>
221221
<module>microservices-client-side-ui-composition</module>
222222
<module>microservices-idempotent-consumer</module>
223+
<module>session-facade</module>
223224
<module>templateview</module>
224225
<module>money</module>
225226
<module>table-inheritance</module>

0 commit comments

Comments
 (0)