Skip to content

Commit ef9c9d1

Browse files
authored
Merge pull request #145 from AI-Planning/val-remote
Making val a remote service that can be called.
2 parents 597fc9c + 1a009e8 commit ef9c9d1

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python 3.8
2020
uses: actions/setup-python@v1
2121
with:
22-
python-version: 3.8
22+
python-version: 3.12
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip

planutils/packages/val/manifest.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,25 @@
33
"description": "Tools for parsing, validating, and analyzing plans and planning models.",
44
"homepage": "https://github.com/KCL-Planning/VAL",
55
"install-size": "3M",
6-
"dependencies": []
6+
"dependencies": [],
7+
"endpoint": {
8+
"services": {
9+
"validate": {
10+
"template": "planner",
11+
"args":[
12+
{
13+
"name": "plan",
14+
"type": "file",
15+
"description": "plan to validate"
16+
}
17+
],
18+
"call":"{package_name} Validate -v {domain} {problem} {plan}",
19+
"return": {
20+
"type": "log",
21+
"files": "val.log"
22+
}
23+
}
24+
25+
}
26+
}
727
}

0 commit comments

Comments
 (0)