Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FIT-Connect Tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
FIT-Connect Tools
Commits
c1f88dd7
Commit
c1f88dd7
authored
11 months ago
by
Martin Vogel
Browse files
Options
Downloads
Patches
Plain Diff
refactor: add status command to readme (
planning#1796
)
parent
9b78353f
No related branches found
No related tags found
1 merge request
!77
#1796 CLI Erweiterungen
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/cli/README.md
+20
-0
20 additions, 0 deletions
java/cli/README.md
with
20 additions
and
0 deletions
java/cli/README.md
+
20
−
0
View file @
c1f88dd7
...
@@ -69,6 +69,26 @@ destinationId, serviceName, leikaKey, data, dataType, attachments
...
@@ -69,6 +69,26 @@ destinationId, serviceName, leikaKey, data, dataType, attachments
````
````
> Windows paths: escape windows paths with `\\`, e.g. `C:\\path\\to\\file\\file.txt` !
> Windows paths: escape windows paths with `\\`, e.g. `C:\\path\\to\\file\\file.txt` !
#### GET Submission Status Submission
The status command retrieves the current status of a submission by `submissionId`, `destinationId` and `caseId`.
````
sh
java -jar fit-connect-cli.jar status --submissionId=308a6e4c-db16-4229-bc77-d3d6d756c8e2 --destinationId=1b7d1a24-a6c8-4050-bb71-ae3749ec432f --caseId=86308f93-64c4-4b1d-a346-d1bbc53edced
````
```text
12:42:58.872 [main] INFO d.f.fitconnect.cli.CommandExecutor Submission status for submission 308a6e4c-db16-4229-bc77-d3d6d756c8e2:
{
"state" : "REJECTED",
"issuedAt" : 1711624887000,
"problems" : [ {
"type":"https://schema.fitko.de/fit-connect/events/problems/schema-violation",
"title":"Schema violation",
"detail":"Submission metadata does not comply to schema.",
"instance":"metadata"
} ]
}
```
#### Generate JWK Test Keys
#### Generate JWK Test Keys
The CLI can generate public and private keys for testing purposes for both encryption and signing.
The CLI can generate public and private keys for testing purposes for both encryption and signing.
If no ``outDir`` ist specified, the cli will create a temporary folder that is logged in the console output.
If no ``outDir`` ist specified, the cli will create a temporary folder that is logged in the console output.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment