Skip to content

Commit 9ce6f7b

Browse files
authored
Bump core to 4.0.4 and example-orchestrator-ui to 3.4.0 (#32)
* Bump orchestrator-core to 4.0.4 * Replace pydantic-forms ReadOnlyField with read_only_field * Update example UI to 3.4.0
1 parent b371d95 commit 9ce6f7b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ services:
144144

145145
orchestrator-ui:
146146
container_name: orchestrator-ui
147-
image: "ghcr.io/workfloworchestrator/example-orchestrator-ui:2.14.0" # TODO make it possible to override the tag
147+
image: "ghcr.io/workfloworchestrator/example-orchestrator-ui:3.4.0" # TODO make it possible to override the tag
148148
env_file:
149149
- ./docker/orchestrator-ui/orchestrator-ui.env
150150
- path: ./docker/overrides/orchestrator-ui/orchestrator-ui.env

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
orchestrator-core==2.8.0
1+
orchestrator-core==4.0.4
22
deepdiff==8.0.1
33
rich==13.9.4
44
pynetbox==7.4.1

workflows/port/modify_port.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from orchestrator.workflows.utils import modify_workflow
2020
from pydantic_forms.core import FormPage
2121
from pydantic_forms.types import FormGenerator, State
22-
from pydantic_forms.validators import Label, ReadOnlyField
22+
from pydantic_forms.validators import Label, read_only_field
2323

2424
from products.product_types.port import Port, PortProvisioning
2525
from products.services.description import description
@@ -36,10 +36,10 @@ class ModifyPortForm(FormPage):
3636

3737
port_settings: Label
3838

39-
node_name: ReadOnlyField(port.node.node_name)
40-
port_name: ReadOnlyField(port.port_name)
41-
port_type: ReadOnlyField(port.port_type)
42-
port_mode: ReadOnlyField(port.port_mode)
39+
node_name: read_only_field(port.node.node_name)
40+
port_name: read_only_field(port.port_name)
41+
port_type: read_only_field(port.port_type)
42+
port_mode: read_only_field(port.port_mode)
4343
port_description: str = port.port_description
4444
auto_negotiation: bool = port.auto_negotiation
4545
lldp: bool = port.lldp

0 commit comments

Comments
 (0)