Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to make the demo runnable from Docker #571

Merged
merged 8 commits into from
Jan 21, 2019

Conversation

romanrev
Copy link
Contributor

Please refer to the issue #564

I was able to successfully launch the demo by running the deploy/docker-ephemeral/run.sh in one terminal and ./deploy/services-demo/demo.sh docker in another terminal, however I am not able to login at http://127.0.0.1:8080/swagger-ui yet, with an email/password generated using the process outlined in the documentation, getting the following errors in the console:

nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/ HTTP/1.1" 200 2667 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - 5ae3ab80da0a6385639a237fffab1b61 
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/tab.html HTTP/1.1" 200 9888 "http://127.0.0.1:8080/swagger-ui/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - bbc6d42063f9276b4a12642bcea5504d 
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/tab.html?url_suffix=sso HTTP/1.1" 200 9888 "http://127.0.0.1:8080/swagger-ui/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - f55d016107f54ee4a9db7c0ea4f8336c 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/typography.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/typography.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/css/typography.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - abac91429c1c2b71deacabc96c1ae9b0 
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/css/reset.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - 37170a12b329bd65e6d5b94272c3f8ed 
nginz_1      | 2019/01/16 02:18:52 [error] 10#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/reset.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/reset.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *4 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/screen.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/screen.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/css/screen.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 4 0.000 - - - - ede6f52df4b2f92c4a097c457aa03f6e 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *3 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/print.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/print.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/css/print.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 3 0.000 - - - - 0253f7105e12e1e7c95f3b385c25947c 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *5 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery-1.8.0.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery-1.8.0.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/jquery-1.8.0.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 5 0.000 - - - - 038ba5b83fc11e3d7710c04376d8897c 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery.slideto.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery.slideto.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/jquery.slideto.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - 20c2c6610c6522a0444885852c0c2e04 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *6 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/object-assign-pollyfill.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/object-assign-pollyfill.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/object-assign-pollyfill.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 6 0.000 - - - - 806796b11cbe9d5e5f3765c7b78dda60 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *4 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery.ba-bbq.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery.ba-bbq.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/16 02:18:52 [error] 10#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery.wiggle.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery.wiggle.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/jquery.wiggle.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - ceb9e176b8ecf3d42fcde4c92b97e6b9 
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/jquery.ba-bbq.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 4 0.000 - - - - 78de5e4955457f36489e3f375e294e0c 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *3 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/handlebars-4.0.5.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/handlebars-4.0.5.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/handlebars-4.0.5.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 3 0.000 - - - - 5f2e14e73bd29fe2c6d8e0d0fea3762c 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *5 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/lodash.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/lodash.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/lodash.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 5 0.000 - - - - 1f006de72d28ee31c7789f9d2c5908bf 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/backbone-min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/backbone-min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/backbone-min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - 4f1fa857ac91701b9115f555e886f678 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *6 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/swagger-ui.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/swagger-ui.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/swagger-ui.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 6 0.000 - - - - 3f799983200389a75616349bcfc4cb7b 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *4 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/highlight.9.1.0.pack.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 4 0.000 - - - - 10f89a2173cf31f3bb33452583acafdb 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *3 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jsoneditor.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jsoneditor.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/jsoneditor.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 3 0.000 - - - - 9c89fae3b67ec495f041e4e0ec454500 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *5 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/marked.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/marked.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/marked.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 5 0.000 - - - - 164fe2bdff5511be41edb8802a550c7d 
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/swagger-oauth.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - d313b03b263b12eab647e253c56176fc 
nginz_1      | 172.20.0.1 - - [16/Jan/2019:02:18:52 +0000] "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack_extended.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - a9cf8975c9f6bdef81a2e24490dae193 
nginz_1      | 2019/01/16 02:18:52 [error] 8#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/swagger-oauth.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/swagger-oauth.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/16 02:18:52 [error] 10#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/highlight.9.1.0.pack_extended.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack_extended.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"

@CLAassistant
Copy link

CLAassistant commented Jan 16, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@jschaul jschaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR! There are some minor comments, see inline. Perhaps you could also add a line to the services-demo/README.md that mentions the ./demo.sh docker usage?

I tried your branch with the review fixes, re-compiled the nginz docker image using make docker using these changes, and the docker-based demo works for me in the sense that swagger-ui is available under http://127.0.0.1:8080/swagger-ui/.

deploy/services-demo/demo.sh Outdated Show resolved Hide resolved
deploy/services-demo/demo.sh Show resolved Hide resolved
deploy/services-demo/demo.sh Show resolved Hide resolved
deploy/services-demo/docker-compose.yaml Outdated Show resolved Hide resolved
services/nginz/Dockerfile Show resolved Hide resolved
@romanrev
Copy link
Contributor Author

Thank you for this PR! There are some minor comments, see inline. Perhaps you could also add a line to the services-demo/README.md that mentions the ./demo.sh docker usage?

Yep, thanks, added a note on it to that README.md

I tried your branch with the review fixes, re-compiled the nginz docker image using make docker using these changes, and the docker-based demo works for me in the sense that swagger-ui is available under http://127.0.0.1:8080/swagger-ui/.

I've pulled all the changes from upstream develop branch, including the mentioned patch, re-ran the nginz Docker image build and tried to launch demo again, and got the same errors from nginx in the console:

nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:45 +0000] "GET /swagger-ui/ HTTP/1.1" 200 2667 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - 72675a862b146f733fb1aefe42613792 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/tab.html HTTP/1.1" 200 9888 "http://127.0.0.1:8080/swagger-ui/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - c77caa0897879ff1c33e2ea4f17ce5d0 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/tab.html?url_suffix=sso HTTP/1.1" 200 9888 "http://127.0.0.1:8080/swagger-ui/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - 6507281704ca307919ecd1ac3beb8513 
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/typography.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/typography.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/reset.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/reset.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/css/reset.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - d77171bb2cee7657832f0900390c3ff5 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/css/typography.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - 4a1c9b464e4c6da603649f9ca524cfcc 
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *3 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/screen.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/screen.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/css/screen.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 3 0.000 - - - - 2eacbe4a41f092b30ffcfe1934f444b1 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/css/print.css HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 4 0.000 - - - - f06bc3f1e229b910cf2fb86dbb6b902d 
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *4 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/css/print.css" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/css/print.css HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery.slideto.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery.slideto.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery.wiggle.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery.wiggle.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *3 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery.ba-bbq.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery.ba-bbq.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/jquery.slideto.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - 78396c6031c7b6dd7f6668f86d8c3cee 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/jquery.wiggle.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - 69eed6df5196b8dd315905ac25eaa142 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/jquery.ba-bbq.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 3 0.000 - - - - 251a1a73bfd194b5f1e807d04784562d 
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *6 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/object-assign-pollyfill.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/object-assign-pollyfill.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/object-assign-pollyfill.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 6 0.000 - - - - 017e08f3c3e0ce8f27a8dba285eaacc0 
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *5 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jquery-1.8.0.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jquery-1.8.0.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *4 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/handlebars-4.0.5.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/handlebars-4.0.5.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/lodash.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/lodash.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/backbone-min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/backbone-min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *6 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/highlight.9.1.0.pack.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *3 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/swagger-ui.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/swagger-ui.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/jquery-1.8.0.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 5 0.000 - - - - 2545f183ffb1956008528b17b4337b52 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/handlebars-4.0.5.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 4 0.000 - - - - f6c83cb0917bd740c689fa60eb3c1dca 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/backbone-min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - f9e42bf35e07be9c1b35139fb653f834 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/lodash.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - 552692dcacd284731d65d4f4c119005d 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 6 0.000 - - - - db0532e5e95c0617afff97e9323bf66f 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/swagger-ui.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 3 0.000 - - - - 42d314a8b22939afe701ec55ca3f58c2 
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *5 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/highlight.9.1.0.pack_extended.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack_extended.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/highlight.9.1.0.pack_extended.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 5 0.000 - - - - 919a0e6e06af7b455a3cf09af76ede8d 
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *4 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/marked.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/marked.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 8#0: *2 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/jsoneditor.min.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/jsoneditor.min.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 2019/01/17 00:30:46 [error] 7#0: *1 open() "/configs/conf/nginz/zwagger-ui/swagger-ui/lib/swagger-oauth.js" failed (2: No such file or directory), client: 172.20.0.1, server: , request: "GET /swagger-ui/swagger-ui/lib/swagger-oauth.js HTTP/1.1", host: "127.0.0.1:8080", referrer: "http://127.0.0.1:8080/swagger-ui/tab.html"
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/marked.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 4 0.000 - - - - 32121bea1776dfd89e45be876f579d92 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/jsoneditor.min.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 2 0.000 - - - - c0e905f8787ddc199146cf25803a9ef8 
nginz_1      | 172.20.0.1 - - [17/Jan/2019:00:30:46 +0000] "GET /swagger-ui/swagger-ui/lib/swagger-oauth.js HTTP/1.1" 404 162 "http://127.0.0.1:8080/swagger-ui/tab.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15" "-" - 1 0.000 - - - - f0fd9ccef63dee243d633057d1170ba9 

I also can access Swagger UI on http://127.0.0.1:8080/swagger-ui/, however when I generate email/password pair using ./deploy/services-demo/create_test_user.sh script and then try logging in with the generated credentials, nothing happens - presumably because all the JS code for communicating back to the server is absent.

Copy link
Member

@jschaul jschaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try the change inline to see if that solves your swagger missing files problem? Otherwise, this PR looks good.

deploy/services-demo/demo.sh Show resolved Hide resolved
Co-Authored-By: romanrev <revrom+github@gmail.com>
@romanrev
Copy link
Contributor Author

Can you try the change inline to see if that solves your swagger missing files problem? Otherwise, this PR looks good.

thanks a lot, it's all working now!

@jschaul jschaul merged commit dab912e into wireapp:develop Jan 21, 2019
@jschaul
Copy link
Member

jschaul commented Jan 21, 2019

Thanks @romanrev for your contribution!

@fisx fisx mentioned this pull request Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants