You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by wu...@apache.org on 2019/04/17 02:16:02 UTC

[servicecomb-java-chassis] branch weak-contract-type updated (1ec59f4 -> d126301)

This is an automated email from the ASF dual-hosted git repository.

wujimin pushed a change to branch weak-contract-type
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git.


 discard 1ec59f4  [SCB-1256][WIP][WEAK] rename ConcreteInterfaceRegister to ConcreteTypeRegister
 discard 770ea5f  [SCB-1252][WIP][WEAK] change element of HttpParameterType to uppercase
 discard f6ecd8b  [SCB-1248][WIP][WEAK] update unit test
 discard 7a74d44  [SCB-1248][WIP][WEAK] reduce EventBus subscribers
 discard c4b1a11  [SCB-1248][WIP][WEAK] add MicroserviceMeta
 discard 188f79d  [SCB-1248][WIP][WEAK] add SwaggerLoader
 discard bbd56e8  [SCB-1248][WIP][WEAK] remove MicroserviceVersionFactory
 discard 8c14f63  [SCB-1248][WIP][WEAK] improve config log
 discard 9d89e8b  [SCB-1248][WIP][WEAK] make local registry easier to use
 discard 3d61952  [SCB-1228][WIP][WEAK] update chassis pom.xml to present interface argument name
 discard dcca218  [SCB-1228][WIP][WEAK] update unit test
 discard 19423ae  [SCB-1228][WIP][WEAK] update SPI definition
 discard 7cfe158  [SCB-1228][WIP][WEAK] springmvc processors switch to new mechanism
 discard efac97f  [SCB-1228][WIP][WEAK] swagger springmvc generator switch to new mechanism
 discard 7ab105d  [SCB-1228][WIP][WEAK] delete swagger to class logic
 discard 8cf4d08  [SCB-1227][WIP][WEAK] update unit test
 discard a19e28d  [SCB-1227][WIP][WEAK] update SPI definition
 discard 3ef1758  [SCB-1227][WIP][WEAK] jaxrs processors switch to new mechanism
 discard 896cc64  [SCB-1227][WIP][WEAK] swagger jaxrs generator switch to new mechanism
 discard 7eae773  [SCB-1242] add spring data plugin project
 discard 8a45927  [SCB-1242] swagger generator and json deserializer prepare to support spring data
 discard 3c8e66d  [SCB-1225][WIP][WEAK] fix by review comments
 discard 505eb6b  [SCB-1225][WIP][WEAK] remove unnecessary dependency of spring
 discard 4d4b4ff  [SCB-1225][WIP][WEAK] update unit test cases
 discard cbebf48  [SCB-1225][WIP][WEAK] SPI definition switch to new mechanism
 discard 6cff5d3  [SCB-1225][WIP][WEAK] delete useless files
 discard beaafea  [SCB-1225][WIP][WEAK] create abstract rest mode generator
 discard aa41582  [SCB-1225][WIP][WEAK] create pojo mode generator
 discard 5b79df1  [SCB-1225][WIP][WEAK] unit test utils switch to new mechanism
 discard aa26c03  [SCB-1225][WIP][WEAK] response generator switch to new mechanism
 discard 99330cf  [SCB-1225][WIP][WEAK] parameter generator switch to new mechanism
 discard f3a14bc  [SCB-1225][WIP][WEAK] class and method annotation switch to new mechanism
 discard 464a0ba  [SCB-1225][WIP][WEAK] create basic generator implementation
 discard 15c2199  [SCB-1225][WIP][WEAK] define new generator interfaces
 discard bb27a63  [SCB-1225][WIP][WEAK] delete swagger to class logic
 discard 1dc3761  [SCB-1213][WIP][WEAK] swagger generator placeholder resolver not depend on spring
 discard 286707c  [SC-1214][WIP][WEAK] change weak-contract-type branch version to weak-contract-type-SNAPSHOT
     new ba0ec6e  [SCB-1229] update the version of dependency
     new 472b5c4  [SCB-1229] update the version of dependency: update vertx to 3.6.3 and commons-io
     new 0133564  [SCB-1229] update the version of dependency: update license
     new c4accb2  [SCB-1229] update the version of dependency: fix as reviewed
     new 5177bfe  [SCB-1250] make ArchaiusUtils simpler
     new cbe759e  [SCB-1246] EventBus subscriber support order
     new 90149fb  SCB-1229 Update the License information in the binary LICENSE information
     new 6c32bd7  [SCB-1184] limit the memory consumption of IT process
     new 6b81180  [SCB-1184] add IT for the case that provider's response type is CompletableFuture<ResponseEntity>
     new 74b5a15  [SCB-1253] adjust the priority of GlobalRestFailureHandler, add some fixes for default GlobalRestFailureHandler
     new adc687b  [SCB-1253] check before send response, fix the response message
     new 616a896  [SCB-1253] add IT for failureHandler
     new b1167aa  [SCB-1253] read max heap size config of IT from system property
     new b9db4ee  [SCB-1251][WIP] delete unnecessary files
     new 00583e9  [SCB-1251][WIP] PriorityProperty instances should be managed
     new 8a309f8  [SCB-1251][WIP] update unit test
     new 6ddfab9  [SCB-1251] other modules switch to new mechanism
     new 10e5548  [SCB-1251] fix swagger to html scroll problem
     new 2739e78  [SCB-1251] add configuration inspector
     new 857a7cc  [SCB-1251] add unregister PriorityProperty when remove MicroserviceVersions unit test
     new 63c1333  [SCB-1251] add inspector unit test
     new 5153292  [SCB-1251] change constructor of PriorityProperty to package protected by code review
     new 5516d91  [SC-1214][WIP][WEAK] change weak-contract-type branch version to weak-contract-type-SNAPSHOT
     new baac7f6  [SCB-1213][WIP][WEAK] swagger generator placeholder resolver not depend on spring
     new 0be692c  [SCB-1225][WIP][WEAK] delete swagger to class logic
     new 8bbb3e6  [SCB-1225][WIP][WEAK] define new generator interfaces
     new ceadfb5  [SCB-1225][WIP][WEAK] create basic generator implementation
     new 0317444  [SCB-1225][WIP][WEAK] class and method annotation switch to new mechanism
     new 259680f  [SCB-1225][WIP][WEAK] parameter generator switch to new mechanism
     new bf6e491  [SCB-1225][WIP][WEAK] response generator switch to new mechanism
     new c0de1d5  [SCB-1225][WIP][WEAK] unit test utils switch to new mechanism
     new 16f6f97  [SCB-1225][WIP][WEAK] create pojo mode generator
     new 0b1453a  [SCB-1225][WIP][WEAK] create abstract rest mode generator
     new fba46d1  [SCB-1225][WIP][WEAK] delete useless files
     new 2b6e064  [SCB-1225][WIP][WEAK] SPI definition switch to new mechanism
     new aee4c2b  [SCB-1225][WIP][WEAK] update unit test cases
     new c16917f  [SCB-1225][WIP][WEAK] remove unnecessary dependency of spring
     new 862ec12  [SCB-1225][WIP][WEAK] fix by review comments
     new 592bd6b  [SCB-1242] swagger generator and json deserializer prepare to support spring data
     new db82874  [SCB-1242] add spring data plugin project
     new 2dd3903  [SCB-1227][WIP][WEAK] swagger jaxrs generator switch to new mechanism
     new aa43031  [SCB-1227][WIP][WEAK] jaxrs processors switch to new mechanism
     new 569cd70  [SCB-1227][WIP][WEAK] update SPI definition
     new c0495fe  [SCB-1227][WIP][WEAK] update unit test
     new 3b0df51  [SCB-1228][WIP][WEAK] delete swagger to class logic
     new bf61660  [SCB-1228][WIP][WEAK] swagger springmvc generator switch to new mechanism
     new 71959f0  [SCB-1228][WIP][WEAK] springmvc processors switch to new mechanism
     new 36d663e  [SCB-1228][WIP][WEAK] update SPI definition
     new 48f61ba  [SCB-1228][WIP][WEAK] update unit test
     new 7a7552a  [SCB-1228][WIP][WEAK] update chassis pom.xml to present interface argument name
     new a3cb467  [SCB-1248][WIP][WEAK] make local registry easier to use
     new d308112  [SCB-1248][WIP][WEAK] improve config log
     new a70f26c  [SCB-1248][WIP][WEAK] remove MicroserviceVersionFactory
     new 175ee5a  [SCB-1248][WIP][WEAK] add SwaggerLoader
     new 80dc449  [SCB-1248][WIP][WEAK] add MicroserviceMeta
     new 34ca54c  [SCB-1248][WIP][WEAK] reduce EventBus subscribers
     new a3209a8  [SCB-1248][WIP][WEAK] update unit test
     new e7e2c87  [SCB-1252][WIP][WEAK] change element of HttpParameterType to uppercase
     new d126301  [SCB-1256][WIP][WEAK] rename ConcreteInterfaceRegister to ConcreteTypeRegister

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1ec59f4)
            \
             N -- N -- N   refs/heads/weak-contract-type (d126301)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2255 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../common/javassist/JavassistUtils.java           |   2 +-
 .../converter/TestSwaggerToProtoGenerator.java     |   3 +-
 .../TestClassPathStaticResourceHandler.java        |   3 +-
 .../org/apache/servicecomb/core/SCBEngine.java     |   8 ++
 .../core/definition/MicroserviceVersionMeta.java   |   9 ++
 .../servicecomb/core/definition/OperationMeta.java |   8 +-
 .../core/definition/loader/SchemaLoader.java       |   3 +-
 .../provider/producer/ProducerProviderManager.java |   9 +-
 .../org/apache/servicecomb/core/TestSCBEngine.java |   2 +-
 .../java/org/apache/servicecomb/core/Utils.java    |  37 -----
 .../core/definition/TestMicroserviceMeta.java      |  76 +++++++++++
 .../core/definition/TestOperationMeta.java         |  18 ++-
 .../definition/schema/StaticSchemaFactoryTest.java |   2 +-
 .../core/transport/TestAbstractTransport.java      |  12 --
 .../jaxrs/client/CodeFirstRestTemplateJaxrs.java   |   5 +-
 .../demo/jaxrs/server/CodeFirstJaxrs.java          |   7 +-
 .../client/CodeFirstRestTemplateSpringmvc.java     |   4 +-
 .../demo/springmvc/server/CodeFirstSpringmvc.java  |   7 +-
 .../edge/core/AbstractEdgeDispatcher.java          |  25 +++-
 .../foundation/common/event/SimpleEventBus.java    |   5 +-
 .../foundation/common/event/SimpleSubscriber.java  |  11 ++
 .../foundation/common/event/SubscriberOrder.java   |  15 ++-
 .../foundation/common/net/URIEndpointObject.java   |   2 +-
 .../foundation/common/utils/Log4jUtils.java        |   3 +-
 .../foundation/common/event}/TestEventBus.java     |  30 ++++-
 .../foundation/common/part/TestFilePart.java       |   7 +-
 .../org/apache/servicecomb/config/ConfigUtil.java  |  23 ++++
 .../config/inject/ConfigObjectFactory.java         |  47 ++++---
 .../config/priority/PriorityProperty.java          | 110 ++++++++++++---
 .../config/priority/PriorityPropertyManager.java   | 147 ++++++++++++++++++++
 .../priority/impl/BooleanPriorityProperty.java     |  25 ----
 .../priority/impl/DoublePriorityProperty.java      |  25 ----
 .../priority/impl/FloatPriorityProperty.java       |  25 ----
 .../config/priority/impl/IntPriorityProperty.java  |  25 ----
 .../config/priority/impl/LongPriorityProperty.java |  25 ----
 .../config/priority/impl/PropertyGetter.java       | 125 -----------------
 .../priority/impl/StringPriorityProperty.java      |  25 ----
 .../apache/servicecomb/config/TestConfigUtil.java  |  43 +++---
 .../config/TestConfigurationSpringInitializer.java |   6 +
 .../config/inject/TestConfigObjectFactory.java     |  51 +++----
 .../config/priority/TestPriorityProperty.java      | 111 ++++++++-------
 .../config/priority/TestPriorityPropertyBase.java  |  43 +++---
 .../protobuf/internal/parser/TestProtoParser.java  |   3 +-
 .../test/scaffolding/config/ArchaiusUtils.java     |  19 +--
 .../vertx/http/StandardHttpServletRequestEx.java   |   3 +-
 .../foundation/vertx/http/TestFileUploadPart.java  |   7 +-
 .../foundation/vertx/http/TestReadStreamPart.java  |   3 +-
 .../http/TestStandardHttpServletRequestEx.java     |   3 +-
 ...stVertxServerResponseToHttpServletResponse.java |   5 +-
 .../servicecomb/faultinjection/AbortFaultTest.java |   2 +-
 .../servicecomb/faultinjection/DelayFaultTest.java |   2 +-
 .../faultinjection/TestFaultInjectHandler.java     |  31 ++---
 .../faultinjection/TestFaultInjectUtil.java        |  22 +--
 .../org/apache/servicecomb/qps/TestConfig.java     |   8 +-
 handlers/handler-loadbalance/pom.xml               |   4 +-
 .../inspector/internal/InspectorBootListener.java  |   8 +-
 .../inspector/internal/InspectorImpl.java          |  76 +++++++++++
 .../internal/model/DynamicPropertyView.java        |  38 ++++--
 .../internal/model/PriorityPropertyView.java       |  32 ++---
 .../internal/swagger/AppendStyleProcessor.java     |   1 +
 inspector/src/main/resources/webroot/index.html    |  18 +++
 .../src/main/resources/webroot/static/css/main.css |  34 +++++
 .../webroot/static/dynamicProperties.html          |  86 ++++++++++++
 .../webroot/static/priorityProperties.html         | 113 ++++++++++++++++
 .../internal/TestInspectorBootListener.java        |  11 +-
 .../inspector/internal/TestInspectorImpl.java      |  76 +++++++++--
 .../org/apache/servicecomb/it/ConsumerMain.java    |   3 +
 .../org/apache/servicecomb/it/deploy/Deploys.java  |  28 +++-
 .../apache/servicecomb/it/deploy/NormalDeploy.java |  18 ++-
 .../it/schema/DefaultJsonValueResponse.java        |   0
 .../servicecomb/it/testcase/TestAsyncInvoke.java   | 149 +++++++++++++++++++++
 .../servicecomb/it/testcase/TestDownload.java      |   3 +-
 .../it/testcase/TestRestServerConfigEdge.java      |  54 +++++++-
 .../apache/servicecomb/it/testcase/TestUpload.java |   9 +-
 .../it/edge/DemoDispatcherWithFailureHandler.java  |  63 +++++++++
 .../edge/DemoDispatcherWithoutFailureHandler.java  |  34 +++--
 ...cecomb.transport.rest.vertx.VertxHttpDispatcher |   2 +
 .../it/schema/DataTypeAsyncJaxrsSchema.java        |  53 ++++++++
 .../servicecomb/it/schema/DownloadSchema.java      |  10 +-
 .../spring-zuul-tracing-tests/pom.xml              |   4 +
 .../tests/SpringMvcIntegrationTestBase.java        |   6 +-
 integration-tests/tracing-tests/pom.xml            |   6 +
 java-chassis-dependencies/default/pom.xml          |  66 ++++-----
 java-chassis-distribution/src/release/LICENSE      |  86 ++++++------
 .../metrics/core/DefaultRegistryInitializer.java   |   7 +-
 .../core/TestDefaultRegistryInitializer.java       |   5 +-
 .../prometheus/TestPrometheusPublisher.java        |   9 +-
 .../consumer/MicroserviceManager.java              |   1 +
 .../consumer/MicroserviceVersion.java              |   3 +
 .../consumer/MicroserviceVersions.java             |   6 +
 .../apache/servicecomb/swagger/SwaggerUtils.java   |   3 +-
 .../core/unittest/UnitTestSwaggerUtils.java        |   3 +-
 .../servicecomb/swagger/TestSwaggerUtils.java      |   5 +-
 .../transport/rest/vertx/RestServerVerticle.java   |  12 +-
 94 files changed, 1654 insertions(+), 768 deletions(-)
 delete mode 100644 core/src/test/java/org/apache/servicecomb/core/Utils.java
 copy tracing/tracing-common/src/main/java/org/apache/servicecomb/tracing/Span.java => foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/event/SubscriberOrder.java (84%)
 rename foundations/foundation-common/src/test/java/{com/google/common/eventbus => org/apache/servicecomb/foundation/common/event}/TestEventBus.java (76%)
 create mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/BooleanPriorityProperty.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/DoublePriorityProperty.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/FloatPriorityProperty.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/IntPriorityProperty.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/LongPriorityProperty.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/PropertyGetter.java
 delete mode 100644 foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/impl/StringPriorityProperty.java
 copy service-registry/src/test/java/org/apache/servicecomb/serviceregistry/client/http/TestWebsocketClientPool.java => foundations/foundation-config/src/test/java/org/apache/servicecomb/config/priority/TestPriorityPropertyBase.java (54%)
 copy foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/map/MapEntry.java => inspector/src/main/java/org/apache/servicecomb/inspector/internal/model/DynamicPropertyView.java (58%)
 copy integration-tests/it-producer/src/main/java/org/apache/servicecomb/it/schema/DefaultJsonValueRequest.java => inspector/src/main/java/org/apache/servicecomb/inspector/internal/model/PriorityPropertyView.java (59%)
 create mode 100644 inspector/src/main/resources/webroot/static/dynamicProperties.html
 create mode 100644 inspector/src/main/resources/webroot/static/priorityProperties.html
 copy integration-tests/{it-producer => it-consumer}/src/main/java/org/apache/servicecomb/it/schema/DefaultJsonValueResponse.java (100%)
 create mode 100644 integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java
 create mode 100644 integration-tests/it-edge/src/main/java/org/apache/servicecomb/it/edge/DemoDispatcherWithFailureHandler.java
 copy demo/demo-edge/edge-service/src/main/java/org/apache/servicecomb/demo/edge/service/CustomResponseMetaMapper.java => integration-tests/it-edge/src/main/java/org/apache/servicecomb/it/edge/DemoDispatcherWithoutFailureHandler.java (53%)
 create mode 100644 integration-tests/it-producer/src/main/java/org/apache/servicecomb/it/schema/DataTypeAsyncJaxrsSchema.java