Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Streamline User identifiers (DEV-3155) #2979

Update User.scala

d87283f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

refactor: Streamline User identifiers (DEV-3155) #2979

Update User.scala
d87283f
Select commit
Loading
Failed to load commit list.
GitHub Actions / WebApi Unit Test Results succeeded Jan 8, 2024 in 1s

WebApi Unit Test Results ✅

Tests passed successfully

Report Passed Failed Skipped Time
./webapi/target/test-reports/TEST-dsp.valueobjects.GroupSpec.xml 11✅ 6s
./webapi/target/test-reports/TEST-dsp.valueobjects.IriSpec.xml 22✅ 14s
./webapi/target/test-reports/TEST-dsp.valueobjects.LangStringSpec.xml 12✅ 5s
./webapi/target/test-reports/TEST-dsp.valueobjects.LanguageCodeSpec.xml 8✅ 1s
./webapi/target/test-reports/TEST-dsp.valueobjects.ListSpec.xml 15✅ 4s
./webapi/target/test-reports/TEST-dsp.valueobjects.RestrictedViewSizeSpec.xml 5✅ 456ms
./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaCommandsSpec.xml 1✅ 30ms
./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaSpec.xml 52✅ 7s
./webapi/target/test-reports/TEST-dsp.valueobjects.UserSpec.xml 28✅ 22s
./webapi/target/test-reports/TEST-dsp.valueobjects.UuidUtilSpec.xml 2✅ 112ms
./webapi/target/test-reports/TEST-org.knora.webapi.config.AppConfigSpec.xml 1✅ 122ms
./webapi/target/test-reports/TEST-org.knora.webapi.core.MessageRelaySpec.xml 2✅ 146ms
./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.rdf.JsonLDObjectSpec.xml 63✅ 24s
./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec.xml 1✅ 32ms
./webapi/target/test-reports/TEST-org.knora.webapi.messages.v2.responder.valuemessages.ValueContentV2Spec.xml 4✅ 138ms
./webapi/target/test-reports/TEST-org.knora.webapi.responders.admin.ProjectsServiceLiveSpec.xml 18✅ 17s
./webapi/target/test-reports/TEST-org.knora.webapi.routing.RouteUtilZSpec.xml 3✅ 2s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.MaintenanceServiceLiveSpec.xml 5✅ 992ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.RestPermissionServiceSpec.xml 8✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.KnoraProjectSpec.xml 23✅ 16s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.UserSpec.xml 1✅ 17ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec.xml 2✅ 2s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ProjectADMServiceSpec.xml 2✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ZipUtilitySpec.xml 2✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.InMemoryCrudRepositorySpec.xml 6✅ 373ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec.xml 6✅ 347ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.api.service.RestCardinalityServiceLiveSpec.xml 5✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.CardinalityServiceLiveSpec.xml 20✅ 58s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.model.CardinalitySpec.xml 24✅ 19s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec.xml 3✅ 5s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec.xml 2✅ 70ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec.xml 10✅ 906ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec.xml 7✅ 551ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec.xml 6✅ 749ms
./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec.xml 13✅ 14s
./webapi/target/test-reports/TEST-org.knora.webapi.util.ApacheLuceneSupportZSpec.xml 13✅ 4s
./webapi/target/test-reports/TEST-org.knora.webapi.util.Base64UrlCheckDigitZSpec.xml 6✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.util.search.gravsearch.GravsearchParserSpec.xml 22✅ 2s
./webapi/target/test-reports/TEST-org.knora.webapi.util.ZioHelperSpec.xml 6✅ 357ms
./webapi/target/test-reports/TEST-org.knora.webapi.ValuesValidatorSpec.xml 43✅ 5s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.GroupSpec.xml

11 tests were completed in 6s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.GroupSpec 11✅ 6s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.IriSpec.xml

22 tests were completed in 14s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.IriSpec 22✅ 14s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.LangStringSpec.xml

12 tests were completed in 5s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.LangStringSpec 12✅ 5s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.LanguageCodeSpec.xml

8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.LanguageCodeSpec 8✅ 1s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.ListSpec.xml

15 tests were completed in 4s with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.ListSpec 15✅ 4s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.RestrictedViewSizeSpec.xml

5 tests were completed in 456ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.RestrictedViewSizeSpec 5✅ 456ms

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaCommandsSpec.xml

1 tests were completed in 30ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.SchemaCommandsSpec 1✅ 30ms

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaSpec.xml

52 tests were completed in 7s with 52 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.SchemaSpec 52✅ 7s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.UserSpec.xml

28 tests were completed in 22s with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.UserSpec 28✅ 22s

✅ ./webapi/target/test-reports/TEST-dsp.valueobjects.UuidUtilSpec.xml

2 tests were completed in 112ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.UuidUtilSpec 2✅ 112ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.config.AppConfigSpec.xml

1 tests were completed in 122ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.config.AppConfigSpec 1✅ 122ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.core.MessageRelaySpec.xml

2 tests were completed in 146ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.core.MessageRelaySpec 2✅ 146ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.rdf.JsonLDObjectSpec.xml

63 tests were completed in 24s with 63 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.messages.util.rdf.JsonLDObjectSpec 63✅ 24s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec.xml

1 tests were completed in 32ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec 1✅ 32ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.messages.v2.responder.valuemessages.ValueContentV2Spec.xml

4 tests were completed in 138ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.messages.v2.responder.valuemessages.ValueContentV2Spec 4✅ 138ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.responders.admin.ProjectsServiceLiveSpec.xml

18 tests were completed in 17s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.responders.admin.ProjectsServiceLiveSpec 18✅ 17s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.routing.RouteUtilZSpec.xml

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.routing.RouteUtilZSpec 3✅ 2s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.MaintenanceServiceLiveSpec.xml

5 tests were completed in 992ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.api.service.MaintenanceServiceLiveSpec 5✅ 992ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.RestPermissionServiceSpec.xml

8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.api.service.RestPermissionServiceSpec 8✅ 1s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.KnoraProjectSpec.xml

23 tests were completed in 16s with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.model.KnoraProjectSpec 23✅ 16s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.UserSpec.xml

1 tests were completed in 17ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.model.UserSpec 1✅ 17ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec.xml

2 tests were completed in 2s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec 2✅ 2s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ProjectADMServiceSpec.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.service.ProjectADMServiceSpec 2✅ 1s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ZipUtilitySpec.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.service.ZipUtilitySpec 2✅ 1s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.InMemoryCrudRepositorySpec.xml

6 tests were completed in 373ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.common.repo.InMemoryCrudRepositorySpec 6✅ 373ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec.xml

6 tests were completed in 347ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec 6✅ 347ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.api.service.RestCardinalityServiceLiveSpec.xml

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.ontology.api.service.RestCardinalityServiceLiveSpec 5✅ 1s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.CardinalityServiceLiveSpec.xml

20 tests were completed in 58s with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.ontology.domain.CardinalityServiceLiveSpec 20✅ 58s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.model.CardinalitySpec.xml

24 tests were completed in 19s with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.ontology.domain.model.CardinalitySpec 24✅ 19s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec.xml

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec 3✅ 5s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec.xml

2 tests were completed in 70ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec 2✅ 70ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec.xml

10 tests were completed in 906ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec 10✅ 906ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec.xml

7 tests were completed in 551ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec 7✅ 551ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec.xml

6 tests were completed in 749ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec 6✅ 749ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec.xml

13 tests were completed in 14s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec 13✅ 14s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.ApacheLuceneSupportZSpec.xml

13 tests were completed in 4s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.util.ApacheLuceneSupportZSpec 13✅ 4s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.Base64UrlCheckDigitZSpec.xml

6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.util.Base64UrlCheckDigitZSpec 6✅ 1s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.search.gravsearch.GravsearchParserSpec.xml

22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.util.search.gravsearch.GravsearchParserSpec 22✅ 2s

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.util.ZioHelperSpec.xml

6 tests were completed in 357ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.util.ZioHelperSpec 6✅ 357ms

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.ValuesValidatorSpec.xml

43 tests were completed in 5s with 43 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.ValuesValidatorSpec 43✅ 5s