Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
K
Kafka-Swarm-Banking
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohammad.salama
Kafka-Swarm-Banking
Commits
95254bbd
Commit
95254bbd
authored
Apr 15, 2024
by
mohammad.salama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing redis
parent
1fb33502
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
29 deletions
+44
-29
vcs.xml
BankingAPI/.idea/vcs.xml
+6
-0
Application.java
BankingAPI/src/main/java/com/example/Application.java
+1
-4
workspace.xml
Consumer-Account-Manager/.idea/workspace.xml
+14
-12
DataBaseHandler.java
...nt-Manager/src/main/java/org/example/DataBaseHandler.java
+1
-1
vcs.xml
Consumer-Reporting/.idea/vcs.xml
+6
-0
workspace.xml
Consumer-User-Notification/.idea/workspace.xml
+15
-11
DataBaseHandler.java
...tification/src/main/java/org/example/DataBaseHandler.java
+1
-1
No files found.
BankingAPI/.idea/vcs.xml
0 → 100644
View file @
95254bbd
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$/.."
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
BankingAPI/src/main/java/com/example/Application.java
View file @
95254bbd
...
...
@@ -8,16 +8,13 @@ import redis.clients.jedis.Jedis;
@SpringBootApplication
public
class
Application
{
static
String
IP
=
"localhost"
;
public
static
void
main
(
String
[]
args
)
{
if
(
args
.
length
>
0
)
IP
=
args
[
0
];
SpringApplication
.
run
(
Application
.
class
,
args
);
}
@Bean
public
Jedis
jedis
()
{
return
new
Jedis
(
IP
,
6379
);
return
new
Jedis
(
"redisdb"
,
6379
);
}
}
\ No newline at end of file
Consumer-Account-Manager/.idea/workspace.xml
View file @
95254bbd
...
...
@@ -9,7 +9,9 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"68795978-b1a2-4702-95fa-e8e7afae617a"
name=
"Changes"
comment=
""
/>
<list
default=
"true"
id=
"68795978-b1a2-4702-95fa-e8e7afae617a"
name=
"Changes"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/../BankingAPI/src/main/java/com/example/Application.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../BankingAPI/src/main/java/com/example/Application.java"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -34,18 +36,18 @@
<option
name=
"hideEmptyMiddlePackages"
value=
"true"
/>
<option
name=
"showLibraryContents"
value=
"true"
/>
</component>
<component
name=
"PropertiesComponent"
>
<![CDATA[
{
"keyToString"
: {
"RunOnceActivity.OpenProjectViewOnStart": "true"
,
"RunOnceActivity.ShowReadmeOnStart": "true"
,
"SHARE_PROJECT_CONFIGURATION_FILES": "true"
,
"last_opened_file_path": "D:/Second Semester/Advanced DS/Practical/New folder/Consumer-User-Notification"
,
"project.structure.last.edited": "Artifacts"
,
"project.structure.proportion": "0.0"
,
"project.structure.side.proportion": "0.2"
,
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings"
<component
name=
"PropertiesComponent"
>
{
"
keyToString
"
: {
"
RunOnceActivity.OpenProjectViewOnStart
"
:
"
true
"
,
"
RunOnceActivity.ShowReadmeOnStart
"
:
"
true
"
,
"
SHARE_PROJECT_CONFIGURATION_FILES
"
:
"
true
"
,
"
last_opened_file_path
"
:
"
D:/Second Semester/Advanced DS/Practical/New folder/Consumer-User-Notification
"
,
"
project.structure.last.edited
"
:
"
Artifacts
"
,
"
project.structure.proportion
"
:
"
0.0
"
,
"
project.structure.side.proportion
"
:
"
0.2
"
,
"
settings.editor.selected.configurable
"
:
"
project.propVCSSupport.DirectoryMappings
"
}
}
]]>
</component>
}
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"D:\HIAST\FIY\SS\Advanced Distributed Systems\Lab\4\java-kafka-consumer\Consumer\src\main\resources"
/>
...
...
Consumer-Account-Manager/src/main/java/org/example/DataBaseHandler.java
View file @
95254bbd
...
...
@@ -4,7 +4,7 @@ import redis.clients.jedis.Jedis;
public
class
DataBaseHandler
{
private
static
final
String
REDIS_HOST
=
"
localhost
"
;
private
static
final
String
REDIS_HOST
=
"
redisdb
"
;
private
static
final
int
REDIS_PORT
=
6379
;
private
static
final
String
BALANCE_FIELD
=
"balance"
;
...
...
Consumer-Reporting/.idea/vcs.xml
0 → 100644
View file @
95254bbd
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$/.."
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
Consumer-User-Notification/.idea/workspace.xml
View file @
95254bbd
...
...
@@ -9,7 +9,11 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"68795978-b1a2-4702-95fa-e8e7afae617a"
name=
"Changes"
comment=
""
/>
<list
default=
"true"
id=
"68795978-b1a2-4702-95fa-e8e7afae617a"
name=
"Changes"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/../BankingAPI/src/main/java/com/example/Application.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../BankingAPI/src/main/java/com/example/Application.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../Consumer-Account-Manager/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../Consumer-Account-Manager/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../Consumer-Account-Manager/src/main/java/org/example/DataBaseHandler.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../Consumer-Account-Manager/src/main/java/org/example/DataBaseHandler.java"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -34,17 +38,17 @@
<option
name=
"hideEmptyMiddlePackages"
value=
"true"
/>
<option
name=
"showLibraryContents"
value=
"true"
/>
</component>
<component
name=
"PropertiesComponent"
>
<![CDATA[
{
"keyToString"
: {
"RunOnceActivity.OpenProjectViewOnStart": "true"
,
"RunOnceActivity.ShowReadmeOnStart": "true"
,
"SHARE_PROJECT_CONFIGURATION_FILES": "true"
,
"last_opened_file_path": "D:/Second Semester/Advanced DS/Practical/New folder/Consumer-User-Notification"
,
"project.structure.last.edited": "Modules"
,
"project.structure.proportion": "0.0"
,
"project.structure.side.proportion": "0.2"
<component
name=
"PropertiesComponent"
>
{
"
keyToString
"
: {
"
RunOnceActivity.OpenProjectViewOnStart
"
:
"
true
"
,
"
RunOnceActivity.ShowReadmeOnStart
"
:
"
true
"
,
"
SHARE_PROJECT_CONFIGURATION_FILES
"
:
"
true
"
,
"
last_opened_file_path
"
:
"
D:/Second Semester/Advanced DS/Practical/New folder/Consumer-User-Notification
"
,
"
project.structure.last.edited
"
:
"
Modules
"
,
"
project.structure.proportion
"
:
"
0.0
"
,
"
project.structure.side.proportion
"
:
"
0.2
"
}
}
]]>
</component>
}
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"D:\HIAST\FIY\SS\Advanced Distributed Systems\Lab\4\java-kafka-producer\Producer\Consumer-User-Notification\src\main\java\org\example"
/>
...
...
Consumer-User-Notification/src/main/java/org/example/DataBaseHandler.java
View file @
95254bbd
...
...
@@ -5,7 +5,7 @@ import redis.clients.jedis.Jedis;
public
class
DataBaseHandler
{
private
static
final
String
REDIS_HOST
=
"
localhost
"
;
private
static
final
String
REDIS_HOST
=
"
redisdb
"
;
private
static
final
int
REDIS_PORT
=
6379
;
private
static
final
String
SUSPICIOUS_FIELD
=
"suspicious"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment