[jira] [Updated] (SCB-1657) fix test error on windows

2019-12-11 Thread kakulisen (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

kakulisen updated SCB-1657:
---
Fix Version/s: toolkit-0.2.0
Affects Version/s: toolkit-0.2.0
  Description: (was: In Windows, uses File.size to get the size of 
the directory always returns zero and causes the assertion to fail

```java
[INFO] Running org.apache.servicecomb.toolkit.cli.CliTest
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.884 s 
<<< FAILURE! - in org.apache.servicecomb.toolkit.cli.CliTest
[ERROR] 
testGenerateServiceCombCodeFromSingleContract(org.apache.servicecomb.toolkit.cli.CliTest)
  Time elapsed: 0.834 s  <<< FAILURE!
java.lang.AssertionError
at 
org.apache.servicecomb.toolkit.cli.CliTest.lambda$testGenerateServiceCombCodeFromSingleContract$0(CliTest.java:54)
at 
org.apache.servicecomb.toolkit.cli.CliTest.testGenerateServiceCombCodeFromSingleContract(CliTest.java:36)


[ERROR] 
testGenerateCodeFromMultiContract(org.apache.servicecomb.toolkit.cli.CliTest)  
Time elapsed: 0.602 s  <<< FAILURE!
java.lang.AssertionError
at 
org.apache.servicecomb.toolkit.cli.CliTest.testGenerateCodeFromMultiContract(CliTest.java:89)


[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   CliTest.testGenerateCodeFromMultiContract:89
[ERROR]   
CliTest.testGenerateServiceCombCodeFromSingleContract:36->lambda$testGenerateServiceCombCodeFromSingleContract$0:54
[INFO]
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0
```)
  Summary: fix test error on windows  (was: In Windows, uses 
File.size to get the size of the directory always returns zero)

> fix test error on windows
> -
>
> Key: SCB-1657
> URL: https://issues.apache.org/jira/browse/SCB-1657
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: toolkit
>Affects Versions: toolkit-0.2.0
> Environment: windows
>Reporter: kakulisen
>Assignee: kakulisen
>Priority: Major
> Fix For: toolkit-0.2.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SCB-1658) Improve encapsulation on txEntityMap of SagaData

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang updated SCB-1658:
---
Fix Version/s: pack-0.6.0

> Improve encapsulation on txEntityMap of SagaData
> 
>
> Key: SCB-1658
> URL: https://issues.apache.org/jira/browse/SCB-1658
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Minor
> Fix For: pack-0.6.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (SCB-1658) Improve encapsulation on txEntityMap of SagaData

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang resolved SCB-1658.

Resolution: Fixed

> Improve encapsulation on txEntityMap of SagaData
> 
>
> Key: SCB-1658
> URL: https://issues.apache.org/jira/browse/SCB-1658
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Minor
> Fix For: pack-0.6.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (SCB-1627) Wait for compensation feedback after Alpha calls compensation

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang resolved SCB-1627.

Resolution: Fixed

> Wait for compensation feedback after Alpha calls compensation
> -
>
> Key: SCB-1627
> URL: https://issues.apache.org/jira/browse/SCB-1627
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Major
> Fix For: pack-0.6.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Send a compensation ack to Alpha in the compensation method on the Omega 
> side. Alpha waits for compensation result and catching exception after 
> calling compensation method
> 1. Received TxCompensateSucceedAckEvent: transaction completed
> 2. Received TxCompensateFailedAckEvent: throw new CompensateAskFailedException
> 3. Catch other exception and throw new CompensateConnectException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (SCB-1646) Add timeout for compensation wait

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang reassigned SCB-1646:
--

Assignee: Lei Zhang

> Add timeout for compensation wait
> -
>
> Key: SCB-1646
> URL: https://issues.apache.org/jira/browse/SCB-1646
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (SCB-1659) Upgrade maven-assembly-plugin to 3.2.0

2019-12-11 Thread Daniel Qian (Jira)
Daniel Qian created SCB-1659:


 Summary: Upgrade maven-assembly-plugin to 3.2.0
 Key: SCB-1659
 URL: https://issues.apache.org/jira/browse/SCB-1659
 Project: Apache ServiceComb
  Issue Type: Task
Reporter: Daniel Qian


We should specify maven-assembly-plugin to 3.2.0, because if version <= 3.1.0, 
it doesn't honor wildcards in dependencies exclusions.

See this: [https://stackoverflow.com/a/49805360/1287790] 

And this: https://issues.apache.org/jira/browse/MASSEMBLY-762



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (SCB-1660) change deploy.sh format

2019-12-11 Thread kakulisen (Jira)
kakulisen created SCB-1660:
--

 Summary: change deploy.sh format
 Key: SCB-1660
 URL: https://issues.apache.org/jira/browse/SCB-1660
 Project: Apache ServiceComb
  Issue Type: Bug
  Components: toolkit
Affects Versions: toolkit-0.2.0
Reporter: kakulisen
Assignee: kakulisen
 Fix For: toolkit-0.2.0


scripts/deploy.sh, now the format is dos, will execute fail in Linux



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (SCB-1661) Create shell in servicecomb toolkit binary release

2019-12-11 Thread Willem Jiang (Jira)
Willem Jiang created SCB-1661:
-

 Summary: Create shell in servicecomb toolkit binary release
 Key: SCB-1661
 URL: https://issues.apache.org/jira/browse/SCB-1661
 Project: Apache ServiceComb
  Issue Type: Improvement
  Components: toolkit
Reporter: Willem Jiang


As 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SCB-1657) fix test error on windows

2019-12-11 Thread kakulisen (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

kakulisen updated SCB-1657:
---
Description: 
two problems:
1. get directory size return zero in windows
2. execute mvn command fails in windows

> fix test error on windows
> -
>
> Key: SCB-1657
> URL: https://issues.apache.org/jira/browse/SCB-1657
> Project: Apache ServiceComb
>  Issue Type: Bug
>  Components: toolkit
>Affects Versions: toolkit-0.2.0
> Environment: windows
>Reporter: kakulisen
>Assignee: kakulisen
>Priority: Major
> Fix For: toolkit-0.2.0
>
>
> two problems:
> 1. get directory size return zero in windows
> 2. execute mvn command fails in windows



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Closed] (SCB-1557) Fix application start info log incorrect

2019-12-11 Thread Ang Li (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ang Li closed SCB-1557.
---

> Fix application start info log incorrect
> 
>
> Key: SCB-1557
> URL: https://issues.apache.org/jira/browse/SCB-1557
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Java-Chassis
>Reporter: Ang Li
>Assignee: Ang Li
>Priority: Minor
> Fix For: java-chassis-2.0.0, java-chassis-1.3.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SCB-1646) Rename Compensable annotation property retries and timeout with the "forward" prefix

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang updated SCB-1646:
---
Summary: Rename Compensable annotation property retries and timeout with 
the "forward" prefix  (was: Add timeout for compensation wait)

> Rename Compensable annotation property retries and timeout with the "forward" 
> prefix
> 
>
> Key: SCB-1646
> URL: https://issues.apache.org/jira/browse/SCB-1646
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (SCB-1662) Use jackson module afterburner to speed ​​up jackson processing

2019-12-11 Thread Ang Li (Jira)
Ang Li created SCB-1662:
---

 Summary: Use jackson module afterburner  to speed ​​up jackson 
processing
 Key: SCB-1662
 URL: https://issues.apache.org/jira/browse/SCB-1662
 Project: Apache ServiceComb
  Issue Type: Improvement
  Components: Java-Chassis
Reporter: Ang Li
Assignee: Ang Li






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SCB-1646) Rename Compensable annotation property retries and timeout with the "forward" prefix

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang updated SCB-1646:
---
Description: 
To highlight this is the property of forward recovery

Rename retries to forwardRetries

Rename timeout to forwardTimeout
 

> Rename Compensable annotation property retries and timeout with the "forward" 
> prefix
> 
>
> Key: SCB-1646
> URL: https://issues.apache.org/jira/browse/SCB-1646
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Major
>
> To highlight this is the property of forward recovery
> Rename retries to forwardRetries
> Rename timeout to forwardTimeout
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (SCB-1646) Rename @Compensable property retries and timeout with the "forward" prefix

2019-12-11 Thread Lei Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SCB-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Zhang updated SCB-1646:
---
Summary: Rename @Compensable property retries and timeout with the 
"forward" prefix  (was: Rename Compensable annotation property retries and 
timeout with the "forward" prefix)

> Rename @Compensable property retries and timeout with the "forward" prefix
> --
>
> Key: SCB-1646
> URL: https://issues.apache.org/jira/browse/SCB-1646
> Project: Apache ServiceComb
>  Issue Type: Sub-task
>  Components: Saga
>Reporter: Lei Zhang
>Assignee: Lei Zhang
>Priority: Major
>
> To highlight this is the property of forward recovery
> Rename retries to forwardRetries
> Rename timeout to forwardTimeout
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (SCB-1662) Use jackson module afterburner to speed ​​up jackson processing

2019-12-11 Thread Ang Li (Jira)


[ 
https://issues.apache.org/jira/browse/SCB-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994314#comment-16994314
 ] 

Ang Li commented on SCB-1662:
-

Jackson (https://github.com/FasterXML/jackson) extension module used to enhance 
performance using bytecode generation to replace use of Reflection for field 
access and method calls

> Use jackson module afterburner  to speed ​​up jackson processing
> 
>
> Key: SCB-1662
> URL: https://issues.apache.org/jira/browse/SCB-1662
> Project: Apache ServiceComb
>  Issue Type: Improvement
>  Components: Java-Chassis
>Reporter: Ang Li
>Assignee: Ang Li
>Priority: Minor
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)