[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Attachment: (was: image-2024-10-17-10-11-38-527.png) > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Minor > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > my domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container? > Thank for your time! > !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Priority: Major (was: Minor) > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CXF-9069) bad url in swagger servers
Dmitry created CXF-9069: --- Summary: bad url in swagger servers Key: CXF-9069 URL: https://issues.apache.org/jira/browse/CXF-9069 Project: CXF Issue Type: Bug Components: JAX-RS Affects Versions: 4.0.5 Reporter: Dmitry Attachments: image-2024-10-17-10-11-38-527.png, image-2024-10-17-10-11-59-161.png Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of my domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container? Thank for your time! !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Minor > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of my domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of my domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container? Thank for your time! !image-2024-10-17-10-11-59-161.png! > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Minor > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > my domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of my domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Minor > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! My SwaggerConfig: {color:#b3ae60}@Bean{color}{color:#cf8e6d}public {color}OpenApiFeature {color:#56a8f5}openApiFeature{color}() { OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); openApi.setVersion({color:#c77dbb}version{color}); openApi.setPrettyPrint({color:#cf8e6d}true{color}); openApi.setContactEmail({color:#c77dbb}email{color}); openApi.setDescription({color:#c77dbb}description{color}); openApi.setTitle({color:#c77dbb}productTitle{color}); openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); openApi.setSwaggerUiConfig({color:#cf8e6d}new {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); {color:#cf8e6d}return {color}openApi; } was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. And Thank for your time! !image-2024-10-17-10-11-59-161.png! My SwaggerConfig: {color:#b3ae60}@Bean {color}{color:#cf8e6d}public {color}OpenApiFeature {color:#56a8f5}openApiFeature{color}() { OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); openApi.setVersion({color:#c77dbb}version{color}); openApi.setPrettyPrint({color:#cf8e6d}true{color}); openApi.setContactEmail({color:#c77dbb}email{color}); openApi.setDescription({color:#c77dbb}description{color}); openApi.setTitle({color:#c77dbb}productTitle{color}); openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); openApi.setSwaggerUiConfig({color:#cf8e6d}new {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); {color:#cf8e6d}return {color}openApi; } > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! > My SwaggerConfig: > {color:#b3ae60}@Bean{color}{color:#cf8e6d}public {color}OpenApiFeature > {color:#56a8f5}openApiFeature{color}() { > OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); > openApi.setVersion({color:#c77dbb}version{color}); > openApi.setPrettyPrint({color:#cf8e6d}true{color}); > openApi.setContactEmail({color:#c77dbb}email{color}); > openApi.setDescription({color:#c77dbb}description{color}); > openApi.setTitle({color:#c77dbb}productTitle{color}); > openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); > openApi.setSwaggerUiConfig({color:#cf8e6d}new > {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); > {color:#cf8e6d}return {color}openApi; > } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! My SwaggerConfig: @[~bean] {color:#cf8e6d}public {color}OpenApiFeature {color:#56a8f5}openApiFeature{color}() { OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); openApi.setVersion({color:#c77dbb}version{color}); openApi.setPrettyPrint({color:#cf8e6d}true{color}); openApi.setContactEmail({color:#c77dbb}email{color}); openApi.setDescription({color:#c77dbb}description{color}); openApi.setTitle({color:#c77dbb}productTitle{color}); openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); openApi.setSwaggerUiConfig({color:#cf8e6d}new {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); {color:#cf8e6d}return {color}openApi; } was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! My SwaggerConfig: {color:#b3ae60}@Bean{color}{color:#cf8e6d}public {color}OpenApiFeature {color:#56a8f5}openApiFeature{color}() { OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); openApi.setVersion({color:#c77dbb}version{color}); openApi.setPrettyPrint({color:#cf8e6d}true{color}); openApi.setContactEmail({color:#c77dbb}email{color}); openApi.setDescription({color:#c77dbb}description{color}); openApi.setTitle({color:#c77dbb}productTitle{color}); openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); openApi.setSwaggerUiConfig({color:#cf8e6d}new {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); {color:#cf8e6d}return {color}openApi; } > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! > My SwaggerConfig: > @[~bean] > {color:#cf8e6d}public {color}OpenApiFeature > {color:#56a8f5}openApiFeature{color}() { > OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); > openApi.setVersion({color:#c77dbb}version{color}); > openApi.setPrettyPrint({color:#cf8e6d}true{color}); > openApi.setContactEmail({color:#c77dbb}email{color}); > openApi.setDescription({color:#c77dbb}description{color}); > openApi.setTitle({color:#c77dbb}productTitle{color}); > openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); > openApi.setSwaggerUiConfig({color:#cf8e6d}new > {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); > {color:#cf8e6d}return {color}openApi; > } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. And Thank for your time! !image-2024-10-17-10-11-59-161.png! My SwaggerConfig: {color:#b3ae60}@Bean {color}{color:#cf8e6d}public {color}OpenApiFeature {color:#56a8f5}openApiFeature{color}() { OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); openApi.setVersion({color:#c77dbb}version{color}); openApi.setPrettyPrint({color:#cf8e6d}true{color}); openApi.setContactEmail({color:#c77dbb}email{color}); openApi.setDescription({color:#c77dbb}description{color}); openApi.setTitle({color:#c77dbb}productTitle{color}); openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); openApi.setSwaggerUiConfig({color:#cf8e6d}new {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); {color:#cf8e6d}return {color}openApi; } was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. And Thank for your time! !image-2024-10-17-10-11-59-161.png! > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > And > Thank for your time! > !image-2024-10-17-10-11-59-161.png! > My SwaggerConfig: > {color:#b3ae60}@Bean > {color}{color:#cf8e6d}public {color}OpenApiFeature > {color:#56a8f5}openApiFeature{color}() { > OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); > openApi.setVersion({color:#c77dbb}version{color}); > openApi.setPrettyPrint({color:#cf8e6d}true{color}); > openApi.setContactEmail({color:#c77dbb}email{color}); > openApi.setDescription({color:#c77dbb}description{color}); > openApi.setTitle({color:#c77dbb}productTitle{color}); > openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); > openApi.setSwaggerUiConfig({color:#cf8e6d}new > {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); > {color:#cf8e6d}return {color}openApi; > } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry updated CXF-9069: Description: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. And Thank for your time! !image-2024-10-17-10-11-59-161.png! was: Good afternoon! I use cxf-rt-rs-service-description-openapi-v3 and cxf-spring-boot-autoconfigure When I run my app localy - server in swagger its ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] and its work good. but when I run it in docker - server become "http://upstream-api"; instead of domen name and all endpoints in swagger are dont work ("TypeError: NetworkError when attempting to fetch resource.") This problem was not there when I used cxf-rt-rs-service-description-swagger. What I do wrong? I should change something in app configuration or in container/infrastructure? Devops tells me that problem is in swagger settings. Thank for your time! !image-2024-10-17-10-11-59-161.png! > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > And > Thank for your time! > !image-2024-10-17-10-11-59-161.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CXF-9070) CXF LoggingFeature still logging sensitive content
Dmytro Sylaiev created CXF-9070: --- Summary: CXF LoggingFeature still logging sensitive content Key: CXF-9070 URL: https://issues.apache.org/jira/browse/CXF-9070 Project: CXF Issue Type: Bug Reporter: Dmytro Sylaiev I was trying to enable the LoggingFeature for my cxf client to hide some info in log.debug: Here's my code to create a WebClient and invoke the request: {noformat} LoggingFeature loggingFeature = new LoggingFeature(); final Slf4jEventSender sender = new Slf4jEventSender(); loggingFeature.setSender(sender); Set secrets = new HashSet<>(); secrets.add("access_token"); secrets.add("client_secret"); loggingFeature.setSensitiveElementNames(secrets); loggingFeature.setSensitiveProtocolHeaderNames(secrets); this.webClient = WebClient.create(url, Collections.emptyList(), Collections.singletonList(loggingFeature), null); ... webClient.invoke(...){noformat} My HTTP client flow is: I am requesting GET localhost/oauth/form/token form query using client id and client secret and parsing the response metadata to get the oauth2 token and then set this token to the Authorization header to the main request and then send GET localhost/oauth/resource Despite the logging feature is now active and present in the classpath&I see it's handling logs there's still sensitive information in logs: {noformat} [DEBUG] 16:46:08 org.apache.cxf.transport.http.HTTPConduit- Conduit "{http://localhost:8080/oauth/client_credentials/form/token}WebClient.http-conduit"; Transmit cached message to: http://localhost:8080/oauth/client_credentials/form/token: grant_type=client_credentials&client_id=1234567890&client_secret=SECRET1234567890SECRET ... [INFO ] 16:46:09 org.apache.cxf.services.WebClient.RESP_IN- { "access_token": "a-valide-token", "token_type": "Bearer", "expires_in": 5000 }{noformat} Maybe I am misusing the LoggingFeature configuration but I did some debug and not sure it can be used to hide sensitive information in URL request (to hide HTTPConduit log) and in the response payload -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890475#comment-17890475 ] Andriy Redko commented on CXF-9069: --- [~this.romanov] please provide `@OpenAPIDefinition` annotation with servers component defined [1], since nor CXF, nor Swagger are aware of the server name you would like to use. [1] https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/OpenAPIDefinition.java > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! > My SwaggerConfig: > @[~bean] > {color:#cf8e6d}public {color}OpenApiFeature > {color:#56a8f5}openApiFeature{color}() { > OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); > openApi.setVersion({color:#c77dbb}version{color}); > openApi.setPrettyPrint({color:#cf8e6d}true{color}); > openApi.setContactEmail({color:#c77dbb}email{color}); > openApi.setDescription({color:#c77dbb}description{color}); > openApi.setTitle({color:#c77dbb}productTitle{color}); > openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); > openApi.setSwaggerUiConfig({color:#cf8e6d}new > {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); > {color:#cf8e6d}return {color}openApi; > } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (CXF-9069) bad url in swagger servers
[ https://issues.apache.org/jira/browse/CXF-9069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andriy Redko resolved CXF-9069. --- Resolution: Information Provided > bad url in swagger servers > -- > > Key: CXF-9069 > URL: https://issues.apache.org/jira/browse/CXF-9069 > Project: CXF > Issue Type: Bug > Components: JAX-RS >Affects Versions: 4.0.5 >Reporter: Dmitry >Priority: Major > Attachments: image-2024-10-17-10-11-59-161.png > > > Good afternoon! > I use cxf-rt-rs-service-description-openapi-v3 > and cxf-spring-boot-autoconfigure > When I run my app localy - server in swagger its > ["http://127.0.0.1:8081";|http://127.0.0.1:18081/] > and its work good. > but when I run it in docker - server become "http://upstream-api"; instead of > domen name and all endpoints in swagger are dont work ("TypeError: > NetworkError when attempting to fetch resource.") > This problem was not there when I used cxf-rt-rs-service-description-swagger. > What I do wrong? I should change something in app configuration or in > container/infrastructure? > Devops tells me that problem is in swagger settings. > Thank for your time! > !image-2024-10-17-10-11-59-161.png! > My SwaggerConfig: > @[~bean] > {color:#cf8e6d}public {color}OpenApiFeature > {color:#56a8f5}openApiFeature{color}() { > OpenApiFeature openApi = {color:#cf8e6d}new {color}OpenApiFeature(); > openApi.setVersion({color:#c77dbb}version{color}); > openApi.setPrettyPrint({color:#cf8e6d}true{color}); > openApi.setContactEmail({color:#c77dbb}email{color}); > openApi.setDescription({color:#c77dbb}description{color}); > openApi.setTitle({color:#c77dbb}productTitle{color}); > openApi.setSupportSwaggerUi({color:#cf8e6d}true{color}); > openApi.setSwaggerUiConfig({color:#cf8e6d}new > {color}SwaggerUiConfig().configUrl({color:#6aab73}"/openapi.json"{color})); > {color:#cf8e6d}return {color}openApi; > } -- This message was sent by Atlassian Jira (v8.20.10#820010)