looking at
the release notes of 1.1.9.Final.
Upgrading to 1.1.9.Final fixed my problem.
Regards,
Ton
2015-11-27 14:41 GMT+01:00 Ton Swieb <ton(a)finalist.nl>:
Hi,
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
I have a service endpoint like:
https://192.168.99.100:8443/apiman-gateway/Organization/Service/1.0
I am able to directly download the Swagger JSON definition using the URL:
http://192.168.99.100:8080/apiman/organizations/Organization/services/Ser...
But on the page:
http://192.168.99.100:8080/apimanui/api-manager/browse/orgs/Organization/...
the Swagger definition is not rendered.
It shows the following message:
[image: Inline afbeelding 1]
The server logging does not show any errors, but the browser log does show
some errors.
Is this a known bug or am I doing something wrong? It looks like it cannot
load some required Javascript libraries.
apiman [2:34:56 PM]>> |ConsumerServiceDef| >> Loading page.
apiman-manager.js:1172:21
apiman [2:34:56 PM]>> |{0}| >> Using cached current user from $rootScope.
apiman-manager.js:1172:21
apiman [2:34:56 PM]>> Current user is admin. apiman-manager.js:1172:21
apiman [2:34:56 PM]>> |ConsumerServiceDef| >> Binding currentUser to
$scope. apiman-manager.js:1175:21
apiman [2:34:56 PM]>> |ConsumerServiceDef| >> Binding version to $scope.
apiman-manager.js:1175:21
"apiman [2:34:56 PM]>> !!!!! Using definition URL:
http://192.168.99.100:8080/apiman/organizations/Organization/services/Ser...
apiman-manager.js:1175:21
window.ApiKeyAuthorization is deprecated. Please use
SwaggerClient.ApiKeyAuthorization. swagger-ui.js:251:7
Using window.authorizations is deprecated. Please use
SwaggerUi.api.clientAuthorizations.add(). swagger-ui.js:251:7
Error: window.swaggerUi is not defined
window.authorizations.add@
http://192.168.99.100:8080/apimanui/libs/swagger-ui/dist/swagger-ui.js?ci...
Apiman.ConsumerSvcDefController</<@
http://192.168.99.100:8080/apimanui/dist/apiman-manager.js?cid=2015-09-10...
ApimanPageLifecycle.PageLifecycle</<.loadPage/<@
http://192.168.99.100:8080/apimanui/dist/apiman-manager.js?cid=2015-09-10...
processQueue@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
scheduleProcessQueue/<@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
$RootScopeProvider/this.$get</Scope.prototype.$eval@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
$RootScopeProvider/this.$get</Scope.prototype.$digest@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
$RootScopeProvider/this.$get</Scope.prototype.$apply@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
done@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
completeRequest@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
requestLoaded@
http://192.168.99.100:8080/apimanui/libs/angular/angular.js?cid=2015-09-1...
angular.js:11707:18
Regards,
Ton