Ran
|
Files
9
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Merge pull request #85 from subhankarb/dpmpy-82 [refactor][l]: Refactor dpmpy to work with new OpenSpending compatible DPR API - refs https://github.com/frictionlessdata/dpr-api/issues/249. There are three major changes in this PR: - Modifying the `finalize` API to `publish` API in 0114dd6e7 - fixes #82 - In publish command replace call to `/api/package/%s/%s/finalize` with `/api/package/upload` - Updated relevant test cases where the old API call was used. - Change upload file process to match new approach (upload datapackage.json just to bitstore not to metadata api and receive bitstore upload auth in a different structure). Code is in fa55f0dc2 And fixes #83 - Removed upload API call for `datapackage.json` - Added `/api/datastore/authorize` API call and refactored to use the returned info (as different from what we had before) - Changes all relevant tests. - Change request header key for jwt token from Authorization to Auth-Token - fixes #84. See a832e258f forthe changes.
371 of 399 relevant lines covered (92.98%)
0.93 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|