Skip to content

Commit 8299de4

Browse files
make it better
0 parents  commit 8299de4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+898
-0
lines changed

.classpath

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="optional" value="true"/>
17+
<attribute name="maven.pomderived" value="true"/>
18+
<attribute name="test" value="true"/>
19+
</attributes>
20+
</classpathentry>
21+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
22+
<attributes>
23+
<attribute name="maven.pomderived" value="true"/>
24+
<attribute name="test" value="true"/>
25+
</attributes>
26+
</classpathentry>
27+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
28+
<attributes>
29+
<attribute name="maven.pomderived" value="true"/>
30+
</attributes>
31+
</classpathentry>
32+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
33+
<attributes>
34+
<attribute name="maven.pomderived" value="true"/>
35+
</attributes>
36+
</classpathentry>
37+
<classpathentry kind="src" path="target/generated-sources/annotations">
38+
<attributes>
39+
<attribute name="optional" value="true"/>
40+
<attribute name="maven.pomderived" value="true"/>
41+
<attribute name="ignore_optional_problems" value="true"/>
42+
<attribute name="m2e-apt" value="true"/>
43+
</attributes>
44+
</classpathentry>
45+
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
46+
<attributes>
47+
<attribute name="optional" value="true"/>
48+
<attribute name="maven.pomderived" value="true"/>
49+
<attribute name="ignore_optional_problems" value="true"/>
50+
<attribute name="m2e-apt" value="true"/>
51+
<attribute name="test" value="true"/>
52+
</attributes>
53+
</classpathentry>
54+
<classpathentry kind="output" path="target/classes"/>
55+
</classpath>

.project

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>CourseAPI-Spring-Starter</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.springframework.ide.eclipse.boot.validation.springbootbuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.m2e.core.maven2Builder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.jdt.core.javanature</nature>
26+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
eclipse.preferences.version=1
2+
encoding//src/main/java=UTF-8
3+
encoding//src/main/resources=UTF-8
4+
encoding//src/test/java=UTF-8
5+
encoding//src/test/resources=UTF-8
6+
encoding/<project>=UTF-8
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.apt.aptEnabled=false

.settings/org.eclipse.jdt.core.prefs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4+
org.eclipse.jdt.core.compiler.compliance=1.8
5+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
6+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
7+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
8+
org.eclipse.jdt.core.compiler.processAnnotations=disabled
9+
org.eclipse.jdt.core.compiler.release=disabled
10+
org.eclipse.jdt.core.compiler.source=1.8

.settings/org.eclipse.m2e.core.prefs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
boot.validation.initialized=true
2+
eclipse.preferences.version=1
Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
{
2+
"variables": [],
3+
"info": {
4+
"name": "CourseAPI-Spring-Starter",
5+
"_postman_id": "24b0de1e-b4a7-acfb-0780-493752bb4f1e",
6+
"description": "https://github.com/SwarnadeepGhosh/Java-Backend/tree/master/CourseAPI-Spring-Starter",
7+
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
8+
},
9+
"item": [
10+
{
11+
"name": "Courses Related",
12+
"description": "",
13+
"item": [
14+
{
15+
"name": "GetAllCourse By Topic",
16+
"request": {
17+
"url": "http://localhost:8080/topics/java/courses",
18+
"method": "GET",
19+
"header": [],
20+
"body": {},
21+
"description": "We will get all courses associated with one topic."
22+
},
23+
"response": []
24+
},
25+
{
26+
"name": "Add a Course",
27+
"request": {
28+
"url": "http://localhost:8080/topics/java/courses",
29+
"method": "POST",
30+
"header": [
31+
{
32+
"key": "Content-Type",
33+
"value": "application/json",
34+
"description": ""
35+
}
36+
],
37+
"body": {
38+
"mode": "raw",
39+
"raw": "{\r\n \"id\": \"java-streams\",\r\n \"name\": \"Java Streams\",\r\n \"description\": \"Java Streams Description\"\r\n }"
40+
},
41+
"description": ""
42+
},
43+
"response": []
44+
},
45+
{
46+
"name": "Get a Course for a Topic",
47+
"request": {
48+
"url": "http://localhost:8080/topics/java/courses/java-streams",
49+
"method": "GET",
50+
"header": [],
51+
"body": {},
52+
"description": ""
53+
},
54+
"response": []
55+
},
56+
{
57+
"name": "Update (PUT) a Course",
58+
"request": {
59+
"url": "http://localhost:8080/topics/java/courses/java-streams",
60+
"method": "PUT",
61+
"header": [
62+
{
63+
"key": "Content-Type",
64+
"value": "application/json",
65+
"description": ""
66+
}
67+
],
68+
"body": {
69+
"mode": "raw",
70+
"raw": "{\n \"id\": \"java-streams\",\n \"name\": \"Java 8 Streams\",\n \"description\": \"Java Streams 8 Description\"\n }"
71+
},
72+
"description": ""
73+
},
74+
"response": []
75+
},
76+
{
77+
"name": "Delete a Course",
78+
"request": {
79+
"url": "http://localhost:8080/topics/java/courses/java-streams",
80+
"method": "DELETE",
81+
"header": [
82+
{
83+
"key": "Content-Type",
84+
"value": "application/json",
85+
"description": ""
86+
}
87+
],
88+
"body": {
89+
"mode": "raw",
90+
"raw": "{\n \"id\": \"java Streams\",\n \"name\": \"Java 8 Streams\",\n \"description\": \"Java Streams 8 Description\"\n }"
91+
},
92+
"description": ""
93+
},
94+
"response": []
95+
}
96+
]
97+
},
98+
{
99+
"name": "Topic Related",
100+
"description": "",
101+
"item": [
102+
{
103+
"name": "List All Topics /topics",
104+
"request": {
105+
"url": "http://localhost:8080/topics",
106+
"method": "GET",
107+
"header": [],
108+
"body": {},
109+
"description": "List all topics"
110+
},
111+
"response": []
112+
},
113+
{
114+
"name": "Get One Topic /topics/id",
115+
"request": {
116+
"url": "http://localhost:8080/topics/js",
117+
"method": "GET",
118+
"header": [],
119+
"body": {},
120+
"description": "Get a specific topics"
121+
},
122+
"response": []
123+
},
124+
{
125+
"name": "POST (Add a topic) /topics",
126+
"request": {
127+
"url": "http://localhost:8080/topics",
128+
"method": "POST",
129+
"header": [
130+
{
131+
"key": "Content-Type",
132+
"value": "application/json",
133+
"description": ""
134+
}
135+
],
136+
"body": {
137+
"mode": "raw",
138+
"raw": "{\n \"id\": \"javaee\",\n \"name\": \"Java Enterprise\",\n \"description\": \"Java Enterprise Description\"\n}"
139+
},
140+
"description": "Add a topic"
141+
},
142+
"response": []
143+
},
144+
{
145+
"name": "PUT (Update) /topics/id",
146+
"request": {
147+
"url": "http://localhost:8080/topics/js",
148+
"method": "PUT",
149+
"header": [
150+
{
151+
"key": "Content-Type",
152+
"value": "application/json",
153+
"description": ""
154+
}
155+
],
156+
"body": {
157+
"mode": "raw",
158+
"raw": "{\n \"id\": \"js\",\n \"name\": \"Updated JavaScript\",\n \"description\": \"Updated JavaScript Description\"\n}"
159+
},
160+
"description": "Update a topic"
161+
},
162+
"response": []
163+
},
164+
{
165+
"name": "Delete a topic /topics/id",
166+
"request": {
167+
"url": "http://localhost:8080/topics/javaee",
168+
"method": "DELETE",
169+
"header": [],
170+
"body": {},
171+
"description": "Deletes the specific topic"
172+
},
173+
"response": []
174+
}
175+
]
176+
},
177+
{
178+
"name": "Monitoring Production",
179+
"description": "",
180+
"item": [
181+
{
182+
"name": "All links Actuator",
183+
"request": {
184+
"url": "http://localhost:8080/actuator",
185+
"method": "GET",
186+
"header": [],
187+
"body": {},
188+
"description": ""
189+
},
190+
"response": []
191+
},
192+
{
193+
"name": "Health",
194+
"request": {
195+
"url": "http://localhost:8080/actuator/health",
196+
"method": "GET",
197+
"header": [],
198+
"body": {},
199+
"description": ""
200+
},
201+
"response": []
202+
},
203+
{
204+
"name": "Beans Health",
205+
"request": {
206+
"url": "http://localhost:8080/beans",
207+
"method": "GET",
208+
"header": [],
209+
"body": {},
210+
"description": ""
211+
},
212+
"response": []
213+
}
214+
]
215+
}
216+
]
217+
}

derby.log

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
----------------------------------------------------------------
2+
Fri Feb 11 21:37:22 IST 2022:
3+
Booting Derby version The Apache Software Foundation - Apache Derby - 10.14.2.0 - (1828579): instance a816c00e-017e-e989-fb07-000004ec2800
4+
on database directory memory:E:\JAVA-Backend\CourseAPI-Spring-Starter\4808c049-f267-4d97-955c-5eb4ad318c45 with class loader org.springframework.boot.loader.LaunchedURLClassLoader@1d057a39
5+
Loaded from jar:file:/E:/JAVA-Backend/CourseAPI-Spring-Starter/target/CourseAPI-Spring-Starter-0.0.1-SNAPSHOT.jar!/BOOT-INF/lib/derby-10.14.2.0.jar!/
6+
java.vendor=Oracle Corporation
7+
java.runtime.version=11.0.12+8-LTS-237
8+
user.dir=E:\JAVA-Backend\CourseAPI-Spring-Starter
9+
os.name=Windows 8.1
10+
os.arch=amd64
11+
os.version=6.3
12+
derby.system.home=null
13+
Database Class Loader started - derby.database.classpath=''

0 commit comments

Comments
 (0)