tmpl/sunstone-appmarket.conf: Création du fichier

tmpl/admin.yaml : Ajout de la configuration pour les vues appmarket
tmpl/user.yaml : Ajout de la configuration pour les vues appmarket
tmpl/sunstone-server.conf: Ajout de la route appmarket
tmpl/sunstone-views.yaml: ajout des vues appmarket

ref #9377 @30m
This commit is contained in:
Philippe Caseiro 2014-11-05 11:23:39 +01:00
parent 264815126f
commit 3e47ba3e25
5 changed files with 106 additions and 0 deletions

View File

@ -25,6 +25,10 @@ enabled_tabs:
oneflow-dashboard: false oneflow-dashboard: false
oneflow-services: false oneflow-services: false
oneflow-templates: false oneflow-templates: false
%end if
%if %%getVar('activer_market_views', 'non') == 'oui'
apptools-appmarket-dashboard: true
apptools-appmarket-appliances: true
%end if %end if
support-tab: true support-tab: true
doc-tab: true doc-tab: true
@ -466,3 +470,34 @@ tabs:
Zone.refresh: true Zone.refresh: true
Zone.create_dialog: true Zone.create_dialog: true
Zone.delete: true Zone.delete: true
%if %%getVar('activer_market_views', 'non') == 'oui'
apptools-appmarket-dashboard:
panel_tabs:
table_columns:
actions:
apptools-appmarket-appliances:
panel_tabs:
appmarketplace_info_tab: true
appmarketplace_jobs_tab: true
appmarketplace_template_tab: true
panel_tabs_actions:
appmarketplace_jobs_tab:
Job.del: true
table_columns:
- 0 # Checkbox
#- 1 # ID
- 2 # Name
- 3 # Status
- 4 # Publisher
- 5 # Hypervisor
- 6 # Arch
- 7 # Format
#- 8 # Tags
- 9 # Created
actions:
AppMarket.refresh: true
AppMarket.import: true
AppMarket.delete: true
AppMarket.convert: true
AppMarket.create_dialog: true
%end if

View File

@ -0,0 +1,29 @@
# -------------------------------------------------------------------------- #
# Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
# a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
#--------------------------------------------------------------------------- #
################################################################################
# AppMarket
################################################################################
# AppMarket username and password
# If no credentials are provided, an anonymous client will be used
#
:appmarket_username: %%appmarket_user
:appmarket_password: %%appmarket_password
# AppMarket endpoint
#
:appmarket_url: %%appmarket_endpoint

View File

@ -155,3 +155,6 @@
%if %%getVar('activer_oneflow', 'non') == 'oui' %if %%getVar('activer_oneflow', 'non') == 'oui'
- oneflow - oneflow
%end if %end if
%if %%getVar('activer_market_views', 'non') == 'oui'
- appmarket
%end if

View File

@ -22,6 +22,10 @@ available_tabs:
- oneflow-dashboard - oneflow-dashboard
- oneflow-services - oneflow-services
- oneflow-templates - oneflow-templates
%end if
%if %%getVar('activer_market_views', 'non') == 'oui'
- apptools-appmarket-dashboard
- apptools-appmarket-appliances
%end if %end if
- provision-tab - provision-tab
- support-tab - support-tab

View File

@ -25,6 +25,10 @@ enabled_tabs:
oneflow-dashboard: false oneflow-dashboard: false
oneflow-services: false oneflow-services: false
oneflow-templates: false oneflow-templates: false
%end if
%if %%getVar('activer_market_views', 'non') == 'oui'
apptools-appmarket-dashboard: true
apptools-appmarket-appliances: true
%end if %end if
support-tab: false support-tab: false
doc-tab: false doc-tab: false
@ -453,3 +457,34 @@ tabs:
ServiceTemplate.chmod: true ServiceTemplate.chmod: true
ServiceTemplate.delete: true ServiceTemplate.delete: true
%end if %end if
%if %%getVar('activer_market_views', 'non') == 'oui'
apptools-appmarket-dashboard:
panel_tabs:
table_columns:
actions:
apptools-appmarket-appliances:
panel_tabs:
appmarketplace_info_tab: true
appmarketplace_jobs_tab: false
appmarketplace_template_tab: true
panel_tabs_actions:
appmarketplace_jobs_tab:
Job.del: false
table_columns:
- 0 # Checkbox
#- 1 # ID
- 2 # Name
#- 3 # Status
- 4 # Publisher
- 5 # Hypervisor
- 6 # Arch
- 7 # Format
#- 8 # Tags
- 9 # Created
actions:
AppMarket.refresh: true
AppMarket.import: true
AppMarket.delete: false
AppMarket.convert: false
AppMarket.create_dialog: false
%end if