Add tag assignment during manifest parsing
After this fix all tags, specified in manifest will be avaliable in UI Change-Id: Ibac191e73800fc47153ec87b35ef48bfd5e453bd
This commit is contained in:
parent
ad6b8ece18
commit
5d018e2d1d
@ -28,7 +28,8 @@ PKG_PARAMS_MAP = {'display_name': 'name',
|
||||
'package_type': 'type',
|
||||
'description': 'description',
|
||||
'author': 'author',
|
||||
'classes': 'class_definitions'}
|
||||
'classes': 'class_definitions',
|
||||
'tags': 'tags'}
|
||||
|
||||
|
||||
def get_draft(environment_id=None, session_id=None):
|
||||
|
@ -36,6 +36,7 @@ def load(package, yaml_content):
|
||||
package._classes = yaml_content.get('Classes')
|
||||
package._ui = yaml_content.get('UI', 'ui.yaml')
|
||||
package._logo = yaml_content.get('Logo')
|
||||
package._tags = yaml_content.get('Tags')
|
||||
|
||||
|
||||
def _check_full_name(full_name):
|
||||
|
Loading…
Reference in New Issue
Block a user