[
https://issues.apache.org/jira/browse/ARIA-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276393#comment-16276393
]
ASF GitHub Bot commented on ARIA-118:
-------------------------------------
GitHub user djay87 opened a pull request:
https://github.com/apache/incubator-ariatosca/pull/212
ARIA-118 plugin.yaml importing
This commit supports using the plugin.yaml present in a plugin wagon
archive in a more simpler way as described below.
imports:
- file: <plugin_name>-<plugin_version>
repository: plugins
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/djay87/incubator-ariatosca master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-ariatosca/pull/212.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #212
----
commit b389d6d36f8e7beba2cf7b1d0e4d71009e2dcba6
Author: evyzzae <[email protected]>
Date: 2017-12-04T07:22:53Z
ARIA-118 plugin.yaml importing
----
> plugin.yaml importing
> ---------------------
>
> Key: ARIA-118
> URL: https://issues.apache.org/jira/browse/ARIA-118
> Project: AriaTosca
> Issue Type: Story
> Reporter: Ran Ziv
> Assignee: D Jayachandran
> Priority: Minor
> Labels: plugins, wishlist
>
> Using a plugin currently requires a user first installs the plugin (using
> PluginManager), then import the relevant plugin.yaml file in the service
> template file. The import will currently likely point to a URL, or be a path
> relative to the service-template yaml file.
> Some ideas for improvement and easing the import;
> - If a plugin contained its plugin.yaml as part of its wagon archive, then
> once installed, users could import the yaml file more easily using a notation
> such as {{plugins/openstack.yaml}} (or perhaps {{openstack.yaml}}, having the
> import mechanism iterate over plugins looking for this resource file or so)
> - The import mechanism could look for imports in the resource-storage as
> well - There could be a directory on the resource-storage designated for
> storing global yaml files for import, thereby simplifying reuse of yaml
> imports across service-templates.
> - Perhaps ARIA should also support importing yaml files by using paths
> relative to the service-template's package root (as opposed to only looking
> for paths relative to the current yaml file)? Note that this could lead to
> ambiguities in some cases.
> Note that the last two don't necessarily have to do with plugins directly,
> but it's more likely to be relevant for plugins as they're used across
> service-templates more often.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)