diff --git a/v1/resources/instance_operation.cfc b/v1/resources/instance_operation.cfc
index e95021d..d17b425 100644
--- a/v1/resources/instance_operation.cfc
+++ b/v1/resources/instance_operation.cfc
@@ -112,6 +112,7 @@
sop.data_type
sop.value_list
sop.ref_svc_id
+ sop.func
sop.is_required
sop.default_value
sop.regex
@@ -134,7 +135,19 @@
order by sop.sort, sop.svc_operation_cfs_param_id
-
+
+
+
+
+
+
+
+
+
@@ -172,13 +185,53 @@
-
+
+
+
+
+
+
+
+
+
+
+ select distinct r.resource_realm
+ from resource_realm r
+ join resource_realm_access a on
+ (r.resource_realm_id=a.resource_realm_id
+ AND (a.contract_id=
+ OR a.contract_id=0) /*0 means access to any contract*/
+ AND a.is_enabled)
+ join svc s on r.resource_realm_type_id=s.resource_realm_type_id
+ where s.svc_id=
+ order by 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/v1/resources/instance_operation_default.cfc b/v1/resources/instance_operation_default.cfc
index 9520165..4485a64 100644
--- a/v1/resources/instance_operation_default.cfc
+++ b/v1/resources/instance_operation_default.cfc
@@ -8,7 +8,9 @@
-
+
+
+
@@ -40,6 +42,7 @@
p.label
p.data_type
p.value_list
+ >p.func
p.ref_svc_id
p.is_required
p.default_value
@@ -73,8 +76,24 @@
-
- select
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -107,13 +126,17 @@
-
+
+
+
+
+
@@ -140,5 +163,67 @@
+
+
+
+ select distinct r.resource_realm
+ from resource_realm r
+ join resource_realm_access a on
+ (r.resource_realm_id=a.resource_realm_id
+ AND (a.contract_id=
+ OR a.contract_id=0) /*0 means access to any contract*/
+ AND a.is_enabled)
+ join svc s on r.resource_realm_type_id=s.resource_realm_type_id
+ where s.svc_id=
+ order by 1
+
+
+ --->
+
+
+
+
+
+
+
+
+ select distinct r.resource_realm
+ from resource_realm r
+ join resource_realm_access a on
+ (r.resource_realm_id=a.resource_realm_id
+ AND (a.contract_id=
+ OR a.contract_id=0) /*0 means access to any contract*/
+ AND a.is_enabled)
+ join svc s on r.resource_realm_type_id=s.resource_realm_type_id
+ where s.svc_id=
+ order by 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file