Prepare for OITC Connection

This commit is contained in:
Dave 2022-07-18 10:26:00 +02:00
parent 37707092a4
commit 94e705962f
6 changed files with 85 additions and 3 deletions

View File

@ -23,8 +23,9 @@
"network_config_section",
"ip_adresses",
"external_links_section",
"admin_interface_link",
"monitoring_link",
"admin_interface_link"
"oitc_host_uuid"
],
"fields": [
{
@ -126,7 +127,7 @@
"collapsible": 1,
"fieldname": "external_links_section",
"fieldtype": "Section Break",
"label": "External Links"
"label": "External References"
},
{
"fieldname": "monitoring_link",
@ -137,11 +138,16 @@
"fieldname": "admin_interface_link",
"fieldtype": "Data",
"label": "Admin Interface Link"
},
{
"fieldname": "oitc_host_uuid",
"fieldtype": "Data",
"label": "OITC Host UUID"
}
],
"image_field": "image",
"links": [],
"modified": "2022-06-17 11:43:07.550361",
"modified": "2022-07-18 10:24:39.463386",
"modified_by": "Administrator",
"module": "MSP",
"name": "IT Object",

View File

View File

@ -0,0 +1,8 @@
// Copyright (c) 2022, itsdave GmbH and contributors
// For license information, please see license.txt
frappe.ui.form.on('MSP Settings', {
// refresh: function(frm) {
// }
});

View File

@ -0,0 +1,52 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2022-07-18 10:23:49.010330",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"open_it_cockpit_integration_section",
"oitc_url",
"oitc_api_key"
],
"fields": [
{
"fieldname": "open_it_cockpit_integration_section",
"fieldtype": "Section Break",
"label": "Open IT Cockpit Integration"
},
{
"fieldname": "oitc_url",
"fieldtype": "Data",
"label": "OITC URL"
},
{
"fieldname": "oitc_api_key",
"fieldtype": "Password",
"label": "OITC API Key"
}
],
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2022-07-18 10:23:49.010330",
"modified_by": "Administrator",
"module": "MSP",
"name": "MSP Settings",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"print": 1,
"read": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC"
}

View File

@ -0,0 +1,8 @@
# Copyright (c) 2022, itsdave GmbH and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class MSPSettings(Document):
pass

View File

@ -0,0 +1,8 @@
# Copyright (c) 2022, itsdave GmbH and Contributors
# See license.txt
# import frappe
import unittest
class TestMSPSettings(unittest.TestCase):
pass