Revert "228 is_hidden"

This reverts commit 3c4fdf77fd.
This commit is contained in:
2026-04-20 12:43:47 +03:00
parent 3c4fdf77fd
commit 0b2fdf4749
4 changed files with 37 additions and 59 deletions
@@ -80,7 +80,6 @@
<m:field <!--- formatter=#function(x){return listToArray(generateValueList(x));}# --->>p.func</m:field><!--- *** отчаявшись сделать красиво --->
<m:field>p.ref_svc_id</m:field>
<m:field formatter=#request.castToBool#>p.is_required</m:field>
<m:field formatter=#request.castToBool#>p.is_hidden</m:field>
<m:field>p.default_value</m:field><!--- can be overridden by default_compute --->
<m:field>p.default_compute</m:field>
<m:field>p.regex</m:field>
@@ -171,7 +170,6 @@
,sp.depends_on_cfs_params
,sp.expression
,sp.is_required
,sp.is_hidden
,sp.descr
,sp.man
,sp.default_value
@@ -241,7 +239,6 @@
"descr":"#local.qSubparam.descr#",
"defaultValue":"#def#",
"isRequired":#request.castToBool(local.qSubparam.is_required)#,
"isHidden":#request.castToBool(local.qSubparam.is_hidden)#,
"isSensitive":#request.castToBool(local.qSubparam.is_sensitive)#,
"refSvcId":#local.qSubparam.ref_svc_id#,
"uniqueScope":"#local.qSubparam.unique_scope#",
-52
View File
@@ -1,52 +0,0 @@
drop table if exists vmreports.vm_gpu;
create table vmreports.vm (
"Name" varchar(255) NULL,
"ClientID" varchar(255) NULL, --WZ
"VCD" varchar(255) NULL, --vcloud
"Org" varchar(255) NULL,
"OrgVDC" varchar(255) NULL,
"vCenter" varchar(255) NULL,
"GPU" jsonb NULL,
"OrgStatus" varchar(255) NULL,
"Object_UUID" uuid NOT NULL,
ts timestamptz NOT NULL
,CONSTRAINT PK_vm_gpu PRIMARY KEY (ts, "Object_UUID")
);
grant all on vmreports.vm to nifi;
/*
{
"type": "record",
"name": "vmreports.vm_gpu",
"namespace": "org.apache.nifi",
"fields": [
{"name":"Object_UUID", "type":{"type": "string", "logicalType": "uuid"}},
{"name":"ts","type":{"type": "long", "logicalType": "local-timestamp-millis"}},
{"name":"Name", "type":["string" ,"null"]},
{"name":"ClientID", "type":["string" ,"null"]},
{"name":"VCD", "type":["string" ,"null"]},
{"name":"Org", "type":["string" ,"null"]},
{"name":"OrgVDC", "type":["string" ,"null"]},
{"name":"vCenter", "type":["string" ,"null"]},
{"name":"GPU", "type":["string" ,"null"]},
{"name":"OrgStatus", "type":["string" ,"null"]}
]
}
*/
/*
{
"*": {
"objId":"[&1].Name",
"1":"[&1].ClientID",
"2":"[&1].VCD",
"3":"[&1].Org",
"4":"[&1].OrgVDC",
"5":"[&1].vCenter",
"6":"[&1].GPU",
"7":"[&1].OrgStatus",
"objUUID":"[&1].Object_UUID"
}
}
*/
-1
View File
@@ -39,7 +39,6 @@
<m:field formatter=#(x)=>((isArray(x) OR isEmpty(x))? x : listToArray(x))#>p.value_list</m:field>
<m:field>p.ref_svc_id</m:field>
<m:field formatter=#request.castToBool#>p.is_required</m:field>
<m:field formatter=#request.castToBool#>p.is_hidden</m:field>
<m:field>p.default_value</m:field><!--- can be overridden bu default_compute --->
<m:field>p.default_compute</m:field>
<m:field>p.func</m:field>