Skip to content

Commit

Permalink
delete template classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nsolov committed Apr 25, 2020
1 parent 1104bc4 commit cce3ddb
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 333 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Dockerfile*": "dockerfile",
},
"objectscript.conn" :{
"ns": "USER",
"ns": "IRISAPP",
"port":9098,
"active": true,
"docker-compose": {
Expand Down
15 changes: 15 additions & 0 deletions src/Demo/Production.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Class Demo.Production Extends Ens.Production
{

XData ProductionDefinition
{
<Production Name="Demo.Production">
<ActorPoolSize>1</ActorPoolSize>
<Item Name="BO1"
ClassName="Demo.Operation"
PoolSize="1" Enabled="true" Foreground="false" InactivityTimeout="0">
</Item>
</Production>
}

}
16 changes: 8 additions & 8 deletions src/RestProduction/REST.cls
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@ XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]
<Route Url="/summary/:production" Method="GET" Call="Summary"/>

<!--Get List of all productions in current namespace and their statuses ++ -->
<Route Url="/production" Method="GET" Call="ProductionList"/>
<Route Url="/productions" Method="GET" Call="ProductionList"/>

<!--Get Production Settings and production Items -->
<Route Url="/production/:production" Method="GET" Call="GetProductionSettings"/>
<Route Url="/productions/:production" Method="GET" Call="GetProductionSettings"/>

<!--Create new Production-->
<Route Url="/production/:production" Method="POST" Call="AddProduction"/>
<Route Url="/productions/:production" Method="POST" Call="AddProduction"/>

<!--Update Production Settings-->
<Route Url="/production/:production" Method="PUT" Call="UpdateProductionSettings"/>
<Route Url="/productions/:production" Method="PUT" Call="UpdateProductionSettings"/>

<!--Get Item Settings-->
<Route Url="/item/:production/:item" Method="GET" Call="GetItemSettings"/>
<Route Url="/items/:production/:item" Method="GET" Call="GetItemSettings"/>

<!--Add Item to the Production-->
<Route Url="/item/:production/:item" Method="POST" Call="AddItem"/>
<Route Url="/items/:production/:item" Method="POST" Call="AddItem"/>

<!--Update Item Settings-->
<Route Url="/item/:production/:item" Method="PUT" Call="UpdateItemSettings"/>
<Route Url="/items/:production/:item" Method="PUT" Call="UpdateItemSettings"/>

<!--Delete Item -->
<Route Url="/item/:production/:item" Method="DELETE" Call="DeleteItem"/>
<Route Url="/items/:production/:item" Method="DELETE" Call="DeleteItem"/>


<Route Url="/_ping" Method="GET" Call="Ping" />
Expand Down
52 changes: 0 additions & 52 deletions src/Sample/Person.cls

This file was deleted.

150 changes: 0 additions & 150 deletions src/Sample/PersonREST.cls

This file was deleted.

121 changes: 0 additions & 121 deletions src/Sample/REST/Base.cls

This file was deleted.

1 change: 0 additions & 1 deletion swagger.json

This file was deleted.

0 comments on commit cce3ddb

Please sign in to comment.