You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "huilaokedejuzi (via GitHub)" <gi...@apache.org> on 2023/03/16 08:57:43 UTC

[GitHub] [servicecomb-java-chassis] huilaokedejuzi opened a new issue, #3708: java-chassis:2.8.6使用nacos作为配置中心,未覆写本地servicecomb启动配置

huilaokedejuzi opened a new issue, #3708:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3708

   问题描述:
   引用config-nacos,使用nacos作为配置中心,已读到指定配置,初始化controller时,可注入nacos的配置,但无法覆本地的以下同名启动配置:
   servicecomb:
     service:
       registry:
         address: http://127.0.0.1:30100
       rest:
         address: 0.0.0.0:8080
   
   service_description:
     name: config-inside
     version: 1.0.2
   
   是否2.8.6版本不支持覆写servicecomb启动配置?
   
   补充:使用java chassis 1.0.0 使用com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config可覆写本地全部同名配置
   
   *****************使用包版本如下:
   <dependencyManagement>
           <dependencies>
               <dependency>
                   <groupId>org.apache.servicecomb</groupId>
                   <artifactId>java-chassis-dependencies</artifactId>
                   <version>2.8.6</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
           </dependencies>
       </dependencyManagement>
       <dependencies>
           <dependency>
               <groupId>org.apache.servicecomb</groupId>
               <artifactId>solution-basic</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.servicecomb</groupId>
               <artifactId>registry-service-center</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.servicecomb</groupId>
               <artifactId>java-chassis-spring-boot-starter-servlet</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.servicecomb</groupId>
               <artifactId>config-nacos</artifactId>
           </dependency>
       </dependencies>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] lbc97 commented on issue #3708: java-chassis:2.8.6使用nacos作为配置中心,未覆写本地servicecomb启动配置

Posted by "lbc97 (via GitHub)" <gi...@apache.org>.
lbc97 commented on issue #3708:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3708#issuecomment-1473432949

   这个微服务本身信息无法在配置中心配置 https://servicecomb.apache.org/references/java-chassis/zh_CN/build-provider/definition/service-definition.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] huilaokedejuzi closed issue #3708: java-chassis:2.8.6使用nacos作为配置中心,未覆写本地servicecomb启动配置

Posted by "huilaokedejuzi (via GitHub)" <gi...@apache.org>.
huilaokedejuzi closed issue #3708: java-chassis:2.8.6使用nacos作为配置中心,未覆写本地servicecomb启动配置
URL: https://github.com/apache/servicecomb-java-chassis/issues/3708


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org