<div dir="ltr"><div><div>Hi,<br><br><div>I totally missed <a href="https://issues.jboss.org/browse/APIMAN-691when">https://issues.jboss.org/browse/APIMAN-691when</a> looking at the release notes of 1.1.9.Final.<br></div><div>Upgrading to 1.1.9.Final fixed my problem.<br></div></div></div><br><div>Regards,<br><br></div><div>Ton<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-27 14:41 GMT+01:00 Ton Swieb <span dir="ltr">&lt;<a href="mailto:ton@finalist.nl" target="_blank">ton@finalist.nl</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br><br></div><div>I added a Swagger definition to my service definition, but for some reason it will not render it. I am using Apiman 1.1.8.Final<br><br></div><div>I have a service endpoint like: <a href="https://192.168.99.100:8443/apiman-gateway/Organization/Service/1.0" target="_blank">https://192.168.99.100:8443/apiman-gateway/Organization/Service/1.0</a><br><br></div><div>I am able to directly download the Swagger JSON definition using the URL: <a href="http://192.168.99.100:8080/apiman/organizations/Organization/services/Service/versions/1.0/definition/" target="_blank">http://192.168.99.100:8080/apiman/organizations/Organization/services/Service/versions/1.0/definition/</a><br></div><div><br></div><div>But on the page: <a href="http://192.168.99.100:8080/apimanui/api-manager/browse/orgs/Organization/Service/1.0/def" target="_blank">http://192.168.99.100:8080/apimanui/api-manager/browse/orgs/Organization/Service/1.0/def</a> the Swagger definition is not rendered.<br><br></div><div>It shows the following message:<br></div><div><br><img alt="Inline afbeelding 1" src="cid:ii_151492a66ad37b89" height="90" width="462"><br><br><br></div><div>The server logging does not show any errors, but the browser log does show some errors.<br><br></div><div>Is this a known bug or am I doing something wrong? It looks like it cannot load some required Javascript libraries.<br></div><div><br>apiman [2:34:56 PM]&gt;&gt;  |ConsumerServiceDef| &gt;&gt; Loading page. apiman-manager.js:1172:21<br>apiman [2:34:56 PM]&gt;&gt;  |{0}| &gt;&gt; Using cached current user from $rootScope. apiman-manager.js:1172:21<br>apiman [2:34:56 PM]&gt;&gt;  Current user is admin. apiman-manager.js:1172:21<br>apiman [2:34:56 PM]&gt;&gt;  |ConsumerServiceDef| &gt;&gt; Binding currentUser to $scope. apiman-manager.js:1175:21<br>apiman [2:34:56 PM]&gt;&gt;  |ConsumerServiceDef| &gt;&gt; Binding version to $scope. apiman-manager.js:1175:21<br>&quot;apiman [2:34:56 PM]&gt;&gt;  !!!!! Using definition URL: <a href="http://192.168.99.100:8080/apiman/organizations/Organization/services/Service/versions/1.0/definition" target="_blank">http://192.168.99.100:8080/apiman/organizations/Organization/services/Service/versions/1.0/definition</a>&quot; apiman-manager.js:1175:21<br>window.ApiKeyAuthorization is deprecated. Please use SwaggerClient.ApiKeyAuthorization. swagger-ui.js:251:7<br>Using window.authorizations is deprecated. Please use SwaggerUi.api.clientAuthorizations.add(). swagger-ui.js:251:7<br>Error: window.swaggerUi is not defined<br>window.authorizations.add@<a href="http://192.168.99.100:8080/apimanui/libs/swagger-ui/dist/swagger-ui.js?cid=2015-09-10_15:24:230:1" target="_blank">http://192.168.99.100:8080/apimanui/libs/swagger-ui/dist/swagger-ui.js?cid=2015-09-10_15:24:230:1</a><br>Apiman.ConsumerSvcDefController&lt;/&lt;@<a href="http://192.168.99.100:8080/apimanui/dist/apiman-manager.js?cid=2015-09-10_15:24:2252:1" target="_blank">http://192.168.99.100:8080/apimanui/dist/apiman-manager.js?cid=2015-09-10_15:24:2252:1</a><br>ApimanPageLifecycle.PageLifecycle&lt;/&lt;.loadPage/&lt;@<a href="http://192.168.99.100:8080/apimanui/dist/apiman-manager.js?cid=2015-09-10_15:24:1123:29" target="_blank">http://192.168.99.100:8080/apimanui/dist/apiman-manager.js?cid=2015-09-10_15:24:1123:29</a><br>processQueue@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:13300:27" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:13300:27</a><br>scheduleProcessQueue/&lt;@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:13316:27" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:13316:27</a><br>$RootScopeProvider/this.$get&lt;/Scope.prototype.$eval@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:14552:16" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:14552:16</a><br>$RootScopeProvider/this.$get&lt;/Scope.prototype.$digest@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:14368:15" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:14368:15</a><br>$RootScopeProvider/this.$get&lt;/Scope.prototype.$apply@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:14657:13" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:14657:13</a><br>done@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:9734:36" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:9734:36</a><br>completeRequest@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:9924:7" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:9924:7</a><br>requestLoaded@<a href="http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:9865:1" target="_blank">http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-10_15:24:9865:1</a><br> angular.js:11707:18<br><br></div><div>Regards,<br><br></div><div>Ton<br></div></div>
</blockquote></div><br></div>