sandbox connected and streaming
This commit is contained in:
@@ -55,7 +55,7 @@ Two ZMQ patterns handle different delivery requirements:
|
||||
### File Structure
|
||||
|
||||
```
|
||||
client-py/dexorder/
|
||||
sandbox/dexorder/
|
||||
├── events/
|
||||
│ ├── __init__.py
|
||||
│ ├── publisher.py # EventPublisher class
|
||||
@@ -66,7 +66,7 @@ client-py/dexorder/
|
||||
### Event Publisher Class
|
||||
|
||||
```python
|
||||
# client-py/dexorder/events/publisher.py
|
||||
# sandbox/dexorder/events/publisher.py
|
||||
|
||||
import asyncio
|
||||
import time
|
||||
@@ -295,7 +295,7 @@ class EventPublisher:
|
||||
### Event Types
|
||||
|
||||
```python
|
||||
# client-py/dexorder/events/types.py
|
||||
# sandbox/dexorder/events/types.py
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from enum import IntEnum
|
||||
@@ -465,7 +465,7 @@ class EventAck:
|
||||
### Pending Event Persistence
|
||||
|
||||
```python
|
||||
# client-py/dexorder/events/pending_store.py
|
||||
# sandbox/dexorder/events/pending_store.py
|
||||
|
||||
import json
|
||||
import aiofiles
|
||||
@@ -1169,7 +1169,7 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: agent-to-gateway-events
|
||||
namespace: dexorder-agents
|
||||
namespace: dexorder-sandboxes
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
|
||||
Reference in New Issue
Block a user