Skip to content

Commit 7feecd1

Browse files
committed
feat: add spring-notes sample app integrated with Keploy
Signed-off-by: Pratham0320 <[email protected]>
1 parent 954ac52 commit 7feecd1

File tree

7 files changed

+120
-0
lines changed

7 files changed

+120
-0
lines changed

keploy-logs.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
🐰 Keploy: 2025-06-21T11:03:47+05:30 ERROR Error removing file {"error": "remove keploy-logs.txt: The process cannot access the file because it is being used by another process."}
2+
🐰 Keploy: 2025-06-21T11:03:47+05:30 ERROR Failed to delete Keploy Logs {"error": "remove keploy-logs.txt: The process cannot access the file because it is being used by another process."}
3+
🐰 Keploy: 2025-06-21T11:03:53+05:30 INFO config file not found; proceeding with flags only
4+
🐰 Keploy: 2025-06-21T11:03:53+05:30 INFO Using the last directory name as appName : samples-java
5+
🐰 Keploy: 2025-06-21T11:03:53+05:30 INFO Generated config file based on the flags that are used
6+
🐰 Keploy: 2025-06-21T11:03:53+05:30 ERROR failed to get service {"command": "record", "error": "command not supported in non linux os. if you are on windows or mac, please use the dockerized version of your application"}
7+
🐰 Keploy: 2025-06-21T11:03:53+05:30 ERROR Error removing file {"error": "remove keploy-logs.txt: The process cannot access the file because it is being used by another process."}
8+
🐰 Keploy: 2025-06-21T11:03:53+05:30 ERROR Failed to delete Keploy Logs {"error": "remove keploy-logs.txt: The process cannot access the file because it is being used by another process."}

keploy.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Generated by Keploy (2.6.12)
2+
path: ""
3+
appId: 0
4+
appName: samples-java
5+
command: mvn spring-boot:run
6+
templatize:
7+
testSets: []
8+
port: 0
9+
e2e: false
10+
dnsPort: 26789
11+
proxyPort: 16789
12+
debug: false
13+
disableTele: false
14+
disableANSI: false
15+
containerName: ""
16+
networkName: ""
17+
buildDelay: 30
18+
test:
19+
selectedTests: {}
20+
globalNoise:
21+
global: {}
22+
test-sets: {}
23+
delay: 5
24+
host: ""
25+
port: 0
26+
apiTimeout: 5
27+
skipCoverage: false
28+
coverageReportPath: ""
29+
ignoreOrdering: true
30+
mongoPassword: default@123
31+
language: ""
32+
removeUnusedMocks: false
33+
fallBackOnMiss: false
34+
jacocoAgentPath: ""
35+
basePath: ""
36+
mocking: true
37+
ignoredTests: {}
38+
disableLineCoverage: false
39+
disableMockUpload: true
40+
useLocalMock: false
41+
updateTemplate: false
42+
mustPass: false
43+
maxFailAttempts: 5
44+
maxFlakyChecks: 1
45+
record:
46+
filters: []
47+
basePath: ""
48+
recordTimer: 0s
49+
configPath: ""
50+
bypassRules: []
51+
generateGithubActions: false
52+
keployContainer: keploy-v2
53+
keployNetwork: keploy-network
54+
cmdType: native
55+
contract:
56+
services: []
57+
tests: []
58+
path: ""
59+
download: false
60+
generate: false
61+
driven: consumer
62+
mappings:
63+
servicesMapping: {}
64+
self: s1
65+
inCi: false
66+
67+
# Visit [https://keploy.io/docs/running-keploy/configuration-file/] to learn about using keploy through configration file.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Spring Notes App
2+
3+
A minimal Spring Boot Notes API app integrated with Keploy.
4+
5+
## 🛠 Run app
6+
```bash
7+
mvn spring-boot:run

spring-notes/spring-notes/pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
4+
http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<groupId>com.keploy</groupId>
7+
<artifactId>spring-notes</artifactId>
8+
<version>1.0.0</version>
9+
<packaging>jar</packaging>
10+
11+
<parent>
12+
<groupId>org.springframework.boot</groupId>
13+
<artifactId>spring-boot-starter-parent</artifactId>
14+
<version>3.2.5</version>
15+
<relativePath/>
16+
</parent>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.springframework.boot</groupId>
21+
<artifactId>spring-boot-starter-web</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>org.projectlombok</groupId>
25+
<artifactId>lombok</artifactId>
26+
<optional>true</optional>
27+
</dependency>
28+
</dependencies>
29+
30+
<build>
31+
<plugins>
32+
<plugin>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-maven-plugin</artifactId>
35+
</plugin>
36+
</plugins>
37+
</build>
38+
</project>

spring-notes/spring-notes/src/main/java/com/keploy/notes/Note.java

Whitespace-only changes.

spring-notes/spring-notes/src/main/java/com/keploy/notes/NoteController.java

Whitespace-only changes.

spring-notes/spring-notes/src/main/java/com/keploy/notes/SpringNotesApplication.java

Whitespace-only changes.

0 commit comments

Comments
 (0)