Skip to content

Commit

Permalink
F #5833: Add info tabs files (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Betanzos authored and rsmontero committed Jul 27, 2022
1 parent ec34905 commit f6489d5
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 0 deletions.
84 changes: 84 additions & 0 deletions src/fireedge/etc/sunstone/admin/service-tab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# -------------------------------------------------------------------------- #
# Copyright 2002-2022, 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 Service tab

# Resource

resource_name: "SERVICE"

# Actions - Which buttons are visible to operate over the resources

actions:
create_dialog: true # reference to deploy_dialog in service-template-tab.yaml
update_dialog: true
recover: true
recover_delete: true
delete: true
chown: true
chgrp: true
share: true
unshare: true
edit_labels: true

# Filters - List of criteria to filter the resources

filters:
label: true
state: true
owner: true
group: 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

roles:
enabled: true

log:
enabled: true

scheduler_actions:
enabled: true
actions:
sched_action_create: true
sched_action_update: true
sched_action_delete: true
charter_create: true

# Dialogs

dialogs:
# update_dialog:
77 changes: 77 additions & 0 deletions src/fireedge/etc/sunstone/admin/service-template-tab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# -------------------------------------------------------------------------- #
# Copyright 2002-2022, 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 Service Template tab

# Resource

resource_name: "SERVICE-TEMPLATE"

# Actions - Which buttons are visible to operate over the resources

actions:
create_dialog: true
update_dialog: true
deploy_dialog: true
create_app_dialog: true # reference to create_dialog in marketplace-app-tab.yaml
clone: true
delete: true
chown: true
chgrp: true
share: true
unshare: true
edit_labels: true

# Filters - List of criteria to filter the resources

filters:
label: true
owner: true
group: 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

roles:
enabled: true

template:
enabled: true

# Dialogs

dialogs:
# deploy_dialog:
# create_dialog:

0 comments on commit f6489d5

Please sign in to comment.