[jira] [Created] (SCB-1691) Refactor the registry module
Haishi Yao created SCB-1691: --- Summary: Refactor the registry module Key: SCB-1691 URL: https://issues.apache.org/jira/browse/SCB-1691 Project: Apache ServiceComb Issue Type: Task Components: Java-Chassis Reporter: Haishi Yao Assignee: Haishi Yao Refactor the registry module of Java-Chassis to provide the function of microservice registry/discovery/instance status update, etc. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (SCB-1601) Abandon waiting 30 seconds after waiting request timeout.
[ https://issues.apache.org/jira/browse/SCB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haishi Yao resolved SCB-1601. - Resolution: Fixed > Abandon waiting 30 seconds after waiting request timeout. > - > > Key: SCB-1601 > URL: https://issues.apache.org/jira/browse/SCB-1601 > Project: Apache ServiceComb > Issue Type: Bug >Reporter: zhangchi >Assignee: Haishi Yao >Priority: Major > Fix For: java-chassis-2.0.0, java-chassis-1.3.1 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently,when validing whether all invocations are finished, only the log is > printed after the waiting request timeout of 30 seconds,and the abandonment > operation is not actually performed,so the thread is always in the waiting > state, resulting in thread blocking. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (SCB-1559) Use java.time.Clock instead of java.lang.System#currentTimeMillis to get time
[ https://issues.apache.org/jira/browse/SCB-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ang Li closed SCB-1559. --- > Use java.time.Clock instead of java.lang.System#currentTimeMillis to get time > - > > Key: SCB-1559 > URL: https://issues.apache.org/jira/browse/SCB-1559 > Project: Apache ServiceComb > Issue Type: Task > Components: Java-Chassis >Reporter: Haishi Yao >Assignee: Ang Li >Priority: Minor > Fix For: java-chassis-2.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently most of our code use java.lang.System#currentTimeMillis to get the > current time. > This method is not convenient to mock. > It's recommended to search all of the place we use > java.lang.System#currentTimeMillis and replace them with java.time.Clock. And > it's better to provide a mock clock class in testscaffolding. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (SCB-1559) Use java.time.Clock instead of java.lang.System#currentTimeMillis to get time
[ https://issues.apache.org/jira/browse/SCB-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ang Li reassigned SCB-1559: --- Assignee: Ang Li (was: Haishi Yao) > Use java.time.Clock instead of java.lang.System#currentTimeMillis to get time > - > > Key: SCB-1559 > URL: https://issues.apache.org/jira/browse/SCB-1559 > Project: Apache ServiceComb > Issue Type: Task > Components: Java-Chassis >Reporter: Haishi Yao >Assignee: Ang Li >Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > Currently most of our code use java.lang.System#currentTimeMillis to get the > current time. > This method is not convenient to mock. > It's recommended to search all of the place we use > java.lang.System#currentTimeMillis and replace them with java.time.Clock. And > it's better to provide a mock clock class in testscaffolding. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (SCB-1559) Use java.time.Clock instead of java.lang.System#currentTimeMillis to get time
[ https://issues.apache.org/jira/browse/SCB-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ang Li resolved SCB-1559. - Fix Version/s: java-chassis-2.0.0 Resolution: Fixed > Use java.time.Clock instead of java.lang.System#currentTimeMillis to get time > - > > Key: SCB-1559 > URL: https://issues.apache.org/jira/browse/SCB-1559 > Project: Apache ServiceComb > Issue Type: Task > Components: Java-Chassis >Reporter: Haishi Yao >Assignee: Ang Li >Priority: Minor > Fix For: java-chassis-2.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently most of our code use java.lang.System#currentTimeMillis to get the > current time. > This method is not convenient to mock. > It's recommended to search all of the place we use > java.lang.System#currentTimeMillis and replace them with java.time.Clock. And > it's better to provide a mock clock class in testscaffolding. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (SCB-1637) Fix test problem in demo
[ https://issues.apache.org/jira/browse/SCB-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haishi Yao resolved SCB-1637. - Fix Version/s: java-chassis-2.0.0 Resolution: Fixed > Fix test problem in demo > > > Key: SCB-1637 > URL: https://issues.apache.org/jira/browse/SCB-1637 > Project: Apache ServiceComb > Issue Type: Sub-task > Components: Java-Chassis >Affects Versions: java-chassis-2.0.0 >Reporter: Haishi Yao >Assignee: Haishi Yao >Priority: Major > Fix For: java-chassis-2.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (SCB-1636) SwaggerLoader remove the dependency on Spring utilities
[ https://issues.apache.org/jira/browse/SCB-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Haishi Yao resolved SCB-1636. - Fix Version/s: java-chassis-2.0.0 Resolution: Resolved > SwaggerLoader remove the dependency on Spring utilities > --- > > Key: SCB-1636 > URL: https://issues.apache.org/jira/browse/SCB-1636 > Project: Apache ServiceComb > Issue Type: Sub-task > Components: Java-Chassis >Affects Versions: java-chassis-2.0.0 >Reporter: Haishi Yao >Assignee: Haishi Yao >Priority: Major > Fix For: java-chassis-2.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently SwaggerLoader load the schemas in resources file by > PathMatchingResourcePatternResolver. This feature should be implemented by > Java-Chassis to remove the Spring dependencies. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (SCB-1690) omega-transport-resttemplate does not use RestTemplateBuilder
[ https://issues.apache.org/jira/browse/SCB-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang updated SCB-1690: -- Affects Version/s: (was: pack-0.6.0) > omega-transport-resttemplate does not use RestTemplateBuilder > - > > Key: SCB-1690 > URL: https://issues.apache.org/jira/browse/SCB-1690 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga >Reporter: Daniel Qian >Assignee: Daniel Qian >Priority: Major > Fix For: pack-0.6.0 > > > Currently omega-transport-resttemplate RestTemplateConfig creates a > RestTemplate bean directly, not take advantage of RestTemplateBuilder (which > provided in RestTemplateAutoConfiguration). > This could cause some issues: > # No default or autoconfigured HttpMessageConverters, Interceptors added to > it > # Client provided global RestTemplateCustomizers become useless > # Client provided global HttpMessageConverters become useless > In one word, this RestTemplate contains only > TransactionClientHttpRequestInterceptor. > So we should use RestTemplateBuilder. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (SCB-1690) omega-transport-resttemplate does not use RestTemplateBuilder
[ https://issues.apache.org/jira/browse/SCB-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang updated SCB-1690: -- Fix Version/s: pack-0.6.0 > omega-transport-resttemplate does not use RestTemplateBuilder > - > > Key: SCB-1690 > URL: https://issues.apache.org/jira/browse/SCB-1690 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga >Affects Versions: pack-0.6.0 >Reporter: Daniel Qian >Assignee: Daniel Qian >Priority: Major > Fix For: pack-0.6.0 > > > Currently omega-transport-resttemplate RestTemplateConfig creates a > RestTemplate bean directly, not take advantage of RestTemplateBuilder (which > provided in RestTemplateAutoConfiguration). > This could cause some issues: > # No default or autoconfigured HttpMessageConverters, Interceptors added to > it > # Client provided global RestTemplateCustomizers become useless > # Client provided global HttpMessageConverters become useless > In one word, this RestTemplate contains only > TransactionClientHttpRequestInterceptor. > So we should use RestTemplateBuilder. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (SCB-1690) omega-transport-resttemplate does not use RestTemplateBuilder
[ https://issues.apache.org/jira/browse/SCB-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Qian updated SCB-1690: - Description: Currently omega-transport-resttemplate RestTemplateConfig creates a RestTemplate bean directly, not take advantage of RestTemplateBuilder (which provided in RestTemplateAutoConfiguration). This could cause some issues: # No default or autoconfigured HttpMessageConverters, Interceptors added to it # Client provided global RestTemplateCustomizers become useless # Client provided global HttpMessageConverters become useless In one word, this RestTemplate contains only TransactionClientHttpRequestInterceptor. So we should use RestTemplateBuilder. was: Currently omega-transport-resttemplate RestTemplateConfig creates a RestTemplate bean directly, not take advantage of RestTemplateBuilder (which provided in RestTemplateAutoConfiguration). This could cause some issues: # No default or autoconfigured HttpMessageConverters add to it # Client provided global RestTemplateCustomizers become useless # Client provided global HttpMessageConverters become useless In one word, this RestTemplate contains only TransactionClientHttpRequestInterceptor. So we should use RestTemplateBuilder. > omega-transport-resttemplate does not use RestTemplateBuilder > - > > Key: SCB-1690 > URL: https://issues.apache.org/jira/browse/SCB-1690 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga >Affects Versions: pack-0.6.0 >Reporter: Daniel Qian >Assignee: Daniel Qian >Priority: Major > > Currently omega-transport-resttemplate RestTemplateConfig creates a > RestTemplate bean directly, not take advantage of RestTemplateBuilder (which > provided in RestTemplateAutoConfiguration). > This could cause some issues: > # No default or autoconfigured HttpMessageConverters, Interceptors added to > it > # Client provided global RestTemplateCustomizers become useless > # Client provided global HttpMessageConverters become useless > In one word, this RestTemplate contains only > TransactionClientHttpRequestInterceptor. > So we should use RestTemplateBuilder. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (SCB-1690) omega-transport-resttemplate does not use RestTemplateBuilder
[ https://issues.apache.org/jira/browse/SCB-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Qian updated SCB-1690: - Description: Currently omega-transport-resttemplate RestTemplateConfig creates a RestTemplate bean directly, not take advantage of RestTemplateBuilder (which provided in RestTemplateAutoConfiguration). This could cause some issues: # No default or autoconfigured HttpMessageConverters add to it # Client provided global RestTemplateCustomizers become useless # Client provided global HttpMessageConverters become useless In one word, this RestTemplate contains only TransactionClientHttpRequestInterceptor. So we should use RestTemplateBuilder. was: Currently omega-transport-resttemplate use RestTemplateConfig to create a RestTemplate bean, which shades the bean create by spring boot RestTemplateAutoConfiguration. This could cause some issues: # No default or autoconfigured HttpMessageConverters add to this template # Client provided RestTemplateCustomizers become useless # Client provided HttpMessageConverters become useless In one word, this method rest the function of RestTemplate, instead of add function to RestTemplate. So we should use RestTemplateCustomizer. > omega-transport-resttemplate does not use RestTemplateBuilder > - > > Key: SCB-1690 > URL: https://issues.apache.org/jira/browse/SCB-1690 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga >Affects Versions: pack-0.6.0 >Reporter: Daniel Qian >Assignee: Daniel Qian >Priority: Major > > Currently omega-transport-resttemplate RestTemplateConfig creates a > RestTemplate bean directly, not take advantage of RestTemplateBuilder (which > provided in RestTemplateAutoConfiguration). > This could cause some issues: > # No default or autoconfigured HttpMessageConverters add to it > # Client provided global RestTemplateCustomizers become useless > # Client provided global HttpMessageConverters become useless > In one word, this RestTemplate contains only > TransactionClientHttpRequestInterceptor. > So we should use RestTemplateBuilder. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (SCB-1690) omega-transport-resttemplate should use RestTemplateCustomizer
Daniel Qian created SCB-1690: Summary: omega-transport-resttemplate should use RestTemplateCustomizer Key: SCB-1690 URL: https://issues.apache.org/jira/browse/SCB-1690 Project: Apache ServiceComb Issue Type: Improvement Components: Saga Affects Versions: pack-0.6.0 Reporter: Daniel Qian Assignee: Daniel Qian Currently omega-transport-resttemplate use RestTemplateConfig to create a RestTemplate bean, which shades the bean create by spring boot RestTemplateAutoConfiguration. This could cause some issues: # No default or autoconfigured HttpMessageConverters add to this template # Client provided RestTemplateCustomizers become useless # Client provided HttpMessageConverters become useless In one word, this method rest the function of RestTemplate, instead of add function to RestTemplate. So we should use RestTemplateCustomizer. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SCB-1689) Remove “prd” profile
[ https://issues.apache.org/jira/browse/SCB-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003822#comment-17003822 ] Willem Jiang commented on SCB-1689: --- This issue can help you understand the profile setting of ServiceComb Pack. We could set the default profile to be prd, at the meantime we need to check if there are some test profile is used by running the tests. > Remove “prd” profile > > > Key: SCB-1689 > URL: https://issues.apache.org/jira/browse/SCB-1689 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga >Reporter: Lei Zhang >Assignee: Lei Zhang >Priority: Major > Fix For: pack-0.6.0 > > > No need to configure spring.profiles.active = prd when Alpha starts > The following parameters will be used as default. > {code:java} > --- > spring: > datasource: > username: saga > password: password > url: jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false > platform: postgresql > continue-on-error: false > jpa: > properties: > eclipselink: > ddl-generation: none > {code} > Switch Mysql database with the following parameters when starting Alpha > {code:java} > --spring.datasource.platform=mysql > --spring.datasource.username=saga > --spring.datasource.password=password > --spring.datasource.url='jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (SCB-1689) Remove “prd” profile
Lei Zhang created SCB-1689: -- Summary: Remove “prd” profile Key: SCB-1689 URL: https://issues.apache.org/jira/browse/SCB-1689 Project: Apache ServiceComb Issue Type: Improvement Components: Saga Reporter: Lei Zhang Assignee: Lei Zhang Fix For: pack-0.6.0 No need to configure spring.profiles.active = prd when Alpha starts The following parameters will be used as default. {code:java} --- spring: datasource: username: saga password: password url: jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false platform: postgresql continue-on-error: false jpa: properties: eclipselink: ddl-generation: none {code} Switch Mysql database with the following parameters when starting Alpha {code:java} --spring.datasource.platform=mysql --spring.datasource.username=saga --spring.datasource.password=password --spring.datasource.url='jdbc:postgresql://postgresql.servicecomb.io:5432/saga?useSSL=false' {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (SCB-1614) Polishing code
[ https://issues.apache.org/jira/browse/SCB-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei Zhang resolved SCB-1614. Resolution: Fixed > Polishing code > -- > > Key: SCB-1614 > URL: https://issues.apache.org/jira/browse/SCB-1614 > Project: Apache ServiceComb > Issue Type: Task > Components: Saga >Reporter: Lei Zhang >Assignee: Lei Zhang >Priority: Major > Fix For: pack-0.6.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Delete comment line > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (SCB-1688) Added prompt information when visit Alpha UI in non-state machine mode
[ https://issues.apache.org/jira/browse/SCB-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei Zhang reassigned SCB-1688: -- Assignee: Lei Zhang > Added prompt information when visit Alpha UI in non-state machine mode > -- > > Key: SCB-1688 > URL: https://issues.apache.org/jira/browse/SCB-1688 > Project: Apache ServiceComb > Issue Type: Improvement > Components: Saga >Reporter: Lei Zhang >Assignee: Lei Zhang >Priority: Major > Fix For: pack-0.6.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (SCB-1688) Added prompt information when visit Alpha UI in non-state machine mode
Lei Zhang created SCB-1688: -- Summary: Added prompt information when visit Alpha UI in non-state machine mode Key: SCB-1688 URL: https://issues.apache.org/jira/browse/SCB-1688 Project: Apache ServiceComb Issue Type: Improvement Components: Saga Reporter: Lei Zhang Fix For: pack-0.6.0 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (SCB-1687) Start syncer fails when configuration is incomplete
chanzhu created SCB-1687: Summary: Start syncer fails when configuration is incomplete Key: SCB-1687 URL: https://issues.apache.org/jira/browse/SCB-1687 Project: Apache ServiceComb Issue Type: Improvement Components: Service-Center Reporter: chanzhu Assignee: chanzhu -- This message was sent by Atlassian Jira (v8.3.4#803005)