1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

F #5422: Add view yaml for marketplace apps (#1585)

This commit is contained in:
Sergio Betanzos 2021-11-18 13:22:55 +01:00 committed by GitHub
parent 4e163d3950
commit bbe53c41ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 72 additions and 2 deletions

View File

@ -2865,6 +2865,7 @@ FIREEDGE_SUNSTONE_ETC="src/fireedge/etc/sunstone/sunstone-server.conf \
FIREEDGE_SUNSTONE_ETC_VIEW_ADMIN="src/fireedge/etc/sunstone/admin/cluster-tab.yaml \
src/fireedge/etc/sunstone/admin/host-tab.yaml \
src/fireedge/etc/sunstone/admin/marketplace-app-tab.yaml \
src/fireedge/etc/sunstone/admin/vm-tab.yaml \
src/fireedge/etc/sunstone/admin/vm-template-tab.yaml"

View File

@ -0,0 +1,69 @@
# -------------------------------------------------------------------------- #
# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems #
# #
# 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. #
#--------------------------------------------------------------------------- #
---
# This file describes the information and actions available in the App tab
# Resource
resource_name: "MARKETPLACE-APP"
# Actions - Which buttons are visible to operate over the resources
actions:
refresh: true
create_dialog: true
import_dialog: true
download: true
rename: true
chown: true
chgrp: true
chmod: true
enable: true
disable: true
delete: true
# Filters - List of criteria to filter the resources
filters:
label: true
state: true
type: true
marketplace: true
# Info Tabs - Which info tabs are used to show extended information
info-tabs:
info:
enabled: true
information_panel:
enabled: true
actions:
rename: true
permissions_panel:
enabled: true
actions:
chmod: true
ownership_panel:
enabled: true
actions:
chown: true
chgrp: true
template:
enabled: true

View File

@ -115,8 +115,8 @@ export const PATH = {
DETAIL: '/marketplace/:id'
},
MARKETPLACE_APPS: {
LIST: '/marketplaces-app',
DETAIL: '/marketplaces-app/:id'
LIST: '/marketplace-app',
DETAIL: '/marketplace-app/:id'
}
},
NETWORK: {