Resolve "Port HTTP Adapter to python"
1 unresolved thread
changed milestone to %SoAR-2023W01
added Partner::NOC Status::Sprint Backlog labels
added Status::In Progress label and removed Status::Sprint Backlog label
requested review from @danjon
- Last updated by James Kirk
7 class Adapter(): 8 def __init__(self, protocol, config): 9 self.protocol = protocol 10 self.config = config 11 self.credentials = None 12 13 14 def validate(self, message): 15 return self.protocol.validate(message) 16 17 18 def tokenValid(self): 19 valid = False 20 if self.credentials: 21 now = datetime.datetime.now().isoformat() 22 if self.credentials["expiry"] > now: changed this line in version 3 of the diff
- Resolved by Dan Jones
- Resolved by Dan Jones
- Resolved by Dan Jones
- Resolved by Dan Jones
- Resolved by Dan Jones
- Resolved by Dan Jones
- Resolved by Dan Jones
added 20 commits
- 67eb95f8 - feat: add setup.py to make pip installable
- 7d4e13c7 - fix: change package config
- 5ef4b721 - refactor package structure
- e3b9a986 - refactor: name package in setup.py
- 16f492df - fix: add missing comma in setup.py
- 9f77c9af - refactor: try including package data
- a8cae580 - feat: wip - add example implementation
- d48b0c39 - refactor: move adapter implementation
- fc53ec65 - refactor: alter publish and broadcast api handling
- e9b8fbe3 - refactor: use f strings to make api urls
- 3ac2d305 - fix: pass params as json argument to publish
- 80df284b - feat: successfully sending and receiving messages
- bd9aa49b - fix: fix broken test
- 2b48c759 - feat: add single entrypoint runner
- ff0dae90 - feat: add a basic flask app
- d603ed14 - fix: update commit ref after rebase
- d0a666d9 - docs: improve readme and specify min python
- d7f94442 - docs: add help text to the flask webpage
- e9791ee5 - refactor: remove unused cors package
- 5a54efac - Merge branch '4-create-a-working-example-of-the-python-adapter' into...
Toggle commit listmentioned in commit 2b329c8d