After some digging I found that in the module.py the priority is set to 0 and never updated. This is caused by line 59 where the attr is changed to uppercase which is then never found (because it is lowercase). I found that if I remove the .upper() the priority is correctly set, but I don't think that is a pythonic way of doing it.
I developed a Python plugin using the dedicated server from the PDK and set the priority like this:
Unfortunately when I start kong and issue the
--dump
option to my plugin it replies with a priority of 0:After some digging I found that in the
module.py
the priority is set to 0 and never updated. This is caused by line 59 where the attr is changed to uppercase which is then never found (because it is lowercase). I found that if I remove the.upper()
the priority is correctly set, but I don't think that is a pythonic way of doing it.