• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aiidateam / aiida_core
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Repo Added 19 Sep 2018 06:55AM UTC
Files 403
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix_2233_node_to_new_backend
branch: fix_2233_node_to_new_backend
CHANGE BRANCH
x
Reset
  • fix_2233_node_to_new_backend
  • backend_transactions
  • borellim-docs-typo-1
  • borellim-docs-typo-2
  • borellim-fix-show-mpl
  • develop
  • django_jsonb
  • fix_1741_expose_inputs_deepcopy
  • fix_201_method_names_for_data
  • fix_2082_process_command_waits
  • fix_2342_update_export_import_to_prov_redesign
  • fix_2981_verdi_export_inspect
  • fix_3013_docs_venv_qinstall
  • fix_3014
  • fix_3014_changes_marco
  • fix_3015_code_setup
  • fix_3037_update_kiwipy
  • fix_465_upgrade_sqlalchemy
  • fix_migration_py3_integrity_violation
  • fix_missing_testing_deps
  • fix_test_cif_structure_roundtrip
  • fix_test_inline_export
  • fix_working_with_aiida
  • giovannipizzi-fix-templatereplacer
  • issue_2237_rebased2
  • issue_3062_process_report
  • master
  • merge_master_into_develop
  • new_engine
  • new_engine_jenkins
  • newest_plum
  • orm_design_refactor
  • orm_group_refactor
  • orm_log_refactor
  • provenance_redesign
  • query-contains-filter-doc
  • release_v0.12.3
  • release_v0.12.4
  • release_v1.0.0a3
  • release_v1.0.0a4
  • release_v1.0.0b1
  • release_v1.0.0b3
  • serialize
  • sphuber-fix_1787_sqla_model_wrapper_setter
  • support/0.12.x
  • v0.12.3
  • v1.0.0a3
  • v1.0.0a4
  • v1.0.0b1
  • v1.0.0b2
  • v1.0.0b3
  • v1.0.0b4
  • zhubonan-patch-1

pending completion
5192

Pull #2481

travis-ci

web-flow
Finalizing work of moving `Node` to new backend interface

A new abstract interface has been defined for `BackendNode` in the
module `aiida.orm.implementation.nodes`. This has subsequently been
implemented for the two current database backends Django and SqlAlchemy.
The role of the `BackendNode` class is to provide a single interface,
independent on the database backend implementation, to store and
retrieve data from `Node` instances in the database. The front end
`Node` class will then only ever interact with the backend entity that
it encapsulates and shall never directly interact with the database
model that is encapsulated within the `BackendNode` class.

This commit deprecates quite a few methods from the old node class,
notably all methods of the variant `*_db_*` that retrieved or set data
directly from the database. These are now part of the `BackendNode`
interface, but since all its methods will operate directly on the
database, the `db` infix has been dropped.

All business logic that does not operate directly on database data, such
as the caching of links and attributes of unstored nodes, is implemented
in the front end ORM class `aiida.orm.node.Node`. Also the biggest part
of the business logic is implemented here, to keep the backend layer
thin and lean.
Pull Request #2481: Migrate `Node` to the new backend interface

1730 of 1730 new or added lines in 103 files covered. (100.0%)

24232 of 34594 relevant lines covered (70.05%)

2.53 hits per line

Relevant lines Covered
Build:
Build:
34594 RELEVANT LINES 24232 COVERED LINES
2.53 HITS PER LINE
Source Files on fix_2233_node_to_new_backend
  • List 0
  • Changed 117
  • Source Changed 106
  • Coverage Changed 63
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5192 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... Pull #2481 15 Feb 2019 03:41PM UTC web-flow travis-ci pending completion  
5191 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... push 15 Feb 2019 03:24PM UTC sphuber travis-ci pending completion  
5188 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... push 15 Feb 2019 02:49PM UTC sphuber travis-ci pending completion  
5185 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... push 15 Feb 2019 02:07PM UTC sphuber travis-ci pending completion  
5173 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... Pull #2481 15 Feb 2019 08:34AM UTC web-flow travis-ci pending completion  
5172 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... push 15 Feb 2019 08:14AM UTC sphuber travis-ci pending completion  
5164 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... Pull #2481 14 Feb 2019 05:27PM UTC web-flow travis-ci pending completion  
5163 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... push 14 Feb 2019 05:11PM UTC sphuber travis-ci pending completion  
5162 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... Pull #2481 14 Feb 2019 04:54PM UTC web-flow travis-ci pending completion  
5161 fix_2233_node_to_new_backend Finalizing work of moving `Node` to new backend interface A new abstract interface has been defined for `BackendNode` in the module `aiida.orm.implementation.nodes`. This has subsequently been implemented for the two current database backends Dja... push 14 Feb 2019 04:32PM UTC sphuber travis-ci pending completion  
See All Builds (2232)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc