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

feat: Add http metrics to all search endpoints by migrating to tapir DEV-2936 #2958

Merged
merged 12 commits into from
Dec 6, 2023

Merge branch 'main' into feat/add-more-codecs

d768db4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: Add http metrics to all search endpoints by migrating to tapir DEV-2936 #2958

Merge branch 'main' into feat/add-more-codecs
d768db4
Select commit
Loading
Failed to load commit list.
GitHub Actions / WebApi Unit Test Results succeeded Dec 6, 2023 in 1s

WebApi Unit Test Results ✅

Tests passed successfully

Report Passed Failed Skipped Time
./webapi/target/test-reports/TEST-dsp.valueobjects.GroupSpec.xml 11✅ 7s
./webapi/target/test-reports/TEST-dsp.valueobjects.IriSpec.xml 22✅ 22s
./webapi/target/test-reports/TEST-dsp.valueobjects.LangStringSpec.xml 12✅ 26s
./webapi/target/test-reports/TEST-dsp.valueobjects.LanguageCodeSpec.xml 8✅ 582ms
./webapi/target/test-reports/TEST-dsp.valueobjects.ListSpec.xml 15✅ 2s
./webapi/target/test-reports/TEST-dsp.valueobjects.RestrictedViewSizeSpec.xml 5✅ 581ms
./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaCommandsSpec.xml 1✅ 42ms
./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaSpec.xml 52✅ 7s
./webapi/target/test-reports/TEST-dsp.valueobjects.UserSpec.xml 28✅ 20s
./webapi/target/test-reports/TEST-dsp.valueobjects.UuidUtilSpec.xml 2✅ 69ms
./webapi/target/test-reports/TEST-org.knora.webapi.config.AppConfigSpec.xml 1✅ 99ms
./webapi/target/test-reports/TEST-org.knora.webapi.core.MessageRelaySpec.xml 2✅ 484ms
./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.rdf.JsonLDObjectSpec.xml 63✅ 47s
./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec.xml 1✅ 45ms
./webapi/target/test-reports/TEST-org.knora.webapi.responders.admin.ProjectsServiceLiveSpec.xml 18✅ 25s
./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✅ 2s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.RestPermissionServiceSpec.xml 8✅ 554ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.KnoraProjectSpec.xml 23✅ 25s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec.xml 1✅ 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✅ 739ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.InMemoryCrudRepositorySpec.xml 6✅ 206ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec.xml 6✅ 213ms
./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✅ 71s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.model.CardinalitySpec.xml 24✅ 24s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec.xml 3✅ 7s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec.xml 2✅ 81ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec.xml 10✅ 998ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec.xml 7✅ 217ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec.xml 6✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec.xml 13✅ 15s
./webapi/target/test-reports/TEST-org.knora.webapi.util.ApacheLuceneSupportZSpec.xml 13✅ 3s
./webapi/target/test-reports/TEST-org.knora.webapi.util.Base64UrlCheckDigitZSpec.xml 6✅ 2s
./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✅ 450ms
./webapi/target/test-reports/TEST-org.knora.webapi.ValuesValidatorSpec.xml 43✅ 12s

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

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

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

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

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

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

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

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

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

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

8 tests were completed in 582ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
dsp.valueobjects.LanguageCodeSpec 8✅ 582ms

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

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

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

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

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

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

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

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

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

✅ ./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 20s with 28 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ ./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 2s with 5 passed, 0 failed and 0 skipped.

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

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

8 tests were completed in 554ms with 8 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.service.DspIngestClientLiveSpec 1✅ 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 739ms with 2 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

✅ ./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 71s with 20 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ ./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 450ms with 6 passed, 0 failed and 0 skipped.

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

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

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

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