Re: Deploying Topologies problem

2018-12-04 Thread Lars Francke
The removal part was an accident and it took me almost a full day to debug why things didn't work. I didn't even know about the generated stuff. I agree that it's a fringe case though. On Fri, Nov 30, 2018 at 1:32 AM larry mccay wrote: > I don't know why you would remove the data/services direct

Re: Deploying Topologies problem

2018-11-29 Thread larry mccay
I don't know why you would remove the data/services directory but this is essentially the same as what I described. Whether there are no service definitions or you have changed one and try to get the new version uptaken it is the same problem. As I said, we could add an option to redeploy all topo

Re: Deploying Topologies problem

2018-11-29 Thread Lars Francke
There's always a good chance that I misunderstood something as well. So take it with a grain of salt. 1) Fresh Knox installation 2) Remove data/services folder 3) Start Knox 4) Look at /data/deployments/sandbox.topo.166f2486250/%2F/WEB-INF/gateway.xml It'll contain only "" 5) Stop Knox 6) Move dat

Re: Deploying Topologies problem

2018-11-28 Thread larry mccay
It isn't exactly clear to me what you encountered here. I think that you are saying that you made changes to "services files" - meaning the service definition. If that is the case then a simple redeploy of the topology will not be enough. You have to restart the gateway so that the service definit

Deploying Topologies problem

2018-11-28 Thread Lars Francke
I was facing another weird issue today that took me a while to chase down. I didn't have the proper services directory in place when starting Knox for the first time. This meant that a gateway.xml file was created in the deployments dir for my topologies that was totally empty. It didn't have any