Skip to content

Commit 55523da

Browse files
author
Jakcpto
committed
CurrentApp for Debugging print
1 parent 9564f84 commit 55523da

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

MDX2JSON/REST.cls

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ ClassMethod Test() As %Status
123123
set obj.Parent = ##class(MDX2JSON.Tests).#LastCommit
124124
set obj.ParentTS = ##class(MDX2JSON.Tests).#LastCommitTS
125125
set obj.DefaultApp = $System.CSP.GetDefaultApp($Namespace)
126+
set obj.CurrentApp = $get(%request.Application)
126127
set obj.Mappings = ..GetMappings()
127128
if $$$Debug {
128129
set obj.Roles = $Roles
@@ -154,7 +155,6 @@ ClassMethod saveWidget() As %Status
154155
return ##class(MDX2JSON.Utils).AddWidget(widgetData,dashboardData,key)
155156
}
156157

157-
158158
/// Get all data sources including "pivot", "kpi", "worksheets","metrics"
159159
ClassMethod GetListDataSources(Source) As %Status
160160
{
@@ -193,7 +193,6 @@ ClassMethod GetListDataSources(Source) As %Status
193193
quit tSC
194194
}
195195

196-
197196
ClassMethod GetDataSource() As %Status
198197
{
199198
return ##class(MDX2JSON.Utils).GetDataSource($$$R("DataSource"))
@@ -282,7 +281,7 @@ ClassMethod WriteFiltersForDataSource() As %Status
282281
return st
283282
}
284283

285-
///Execute requests from kpi
284+
/// Execute requests from kpi
286285
ClassMethod KPIExecute() As %Status
287286
{
288287
try{

docker-compose.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: '3.8'
2+
services:
3+
iris:
4+
image: intersystemsdc/iris-community:latest
5+
container_name: iris
6+
ports:
7+
- "52773:52773" # Management Portal
8+
- "1972:1972" # SuperServer
9+
volumes:
10+
- ./:/irisdev/app # Примонтировать исходники в контейнер
11+
# environment:
12+
# - ISC_DATA_DIRECTORY=/irisdev/data
13+
command: --check-caps false

0 commit comments

Comments
 (0)