Skip to content

Commit a0bdbfc

Browse files
committed
Initial terminal ui implementation
- This commit adds proof of concept work for terminal ui as is. - Some things work, some don't but we need to start from somewhere. Further development continues in a main. - Essentially we are starting to have enough so that it merits to move all this work into a main repo. - Everything new is kept under org.springframework.shell.component.view and will get revisiter later to find correct locations for some classes. - Catalog sample has been modified to provide "showcase" app for terminal ui features. This is a start while it already contains some usefull scenarios. - Relates #800 - Relates #801 - Relates #802 - Relates #803 - Relates #804 - Relates #805 - Relates #806 - Relates #807 - Relates #808 - Relates #809 - Relates #810 - Relates #811
1 parent da04202 commit a0bdbfc

File tree

94 files changed

+9990
-8
lines changed

Some content is hidden

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

94 files changed

+9990
-8
lines changed

.vscode/launch.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@
9494
"mainClass": "org.springframework.shell.samples.SpringShellSample",
9595
"projectName": "spring-shell-sample-e2e",
9696
"args": "e2e reg exit-code --arg1 fun"
97+
},
98+
{
99+
"type": "java",
100+
"name": "catalog",
101+
"request": "launch",
102+
"mainClass": "org.springframework.shell.samples.catalog.SpringShellApplication",
103+
"projectName": "spring-shell-sample-catalog"
97104
}
98105
]
99106
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"checkstyle.header.file": "https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow-build/main/spring-cloud-dataflow-build-tools/src/main/resources/checkstyle-header.txt"
1414
},
1515
"java.checkstyle.version": "8.29",
16-
"java.configuration.maven.notCoveredPluginExecutionSeverity": "ignore"
16+
"java.configuration.maven.notCoveredPluginExecutionSeverity": "ignore",
17+
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
1718
}

spring-shell-core/spring-shell-core.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ dependencies {
1010
api('org.springframework:spring-core')
1111
api('org.springframework.boot:spring-boot-starter-validation')
1212
api('org.springframework:spring-messaging')
13+
api('io.projectreactor:reactor-core')
1314
api('org.jline:jline')
1415
api('org.antlr:ST4')
1516
api('commons-io:commons-io')
1617
compileOnly 'com.google.code.findbugs:jsr305'
1718
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1819
testImplementation 'org.awaitility:awaitility'
1920
testImplementation 'com.google.jimfs:jimfs'
21+
testImplementation 'io.projectreactor:reactor-test'
2022
}

0 commit comments

Comments
 (0)