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 generating OpenApi yamls for the admin api (DEV-1812) #2983

Merged
merged 6 commits into from
Jan 9, 2024

Server swagger ui on http://localhost:3339/docs

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

feat: Add generating OpenApi yamls for the admin api (DEV-1812) #2983

Server swagger ui on http://localhost:3339/docs
06302ff
Select commit
Loading
Failed to load commit list.
GitHub Actions / WebApi Unit Test Results succeeded Jan 9, 2024 in 0s

WebApi Unit Test Results ✅

Tests passed successfully

Report Passed Failed Skipped Time
./webapi/target/test-reports/TEST-dsp.valueobjects.GroupSpec.xml 11✅ 3s
./webapi/target/test-reports/TEST-dsp.valueobjects.IriSpec.xml 17✅ 4s
./webapi/target/test-reports/TEST-dsp.valueobjects.LangStringSpec.xml 12✅ 4s
./webapi/target/test-reports/TEST-dsp.valueobjects.LanguageCodeSpec.xml 8✅ 2s
./webapi/target/test-reports/TEST-dsp.valueobjects.ListSpec.xml 15✅ 1s
./webapi/target/test-reports/TEST-dsp.valueobjects.RestrictedViewSizeSpec.xml 5✅ 607ms
./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaCommandsSpec.xml 1✅ 20ms
./webapi/target/test-reports/TEST-dsp.valueobjects.SchemaSpec.xml 52✅ 7s
./webapi/target/test-reports/TEST-dsp.valueobjects.UserSpec.xml 28✅ 18s
./webapi/target/test-reports/TEST-dsp.valueobjects.UuidUtilSpec.xml 2✅ 110ms
./webapi/target/test-reports/TEST-org.knora.webapi.config.AppConfigSpec.xml 1✅ 88ms
./webapi/target/test-reports/TEST-org.knora.webapi.core.MessageRelaySpec.xml 2✅ 636ms
./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.rdf.JsonLDObjectSpec.xml 63✅ 22s
./webapi/target/test-reports/TEST-org.knora.webapi.messages.util.search.gravsearch.transformers.ConstructTransformerSpec.xml 1✅ 48ms
./webapi/target/test-reports/TEST-org.knora.webapi.messages.v2.responder.valuemessages.ValueContentV2Spec.xml 4✅ 286ms
./webapi/target/test-reports/TEST-org.knora.webapi.responders.admin.ProjectsServiceLiveSpec.xml 18✅ 16s
./webapi/target/test-reports/TEST-org.knora.webapi.routing.RouteUtilZSpec.xml 3✅ 812ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.AuthorizationRestServiceSpec.xml 8✅ 871ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.MaintenanceServiceLiveSpec.xml 5✅ 1s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.model.GroupIriSpec.xml 4✅ 2s
./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.service.DspIngestClientLiveSpec.xml 2✅ 2s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ProjectADMServiceSpec.xml 2✅ 532ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.domain.service.ZipUtilitySpec.xml 2✅ 864ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.InMemoryCrudRepositorySpec.xml 6✅ 145ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.common.repo.service.InMemoryCrudRepositorySpec.xml 6✅ 256ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.api.service.RestCardinalityServiceLiveSpec.xml 5✅ 995ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.CardinalityServiceLiveSpec.xml 20✅ 67s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.model.CardinalitySpec.xml 24✅ 12s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.domain.service.PredicateRepositoryLiveSpec.xml 3✅ 6s
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.OntologyCacheFakeSpec.xml 2✅ 233ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.ontology.repo.service.OntologyRepoLiveSpec.xml 10✅ 842ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.IriConverterLiveSpec.xml 7✅ 186ms
./webapi/target/test-reports/TEST-org.knora.webapi.slice.resourceinfo.api.LiveRestResourceInfoServiceSpec.xml 6✅ 348ms
./webapi/target/test-reports/TEST-org.knora.webapi.store.triplestore.api.TriplestoreServiceInMemorySpec.xml 13✅ 20s
./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✅ 4s
./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✅ 623ms
./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 3s with 11 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 tests were completed in 812ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.knora.webapi.routing.RouteUtilZSpec 3✅ 812ms

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

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

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

✅ ./webapi/target/test-reports/TEST-org.knora.webapi.slice.admin.api.service.MaintenanceServiceLiveSpec.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.admin.api.service.MaintenanceServiceLiveSpec 5✅ 1s

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

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

Test suite Passed Failed Skipped Time
org.knora.webapi.slice.admin.domain.model.GroupIriSpec 4✅ 2s

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ ./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