Skip to content

Commit 3fa936a

Browse files
authored
[fixcore][fix] Fix PlantUML settings (#2064)
1 parent b23c4ce commit 3fa936a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fixcore/fixcore/core_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ class RuntimeConfig(ConfigObject):
541541
debug: bool = field(default=False, metadata={"description": "Enable debug logging and exception tracing."})
542542
log_level: str = field(default="info", metadata={"description": "Log level (default: info)"})
543543
plantuml_server: str = field(
544-
default="https://plantuml.fix.org",
544+
default="https://plantuml.fix.security",
545545
metadata={"description": "PlantUML server URI for UML image rendering."},
546546
)
547547
start_collect_on_subscriber_connect: bool = field(
@@ -806,7 +806,7 @@ def migrate_core_config(config: Json) -> Json:
806806
del_value_in_path(adapted, "api.web_port")
807807

808808
if value_in_path(cfg, "runtime.plantuml_server") == "http://plantuml.resoto.org:8080":
809-
set_value_in_path("https://plantuml.resoto.org", "runtime.plantuml_server", adapted)
809+
set_value_in_path("https://plantuml.fix.security", "runtime.plantuml_server", adapted)
810810

811811
return {FixCoreRoot: adapted}
812812

fixcore/fixcore/model/model_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def update_model(self, graph_name: GraphName, kinds: List[Kind], replace:
9797

9898

9999
class ModelHandlerDB(ModelHandler, Service):
100-
def __init__(self, db_access: DbAccess, plantuml_server: str = "https://plantuml.fix.org"):
100+
def __init__(self, db_access: DbAccess, plantuml_server: str = "https://plantuml.fix.security"):
101101
super().__init__()
102102
self.db_access = db_access
103103
self.plantuml_server = plantuml_server

0 commit comments

Comments
 (0)