Skip to content

REST interface setup questions #549

Answered by hg-ms
guykatz asked this question in Q&A
Apr 23, 2023 · 4 comments · 5 replies
Discussion options

You must be logged in to vote

I’ll gladly give you some hints.

  1. The one.microstream.storage.restadapter.types.StorageRestAdapter provides the Java API to access the internal Microstream data from the rest service.
    It requires an already running EmbeddedStorageManager, to create it use the New method:
    one.microstream.storage.restadapter.types.StorageRestAdapter.New(StorageManager)
    It provides the four method needed to implement the four REST calls to satisfy the viewer app:
  • getObject
  • getUserRoot
  • getTypeDictionary (optional, not used by viewer app)
  • getStorageFilesStatistics
  1. As long as you don’t want to implement an own viewer you need to name the Routes accordingly, the viewer expects:
    "dictionary",
    "root",
    "object",

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@guykatz
Comment options

@guykatz
Comment options

@hg-ms
Comment options

hg-ms Apr 28, 2023
Collaborator

@guykatz
Comment options

Answer selected by guykatz
Comment options

You must be logged in to vote
1 reply
@hg-ms
Comment options

hg-ms May 3, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants