Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FIT-Connect-SDK - Java
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-SDK - Java
Commits
30be8e9a
Commit
30be8e9a
authored
2 years ago
by
Martin Vogel
Browse files
Options
Downloads
Patches
Plain Diff
#414 Add interface/class structure
parent
ab0d8aba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!2
#414 Remaining changes from MR
,
!1
planning#414 Methoden Signaturen (Zwischenstand)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+79
-1
79 additions, 1 deletion
README.md
with
79 additions
and
1 deletion
README.md
+
79
−
1
View file @
30be8e9a
## FIT-Co Java SDK
### Project Setup Info
-
Java 17 (LTS)
-
Maven
-
Junit 5
### Build
To build the maven artifact, run:
`mvn clean install`
####
To run all tests, run:
`mvn test`
### Modules
The SDk is set up as a maven multi module to separate the (internal) API properly from implementation details
#### API Module
The api module consists of all domain model classes and (api-) public interfaces needed to build an sdk-client
The api module consists of all domain model classes and (api-) public interfaces needed to build an sdk-client
### API Architecture
## Structure
```
mermaid
classDiagram
class DecryptionService{
+ encryptString
+ encryptBytes
}
class EncryptionService{
+ encryptString
+ encryptBytes
}
class CertificateValidator{
+ validatePublicKey
}
class MetadataValidator{
+ validateMetadataSchema
+ validateMetadataHashValues
}
class MetadataService{
+ createMetadata
}
class OAuthService{
+ authenticate
}
class SubmissionSender{
OAuthService
EncryptionService
CertificateValidator
MetadataService
}
class SubmissionSubscriber{
OAuthService
DecryptionService
MetadataValidator
}
class FitCoClient{
ClientFactory
}
FitCoClient ..> ClientFactory : Uses
ClientFactory ..> SubmissionSender : Creates
ClientFactory ..> SubmissionSubscriber : Creates
SubmissionSender ..> CertificateValidator : Implements
SubmissionSender ..> EncryptionService : Implements
SubmissionSender ..> MetadataService : Implements
SubmissionSender ..> OAuthService : Implements
SubmissionSubscriber ..> OAuthService : Implements
SubmissionSubscriber ..> DecryptionService : Implements
SubmissionSubscriber ..> MetadataValidator : Implements
```
#### Client Module
API implementations and Tests
### Documentation
https://docs.fitko.de/fit-connect/docs/
### Self Service Portal (DEV)
https://portal.auth-testing.fit-connect.fitko.dev/
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