incubator-ariatosca.git
5 years agoARIA-296 Process termination test fails on windows 172/head
max-orlov [Thu, 29 Jun 2017 07:55:54 +0000 (10:55 +0300)] 
ARIA-296 Process termination test fails on windows

5 years agoARIA-297 Make use of Apache RAT for compliance 171/head 0.1.0
Ran Ziv [Sun, 2 Jul 2017 11:25:11 +0000 (14:25 +0300)] 
ARIA-297 Make use of Apache RAT for compliance

Made use of Apache RAT for validating compliance; Created
a .rat-excludes file and added missing licenses where needed.

Additionally, added the DISCLAIMER file to MANIFEST.in.

Also, fixed a small issue in the "clean" target in Makefile.

5 years agoARIA-286 Sphinx documentation for code and CLI
Tal Liron [Fri, 23 Jun 2017 02:13:28 +0000 (21:13 -0500)] 
ARIA-286 Sphinx documentation for code and CLI

5 years agoARIA-295 Makefile fixes 169/head
Ran Ziv [Thu, 29 Jun 2017 10:42:01 +0000 (13:42 +0300)] 
ARIA-295 Makefile fixes

 - Fixed the "clean" target which would sometimes raise errors. Also,
it will no longer delete the *.egg-info directory, which is needed
for editable mode installations.

 - Removed the "deploy" target which was broken, and should probably
not be a part of the Makefile at this stage.

5 years agoARIA-289 Don't attempt resuming a workflow which finished successfully 167/head
max-orlov [Wed, 28 Jun 2017 09:27:38 +0000 (12:27 +0300)] 
ARIA-289 Don't attempt resuming a workflow which finished successfully

5 years agoARIA-294 Workflow tasks execution is not in order 166/head
max-orlov [Tue, 27 Jun 2017 17:32:08 +0000 (20:32 +0300)] 
ARIA-294 Workflow tasks execution is not in order

5 years agoARIA-285 Cancel execution may leave running processes 163/head
max-orlov [Sun, 25 Jun 2017 09:19:02 +0000 (12:19 +0300)] 
ARIA-285 Cancel execution may leave running processes

5 years agoARIA-291 Add ASCII art in ARIA CLI version command 165/head
Ran Ziv [Sun, 25 Jun 2017 14:04:43 +0000 (17:04 +0300)] 
ARIA-291 Add ASCII art in ARIA CLI version command

5 years agoARIA-280 Change package name 162/head
Ran Ziv [Thu, 22 Jun 2017 12:39:28 +0000 (15:39 +0300)] 
ARIA-280 Change package name

Changed package name from 'aria' to 'apache-ariatosca',
in accordance with Apache's standards.
The CLI '--version' command will now also show the correct
package name.

Additionally, fixed the download_url field in setup.py -
it now includes an '-incubating' suffix.

5 years agoARIA-290 Update Makefile for binary dist creation 164/head
Ran Ziv [Sun, 25 Jun 2017 13:49:42 +0000 (16:49 +0300)] 
ARIA-290 Update Makefile for binary dist creation

Updated the Makefile to push required files for release
(LICENSE, NOTICE, DISCLAIMER) into the binary distribution
archive (wheel) automatically.

5 years agoARIA-284 Cleanup and optimize the task execution 159/head
max-orlov [Wed, 21 Jun 2017 09:41:33 +0000 (12:41 +0300)] 
ARIA-284 Cleanup and optimize the task execution

5 years agoARIA-236 Resumable workflow executions 158/head
max-orlov [Mon, 19 Jun 2017 14:44:45 +0000 (17:44 +0300)] 
ARIA-236 Resumable workflow executions

5 years agoARIA-283 Update readme installation instructions 161/head
Ran Ziv [Wed, 21 Jun 2017 15:05:05 +0000 (18:05 +0300)] 
ARIA-283 Update readme installation instructions

5 years agoARIA-282 Make SSH capability opt-in 160/head
Ran Ziv [Wed, 21 Jun 2017 12:39:34 +0000 (15:39 +0300)] 
ARIA-282 Make SSH capability opt-in

Since the Fabric library uses Paramiko, which is a library
using a license which is incompatible with Apache's,
ARIA's SSH capabilities are now opt-in and no longer part
of the default installation.

Instead, users who would like to use SSH operations
should install ARIA's extra "[ssh]", which would install
Fabric and allow to take advantage of the execution-plugin's
SSH capabilities.

Users who won't install this extra will still be able to use
ARIA as well as the execution plugin, only without SSH.

Additional changes:

 - A new tox environment has been created for running
   SSH tests. The remaining envs only install plain ARIA.

 - requirements.in commented lines were removed -
   the bug that used to exist regarding environment markers
   has been fixed, and there's no longer the need
   to copy these manually to requirements.txt.

 - Environment-marked dependencies are now installed
   via "install_requires" rather than "extra_requires".

 - Added requirements.in to the manifest file,
   as well as fixed a bug in setup.py, which caused
   source distribution to make aria get installed
   without any dependencies before this fix.

5 years agoARIA-278 remove core tasks 156/head
max-orlov [Sun, 11 Jun 2017 16:05:35 +0000 (19:05 +0300)] 
ARIA-278 remove core tasks

5 years agoARIA-281 Update click library version 157/head
Ran Ziv [Tue, 20 Jun 2017 12:47:09 +0000 (15:47 +0300)] 
ARIA-281 Update click library version

Updated click library version to a newer version.
This will also make it compatible in the same environment with the
pip-tools library which uses click too and requires the newer version.

Additional changes:
 - Removed PyYAML dependency from requirements.txt (leftover)
 - Disabled default goal of Makefile

5 years agoARIA-54 Prepare for ARIA packaging 155/head
Ran Ziv [Mon, 5 Jun 2017 10:24:49 +0000 (13:24 +0300)] 
ARIA-54 Prepare for ARIA packaging

Preparations for ARIA packaging:
 - Added CHANGELOG file
 - Added CONTRIBUTING file
 - Added DISCLAIMER file
 - Updated Makefile
 - Converted README from md to rst for PyPI compatiability
 - Removed outdated TODO file
 - Added long_description, download_url to setup.py metadata
 - Modified setup.py url metadata to point at ASF domain
 - Added more badges to README

5 years agoARIA-276 Support model instrumentation for workflows 151/head
max-orlov [Thu, 8 Jun 2017 06:52:31 +0000 (09:52 +0300)] 
ARIA-276 Support model instrumentation for workflows

5 years agoARIA-275 Update NFV profile to csd04 147/head
Avia Efrat [Sun, 4 Jun 2017 19:11:10 +0000 (22:11 +0300)] 
ARIA-275 Update NFV profile to csd04

This update was done according to:
http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd04/tosca-nfv-v1.0-csd04.html

We resolved some inconsistencies of csd04 with the TOSCA spec, and within csd04 itself. Wherever we resolved such inconsistencies, we added a detailed
comment describing our reasoning.

5 years agoARIA-166 Update README file 152/head
Ran Ziv [Thu, 8 Jun 2017 15:26:29 +0000 (18:26 +0300)] 
ARIA-166 Update README file

5 years agoARIA-199 Add "services outputs" CLI command 146/head
Tal Liron [Fri, 2 Jun 2017 19:20:28 +0000 (14:20 -0500)] 
ARIA-199 Add "services outputs" CLI command

* Also add an output to hello world example

5 years agoARIA-213 sporadic tests failures over locked database issue 148/head
max-orlov [Tue, 6 Jun 2017 14:05:21 +0000 (17:05 +0300)] 
ARIA-213 sporadic tests failures over locked database issue

Increased the timeout for acquiring database lock (for sqlite based db).

5 years agoARIA-262 Inconsistent node attributes behavior 141/head
max-orlov [Wed, 31 May 2017 18:07:49 +0000 (21:07 +0300)] 
ARIA-262 Inconsistent node attributes behavior

Inroduced a more comprehensive way to instrument relationship attributes.

Old behavior instrumented attributes only if they were accessed directly from the
parent model. Traversing the storage made the access to an attribute inconsistent.

The new solution enables encapsulating the attributes disregarding the way they
were retrieved.

5 years agoARIA-64 Remove PyYAML dependency 144/head
Tal Liron [Fri, 2 Jun 2017 17:39:00 +0000 (12:39 -0500)] 
ARIA-64 Remove PyYAML dependency

5 years agoARIA-180 Separate Parameter models and change relationships 142/head
Avia Efrat [Sun, 21 May 2017 13:28:30 +0000 (16:28 +0300)] 
ARIA-180 Separate Parameter models and change relationships

First, the Parameter model was separated in 6 individual models:
Input, Output, Property, Attribute, Configuration, Argument.

The first four models are TOSCA-related, and we needed to separate them
as according to the TOSCA spec, all four of these represent different
things, and have different fields.

The other two models (Configuration, Argument) are
orchestration-related, as and such are not supposed to represent the
same object as the TOSCA-related objects.

Second, up until now, the relationships of the then-Parameter models
were many-to-many to any other object related to them. This was a problem,
as logically the relationships were one-to-many (from the other models
to the Parameter models).
In this commit, we changed them to one-to-many. In addition, separating
the Parameter models allowed us to more accurately represent the relationship of each individual Parameter-model with its related models.

5 years agoARIA-149 Enhance operation configuration
Tal Liron [Thu, 20 Apr 2017 22:54:47 +0000 (17:54 -0500)] 
ARIA-149 Enhance operation configuration

* Also fixes ARIA-121, ARIA-190
* Parse special "dependencies" configuration parameters as YAML and
  treat as Parameter models, allowing them full use of intrinsic
  functions, type coersions, and validations
* Rename various functions that process "properties" to more generically
  process "parameters" (properties, inputs, attributes, arguments, etc.)
* The "configuration" field in OperationTemplate and Operation models
  is now now a dict of Parameter models
* Add "function" and "arguments" fields to Operation model to preserve
  user data (in "implementation" and "inputs") and to clearly demarcate
  orchestration data from user data; update task API accordingly
* Some cleanup of parser code touched by this commit
* Rename "create_parameters" to "merge_parameter_values" and improve

5 years agoARIA-268 Add NOTICE file 140/head
Ran Ziv [Mon, 29 May 2017 14:11:04 +0000 (17:11 +0300)] 
ARIA-268 Add NOTICE file

5 years agoARIA-261 Single-source ARIA version 139/head
Ran Ziv [Thu, 25 May 2017 09:18:58 +0000 (12:18 +0300)] 
ARIA-261 Single-source ARIA version

5 years agoARIA-258 Convert runtime_properties to attributes 133/head
max-orlov [Sun, 14 May 2017 19:38:39 +0000 (22:38 +0300)] 
ARIA-258 Convert runtime_properties to attributes

5 years agoNullPool logging messages appear during execution 137/head
max-orlov [Mon, 22 May 2017 15:28:12 +0000 (18:28 +0300)] 
NullPool logging messages appear during execution

5 years agoARIA-162 Upgrade Colorama library version 136/head
Ran Ziv [Mon, 22 May 2017 13:44:00 +0000 (16:44 +0300)] 
ARIA-162 Upgrade Colorama library version

Upgraded the Colorama library version - This should
take care of the closed-stream error that appeared
sporadically after test runs.

5 years agoARIA-208 Fix models relationships 135/head
Ran Ziv [Sun, 7 May 2017 11:58:46 +0000 (14:58 +0300)] 
ARIA-208 Fix models relationships

5 years agoARIA-259 Updated README install section for ArchLinux
Alexandru Zbarcea [Thu, 18 May 2017 20:23:13 +0000 (23:23 +0300)] 
ARIA-259 Updated README install section for ArchLinux

5 years agoARIA-171 service_template.services type inconsistency 132/head
Avia Efrat [Mon, 15 May 2017 11:26:34 +0000 (14:26 +0300)] 
ARIA-171 service_template.services type inconsistency

As opposed to service_template.node_templates and service.nodes
which have a dict interface, service_template.services
had a list interface. That seemed inconsistent, so the former
interface was changed to a dict interface as well.

5 years agoARIA-148 Enhance CLI show commands 107/head
Tal Liron [Thu, 20 Apr 2017 22:54:47 +0000 (17:54 -0500)] 
ARIA-148 Enhance CLI show commands

* Allow "--full" flag to provide a complete dump
* Allow "--json" and "--yaml" flags for dump in those formats
* Support for node graph and type hierarchies
* Some fixes for YAML dump for our custom types
* Also closes ARIA-186: "aria services show" command

5 years agoARIA-139 Support attributes 118/head
Tal Liron [Thu, 20 Apr 2017 01:07:33 +0000 (20:07 -0500)] 
ARIA-139 Support attributes

* Fully implement attribute support in parser
* New intrinsic function evaluation mechanism
* Implemented more intrinsic functions, including get_attribute
* Fix to one-on-one relationship back population
* Fixes to TOSCA use case examples
* Indirectly related: re-enabled node_filter mechanism and reworked
filter constraints in order to make them serializable
* utils/type is much more robust now and consolidates all conversions
and names
* Moved dsl_specification to new utils/specification (because utils/type
uses it)

5 years agoARIA-213 Sporadic tests failures over locked database issue 129/head
max-orlov [Tue, 9 May 2017 14:24:31 +0000 (17:24 +0300)] 
ARIA-213 Sporadic tests failures over locked database issue

Move from 2 different sessions - one for the log, and the other for general model operations,
to one single session, while utilizing the keep tracking of changes mechanism for both logs and node/task states.

5 years agoARIA-157 Failing CLI service-templates store tests on Windows 131/head
Avia Efrat [Wed, 10 May 2017 14:39:49 +0000 (17:39 +0300)] 
ARIA-157 Failing CLI service-templates store tests on Windows

Three tests from `aria service-templates store` failed on Windows, but
not on Linux.

The reason for this failures was differing implementation of
os.path.dirname across the platforms.

Python implements os.path.dirname in the ntpath module. There, somewhere
down the line of calls, (a part of) the argument of dirname is tested
for membership in a string (using `in`). In these three tests, the
argument of dirname is of type MagicMock, and an error is raised since
only a string can be tested for membership in a string.

The solution was to mock the dirname calls.

5 years agoARIA-62 Apply pylint on extensions 130/head
Ran Ziv [Wed, 10 May 2017 09:08:01 +0000 (12:08 +0300)] 
ARIA-62 Apply pylint on extensions

5 years agoARIA-140 Version utils 100/head
Tal Liron [Fri, 14 Apr 2017 18:39:02 +0000 (13:39 -0500)] 
ARIA-140 Version utils

Provided mainly to support version comparisons for plugins in order to
select the highest version of available plugins that would match a
plugin specification. In the future may be useful for other version
comparisons.

5 years agoARIA-210 Handle relative paths in CLI service-templates 128/head
Avia Efrat [Mon, 8 May 2017 14:45:23 +0000 (17:45 +0300)] 
ARIA-210 Handle relative paths in CLI service-templates

This was a rather simple change, mainly involving adding absolute path
references.

The problems were only in `service-templates store` and in
`service-templates create-archive`.
`service-templates validate` was not affected.

5 years agoARIA-160 Tests fail spordically over parameter binding 126/head
max-orlov [Mon, 8 May 2017 11:46:58 +0000 (14:46 +0300)] 
ARIA-160 Tests fail spordically over parameter binding

5 years agoARIA-165 Make node name suffix UUIDs become more readable 125/head
max-orlov [Mon, 8 May 2017 12:25:37 +0000 (15:25 +0300)] 
ARIA-165 Make node name suffix UUIDs become more readable

5 years agoARIA-230 Dry execution doesn't log empty operations 127/head
max-orlov [Mon, 8 May 2017 14:29:29 +0000 (17:29 +0300)] 
ARIA-230 Dry execution doesn't log empty operations

5 years agoARIA-214 Dry execution changes the state of non implemented operations 123/head
max-orlov [Sun, 7 May 2017 13:12:56 +0000 (16:12 +0300)] 
ARIA-214 Dry execution changes the state of non implemented operations

5 years agoARIA-215 Refactor plugin-related code into PluginManager 124/head
Ran Ziv [Sun, 7 May 2017 13:36:39 +0000 (16:36 +0300)] 
ARIA-215 Refactor plugin-related code into PluginManager

Refactored plugin-related code from ProcessExecutor into PluginManager.
Additionally, renamed plugin_prefix to plugin_dir in PluginManager.

5 years agoARIA-160 Operation toolbelt unit tests fail spordically 119/head
max-orlov [Wed, 3 May 2017 09:42:27 +0000 (12:42 +0300)] 
ARIA-160 Operation toolbelt unit tests fail spordically

Inroduced a filesystem based data holder

5 years agoARIA-156 Better handle exceptions in the process executor 122/head
Avia Efrat [Sun, 7 May 2017 08:42:58 +0000 (11:42 +0300)] 
ARIA-156 Better handle exceptions in the process executor

Previously, if an exception was raised during the starting of a task,
the task's process was permanently blocked on receiving a message.

The reason was that the exception caused the 'listener thread' to
not send a response to the task's process, as the exception was not
handled inside the 'with' block of the listener thread.

The first change I introduced was to wrap the yielding of the message and
the response inside a try-except-finally block, so the exception will be
handled within the 'with' scope, and to ensure a response is sent to the
task's process.

The second change is to move the sending of the 'task started' message in
the task's process to a place where encountering an exception will be
handled via sending a 'task failed' message back to the listener thread.

5 years agoARIA-209 Fix create-archive CLI command help 120/head
Ran Ziv [Thu, 4 May 2017 14:07:50 +0000 (17:07 +0300)] 
ARIA-209 Fix create-archive CLI command help

5 years agoARIA-163 Update node state for empty tasks 117/head
max-orlov [Sun, 30 Apr 2017 13:05:27 +0000 (16:05 +0300)] 
ARIA-163 Update node state for empty tasks

Additional changes:
 * removed `for_node` and `for_relationship` from the api OperationTask.
 * api based OperationTask could also have an empty implementation.
 * each core task wields its own executor.
 * Reordered some of the helper functions for creating tasks.
 * intoduced 2 new executors: StubTaskExecutor (for stub tasks) and EmptyOperationExecutor (for empty tasks)

5 years agoARIA-161 Disable end2end tests on Windows 116/head
Ran Ziv [Sun, 30 Apr 2017 12:40:57 +0000 (15:40 +0300)] 
ARIA-161 Disable end2end tests on Windows

5 years agoARIA-155 Clean models from unused fields 114/head
Ran Ziv [Sun, 30 Apr 2017 12:15:37 +0000 (15:15 +0300)] 
ARIA-155 Clean models from unused fields

5 years agoARIA-158 Restore support for relationship ordering 113/head
max-orlov [Thu, 27 Apr 2017 14:09:14 +0000 (17:09 +0300)] 
ARIA-158 Restore support for relationship ordering

5 years agoARIA-146 Support colorful execution logging 109/head
max-orlov [Thu, 20 Apr 2017 15:51:46 +0000 (18:51 +0300)] 
ARIA-146 Support colorful execution logging

5 years agoARIA-154 Create end-to-end test for the Nodecellar example 112/head
Ran Ziv [Thu, 27 Apr 2017 12:11:15 +0000 (15:11 +0300)] 
ARIA-154 Create end-to-end test for the Nodecellar example

5 years agoARIA-153 Write end-to-end tests for ARIA 111/head
Ran Ziv [Wed, 26 Apr 2017 17:21:19 +0000 (20:21 +0300)] 
ARIA-153 Write end-to-end tests for ARIA

Created infrastructure for end-to-end tests,
plus a test for the hello-world example.

5 years agoImprove execution cancelling 110/head
Avia Efrat [Thu, 20 Apr 2017 10:23:32 +0000 (13:23 +0300)] 
Improve execution cancelling

Unhandled execution status transitions resulting from cancelling an
execution via the CLI, that we indentified and tried to address:

1. TERMINATED -> CANCELLING
You cancel the execution, but by the time we try to set the status to
CANCELLING, the execution thread had already finished, and therefore,
in SUCCEEDED status.

2. FAILED -> CANCELLING
You cancel the execution, but by the time we try to set the status to
CANCELLING, the execution thread had already encountered an error,
and therefore, in FAILED state.

3. TERMINATED -> CANCELLED
Similar to #1, but with CANCELLED instead of CANCELLING.

4. FAILED -> CANCELLED
Similar to #1, but with CANCELLED instead of CANCELLING.

In all of the above cases (#1-#4), we skip updating the execution
status, and log that the execution already succeeded/failed before we
were able to cancel it.

5. CANCELLING -> STARTED
You cancel the execution while it is still in pending state. Meanwhile,
while the execution status was already set to CANCELLING, we try to set
the execution status

6. CANCELLED -> STARTED
Similar to #5, but after the status is set to CANCELLING, it also gets
set to CANCELLED before attempting to set it to STARTED.

In cases #5-#6, we skip updtating the execution status, and nothing
is logged.

5 years agoARIA-150 Fixed simple hello-world example 108/head
Ran Ziv [Sun, 23 Apr 2017 12:39:57 +0000 (15:39 +0300)] 
ARIA-150 Fixed simple hello-world example

The simple hello-world example had a missing host node,
which caused an error at service creation phase.
The example now uses custom types which do not require
the extra host node.

5 years agoARIA-138-Make-logging-more-informative 104/head
max-orlov [Wed, 19 Apr 2017 14:14:15 +0000 (17:14 +0300)] 
ARIA-138-Make-logging-more-informative

5 years agoARIA-145 deploying CLI config file at installation 106/head
Ran Ziv [Thu, 20 Apr 2017 12:00:30 +0000 (15:00 +0300)] 
ARIA-145 deploying CLI config file at installation

5 years agoARIA-142-defaults-missing-for-execution-plugin 105/head
max-orlov [Wed, 19 Apr 2017 18:31:08 +0000 (21:31 +0300)] 
ARIA-142-defaults-missing-for-execution-plugin

5 years agoARIA-48 Revamped ARIA CLI 103/head 97/head
Ran Ziv [Tue, 28 Mar 2017 09:17:46 +0000 (12:17 +0300)] 
ARIA-48 Revamped ARIA CLI

This is a large commit which revolves mostly around creating the
new CLI, but is also tying ARIA's various components together
for real for the first time - allowing a complete run of the
"hello-world" example and more.

This commit introduces a few other important modules:
 - aria/core.py - used for managing service-templates and services.
 - aria/orchestator/workflow_runner.py - used for managing
   a workflow execution on a service.
 - aria/orchestrator/dry.py - a "dry executor", used for
   dry-executing workflows and printing the tasks that would run.

Other fixes that were required for the successful usage of
ARIA end-to-end have also been introduced in this commit, but
there have been too many to list; Review the commit for more info.

5 years agoARIA-92 Automatic operation task configuration 95/head
Tal Liron [Fri, 24 Mar 2017 21:33:11 +0000 (16:33 -0500)] 
ARIA-92 Automatic operation task configuration

5 years agoARIA-127 Make use of in-memory sqlite more robust 98/head
Tal Liron [Tue, 11 Apr 2017 23:19:38 +0000 (18:19 -0500)] 
ARIA-127 Make use of in-memory sqlite more robust

5 years agoARIA-128 Make test_engine more robust 99/head
Tal Liron [Tue, 11 Apr 2017 20:26:43 +0000 (15:26 -0500)] 
ARIA-128 Make test_engine more robust

5 years agoARIA-134 Parser populates service workflows 91/head
Tal Liron [Fri, 31 Mar 2017 19:34:41 +0000 (14:34 -0500)] 
ARIA-134 Parser populates service workflows

5 years agoARIA-137-Support-for-predicate-based-queries-in-the-SQL-mapi 96/head
max-orlov [Tue, 4 Apr 2017 17:41:59 +0000 (20:41 +0300)] 
ARIA-137-Support-for-predicate-based-queries-in-the-SQL-mapi

5 years agoARIA-132-fixed-support-for-cascading-deletion 94/head
max-orlov [Tue, 4 Apr 2017 09:22:12 +0000 (12:22 +0300)] 
ARIA-132-fixed-support-for-cascading-deletion

5 years agoARIA-136-ctx-binary-doesnt-get-installed-via-pip-install 93/head
max-orlov [Sun, 2 Apr 2017 16:24:20 +0000 (19:24 +0300)] 
ARIA-136-ctx-binary-doesnt-get-installed-via-pip-install

5 years agoARIA-125-Filtering-returns-the-wrong-models 92/head
max-orlov [Sun, 2 Apr 2017 11:53:46 +0000 (14:53 +0300)] 
ARIA-125-Filtering-returns-the-wrong-models

5 years agoARIA-86-Create-a-basic-Hello-World-blueprint-example 90/head
max-orlov [Thu, 30 Mar 2017 14:29:17 +0000 (17:29 +0300)] 
ARIA-86-Create-a-basic-Hello-World-blueprint-example

5 years agoARIA-135-Add-plugin-field-to-MockTask 88/head
max-orlov [Thu, 30 Mar 2017 10:56:36 +0000 (13:56 +0300)] 
ARIA-135-Add-plugin-field-to-MockTask

5 years agoARIA-133 Add status-related properties to the Execution, Task and Node models 86/head
Avia Efrat [Tue, 28 Mar 2017 09:51:42 +0000 (12:51 +0300)] 
ARIA-133 Add status-related properties to the Execution, Task and Node models

We are adding these properties so it will be easier to filter those models
from storage according to their status, and to not make use of the their
`status` constants outside of the models themselves.

It should be noted, since we currently have the concept of `StubTasks`
(that are not part of the model), we had to implement the same logic for
them, although they don't direct access to the state constants of the
task model. We did this since they are treated as 'regular' model tasks
in some parts of the code.

5 years agoARIA-132-Models-cascading-deletion-raises-constraint-errors 84/head
max-orlov [Sun, 26 Mar 2017 11:13:47 +0000 (14:13 +0300)] 
ARIA-132-Models-cascading-deletion-raises-constraint-errors

Additional fixes:
- The relationships are now defined on both sides. we no longer use backref, but back_populates.

5 years agoARIA-120-Builtin-workflows-relationship-operations-execution-order 77/head
max-orlov [Mon, 13 Mar 2017 14:35:10 +0000 (16:35 +0200)] 
ARIA-120-Builtin-workflows-relationship-operations-execution-order

5 years agoARIA-126 Add node states 83/head
Avia Efrat [Wed, 22 Mar 2017 15:19:58 +0000 (17:19 +0200)] 
ARIA-126 Add node states

1. The states are described in section 3.3.1 of the TOSCA spec.

2. The state is changed if a standard lifecycle operation runs of the
node, as described in sections 5.7.4.1, 5.7.4.4.1, and 5.7.4.4.2 of the TOSCA spec.

3. We did not address the 'error' state yet.
This state is defined as part of the possible node states in the model, but currently no execution path leads to setting a node's state to 'error'.

4. No validation of state transiontions.
For example, we do not validate if a node goes from 'created'
to 'started' without going through the 'configured' state in between.

5 years agoARIA-83 Support ARIA profile for TOSCA 81/head
Tal Liron [Wed, 22 Mar 2017 20:07:57 +0000 (15:07 -0500)] 
ARIA-83 Support ARIA profile for TOSCA

5 years agoARIA-131-Make-demand-for-networkx-more-strict 82/head
max-orlov [Thu, 23 Mar 2017 10:48:44 +0000 (12:48 +0200)] 
ARIA-131-Make-demand-for-networkx-more-strict

5 years agoARIA-96 Improve our requirements handling 79/head
Avia Efrat [Thu, 9 Mar 2017 10:02:06 +0000 (12:02 +0200)] 
ARIA-96 Improve our requirements handling

1. Currently, don't vendor any library.

2. Use pip-tools (specifically, pip-compile) to manage our dependencies
   requirement files.

3. requirements.in:
   The requirements.in will be read into `install_requires`, and includes
   loose dependencies (as possible, and only direct dependencies), as is
   common when installing using a setup.py file.
   Since we haven't tested ARIA with many versions of our dependencies, our
   dependencies are not very loose, but we are hoping to improve this as
   our project matures.
   Currently, when we provide an upper bound, it is either because of python
   2.6 compatibility, or according to a semantic versioning (i.e. future
   versions that could break the current API). Lower boundaries are
   usually the lowest version that we tested with ARIA, or because version
   before are lacking functionality we are using.

4. requirements.txt:
   The requirements.txt is generated from requirements.in via pip-compile,
   and includes fixed-version dependencies, including all transitive
   dependencies, in order to provide an stable environment that ARIA is
   ensured to work on.

5 years agoARIA-130-Passing-inputs-from-the-workflow-to-the-operation-changes-the-inputs 80/head
max-orlov [Wed, 22 Mar 2017 17:19:53 +0000 (19:19 +0200)] 
ARIA-130-Passing-inputs-from-the-workflow-to-the-operation-changes-the-inputs

5 years agoARIA-105 Integrate parser and orchestrator models 72/head
Tal Liron [Fri, 17 Feb 2017 22:00:40 +0000 (16:00 -0600)] 
ARIA-105 Integrate parser and orchestrator models

5 years agoARIA-117-Log-model-should-have-an-Task-field 75/head
max-orlov [Mon, 6 Mar 2017 14:43:58 +0000 (16:43 +0200)] 
ARIA-117-Log-model-should-have-an-Task-field

5 years agoARIA-115-Log-model-should-have-an-Execution-field 74/head
max-orlov [Sun, 5 Mar 2017 17:18:21 +0000 (19:18 +0200)] 
ARIA-115-Log-model-should-have-an-Execution-field

5 years agoARIA-116-Missing-type_hierarchy-in-relationship 73/head
max-orlov [Sun, 5 Mar 2017 16:31:36 +0000 (18:31 +0200)] 
ARIA-116-Missing-type_hierarchy-in-relationship

5 years agoARIA-106-Create-sqla-logging-handler 69/head
mxmrlv [Mon, 13 Feb 2017 10:28:27 +0000 (12:28 +0200)] 
ARIA-106-Create-sqla-logging-handler

5 years agoARIA-108 Add API for deleting a resource for resource storage 71/head
Ran Ziv [Thu, 16 Feb 2017 14:38:51 +0000 (16:38 +0200)] 
ARIA-108 Add API for deleting a resource for resource storage

5 years agoARIA-79-concurrent-modifications 64/head
Dan Kilman [Mon, 30 Jan 2017 14:49:00 +0000 (16:49 +0200)] 
ARIA-79-concurrent-modifications

5 years agoARIA-88 Add TOSCA use-case examples 70/head
Tal Liron [Wed, 15 Feb 2017 18:48:56 +0000 (12:48 -0600)] 
ARIA-88 Add TOSCA use-case examples

5 years agoARIA-44 Merge parser and storage model
mxmrlv [Thu, 19 Jan 2017 09:39:36 +0000 (11:39 +0200)] 
ARIA-44 Merge parser and storage model

Additional Changes:
  * As a part of this task the name to address the model has been changes to the __tablename__ (or __mapiname__ if specified)
  * All of the relationships return a query, so accessing the entire list should be done via all()

5 years agoARIA-42-Generic-ctx-serialization-mechanism 68/head
mxmrlv [Wed, 1 Feb 2017 14:16:01 +0000 (16:16 +0200)] 
ARIA-42-Generic-ctx-serialization-mechanism

5 years agoARIA-99 Straightforward end-to-end tests for parser and built-in workflow 67/head
Tal Liron [Fri, 3 Feb 2017 19:32:46 +0000 (13:32 -0600)] 
ARIA-99 Straightforward end-to-end tests for parser and built-in workflow

5 years agoARIA-98 Updated two dependencies to support a range of versions 66/head
Ran Ziv [Thu, 2 Feb 2017 12:58:37 +0000 (14:58 +0200)] 
ARIA-98 Updated two dependencies to support a range of versions

5 years agoARIA-95-pip-wheel-for-aria-ignores-dependencies 65/head
mxmrlv [Wed, 1 Feb 2017 17:26:27 +0000 (19:26 +0200)] 
ARIA-95-pip-wheel-for-aria-ignores-dependencies

5 years agoARIA-81-Install-execution-plugin-ctx-entry-point-by-default 63/head
mxmrlv [Mon, 30 Jan 2017 16:24:15 +0000 (18:24 +0200)] 
ARIA-81-Install-execution-plugin-ctx-entry-point-by-default

5 years agoARIA-66-Convert-custom-parser-fields-into-sqla-based-fields 62/head
mxmrlv [Sun, 15 Jan 2017 17:07:29 +0000 (19:07 +0200)] 
ARIA-66-Convert-custom-parser-fields-into-sqla-based-fields

5 years agoARIA-61 Initial version of CLI "workflow" command
Tal Liron [Wed, 25 Jan 2017 14:30:16 +0000 (16:30 +0200)] 
ARIA-61 Initial version of CLI "workflow" command

5 years agoARIA-36 plugin workdir 58/head
Dan Kilman [Wed, 25 Jan 2017 14:22:41 +0000 (16:22 +0200)] 
ARIA-36 plugin workdir

5 years agoARIA-73 Transfer parser's TOSCA model to storage 56/head
Tal Liron [Wed, 25 Jan 2017 13:25:33 +0000 (15:25 +0200)] 
ARIA-73 Transfer parser's TOSCA model to storage

5 years agoARIA-12 New "Runner" class for simple workflow executions 54/head
Tal Liron [Tue, 24 Jan 2017 15:57:50 +0000 (17:57 +0200)] 
ARIA-12 New "Runner" class for simple workflow executions

5 years agoARIA-68 Update runtime properties during operation 55/head
Dan Kilman [Tue, 24 Jan 2017 14:58:10 +0000 (16:58 +0200)] 
ARIA-68 Update runtime properties during operation