| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The performance tests contains for now one scenario:
The default setup (which comes with the project) uses an internal Mock Solid Server. One can simply run the tests locally, and they will run on the internal Mock Solid Server. The tests need some dummy values for:
They can be found in the ./base/src/main/resources/META-INF/microprofile-config.properties file. Navigate to one of the concrete openid or uma tests found in this module and hit run.
To set up a server, one needs to add more configurations to the ./base/src/main/resources/META-INF/microprofile-config.properties file.
Let's take a look at the possible configuration values in the properties file. All the possible value are listed next:
Mandatory fields are:
Optional fields are:
The Mock Solid Server is actually a collection of services which try to mock, as BASIC as possible, tailored to the tested scenarios, a Solid Server:
MockWebIdService - mocks the basics of a WebId provider service which returns a WebId Profile Document. In our tests, the WebId Profile Document is presented as a Turtle file which contains a bare minimum information about the storage location linked to this WebID and the location of the Solid-OIDC issuer.
MockOpenIDProvider - mocks the Identity Provider (IdP) service which is linked in the WebId Profile Document (solid:oidcissuer). The basic features of the mocked IdP are:
MockSolidServer - mocks the behavior of a basic GET and PUT of resources.
MockUMAAuthorizationServer - mocks the authorization service, in our case a UMA service.
MockAccessGrantServer - mocks the access grant service, which is a VC service here. A couple of hardcoded assumptions are embedded in the Mock to make it work. Especially regarding the status of grants: active or revoked.
| Back | FazBrowse Home | New Git URL |