对openshift tls服务的相对模式引用

时间:2017-12-18 11:37:52

标签: openshift openshift-3

暴露的https soap服务使用openshift路由器TLS边缘终止,但xsd架构它仍然作为http引用。 示例:服务网址https://example.net/test?wsdl           但是当在浏览器上访问上面的wsdl时,它正在生成xsd模式引用

请告诉我们如何以相对方式引用架构。

1 个答案:

答案 0 :(得分:1)

正如您在以下PR中所看到的,openshift haproxy应正确添加 // Chat View scrolling listener ChangeListener<Object> changeListener = (observable, oldValue, newValue) -> { if(chatScrollBox.getVvalue() <= 0.01) { updateMessages(userHandler.getUserList(), true); } }; chatScrollBox.vvalueProperty().addListener(changeListener); // Reset the vvalue when something added chatBox.heightProperty().addListener((ObservableValue<? extends Number> observable, Number oldValue, Number newValue) -> { double offset = newValue.doubleValue() - oldValue.doubleValue(); chatScrollBox.setVvalue((scrollDown ? 1.0d : getVvalueFromOffset(offset))); if(currentChat != null) { int cacheSize = (chatStorage.get(currentChat) == null ? 0 : chatStorage.get(currentChat).size()-1); if(cacheSize <= 10) { chatBox.layout(); chatScrollBox.setVvalue(1.0d); } } }); 标头X-Forwarded-Protohttp值。如果可能,您的软件应该使用相对链接,否则,您可以使用此标头的值来检查您的应用是否被外部负载均衡器公开为http或https,并提供适当的URL。