Hey guys - Finally getting around to migrating to 3.1. Going good so far...
Having an issue with Hot Deploy. When we save a file to the hot deploy location it is deploying it twice in rapid succession across our servers - which generally causes some failures due to locks in postgres
now in 3.1 it does weird things.
I just updated that gist - with another variation I tried splitting setup into two files - and that sent the hot deploy into an endless circular deploy loop...
Would be nice to have more dynamic options other than environment - which is sort of a set once when services start...
I would prefer to be able to override the host anytime we call a service...
Example: We have a service that services multiple customers on a particular platform - the host is different for each customer but the url for the particular endpoint is same for everyone....
We do not want to create a outgoing connection for each customer - just have one with a dynamic host.
I have a problem, I created a topic named /food/new, and created an endpoint of type rest, when I use the POST method to access /zato/pubsub/topic//food/new to try to post information, it returns the error
if self.request.input.sub_key:\n File \"src\/zato\/cy\/simpleio.py\", line 137, in zato.simpleio.ServiceInput.getattr\ nAttributeError: No such key sub_key
among {'topic_name': '\/food\/new', 'data': '123'}
\n"}
There is not a sub_key when posting messages using the REST interface
I hope this can be answered, thank you very much!
Hi @dsuch, does the local file transfer channel function like an SFTP file transfer without the SFTP connection? I've used the blog post about multi-protocol file transfer as a rough guideline to try and set up a (very) simple configuration to pass a local file to a service that logs the contents, but the service does not seem to trigger.
I understand there are many things that could be going wrong, I just want to make sure the local file channel is functioning as I hope it does before digging deeper.
@JoelVG_gitlab this is an archive of 3.1 version of docs, but some things may have changed in 3.2
https://web.archive.org/web/20200811043437/https://zato.io/docs/?5