Skip to content
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: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ build/
### Mac OS ###
.DS_Store
/.idea/
/cashu-gateway-phoenixd/logs/
/cashu-gateway-phoenixd/logs/
2 changes: 1 addition & 1 deletion cashu-gateway-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>

<artifactId>cashu-gateway-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion cashu-gateway-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>

<artifactId>cashu-gateway-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion cashu-gateway-dummy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>

<artifactId>cashu-gateway-dummy</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

import lombok.NoArgsConstructor;
import lombok.NonNull;
import xyz.tcheeric.cashu.common.PaymentMethod;
import xyz.tcheeric.cashu.entities.annotation.Supports;
import xyz.tcheeric.gateway.common.Gateway;

import java.io.IOException;
import java.util.Properties;
import java.util.UUID;

@NoArgsConstructor
@Supports({PaymentMethod.BOLT11, PaymentMethod.BOLT12, PaymentMethod.ON_CHAIN})
public class DummyGateway implements Gateway {

private static final String GATEWAY_NAME = "dummy";
Expand Down
4 changes: 2 additions & 2 deletions cashu-gateway-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>
<artifactId>cashu-gateway-model</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
<name>cashu-gateway-model</name>
<description>Demo project for Spring Boot</description>
<url/>
Expand Down
2 changes: 1 addition & 1 deletion cashu-gateway-phoenixd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>

<artifactId>cashu-gateway-phoenixd</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions cashu-gateway-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway-rest</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
<name>cashu-gateway-rest</name>
<description>A simple JPA application to manage quotes and invoices</description>
<url/>
Expand Down
4 changes: 2 additions & 2 deletions cashu-gateway-webhook/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
</parent>

<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway-webhook</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
<name>cashu-gateway-webhook</name>
<packaging>war</packaging>

Expand Down
7 changes: 7 additions & 0 deletions docs/reference/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

This document summarizes notable changes to the cashu-gateway project. Versions follow semantic versioning when possible.

## 0.3.0

- REST: enable POST create for Quote and Payment via Spring Data REST and expose IDs.
- REST: return entity body on POST/PUT to satisfy client expectations and integration tests.
- Fix: remove incorrect @Override declarations in repositories to avoid compilation errors in some toolchains.
- Docs/Tests: add integration tests around create flows; minor doc updates.

## 0.2.1

- PhoenixdGateway: load `phoenixd.properties` when instantiated outside Spring, ensuring `webhook.base_url` and other settings are initialized in cashu-mint and other environments that use `new PhoenixdGateway()`.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>xyz.tcheeric</groupId>
<artifactId>cashu-gateway</artifactId>
<version>0.2.2</version>
<version>0.3.0</version>
<packaging>pom</packaging>

<name>cashu-gateway</name>
Expand Down
Loading