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

aiidateam / aiida_core / 5173
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 15 Feb 2019 08:34AM UTC
Jobs 4
Files 393
Run time 6min
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

pending completion
5173

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

1698 of 1698 new or added lines in 100 files covered. (100.0%)

24240 of 34590 relevant lines covered (70.08%)

2.53 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5173.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 15 Feb 2019 08:34AM UTC 0
64.21
Travis Job 5173.5
6 5173.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 15 Feb 2019 08:37AM UTC 0
64.15
Travis Job 5173.6
7 5173.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 15 Feb 2019 08:38AM UTC 0
62.48
Travis Job 5173.7
8 5173.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 15 Feb 2019 08:40AM UTC 0
62.42
Travis Job 5173.8
Source Files on build 5173
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5173
  • Pull Request #2481
  • PR Base - provenance_redesign (#5145)
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