| Total Complexity | 0 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # !/usr/bin/env python |
||
| 2 | # -*- coding: UTF-8 -*- |
||
| 3 | |||
| 4 | # Isomer - The distributed application framework |
||
| 5 | # ============================================== |
||
| 6 | # Copyright (C) 2011-2020 Heiko 'riot' Weinen <[email protected]> and others. |
||
| 7 | # |
||
| 8 | # This program is free software: you can redistribute it and/or modify |
||
| 9 | # it under the terms of the GNU Affero General Public License as published by |
||
| 10 | # the Free Software Foundation, either version 3 of the License, or |
||
| 11 | # (at your option) any later version. |
||
| 12 | # |
||
| 13 | # This program is distributed in the hope that it will be useful, |
||
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
| 16 | # GNU Affero General Public License for more details. |
||
| 17 | # |
||
| 18 | # You should have received a copy of the GNU Affero General Public License |
||
| 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
||
| 20 | |||
| 21 | """ |
||
| 22 | |||
| 23 | Module: Store |
||
| 24 | ============= |
||
| 25 | |||
| 26 | Software inventory functionality |
||
| 27 | |||
| 28 | """ |
||
| 29 | from isomer.events.system import authorized_event |
||
| 30 | |||
| 31 | DEFAULT_STORE_URL = "https://store.isomer.eu/" |
||
| 32 | |||
| 33 | |||
| 34 | class get_store_inventory(authorized_event): |
||
| 35 | roles = ["admin"] |
||
| 36 | |||
| 37 | pass |
||
| 38 | |||
| 39 | |||
| 40 | class install(authorized_event): |
||
| 41 | roles = ["admin"] |
||
| 42 | |||
| 43 | pass |
||
| 44 | |||
| 45 | |||
| 46 | class update(authorized_event): |
||
| 47 | roles = ["admin"] |
||
| 48 | |||
| 49 | pass |
||
| 50 | |||
| 51 | |||
| 52 | class remove(authorized_event): |
||
| 53 | roles = ["admin"] |
||
| 54 | |||
| 55 | pass |
||
| 56 | |||
| 57 | |||
| 58 | class update_all(authorized_event): |
||
| 59 | roles = ["admin"] |
||
| 60 | |||
| 61 | pass |
||
| 62 |