Add admin-scoped Hermes runtime reads and isolated pinned HTTP inventory
This commit is contained in:
1 parent
5507fbcb29
commit
4b17a6fcc3
14 files changed
+685
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# Disposable acceptance fixture only; not production entrypoint.
|
||||
import os,tempfile,importlib.util
|
||||
os.environ['HERMES_HOME']=tempfile.mkdtemp()
|
||||
os.environ['HERMES_SERVE_HEADLESS']='1'
|
||||
spec=importlib.util.spec_from_file_location('runtime_serve','/contract/serve.py');m=importlib.util.module_from_spec(spec);spec.loader.exec_module(m)
|
||||
m.secret=lambda name:'isolated-test-only-'+name+'x'*32
|
||||
import uvicorn
|
||||
uvicorn.run(m.build_app(),host='0.0.0.0',port=9119,lifespan='off',access_log=False,log_level='warning')
|
||||
Reference in new issue
Block a user