Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
90510e4
added a gitginore file
effaamponsah Nov 6, 2019
f5497c2
added gitignore file
effaamponsah Nov 6, 2019
5204c53
Merge pull request #6 from effaamponsah/filehandling
christianaasare Nov 6, 2019
0c3b8a3
Write to file added
FrancisBilla Nov 6, 2019
62ec80f
Enter New Client Details
christianaasare Nov 6, 2019
0e09818
Merge pull request #8 from christianaasare/EnterNewClient
FrancisBilla Nov 6, 2019
8ac11d5
Included printing data from csv file and csv file
christianaasare Nov 6, 2019
872d52c
Included printing data from csv file and csv file
christianaasare Nov 6, 2019
a7a8183
building the search, not done
FrancisBilla Nov 6, 2019
1d42e9a
Merge pull request #9 from christianaasare/EnterNewClient
effaamponsah Nov 6, 2019
2f50980
building the search, not done
FrancisBilla Nov 6, 2019
09829fc
Added the ignore
FrancisBilla Nov 6, 2019
3f02f77
adding the validation code
bill-n Nov 6, 2019
5e94813
gradle successful
FrancisBilla Nov 7, 2019
2f11643
Merge branch 'prod' of https://github.com/effaamponsah/TCMS into addW…
FrancisBilla Nov 7, 2019
5cf1223
Merge pull request #12 from bill-n/validation
effaamponsah Nov 7, 2019
ee8e224
configuring travis
FrancisBilla Nov 7, 2019
2a0fe50
REMOIG CACHED
FrancisBilla Nov 7, 2019
8fd7b55
changed to Java 11
FrancisBilla Nov 7, 2019
891be92
add an id
FrancisBilla Nov 7, 2019
1aa58e9
added idea config to git ignore
FrancisBilla Nov 7, 2019
539c99b
writing to file is okay now
FrancisBilla Nov 7, 2019
2423088
refactored the main method
FrancisBilla Nov 7, 2019
9716ce5
Refactored TCM
FrancisBilla Nov 7, 2019
417671d
written the lavenstine method
effaamponsah Nov 7, 2019
e606450
Removed Getters ans Setters
FrancisBilla Nov 7, 2019
1ddfd84
Merge pull request #13 from FrancisBilla/addWriteToFile1
effaamponsah Nov 7, 2019
512779f
fixing IDE configs
effaamponsah Nov 7, 2019
9cd1273
search method done
effaamponsah Nov 7, 2019
26fcd95
refactored search to use java streams
effaamponsah Nov 7, 2019
0cbb0a8
Merge pull request #16 from effaamponsah/dennisdev
christianaasare Nov 7, 2019
c66451c
Deleting record successful
FrancisBilla Nov 7, 2019
6e32ff4
Merge branch 'prod' into addWriteToFile1
effaamponsah Nov 7, 2019
55914d5
Added curly braces to pass travis
effaamponsah Nov 7, 2019
c3ee7f8
Adding exception
FrancisBilla Nov 7, 2019
aef55a6
Merge branch 'addWriteToFile1' of https://github.com/FrancisBilla/TCM…
FrancisBilla Nov 7, 2019
422cfd6
Merge pull request #17 from FrancisBilla/addWriteToFile1
christianaasare Nov 7, 2019
9a965dd
client not found exception done
effaamponsah Nov 8, 2019
6eacb7c
data modularization init
effaamponsah Nov 8, 2019
fbb6b85
Operations on data store init
effaamponsah Nov 8, 2019
a9cf5ef
Merge pull request #23 from effaamponsah/dennisdev
christianaasare Nov 8, 2019
5d5b5d0
including csv file
christianaasare Nov 8, 2019
1ad6268
including csv file
christianaasare Nov 8, 2019
ee4ccd9
enhanced the levenshtein to consider firstnames only
effaamponsah Nov 8, 2019
e92861d
removed space to prevent merge conflict
effaamponsah Nov 8, 2019
42aa231
New client list feature in options menu and moved delete function to…
christianaasare Nov 8, 2019
2ff5dc2
Removed matched clients line in CMS.java
christianaasare Nov 8, 2019
f1a3193
Fixed test compile error- csv conflict
christianaasare Nov 8, 2019
851a43b
Color coding format
christianaasare Nov 8, 2019
a01bef9
Resloving csv conflict
christianaasare Nov 8, 2019
4f5b53e
Resloving csv conflict
christianaasare Nov 8, 2019
4bb0672
Merge pull request #24 from christianaasare/CMS
bill-n Nov 8, 2019
655b489
added automatic addition of id
bill-n Nov 8, 2019
7adc4d6
Merge pull request #26 from bill-n/prod
effaamponsah Nov 8, 2019
9e65d95
added start script to build.gradle
effaamponsah Nov 9, 2019
6890401
resolved merge conflict from utils and added a run script
effaamponsah Nov 9, 2019
3d64902
pretty print applied to search results
effaamponsah Nov 9, 2019
c645a64
fixed bug created by test on storage
effaamponsah Nov 9, 2019
654611d
applied pretty print to listing all clients
effaamponsah Nov 9, 2019
d5dbb3d
delete bug fixed
FrancisBilla Nov 10, 2019
e8fdc2b
Delete feature ok now
FrancisBilla Nov 10, 2019
8e38b85
updated clients.csv
effaamponsah Nov 11, 2019
b3442da
client duplicate exception done
effaamponsah Nov 11, 2019
f9857bd
duplication exception implemented in main
effaamponsah Nov 11, 2019
d0c86ce
README file added
effaamponsah Nov 11, 2019
d927e19
Merge pull request #27 from FrancisBilla/addWriteToFile1
effaamponsah Nov 11, 2019
0f0c559
Merge branch 'prod' of https://github.com/effaamponsah/TCMS into denn…
effaamponsah Nov 11, 2019
9524e1c
applied pretty print to listing all clients when deletion
effaamponsah Nov 11, 2019
5775664
Merge pull request #28 from effaamponsah/dennisdev
FrancisBilla Nov 11, 2019
702465d
in memory init
effaamponsah Nov 15, 2019
0c63d9b
clean up
bill-n Nov 15, 2019
4a0d7a6
fxed conlicts
bill-n Nov 15, 2019
19d1342
Merge branch 'jdbc' of https://github.com/effaamponsah/TCMS into in-m…
bill-n Nov 15, 2019
b1ef226
adding CRUD methods to TCMS
bill-n Nov 15, 2019
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
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

.idea
Binary file removed .gradle/4.10.3/fileChanges/last-build.bin
Binary file not shown.
Binary file removed .gradle/4.10.3/fileContent/fileContent.lock
Binary file not shown.
Binary file removed .gradle/4.10.3/fileHashes/fileHashes.bin
Binary file not shown.
Binary file removed .gradle/4.10.3/fileHashes/fileHashes.lock
Binary file not shown.
Empty file removed .gradle/4.10.3/gc.properties
Empty file.
Binary file removed .gradle/4.10.3/javaCompile/classAnalysis.bin
Binary file not shown.
Binary file removed .gradle/4.10.3/javaCompile/jarAnalysis.bin
Binary file not shown.
Binary file removed .gradle/4.10.3/javaCompile/javaCompile.lock
Binary file not shown.
Binary file removed .gradle/4.10.3/javaCompile/taskHistory.bin
Binary file not shown.
Binary file removed .gradle/4.10.3/taskHistory/taskHistory.bin
Binary file not shown.
Binary file removed .gradle/4.10.3/taskHistory/taskHistory.lock
Binary file not shown.
Binary file removed .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 0 additions & 2 deletions .gradle/buildOutputCleanup/cache.properties

This file was deleted.

Binary file removed .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Empty file removed .gradle/vcs-1/gc.properties
Empty file.
19 changes: 0 additions & 19 deletions .idea/$PRODUCT_WORKSPACE_FILE$

This file was deleted.

2 changes: 0 additions & 2 deletions .idea/.gitignore

This file was deleted.

18 changes: 0 additions & 18 deletions .idea/gradle.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/misc.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## TURNTABL CLIENT MANAGEMENT SYSTEM
This is a simple java command line application built at turntabl by desk1 during the TLC 2019.
The build tool used is gradle.

### Installing and running the application
1. Ensure that `gradlew` is installed your your local machine.
2. Clone the project.
3. At the project root, run the executable file `run`.
This should run the *tests* and *build* the project if it has not been built already and finally, run the application.

### Some key algorithms
- Levenshtein algorithm

### Contributors
- [Christiana Asare](github.com/christianaasare)
- [Francis Billa](github.com/FrancisBilla)
- [Bill Ali](github.com/bill-n)
- [Dennis Effa Amponsah](github.com/effaamponsah)


### Contributing
This project is not yet opened for contributions.
20 changes: 20 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java'
id 'application'
}

group 'turntabl'
Expand All @@ -13,4 +14,23 @@ repositories {

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.h2database', name: 'h2', version: '1.3.148'
}

application {
mainClassName = 'io.turntabl.tcms.ClientManagementSystem'
}

task create(type: Copy) {
from './clients.csv'
into 'build/scripts'
}
tasks.startScripts {
doLast {
def scriptFile = file "${outputDir}/${applicationName}"
scriptFile.text = scriptFile.text.replace('CLASSPATH=$APP_HOME/lib', 'CLASSPATH=$APP_HOME/libs')
}
}
application {
mainClassName = 'io.turntabl.tcms.ClientManagementSystem'
}
Binary file removed build/classes/java/main/io/turntabl/Numbers.class
Binary file not shown.
Binary file removed build/classes/java/main/io/turntabl/tcms/Numbers.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
121 changes: 0 additions & 121 deletions build/reports/tests/test/classes/io.turntabl.tcms.NumbersTest.html

This file was deleted.

Loading