Skip to content

Commit

Permalink
[UPD] Change authentication configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
MakarovS96 committed Jul 12, 2017
1 parent 58216fb commit 4a49cf3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
21 changes: 11 additions & 10 deletions cls/kutac/REST/ConfigBroker.cls.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Class name="kutac.REST.ConfigBroker">
<Import>kutac.REST</Import>
<IncludeCode>%ZEN.Utils</IncludeCode>
<Super>%CSP.REST</Super>
<TimeCreated>64469,36696.045094</TimeCreated>
Expand All @@ -26,7 +27,7 @@
<Method name="getClasses">
<ClassMethod>1</ClassMethod>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[ quit ##class(kutac.REST.Utils).getClasses()
<Implementation><![CDATA[ quit ##class(Utils).getClasses()
]]></Implementation>
</Method>

Expand All @@ -35,14 +36,14 @@
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
do ..ConvertRequestBody()
quit ##class(kutac.REST.Utils).toggleClass(%request.Content.classname, %request.Content.check)
quit ##class(Utils).toggleClass(%request.Content.classname, %request.Content.check)
]]></Implementation>
</Method>

<Method name="checkMon">
<ClassMethod>1</ClassMethod>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[ quit ##class(kutac.REST.Utils).checkMon()
<Implementation><![CDATA[ quit ##class(Utils).checkMon()
]]></Implementation>
</Method>

Expand All @@ -51,7 +52,7 @@
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
do ..ConvertRequestBody()
quit ##class(kutac.REST.Utils).toggleMon(%request.Content.toggle)
quit ##class(Utils).toggleMon(%request.Content.toggle)
]]></Implementation>
</Method>

Expand All @@ -67,43 +68,43 @@
do ..ConvertRequestBody()
set obj = %request.Content
quit ##class(kutac.REST.Utils).setEmailSettings(obj)
quit ##class(Utils).setEmailSettings(obj)
]]></Implementation>
</Method>

<Method name="toggleEmail">
<ClassMethod>1</ClassMethod>
<Implementation><![CDATA[
do ..ConvertRequestBody()
quit ##class(kutac.REST.Utils).toggleEmail(%request.Content.toggle)
quit ##class(Utils).toggleEmail(%request.Content.toggle)
]]></Implementation>
</Method>

<Method name="getRecipients">
<ClassMethod>1</ClassMethod>
<Implementation><![CDATA[ quit ##class(kutac.REST.Utils).getRecipients()
<Implementation><![CDATA[ quit ##class(Utils).getRecipients()
]]></Implementation>
</Method>

<Method name="addRecipient">
<ClassMethod>1</ClassMethod>
<Implementation><![CDATA[
do ..ConvertRequestBody()
quit ##class(kutac.REST.Utils).addRecipient(%request.Content.rec)
quit ##class(Utils).addRecipient(%request.Content.rec)
]]></Implementation>
</Method>

<Method name="deleteRecipient">
<ClassMethod>1</ClassMethod>
<Implementation><![CDATA[
do ..ConvertRequestBody()
quit ##class(kutac.REST.Utils).deleteRecipient(%request.Content.rec)
quit ##class(Utils).deleteRecipient(%request.Content.rec)
]]></Implementation>
</Method>

<Method name="testMail">
<ClassMethod>1</ClassMethod>
<Implementation><![CDATA[ quit ##class(kutac.REST.Utils).testMail()
<Implementation><![CDATA[ quit ##class(Utils).testMail()
]]></Implementation>
</Method>

Expand Down
1 change: 1 addition & 0 deletions cls/kutac/monitor/utils/Installer.cls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description>
set Namespace = tInstaller.Evaluate("${Namespace}")
do tInstaller.PushNS("%SYS")
set cspProperties("NameSpace") = Namespace
set cspProperties("AutheEnabled") = $$$AutheCache
set cspProperties("IsNameSpaceDefault") = $$$NO
set cspProperties("DispatchClass") = "kutac.REST.ConfigBroker"
set cspProperties("GroupById") = "sysmon"
Expand Down

0 comments on commit 4a49cf3

Please sign in to comment.