-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Electrostat-Lab/scaling-plan
Scaling-plan: A scaling plan applied to scale the API for professional use-cases
- Loading branch information
Showing
43 changed files
with
1,602 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
@startuml | ||
'https://plantuml.com/component-diagram | ||
|
||
'Structural composition | ||
package platform { | ||
package util { | ||
component NativeVariant #22AADD { | ||
component [Os] { | ||
} | ||
component [Cpu] { | ||
} | ||
} | ||
component PropertiesProvider { | ||
} | ||
component PlatformPredicate { | ||
} | ||
} | ||
component NativeDynamicLibrary <<platform-dependent>> { | ||
} | ||
note top of [NativeDynamicLibrary]: // PlatformDirectory | ||
note top of [NativeDynamicLibrary]: // Predicate | ||
note top of [NativeDynamicLibrary]: // LibraryInfo | ||
} | ||
|
||
node List<NativeDynamicLibrary> <<Object>> { | ||
} | ||
|
||
package snaploader { | ||
component LoadingCriterion <<Object>> { | ||
} | ||
interface LoadingListeners { | ||
} | ||
component LibraryInfo <<platform-independent>> { | ||
} | ||
|
||
object NativeBinaryLoader { | ||
// Platform Detection | ||
// NativeVariant Object Instantiation | ||
// LibraryLocator | ||
// LibraryExtractor | ||
} | ||
} | ||
|
||
package filesystem { | ||
component FileExtractor { | ||
} | ||
|
||
component FileLocator { | ||
} | ||
|
||
object LibraryExtractor { | ||
// from StockJar | ||
// from ExternalJar | ||
} | ||
|
||
object LibraryLocator { | ||
// StockJar | ||
// ExternalJar | ||
} | ||
|
||
component ZipCompressionType { | ||
} | ||
|
||
interface StreamProvider { | ||
} | ||
|
||
interface ExtractionListener { | ||
} | ||
|
||
component InputStreamProvider { | ||
} | ||
|
||
component OutputStreamProvider { | ||
} | ||
} | ||
|
||
'Relations | ||
NativeDynamicLibrary ..-> NativeVariant : Depends-on | ||
NativeDynamicLibrary ..-> PropertiesProvider : Depends-on | ||
NativeDynamicLibrary ..-> PlatformPredicate : Depends-on | ||
NativeDynamicLibrary ...> LibraryInfo : Depends-on | ||
|
||
|
||
StreamProvider <-. InputStreamProvider : Realized-from | ||
StreamProvider <-. OutputStreamProvider : Realized-from | ||
|
||
FileExtractor <-. LibraryExtractor : Realized-from | ||
FileExtractor -(0- ExtractionListener : Assembled-by | ||
FileLocator <-. LibraryLocator : Realized-from | ||
ZipCompressionType <-. FileLocator : Depends-on | ||
LibraryLocator <.. LibraryExtractor : Depends-on | ||
|
||
NativeBinaryLoader --(0-- LibraryExtractor : Assembled-by | ||
NativeBinaryLoader --(0-- LoadingListeners : Assembled-by | ||
NativeBinaryLoader --(0-- "List<NativeDynamicLibrary>" : Assembled-by | ||
NativeBinaryLoader --(0-- LibraryInfo : Indirect-assembly | ||
NativeBinaryLoader --(0-- LoadingCriterion : Assembled-by | ||
|
||
'Notes | ||
note top of "List<NativeDynamicLibrary>": // List of libraries to check against their predicates | ||
note top of "LibraryInfo": // Provides the Jar path for the locator, and the library extraction path | ||
|
||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.