Refactoring pkg Archivista API and include new http client for Archivista #424
37.58% of diff hit (target 82.40%)
View this Pull Request on Codecov
37.58% of diff hit (target 82.40%)
Annotations
Check warning on line 30 in pkg/api/download.go
codecov / codecov/patch
pkg/api/download.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 55 in pkg/api/download.go
codecov / codecov/patch
pkg/api/download.go#L33-L55
Added lines #L33 - L55 were not covered by tests
Check warning on line 57 in pkg/api/download.go
codecov / codecov/patch
pkg/api/download.go#L57
Added line #L57 was not covered by tests
Check warning on line 107 in pkg/api/graphql.go
codecov / codecov/patch
pkg/api/graphql.go#L106-L107
Added lines #L106 - L107 were not covered by tests
Check warning on line 38 in pkg/api/upload.go
codecov / codecov/patch
pkg/api/upload.go#L37-L38
Added lines #L37 - L38 were not covered by tests
Check warning on line 49 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L48-L49
Added lines #L48 - L49 were not covered by tests
Check warning on line 57 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L56-L57
Added lines #L56 - L57 were not covered by tests
Check warning on line 61 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L60-L61
Added lines #L60 - L61 were not covered by tests
Check warning on line 134 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L120-L134
Added lines #L120 - L134 were not covered by tests
Check warning on line 147 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L137-L147
Added lines #L137 - L147 were not covered by tests
Check warning on line 178 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L154-L178
Added lines #L154 - L178 were not covered by tests
Check warning on line 180 in pkg/http-client/client.go
codecov / codecov/patch
pkg/http-client/client.go#L180
Added line #L180 was not covered by tests