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(corer-api): remove the legacy API #2439

Merged
merged 6 commits into from
Apr 18, 2019
Merged

Conversation

faustbrian
Copy link
Contributor

@faustbrian faustbrian commented Apr 17, 2019

Proposed changes

Removes the legacy API from ark-node.

Will submit another PR that simplifies a few things, adds backwards compatibility with the api/v2 URIs and enforces a few things now that v1 deprecated.

Types of changes

  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes

@ghost
Copy link

ghost commented Apr 17, 2019

The ci/circleci: test-node11-integration-0 job is failing as of 4d610f852c0830e6424316e0dae897f10e6e1afb. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@faustbrian faustbrian marked this pull request as ready for review April 18, 2019 04:01
@codecov-io
Copy link

codecov-io commented Apr 18, 2019

Codecov Report

Merging #2439 into 2.5 will decrease coverage by 0.94%.
The diff coverage is 76.37%.

Impacted file tree graph

@@            Coverage Diff             @@
##              2.5    #2439      +/-   ##
==========================================
- Coverage   68.16%   67.22%   -0.95%     
==========================================
  Files         387      348      -39     
  Lines        8472     7774     -698     
  Branches      434      357      -77     
==========================================
- Hits         5775     5226     -549     
+ Misses       2648     2513     -135     
+ Partials       49       35      -14
Impacted Files Coverage Δ
...kages/core-api/src/handlers/wallets/transformer.ts 100% <ø> (ø)
...ages/core-api/src/handlers/delegates/controller.ts 72.22% <ø> (ø)
packages/core-api/src/handlers/delegates/schema.ts 100% <ø> (ø)
...ckages/core-api/src/handlers/blocks/transformer.ts 100% <ø> (ø)
...ckages/core-api/src/handlers/wallets/controller.ts 70.37% <ø> (ø)
...ges/core-api/src/handlers/delegates/transformer.ts 83.33% <ø> (ø)
packages/core-api/src/server.ts 64.51% <ø> (-3.14%) ⬇️
...ackages/core-api/src/handlers/rounds/controller.ts 83.33% <ø> (ø)
...ckages/core-api/src/handlers/rounds/transformer.ts 100% <ø> (ø)
...s/core-api/src/handlers/shared/schemas/block-id.ts 100% <ø> (ø)
... and 48 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83ac1e8...d9017f1. Read the comment docs.

@faustbrian faustbrian merged commit d3f6b77 into 2.5 Apr 18, 2019
@ghost ghost deleted the refactor/core-api branch April 18, 2019 04:05
@ghost ghost removed the Status: In Progress label Apr 18, 2019
vasild added a commit that referenced this pull request May 22, 2019
…ve-incdec

* ArkEcosystem/core/2.6:
  feat: initial nonce implementation (#2573)
  Merge develop into 2.5 (#2600)
  refactor(core-json-rpc): use blockId schema for validation (#2596)
  chore(core-database-postgres): add core-state dependency (#2598)
  fix(core-database-postgres): use day instead of date (#2595)
  refactor: use dayjs as it now has official UTC support (#2592)
  refactor(core-json-rpc): improved version of #2593
  release: 2.3.23 (#2594)
  fix(core-json-rpc): allow use of old and new block IDs (#2593)
  fix(core-p2p): do not suspend peer for `AppNotReady` (#2590)
  chore(changelog): add latest changes for 2.4.0 (#2591)
  chore(ci): setup node.js 12 on CircleCI (#2474)
  fix(core-blockchain): divide blocks into smaller chunks for batch processing (#2586)
  refactor(crypto): fallback to ECDSA signature for version 2 transactions (#2584)
  fix(core-p2p): don't cause suspensions for unresponsive plugins (#2583)
  fix(core-p2p): don't cause suspensions for unresponsive plugins
  test(core-api): set p2p port on dummy peer
  feat(core): command to generate network configuration (#2582)
  fix(core-blockchain): delete bad rounds after unclean shutdown (#2581)
  feat(core-p2p): don't trust headers and verify config and plugin connectivity of peers (#2559)
  refactor: use ApplicationEvents enum instead of string (#2580)
  refactor(core-api): enforce "application/json" as content-type
  refactor(core-api): use pagination configuration limit
  test(e2e): remove version assertions
  chore(ci): update CircleCI configuration
  test(core-tester-cli): update API mock URLs
  refactor(core-api): register /api/v2 as a transition period fallback (#2578)
  test(core-api): use address identity
  refactor(corer-api): remove the legacy API (#2439)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants