annotate TODO @ 193:66cd20e970d8 java-code-model

simplification for custom methods
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 18:37:04 +0200
parents 3c98306828de
children 9574f06d8588
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
144
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
1 Bug:
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
2 ===
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
3
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
4 * The plugin does not support calls to 'curl http://localhost:8042/tools/reset -d ""'
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
5 if the script registers the OnChangeCallback. Ex:
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
6
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
7 import orthanc
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
8
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
9 def OnChange(changeType, level, resource):
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
10 print("OnChange")
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
11 orthanc.RegisterOnChangeCallback(OnChange)
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
12
93c6f12bf339 improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents: 62
diff changeset
13
146
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
14 Possible improvements:
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
15 =====================
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
16
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
17 * In ReceivedInstanceFilter: change the orthanc.InstanceOrigin enum for an
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
18 object similar to the origin table in lua for the Python Plugin?
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
19 https://discourse.orthanc-server.org/t/python-plugin-get-origin-information-calledaet-remoteip/4045
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
20
147
Alain Mazy <am@osimis.io>
parents: 146
diff changeset
21 * Allow working with python virtual env (since python 3.11, we must sometimes use --break-system-packages).
146
Alain Mazy <am@osimis.io>
parents: 144
diff changeset
22
29
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 Primitives the Orthanc community is missing
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 ===========================================
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26
62
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 30
diff changeset
27 * Create Python jobs:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 30
diff changeset
28 https://groups.google.com/g/orthanc-users/c/8-OYbc3mnyI/m/Mr9QvLKeAgAJ