Skip to content

Commit 4b2ac8a

Browse files
committed
random updates
1 parent e3fef59 commit 4b2ac8a

11 files changed

+63
-38
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
connection.config
2+
services/cls/
3+
.DS_Store
4+
15
# Logs
26
logs
37
*.log
@@ -102,3 +106,4 @@ dist
102106

103107
# TernJS port file
104108
.tern-port
109+
setup/connection.config

.vscode/launch.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "objectscript",
9+
"request": "launch",
10+
"program": "##class(ICO.Handler).GetProducts()",
11+
"name": "Debug Handler GetProducts"
12+
}
13+
]
14+
}

.vscode/settings.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
{
22
"objectscript.conn": {
33
"active": true,
4-
"label": "LOCALBOOKMARKS",
5-
"host": "127.0.0.1",
6-
"port": 5273,
7-
"username": "_SYSTEM",
84
"ns": "USER",
9-
"https": false,
5+
"server": "dockeriris"
106
},
117
"objectscript.export.folder": "services/cls",
128
"objectscript.export.filter": "ICO.%",
13-
"objectscript.conn.active": true,
149
"workbench.colorCustomizations": {
15-
"activityBar.activeBackground": "#1e593f",
16-
"activityBar.activeBorder": "#221030",
17-
"activityBar.background": "#1e593f",
18-
"activityBar.foreground": "#e7e7e7",
19-
"activityBar.inactiveForeground": "#e7e7e799",
20-
"activityBarBadge.background": "#221030",
10+
"activityBar.activeBackground": "#d0b18b",
11+
"activityBar.activeBorder": "#378864",
12+
"activityBar.background": "#d0b18b",
13+
"activityBar.foreground": "#15202b",
14+
"activityBar.inactiveForeground": "#15202b99",
15+
"activityBarBadge.background": "#378864",
2116
"activityBarBadge.foreground": "#e7e7e7",
22-
"statusBar.background": "#113324",
23-
"statusBar.border": "#113324",
24-
"statusBar.foreground": "#e7e7e7",
25-
"statusBarItem.hoverBackground": "#1e593f",
26-
"titleBar.activeBackground": "#113324",
27-
"titleBar.activeForeground": "#e7e7e7",
28-
"titleBar.border": "#113324",
29-
"titleBar.inactiveBackground": "#11332499",
30-
"titleBar.inactiveForeground": "#e7e7e799"
17+
"statusBar.background": "#c19967",
18+
"statusBar.foreground": "#15202b",
19+
"statusBarItem.hoverBackground": "#ae8047",
20+
"titleBar.activeBackground": "#c19967",
21+
"titleBar.activeForeground": "#15202b",
22+
"titleBar.inactiveBackground": "#c1996799",
23+
"titleBar.inactiveForeground": "#15202b99"
3124
},
32-
"peacock.color": "#113324",
25+
"peacock.color": "#C19967",
3326
"sqltools.connections": [
3427
{
28+
"namespace": "USER",
29+
"connectionMethod": "Server and Port",
30+
"showSystem": false,
3531
"previewLimit": 50,
36-
"driver": "SQLite",
37-
"name": "sqlitesandbox",
38-
"database": "sqlitesandbox.sqlite"
32+
"server": "localhost",
33+
"port": 52773,
34+
"askForPassword": false,
35+
"driver": "InterSystems IRIS",
36+
"name": "IRIS docker",
37+
"username": "_SYSTEM",
38+
"password": "genjisan"
3939
}
4040
],
4141
"sqltools.useNodeRuntime": true,

frontend/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Project setup
44
```
55
yarn install
6+
yarn global add @vue/cli
7+
npm install
8+
69
```
710

811
### Compiles and hot-reloads for development

frontend/package-lock.json

+11-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/screens/coffeecohome.png

1000 KB
Loading

frontend/screens/coffeecosale.png

338 KB
Loading

frontend/screens/storefront-home.png

1020 KB
Loading
343 KB
Loading

services/samples/loadproducts.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22

3-
SERVER="http://localhost:5273"
3+
IRISDB="http://localhost:52773"
44

55
for jsonfile in *.json ;
66
do
7-
curl -d "@$jsonfile" -H "Content-Type: application/json" -X POST $SERVER"/api/coffeeco/catalog/catalogproduct"
7+
curl -d "@$jsonfile" -H "Content-Type: application/json" -X POST $IRISDB"/api/coffeeco/catalog/catalogproduct"
88
done;

setup/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ Example file:
4040
## REST interface for working with the data
4141

4242
Get a list of inventory items
43-
GET http://localhost:5273/api/coffeeco/inventory/items
43+
GET http://localhost:52773/api/coffeeco/inventory/items
4444

4545
Add JSON capabilities to the tables (persistent classes)
4646
extend JSON.Adaptor
4747
add %JSONFIELDNAMEs to the properties
4848

4949
Get a single item by ID
50-
GET http://localhost:5273/api/coffeeco/inventory/item/1
50+
GET http://localhost:52773/api/coffeeco/inventory/item/1
5151

5252
then when we write the POST REST API to get a single item, it's soooo easy. Just use %OpenId
53-
POST http://localhost:5273/api/coffeeco/inventory/pick/1/2.4
53+
POST http://localhost:52773/api/coffeeco/inventory/pick/1/2.4
5454

0 commit comments

Comments
 (0)