├── .mvn ├── jvm.config └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── dubbo-admin └── src │ ├── main │ ├── webapp │ │ ├── WEB-INF │ │ │ ├── i18n │ │ │ │ └── message_en.properties │ │ │ ├── templates │ │ │ │ ├── home │ │ │ │ │ └── screen │ │ │ │ │ │ ├── ajax.vm │ │ │ │ │ │ └── services.vm │ │ │ │ ├── governance │ │ │ │ │ ├── screen │ │ │ │ │ │ ├── error.vm │ │ │ │ │ │ ├── services │ │ │ │ │ │ │ └── search.vm │ │ │ │ │ │ ├── addresses │ │ │ │ │ │ │ └── search.vm │ │ │ │ │ │ ├── applications │ │ │ │ │ │ │ └── search.vm │ │ │ │ │ │ ├── routes │ │ │ │ │ │ │ └── preview.vm │ │ │ │ │ │ ├── noServicePrivilege.vm │ │ │ │ │ │ └── loadbalances │ │ │ │ │ │ │ └── show.vm │ │ │ │ │ └── layout │ │ │ │ │ │ ├── search.vm │ │ │ │ │ │ ├── redirect.vm │ │ │ │ │ │ └── noServicePrivilege.vm │ │ │ │ └── sysinfo │ │ │ │ │ ├── layout │ │ │ │ │ ├── search.vm │ │ │ │ │ └── redirect.vm │ │ │ │ │ └── screen │ │ │ │ │ ├── versions │ │ │ │ │ ├── index.vm │ │ │ │ │ └── show.vm │ │ │ │ │ └── envs │ │ │ │ │ └── index.vm │ │ │ ├── dubbo.properties │ │ │ └── common │ │ │ │ └── rewrite.xml │ │ ├── favicon.ico │ │ ├── images │ │ │ ├── dog.gif │ │ │ ├── Thumbs.db │ │ │ ├── bg01.gif │ │ │ ├── bg02.gif │ │ │ ├── bg03.gif │ │ │ ├── bg04.gif │ │ │ ├── co_01.gif │ │ │ ├── co_02.gif │ │ │ ├── co_03.gif │ │ │ ├── co_04.gif │ │ │ ├── exit.png │ │ │ ├── input.png │ │ │ ├── logo.png │ │ │ ├── 404error.gif │ │ │ ├── btn_info.png │ │ │ ├── head_bg.png │ │ │ ├── ico_add.png │ │ │ ├── ico_back.png │ │ │ ├── ico_down.png │ │ │ ├── ico_edit.png │ │ │ ├── ico_forb.png │ │ │ ├── ico_help.png │ │ │ ├── ico_list.png │ │ │ ├── ico_run.png │ │ │ ├── ico_save.png │ │ │ ├── ico_show.png │ │ │ ├── ico_tree.png │ │ │ ├── ico_up.png │ │ │ ├── ico_user.png │ │ │ ├── ico_warn.png │ │ │ ├── login_bg.png │ │ │ ├── main_bg.png │ │ │ ├── nav_bg.png │ │ │ ├── nav_pass.png │ │ │ ├── pop_left.png │ │ │ ├── tip_del.png │ │ │ ├── tree-up.gif │ │ │ ├── fav_arrow.png │ │ │ ├── fav_title.png │ │ │ ├── ico_cancel.png │ │ │ ├── ico_delete.png │ │ │ ├── ico_enable.png │ │ │ ├── ico_error.png │ │ │ ├── ico_graph.png │ │ │ ├── ico_reload.png │ │ │ ├── ico_search.png │ │ │ ├── login_box.png │ │ │ ├── pop_close.png │ │ │ ├── pop_right.png │ │ │ ├── search_btn.png │ │ │ ├── tab_active.png │ │ │ ├── tip_choose.png │ │ │ ├── tree-blank.gif │ │ │ ├── tree-down.gif │ │ │ ├── btn_service.png │ │ │ ├── button_hover.png │ │ │ ├── button_normal.png │ │ │ ├── dubbo_list_th.png │ │ │ ├── ico_balance.png │ │ │ ├── ico_disable.png │ │ │ ├── ico_favorite.png │ │ │ ├── ico_password.png │ │ │ ├── ico_reconnect.png │ │ │ ├── ico_recover.png │ │ │ ├── ico_register.png │ │ │ ├── ico_renotify.png │ │ │ ├── ico_subscribe.png │ │ │ ├── login_shadow.png │ │ │ ├── nav_btn_bg22.png │ │ │ ├── nav_btn_bg3.png │ │ │ ├── nav_btn_bg33.png │ │ │ ├── nav_btn_bg44.png │ │ │ ├── nav_selected.png │ │ │ ├── pop_midbottom.png │ │ │ ├── search_active.png │ │ │ ├── search_input.png │ │ │ ├── search_line.png │ │ │ ├── tip_confirm.png │ │ │ ├── tip_succeed.png │ │ │ ├── tree-left-up.gif │ │ │ ├── tree-up-right.gif │ │ │ ├── fav_tab_active.png │ │ │ ├── fav_tab_normal.png │ │ │ ├── login_btn_hover.png │ │ │ ├── pop_leftbottom.png │ │ │ ├── pop_rightbottom.png │ │ │ ├── search_global_m.png │ │ │ ├── table_title_bg.png │ │ │ ├── tree-down-left.gif │ │ │ ├── tree-right-down.gif │ │ │ ├── login_btn_normal.png │ │ │ ├── pop_lefttop_small.png │ │ │ ├── pop_midtop_small.png │ │ │ └── pop_righttop_small.png │ │ ├── crossdomain.xml │ │ ├── js │ │ │ └── trcolor.js │ │ └── SpryAssets │ │ │ └── SpryValidationRadio.css │ ├── java │ │ └── com │ │ │ └── alibaba │ │ │ └── dubbo │ │ │ ├── registry │ │ │ └── common │ │ │ │ ├── ChangeListener.java │ │ │ │ ├── util │ │ │ │ └── LocaleUtils.java │ │ │ │ └── domain │ │ │ │ ├── Dependency.java │ │ │ │ ├── SearchHistory.java │ │ │ │ ├── Favorite.java │ │ │ │ ├── Owner.java │ │ │ │ └── Cluster.java │ │ │ └── governance │ │ │ ├── biz │ │ │ └── common │ │ │ │ └── i18n │ │ │ │ └── MessageResourceService.java │ │ │ ├── web │ │ │ ├── common │ │ │ │ ├── i18n │ │ │ │ │ └── LocaleUtil.java │ │ │ │ ├── auth │ │ │ │ │ └── DubboUser.java │ │ │ │ └── pulltool │ │ │ │ │ └── ToolUtil.java │ │ │ ├── governance │ │ │ │ └── module │ │ │ │ │ └── screen │ │ │ │ │ └── NoServicePrivilege.java │ │ │ ├── sysmanage │ │ │ │ └── module │ │ │ │ │ └── screen │ │ │ │ │ └── Privileges.java │ │ │ └── personal │ │ │ │ └── module │ │ │ │ └── screen │ │ │ │ └── Passwds.java │ │ │ └── service │ │ │ ├── OwnerService.java │ │ │ └── ConfigService.java │ └── resources │ │ └── logback.xml │ └── test │ └── resources │ ├── DocumentData.xml │ ├── dubbo.properties │ ├── ChangeData.xml │ ├── UserData.xml │ ├── ClusterData.xml │ ├── WeightData.xml │ ├── LayerData.xml │ ├── TestData.xml │ ├── RegistryData.xml │ ├── logback.xml │ ├── RouteData.xml │ ├── ConsumerData.xml │ ├── ApprovalData.xml │ └── AgreementData.xml ├── dubbo-common └── src │ ├── test │ ├── resources │ │ ├── StreamUtilsTest.txt │ │ ├── properties.load │ │ ├── META-INF │ │ │ ├── dubbo │ │ │ │ └── internal │ │ │ │ │ ├── com.alibaba.dubbo.common.status.StatusChecker │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext8_add.AddExt1 │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext4.NoUrlParamExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext5.NoAdaptiveMethodExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext7.InitErrorExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext6_inject.Ext6 │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.compatible.CompatibleExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.adaptive.HasAdaptiveExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext2.Ext2 │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext3.UseProtocolKeyExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext1.SimpleExt │ │ │ │ │ ├── com.alibaba.dubbo.common.extensionloader.ext6_wrap.WrappedExt │ │ │ │ │ └── com.alibaba.dubbo.common.extensionloader.activate.ActivateExt1 │ │ │ └── services │ │ │ │ └── com.alibaba.dubbo.common.extensionloader.activate.ActivateExt1 │ │ ├── com │ │ │ └── alibaba │ │ │ │ └── dubbo │ │ │ │ └── common │ │ │ │ └── serialize │ │ │ │ └── dubbo │ │ │ │ └── SimpleDO.fc │ │ └── logback.xml │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── common │ │ ├── extensionloader │ │ ├── ext6_inject │ │ │ ├── Dao.java │ │ │ ├── impl │ │ │ │ └── DaoImpl.java │ │ │ └── Ext6.java │ │ ├── adaptive │ │ │ ├── HasAdaptiveExt.java │ │ │ └── impl │ │ │ │ └── HasAdaptiveExtImpl1.java │ │ ├── activate │ │ │ └── ActivateExt1.java │ │ ├── ext6_wrap │ │ │ ├── WrappedExt.java │ │ │ └── impl │ │ │ │ ├── Ext5Impl1.java │ │ │ │ └── Ext5Impl2.java │ │ ├── ext5 │ │ │ ├── NoAdaptiveMethodExt.java │ │ │ └── impl │ │ │ │ ├── Ext5Impl1.java │ │ │ │ └── Ext5Impl2.java │ │ ├── NoSpiExt.java │ │ ├── ext7 │ │ │ ├── impl │ │ │ │ └── Ext7Impl.java │ │ │ └── InitErrorExt.java │ │ ├── compatible │ │ │ └── CompatibleExt.java │ │ ├── ext4 │ │ │ ├── impl │ │ │ │ └── Ext4Impl1.java │ │ │ └── NoUrlParamExt.java │ │ └── ext8_add │ │ │ ├── impl │ │ │ ├── AddExt1Impl1.java │ │ │ ├── AddExt2Impl1.java │ │ │ ├── AddExt1_ManualAdd1.java │ │ │ └── AddExt1_ManualAdd2.java │ │ │ ├── AddExt1.java │ │ │ └── AddExt2.java │ │ ├── model │ │ ├── AnimalEnum.java │ │ ├── person │ │ │ └── PersonStatus.java │ │ ├── BizException.java │ │ └── BizExceptionNoDefaultConstructor.java │ │ ├── utils │ │ └── MyEnum.java │ │ ├── compiler │ │ └── support │ │ │ └── JdkCompilerTest.java │ │ └── serialize │ │ ├── dubbo │ │ └── SimpleDO.java │ │ └── serialization │ │ ├── JavaSerializationTest.java │ │ └── CompactedJavaSerializationTest.java │ └── main │ ├── resources │ └── META-INF │ │ └── dubbo │ │ └── internal │ │ ├── com.alibaba.dubbo.common.store.DataStore │ │ ├── com.alibaba.dubbo.common.logger.LoggerAdapter │ │ ├── com.alibaba.dubbo.common.status.StatusChecker │ │ ├── com.alibaba.dubbo.common.extension.ExtensionFactory │ │ ├── com.alibaba.dubbo.common.compiler.Compiler │ │ ├── com.alibaba.dubbo.common.threadpool.ThreadPool │ │ └── com.alibaba.dubbo.common.serialize.Serialization │ └── java │ └── com │ └── alibaba │ └── dubbo │ └── common │ ├── Resetable.java │ ├── serialize │ └── ObjectOutput.java │ ├── utils │ ├── Holder.java │ └── Assert.java │ ├── logger │ └── slf4j │ │ └── Slf4jLoggerAdapter.java │ ├── status │ └── StatusChecker.java │ └── json │ └── ParseException.java ├── jitpack.yml ├── dubbo-config ├── dubbo-config-spring │ └── src │ │ ├── main │ │ └── resources │ │ │ └── META-INF │ │ │ ├── spring.schemas │ │ │ ├── spring.handlers │ │ │ └── dubbo │ │ │ └── internal │ │ │ ├── com.alibaba.dubbo.common.extension.ExtensionFactory │ │ │ └── com.alibaba.dubbo.common.status.StatusChecker │ │ └── test │ │ ├── resources │ │ ├── META-INF │ │ │ └── dubbo │ │ │ │ └── internal │ │ │ │ ├── com.alibaba.dubbo.rpc.Filter │ │ │ │ └── com.alibaba.dubbo.registry.RegistryFactory │ │ ├── dubbo.properties │ │ └── logback.xml │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── config │ │ └── spring │ │ ├── GenericDemoService.java │ │ ├── api │ │ ├── Box.java │ │ ├── DemoServiceSon.java │ │ ├── HelloService.java │ │ └── DemoService.java │ │ ├── filter │ │ ├── MockDao.java │ │ └── MockDaoImpl.java │ │ ├── registry │ │ └── MockRegistryFactory.java │ │ └── impl │ │ └── HelloServiceImpl.java └── dubbo-config-api │ └── src │ └── test │ ├── resources │ ├── META-INF │ │ └── services │ │ │ ├── com.alibaba.dubbo.rpc.Protocol │ │ │ └── com.alibaba.dubbo.registry.RegistryFactory │ └── logback.xml │ └── java │ └── com │ └── alibaba │ └── dubbo │ └── config │ ├── api │ └── Box.java │ └── cache │ └── CacheService.java ├── dubbo-container ├── dubbo-container-api │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ ├── assembly │ │ └── bin │ │ │ ├── restart.sh │ │ │ ├── server.sh │ │ │ ├── start.bat │ │ │ └── stop.sh │ │ └── dubbo │ │ └── internal │ │ └── com.alibaba.dubbo.container.page.PageHandler ├── dubbo-container-spring │ └── src │ │ ├── main │ │ └── resources │ │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ └── com.alibaba.dubbo.container.Container │ │ └── test │ │ └── resources │ │ ├── logback.xml │ │ └── META-INF │ │ └── spring │ │ └── test.xml └── dubbo-container-logback │ └── src │ └── main │ └── resources │ └── META-INF │ └── dubbo │ └── internal │ └── com.alibaba.dubbo.container.Container ├── dubbo-filter ├── dubbo-filter-cache │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ ├── com.alibaba.dubbo.rpc.Filter │ │ │ └── com.alibaba.dubbo.cache.CacheFactory │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── cache │ │ ├── Cache.java │ │ └── CacheFactory.java └── dubbo-filter-validation │ └── src │ └── main │ ├── resources │ └── META-INF │ │ └── dubbo │ │ └── internal │ │ ├── com.alibaba.dubbo.rpc.Filter │ │ └── com.alibaba.dubbo.validation.Validation │ └── java │ └── com │ └── alibaba │ └── dubbo │ └── validation │ └── Validator.java ├── dubbo-monitor ├── dubbo-monitor-api │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ └── com.alibaba.dubbo.rpc.Filter │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── monitor │ │ └── Monitor.java └── dubbo-monitor-default │ └── src │ └── main │ └── resources │ └── META-INF │ └── dubbo │ └── internal │ └── com.alibaba.dubbo.monitor.MonitorFactory ├── dubbo-rpc ├── dubbo-rpc-default │ └── src │ │ ├── main │ │ └── resources │ │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ ├── com.alibaba.dubbo.rpc.Protocol │ │ │ ├── com.alibaba.dubbo.remoting.Codec2 │ │ │ ├── com.alibaba.dubbo.rpc.Filter │ │ │ ├── com.alibaba.dubbo.container.page.PageHandler │ │ │ ├── com.alibaba.dubbo.common.status.StatusChecker │ │ │ └── com.alibaba.dubbo.remoting.telnet.TelnetHandler │ │ └── test │ │ ├── resources │ │ └── logback.xml │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── rpc │ │ └── protocol │ │ └── dubbo │ │ └── support │ │ ├── Type.java │ │ ├── NonSerialized.java │ │ └── RemoteService.java ├── dubbo-rpc-injvm │ └── src │ │ ├── main │ │ └── resources │ │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ └── com.alibaba.dubbo.rpc.Protocol │ │ └── test │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── rpc │ │ └── protocol │ │ └── injvm │ │ ├── Type.java │ │ └── IEcho.java └── dubbo-rpc-api │ └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ ├── com.alibaba.dubbo.rpc.InvokerListener │ │ │ ├── com.alibaba.dubbo.rpc.Protocol │ │ │ ├── com.alibaba.dubbo.rpc.ProxyFactory │ │ │ └── com.alibaba.dubbo.rpc.Filter │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── rpc │ │ ├── service │ │ └── EchoService.java │ │ └── RpcConstants.java │ └── test │ ├── resources │ └── logback.xml │ └── java │ └── com │ └── alibaba │ └── dubbo │ └── rpc │ ├── proxy │ ├── Type.java │ └── RemoteService.java │ └── support │ ├── Type.java │ └── IEcho.java ├── dubbo-registry ├── dubbo-registry-api │ └── src │ │ ├── main │ │ ├── resources │ │ │ └── META-INF │ │ │ │ └── dubbo │ │ │ │ └── internal │ │ │ │ ├── com.alibaba.dubbo.rpc.Protocol │ │ │ │ ├── com.alibaba.dubbo.common.status.StatusChecker │ │ │ │ └── com.alibaba.dubbo.container.page.PageHandler │ │ └── java │ │ │ └── com │ │ │ └── alibaba │ │ │ └── dubbo │ │ │ └── registry │ │ │ └── support │ │ │ └── SkipFailbackWrapperException.java │ │ └── test │ │ └── resources │ │ └── logback.xml ├── dubbo-registry-redis │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── dubbo │ │ └── internal │ │ └── com.alibaba.dubbo.registry.RegistryFactory ├── dubbo-registry-consul │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── dubbo │ │ └── internal │ │ └── com.alibaba.dubbo.registry.RegistryFactory └── dubbo-registry-zookeeper │ └── src │ └── main │ └── resources │ └── META-INF │ └── dubbo │ └── internal │ └── com.alibaba.dubbo.registry.RegistryFactory ├── dubbo-simple └── dubbo-monitor-simple │ └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ ├── com.alibaba.dubbo.container.Container │ │ │ └── com.alibaba.dubbo.container.page.PageHandler │ └── assembly │ │ └── conf │ │ └── dubbo.properties │ └── test │ ├── resources │ └── logback.xml │ └── java │ └── com │ └── alibaba │ └── dubbo │ └── monitor │ └── simple │ └── SimpleMonitor.java ├── dubbo-remoting ├── dubbo-remoting-api │ └── src │ │ ├── main │ │ ├── resources │ │ │ └── META-INF │ │ │ │ └── dubbo │ │ │ │ └── internal │ │ │ │ ├── com.alibaba.dubbo.remoting.exchange.Exchanger │ │ │ │ ├── com.alibaba.dubbo.remoting.Codec2 │ │ │ │ ├── com.alibaba.dubbo.remoting.telnet.TelnetHandler │ │ │ │ └── com.alibaba.dubbo.remoting.Dispatcher │ │ └── java │ │ │ └── com │ │ │ └── alibaba │ │ │ └── dubbo │ │ │ └── remoting │ │ │ ├── Decodeable.java │ │ │ ├── transport │ │ │ ├── ChannelHandlerDelegate.java │ │ │ └── MultiMessageHandler.java │ │ │ ├── exchange │ │ │ └── ExchangeClient.java │ │ │ └── buffer │ │ │ └── ChannelBufferFactory.java │ │ └── test │ │ ├── java │ │ └── com │ │ │ └── alibaba │ │ │ └── dubbo │ │ │ └── remoting │ │ │ ├── buffer │ │ │ ├── ByteBufferBackedChannelBufferTest.java │ │ │ ├── HeapChannelBufferTest.java │ │ │ └── DirectChannelBufferTest.java │ │ │ ├── DemoService.java │ │ │ ├── PerformanceClientMain.java │ │ │ ├── transport │ │ │ └── codec │ │ │ │ └── CodecAdapterTest.java │ │ │ ├── PerformanceServerMain.java │ │ │ └── DemoServiceImpl.java │ │ └── resources │ │ └── logback.xml ├── dubbo-remoting-zookeeper │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ └── com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── remoting │ │ └── zookeeper │ │ ├── ChildListener.java │ │ ├── StateListener.java │ │ ├── ZookeeperTransporter.java │ │ ├── curator │ │ └── CuratorZookeeperTransporter.java │ │ └── ZookeeperClient.java └── dubbo-remoting-netty │ └── src │ ├── main │ └── resources │ │ └── META-INF │ │ └── dubbo │ │ └── internal │ │ └── com.alibaba.dubbo.remoting.Transporter │ └── test │ └── resources │ └── logback.xml ├── dubbo-cluster └── src │ ├── main │ ├── resources │ │ └── META-INF │ │ │ └── dubbo │ │ │ └── internal │ │ │ ├── com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory │ │ │ ├── com.alibaba.dubbo.rpc.cluster.RouterFactory │ │ │ ├── com.alibaba.dubbo.rpc.cluster.LoadBalance │ │ │ ├── com.alibaba.dubbo.rpc.cluster.Cluster │ │ │ └── com.alibaba.dubbo.rpc.cluster.Merger │ └── java │ │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── rpc │ │ └── cluster │ │ ├── Merger.java │ │ └── RuleConverter.java │ └── test │ ├── java │ └── com │ │ └── alibaba │ │ └── dubbo │ │ └── rpc │ │ └── cluster │ │ ├── support │ │ ├── wrapper │ │ │ └── MyMockException.java │ │ └── MenuService.java │ │ └── filter │ │ ├── DemoService.java │ │ ├── MockService.java │ │ ├── DemoServiceMock.java │ │ └── DemoServiceStub.java │ └── resources │ ├── com │ └── alibaba │ │ └── dubbo │ │ └── rpc │ │ └── cluster │ │ └── router │ │ └── file │ │ ├── availablerule.javascript │ │ ├── methodrule.javascript │ │ └── notAvailablerule.javascript │ └── logback.xml ├── docker-compose.yml ├── dubbo └── README.md ├── hessian-lite ├── src │ └── main │ │ └── java │ │ └── com │ │ └── alibaba │ │ └── com │ │ └── caucho │ │ └── hessian │ │ └── io │ │ ├── BigIntegerDeserializer.java │ │ ├── OptionalSerializer.java │ │ └── OptionalDeserializer.java └── pom.xml ├── TODO.md └── PITCHME.md /.mvn/jvm.config: -------------------------------------------------------------------------------- 1 | -Xmx512m -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/i18n/message_en.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/StreamUtilsTest.txt: -------------------------------------------------------------------------------- 1 | 0123456789 -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/home/screen/ajax.vm: -------------------------------------------------------------------------------- 1 | no data -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/properties.load: -------------------------------------------------------------------------------- 1 | a=12 2 | b=34 3 | c=56 -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/screen/error.vm: -------------------------------------------------------------------------------- 1 | ERROR -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/layout/search.vm: -------------------------------------------------------------------------------- 1 | $screen_placeholder -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/sysinfo/layout/search.vm: -------------------------------------------------------------------------------- 1 | $screen_placeholder -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.status.StatusChecker: -------------------------------------------------------------------------------- 1 | aa=12 -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/com/alibaba/dubbo/common/serialize/dubbo/SimpleDO.fc: -------------------------------------------------------------------------------- 1 | a,d,e,b,c 2 | str3,str2 -------------------------------------------------------------------------------- /jitpack.yml: -------------------------------------------------------------------------------- 1 | jdk: 2 | - oraclejdk8 3 | install: 4 | - mvn -DskipTests clean source:jar package install -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/favicon.ico -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/dog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/dog.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/Thumbs.db -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/bg01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/bg01.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/bg02.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/bg02.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/bg03.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/bg03.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/bg04.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/bg04.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/co_01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/co_01.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/co_02.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/co_02.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/co_03.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/co_03.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/co_04.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/co_04.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/exit.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/input.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/logo.png -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/404error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/404error.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/btn_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/btn_info.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/head_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/head_bg.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_add.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_back.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_down.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_edit.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_forb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_forb.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_help.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_list.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_run.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_save.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_show.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_tree.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_up.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_user.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_warn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_warn.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/login_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/login_bg.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/main_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/main_bg.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_bg.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_pass.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_left.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tip_del.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tip_del.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-up.gif -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/main/resources/META-INF/spring.schemas: -------------------------------------------------------------------------------- 1 | http\://code.alibabatech.com/schema/dubbo/dubbo.xsd=META-INF/dubbo.xsd -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/fav_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/fav_arrow.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/fav_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/fav_title.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_cancel.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_delete.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_enable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_enable.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_error.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_graph.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_reload.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_search.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/login_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/login_box.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_close.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_right.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/search_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/search_btn.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tab_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tab_active.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tip_choose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tip_choose.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-blank.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-down.gif -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/restart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd `dirname $0` 3 | ./stop.sh 4 | ./start.sh 5 | -------------------------------------------------------------------------------- /dubbo-filter/dubbo-filter-cache/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Filter: -------------------------------------------------------------------------------- 1 | cache=com.alibaba.dubbo.cache.filter.CacheFilter -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/btn_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/btn_service.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/button_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/button_hover.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/button_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/button_normal.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/dubbo_list_th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/dubbo_list_th.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_balance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_balance.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_disable.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_favorite.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_password.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_reconnect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_reconnect.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_recover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_recover.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_register.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_register.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_renotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_renotify.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/ico_subscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/ico_subscribe.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/login_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/login_shadow.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_btn_bg22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_btn_bg22.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_btn_bg3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_btn_bg3.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_btn_bg33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_btn_bg33.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_btn_bg44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_btn_bg44.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/nav_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/nav_selected.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_midbottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_midbottom.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/search_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/search_active.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/search_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/search_input.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/search_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/search_line.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tip_confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tip_confirm.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tip_succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tip_succeed.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-left-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-left-up.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-up-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-up-right.gif -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.store.DataStore: -------------------------------------------------------------------------------- 1 | simple=com.alibaba.dubbo.common.store.support.SimpleDataStore -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-api/src/test/resources/META-INF/services/com.alibaba.dubbo.rpc.Protocol: -------------------------------------------------------------------------------- 1 | mockprotocol=com.alibaba.dubbo.config.support.MockProtocol -------------------------------------------------------------------------------- /dubbo-monitor/dubbo-monitor-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Filter: -------------------------------------------------------------------------------- 1 | monitor=com.alibaba.dubbo.monitor.support.MonitorFilter -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Protocol: -------------------------------------------------------------------------------- 1 | dubbo=com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-injvm/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Protocol: -------------------------------------------------------------------------------- 1 | injvm=com.alibaba.dubbo.rpc.protocol.injvm.InjvmProtocol -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/crossdomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/fav_tab_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/fav_tab_active.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/fav_tab_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/fav_tab_normal.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/login_btn_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/login_btn_hover.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_leftbottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_leftbottom.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_rightbottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_rightbottom.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/search_global_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/search_global_m.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/table_title_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/table_title_bg.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-down-left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-down-left.gif -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/tree-right-down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/tree-right-down.gif -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.logger.LoggerAdapter: -------------------------------------------------------------------------------- 1 | slf4j=com.alibaba.dubbo.common.logger.slf4j.Slf4jLoggerAdapter -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Filter: -------------------------------------------------------------------------------- 1 | mymock=com.alibaba.dubbo.config.spring.filter.MockFilter -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.Codec2: -------------------------------------------------------------------------------- 1 | dubbo=com.alibaba.dubbo.rpc.protocol.dubbo.DubboCountCodec -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/login_btn_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/login_btn_normal.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_lefttop_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_lefttop_small.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_midtop_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_midtop_small.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/images/pop_righttop_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-china/dubbo3/HEAD/dubbo-admin/src/main/webapp/images/pop_righttop_small.png -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/dubbo.properties: -------------------------------------------------------------------------------- 1 | dubbo.registry.address=redis://localhost:6379 2 | dubbo.admin.root.password=root 3 | dubbo.admin.guest.password=guest -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/screen/services/search.vm: -------------------------------------------------------------------------------- 1 | [#foreach($service in $services) 2 | #if ($velocityCount > 1),#end 3 | "$service" 4 | #end] -------------------------------------------------------------------------------- /dubbo-filter/dubbo-filter-validation/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Filter: -------------------------------------------------------------------------------- 1 | validation=com.alibaba.dubbo.validation.filter.ValidationFilter -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Protocol: -------------------------------------------------------------------------------- 1 | registry=com.alibaba.dubbo.registry.integration.RegistryProtocol -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.InvokerListener: -------------------------------------------------------------------------------- 1 | deprecated=com.alibaba.dubbo.rpc.listener.DeprecatedInvokerListener -------------------------------------------------------------------------------- /dubbo-simple/dubbo-monitor-simple/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.Container: -------------------------------------------------------------------------------- 1 | registry=com.alibaba.dubbo.monitor.simple.RegistryContainer -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/screen/addresses/search.vm: -------------------------------------------------------------------------------- 1 | [#foreach($address in $addresses) 2 | #if ($velocityCount > 1),#end 3 | "$address" 4 | #end] -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/main/resources/META-INF/spring.handlers: -------------------------------------------------------------------------------- 1 | http\://code.alibabatech.com/schema/dubbo=com.alibaba.dubbo.config.spring.schema.DubboNamespaceHandler -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-spring/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.Container: -------------------------------------------------------------------------------- 1 | spring=com.alibaba.dubbo.container.spring.SpringContainer -------------------------------------------------------------------------------- /dubbo-monitor/dubbo-monitor-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.monitor.MonitorFactory: -------------------------------------------------------------------------------- 1 | dubbo=com.alibaba.dubbo.monitor.dubbo.DubboMonitorFactroy -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-api/src/test/resources/META-INF/services/com.alibaba.dubbo.registry.RegistryFactory: -------------------------------------------------------------------------------- 1 | mockregistry=com.alibaba.dubbo.config.support.MockRegistryFactory 2 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.registry.RegistryFactory: -------------------------------------------------------------------------------- 1 | mock=com.alibaba.dubbo.config.spring.registry.MockRegistryFactory -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-logback/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.Container: -------------------------------------------------------------------------------- 1 | logback=com.alibaba.dubbo.container.logback.LogbackContainer -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-redis/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.registry.RegistryFactory: -------------------------------------------------------------------------------- 1 | redis=com.alibaba.dubbo.registry.redis.RedisRegistryFactory -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext8_add.AddExt1: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext8_add.impl.AddExt1Impl1 -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/services/com.alibaba.dubbo.common.extensionloader.activate.ActivateExt1: -------------------------------------------------------------------------------- 1 | com.alibaba.dubbo.common.extensionloader.activate.impl.ActivateExt1Impl1 -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.status.StatusChecker: -------------------------------------------------------------------------------- 1 | registry=com.alibaba.dubbo.registry.status.RegistryStatusChecker -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-consul/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.registry.RegistryFactory: -------------------------------------------------------------------------------- 1 | consul=com.alibaba.dubbo.registry.consul.ConsulRegistryFactory -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/screen/applications/search.vm: -------------------------------------------------------------------------------- 1 | [#foreach($application in $applications) 2 | #if ($velocityCount > 1),#end 3 | "$application" 4 | #end] -------------------------------------------------------------------------------- /dubbo-filter/dubbo-filter-validation/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.validation.Validation: -------------------------------------------------------------------------------- 1 | jvalidation=com.alibaba.dubbo.validation.support.jvalidation.JValidation -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extension.ExtensionFactory: -------------------------------------------------------------------------------- 1 | spring=com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-zookeeper/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.registry.RegistryFactory: -------------------------------------------------------------------------------- 1 | zookeeper=com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistryFactory -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.exchange.Exchanger: -------------------------------------------------------------------------------- 1 | header=com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/DocumentData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/dubbo.properties: -------------------------------------------------------------------------------- 1 | dubbo.registry.database.url=jdbc:mysql://127.0.0.1/dubbo_registry 2 | dubbo.registry.database.username=dubbo_registry 3 | dubbo.registry.database.password=dubbo_registry 4 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-zookeeper/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter: -------------------------------------------------------------------------------- 1 | curator=com.alibaba.dubbo.remoting.zookeeper.curator.CuratorZookeeperTransporter -------------------------------------------------------------------------------- /dubbo-common/src/test/java/com/alibaba/dubbo/common/extensionloader/ext6_inject/Dao.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.common.extensionloader.ext6_inject; 2 | 3 | 4 | public interface Dao { 5 | public void update(); 6 | } 7 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Filter: -------------------------------------------------------------------------------- 1 | trace=com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter 2 | future=com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.status.StatusChecker: -------------------------------------------------------------------------------- 1 | memory=com.alibaba.dubbo.common.status.support.MemoryStatusChecker 2 | load=com.alibaba.dubbo.common.status.support.LoadStatusChecker -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/resources/dubbo.properties: -------------------------------------------------------------------------------- 1 | dubbo.application.name=hello 2 | dubbo.application.owner=world 3 | dubbo.registry.address=10.20.153.17 4 | dubbo.protocol.port=20881 5 | dubbo.service.invoke.timeout=2000 -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext4.NoUrlParamExt: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext4.impl.Ext4Impl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.ext4.impl.Ext4Impl2 -------------------------------------------------------------------------------- /dubbo-filter/dubbo-filter-cache/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.cache.CacheFactory: -------------------------------------------------------------------------------- 1 | threadlocal=com.alibaba.dubbo.cache.support.threadlocal.ThreadLocalCacheFactory 2 | lru=com.alibaba.dubbo.cache.support.lru.LruCacheFactory -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extension.ExtensionFactory: -------------------------------------------------------------------------------- 1 | adaptive=com.alibaba.dubbo.common.extension.factory.AdaptiveExtensionFactory 2 | spi=com.alibaba.dubbo.common.extension.factory.SpiExtensionFactory -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-netty/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.Transporter: -------------------------------------------------------------------------------- 1 | netty=com.alibaba.dubbo.remoting.transport.netty3.NettyTransporter 2 | netty4=com.alibaba.dubbo.remoting.transport.netty4.NettyTransporter -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.page.PageHandler: -------------------------------------------------------------------------------- 1 | servers=com.alibaba.dubbo.rpc.protocol.dubbo.page.ServersPageHandler 2 | clients=com.alibaba.dubbo.rpc.protocol.dubbo.page.ClientsPageHandler -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext5.NoAdaptiveMethodExt: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext5.impl.Ext5Impl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.ext5.impl.Ext5Impl2 3 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext7.InitErrorExt: -------------------------------------------------------------------------------- 1 | error=com.alibaba.dubbo.common.extensionloader.ext7.impl.Ext7InitErrorImpl 2 | ok=com.alibaba.dubbo.common.extensionloader.ext7.impl.Ext7Impl 3 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext6_inject.Ext6: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext6_inject.impl.Ext6Impl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.ext6_inject.impl.Ext6Impl2 -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.status.StatusChecker: -------------------------------------------------------------------------------- 1 | spring=com.alibaba.dubbo.config.spring.status.SpringStatusChecker 2 | datasource=com.alibaba.dubbo.config.spring.status.DataSourceStatusChecker -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.status.StatusChecker: -------------------------------------------------------------------------------- 1 | server=com.alibaba.dubbo.rpc.protocol.dubbo.status.ServerStatusChecker 2 | threadpool=com.alibaba.dubbo.rpc.protocol.dubbo.status.ThreadPoolStatusChecker -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Protocol: -------------------------------------------------------------------------------- 1 | filter=com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper 2 | listener=com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper 3 | mock=com.alibaba.dubbo.rpc.support.MockProtocol -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/ChangeData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /dubbo-cluster/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory: -------------------------------------------------------------------------------- 1 | override=com.alibaba.dubbo.rpc.cluster.configurator.override.OverrideConfiguratorFactory 2 | absent=com.alibaba.dubbo.rpc.cluster.configurator.absent.AbsentConfiguratorFactory -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.compatible.CompatibleExt: -------------------------------------------------------------------------------- 1 | com.alibaba.dubbo.common.extensionloader.compatible.impl.CompatibleExtImpl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.compatible.impl.CompatibleExtImpl2 -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.adaptive.HasAdaptiveExt: -------------------------------------------------------------------------------- 1 | adaptive=com.alibaba.dubbo.common.extensionloader.adaptive.impl.HasAdaptiveExt_ManualAdaptive 2 | impl1=com.alibaba.dubbo.common.extensionloader.adaptive.impl.HasAdaptiveExtImpl1 -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.ProxyFactory: -------------------------------------------------------------------------------- 1 | stub=com.alibaba.dubbo.rpc.proxy.wrapper.StubProxyFactoryWrapper 2 | jdk=com.alibaba.dubbo.rpc.proxy.jdk.JdkProxyFactory 3 | javassist=com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.compiler.Compiler: -------------------------------------------------------------------------------- 1 | adaptive=com.alibaba.dubbo.common.compiler.support.AdaptiveCompiler 2 | jdk=com.alibaba.dubbo.common.compiler.support.JdkCompiler 3 | javassist=com.alibaba.dubbo.common.compiler.support.JavassistCompiler -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.Codec2: -------------------------------------------------------------------------------- 1 | transport=com.alibaba.dubbo.remoting.transport.codec.TransportCodec 2 | telnet=com.alibaba.dubbo.remoting.telnet.codec.TelnetCodec 3 | exchange=com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext2.Ext2: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext2.impl.Ext2Impl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.ext2.impl.Ext2Impl2 3 | impl3=com.alibaba.dubbo.common.extensionloader.ext2.impl.Ext2Impl3 -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/com/alibaba/dubbo/remoting/zookeeper/ChildListener.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.zookeeper; 2 | 3 | import java.util.List; 4 | 5 | public interface ChildListener { 6 | 7 | void childChanged(String path, List children); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/registry/common/ChangeListener.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.common; 2 | 3 | public interface ChangeListener { 4 | 5 | /** 6 | * 数据变更 7 | * 8 | * @param type 数据类型 9 | * @param services 影响的服务 10 | */ 11 | void onChanged(String type); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dubbo-cluster/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.RouterFactory: -------------------------------------------------------------------------------- 1 | file=com.alibaba.dubbo.rpc.cluster.router.file.FileRouterFactory 2 | script=com.alibaba.dubbo.rpc.cluster.router.script.ScriptRouterFactory 3 | condition=com.alibaba.dubbo.rpc.cluster.router.condition.ConditionRouterFactory -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.page.PageHandler: -------------------------------------------------------------------------------- 1 | registries=com.alibaba.dubbo.registry.pages.RegistriesPageHandler 2 | registered=com.alibaba.dubbo.registry.pages.RegisteredPageHandler 3 | subscribed=com.alibaba.dubbo.registry.pages.SubscribedPageHandler -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.threadpool.ThreadPool: -------------------------------------------------------------------------------- 1 | fixed=com.alibaba.dubbo.common.threadpool.support.fixed.FixedThreadPool 2 | cached=com.alibaba.dubbo.common.threadpool.support.cached.CachedThreadPool 3 | limited=com.alibaba.dubbo.common.threadpool.support.limited.LimitedThreadPool 4 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/governance/biz/common/i18n/MessageResourceService.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.governance.biz.common.i18n; 2 | 3 | public interface MessageResourceService { 4 | 5 | public String get(String key, Object... args); 6 | 7 | public String getMessage(String key, Object... args); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /dubbo-common/src/test/java/com/alibaba/dubbo/common/extensionloader/ext6_inject/impl/DaoImpl.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.common.extensionloader.ext6_inject.impl; 2 | 3 | import com.alibaba.dubbo.common.extensionloader.ext6_inject.Dao; 4 | 5 | public class DaoImpl implements Dao { 6 | public void update(){ 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/com/alibaba/dubbo/remoting/zookeeper/StateListener.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.zookeeper; 2 | 3 | public interface StateListener { 4 | 5 | int DISCONNECTED = 0; 6 | 7 | int CONNECTED = 1; 8 | 9 | int RECONNECTED = 2; 10 | 11 | void stateChanged(int connected); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext3.UseProtocolKeyExt: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext3.impl.UseProtocolKeyExtImpl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.ext3.impl.UseProtocolKeyExtImpl2 3 | impl3=com.alibaba.dubbo.common.extensionloader.ext3.impl.UseProtocolKeyExtImpl3 -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/UserData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.page.PageHandler: -------------------------------------------------------------------------------- 1 | index=com.alibaba.dubbo.container.page.pages.HomePageHandler 2 | status=com.alibaba.dubbo.container.page.pages.StatusPageHandler 3 | log=com.alibaba.dubbo.container.page.pages.LogPageHandler 4 | system=com.alibaba.dubbo.container.page.pages.SystemPageHandler -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/ClusterData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext1.SimpleExt: -------------------------------------------------------------------------------- 1 | # Comment 1 2 | impl1=com.alibaba.dubbo.common.extensionloader.ext1.impl.SimpleExtImpl1#Hello World 3 | impl2=com.alibaba.dubbo.common.extensionloader.ext1.impl.SimpleExtImpl2 # Comment 2 4 | impl3=com.alibaba.dubbo.common.extensionloader.ext1.impl.SimpleExtImpl3 # with head space -------------------------------------------------------------------------------- /dubbo-cluster/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.LoadBalance: -------------------------------------------------------------------------------- 1 | random=com.alibaba.dubbo.rpc.cluster.loadbalance.RandomLoadBalance 2 | roundrobin=com.alibaba.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance 3 | leastactive=com.alibaba.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance 4 | consistenthash=com.alibaba.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalance -------------------------------------------------------------------------------- /dubbo-cluster/src/test/java/com/alibaba/dubbo/rpc/cluster/support/wrapper/MyMockException.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.rpc.cluster.support.wrapper; 2 | 3 | 4 | public class MyMockException extends RuntimeException{ 5 | 6 | public MyMockException(String message) { 7 | super(message); 8 | } 9 | 10 | private static final long serialVersionUID = 2851692379597990457L; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.extensionloader.ext6_wrap.WrappedExt: -------------------------------------------------------------------------------- 1 | impl1=com.alibaba.dubbo.common.extensionloader.ext6_wrap.impl.Ext5Impl1 2 | impl2=com.alibaba.dubbo.common.extensionloader.ext6_wrap.impl.Ext5Impl2 3 | wrapper1=com.alibaba.dubbo.common.extensionloader.ext6_wrap.impl.Ext5Wrapper1 4 | wrapper2=com.alibaba.dubbo.common.extensionloader.ext6_wrap.impl.Ext5Wrapper2 -------------------------------------------------------------------------------- /dubbo-cluster/src/test/resources/com/alibaba/dubbo/rpc/cluster/router/file/availablerule.javascript: -------------------------------------------------------------------------------- 1 | function route(invokers,invocation,context){ 2 | var result = new java.util.ArrayList(invokers.size()); 3 | 4 | for (i=0;i1 && invocation.getMethodName() .equals("method1")) { 4 | result.add(invokers.get(0)) ; 5 | } else { 6 | result.add(invokers.get(1)) ; 7 | } 8 | return result; 9 | }; 10 | route(invokers,invocation,context); -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/home/screen/services.vm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Dubbo Registry 6 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dubbo-cluster/src/test/resources/com/alibaba/dubbo/rpc/cluster/router/file/notAvailablerule.javascript: -------------------------------------------------------------------------------- 1 | function route(invokers,invocation,context){ 2 | var result = new java.util.ArrayList(invokers.size()); 3 | 4 | for (i=0;i 2 | 3 | 5 | 7 | 9 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | redis: 4 | image: redis 5 | ports: 6 | - "6379:6379" 7 | zookeeper: 8 | image: jplock/zookeeper 9 | ports: 10 | - "2181:2181" 11 | - "2888:2888" 12 | - "3888:3888" 13 | consul: 14 | image: consul 15 | ports: 16 | - "8300:8300" 17 | - "8301:8301" 18 | - "8302:8302" 19 | - "8400:8400" 20 | - "8500:8500" 21 | - "8600:53/udp" -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.telnet.TelnetHandler: -------------------------------------------------------------------------------- 1 | clear=com.alibaba.dubbo.remoting.telnet.support.command.ClearTelnetHandler 2 | exit=com.alibaba.dubbo.remoting.telnet.support.command.ExitTelnetHandler 3 | help=com.alibaba.dubbo.remoting.telnet.support.command.HelpTelnetHandler 4 | status=com.alibaba.dubbo.remoting.telnet.support.command.StatusTelnetHandler 5 | log=com.alibaba.dubbo.remoting.telnet.support.command.LogTelnetHandler -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/LayerData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dubbo-common/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.common.serialize.Serialization: -------------------------------------------------------------------------------- 1 | dubbo=com.alibaba.dubbo.common.serialize.support.dubbo.DubboSerialization 2 | hessian2=com.alibaba.dubbo.common.serialize.support.hessian.Hessian2Serialization 3 | java=com.alibaba.dubbo.common.serialize.support.java.JavaSerialization 4 | compactedjava=com.alibaba.dubbo.common.serialize.support.java.CompactedJavaSerialization 5 | nativejava=com.alibaba.dubbo.common.serialize.support.nativejava.NativeJavaSerialization -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/TestData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/RegistryData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.Dispatcher: -------------------------------------------------------------------------------- 1 | all=com.alibaba.dubbo.remoting.transport.dispatcher.all.AllDispatcher 2 | direct=com.alibaba.dubbo.remoting.transport.dispatcher.direct.DirectDispatcher 3 | message=com.alibaba.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher 4 | execution=com.alibaba.dubbo.remoting.transport.dispatcher.execution.ExecutionDispatcher 5 | connection=com.alibaba.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedDispatcher -------------------------------------------------------------------------------- /dubbo/README.md: -------------------------------------------------------------------------------- 1 | Dubbo all-in-one jar 2 | ===================== 3 | Dubbo发布的独立jar包,提供给第三方使用 4 | 5 | ### 修改注意: 6 | 7 | * 添加了新的模块,要在POM中maven-shade-plugin的中添加 8 | 9 | * 添加了新的扩展点,要在POM中maven-shade-plugin加上 10 | 11 | 搜索出 扩展点配置文件 的命令 12 | 13 | $ find . -wholename */META-INF/dubbo/* -type f | grep -vF /test/ | awk -F/ '{print $NF}' | sort -u 14 | com.alibaba.dubbo.cache.CacheFactory 15 | com.alibaba.dubbo.common.compiler.Compiler 16 | com.alibaba.dubbo.common.extension.ExtensionFactory 17 | ...and so on... 18 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/screen/routes/preview.vm: -------------------------------------------------------------------------------- 1 |
4 | 5 | 6 | 7 | 8 | #foreach($url in $result.entrySet()) 9 | 10 | 11 | 12 | #end 13 |
$i18n.get("RouteResult")
$url.key?$url.value
-------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/com/alibaba/dubbo/remoting/zookeeper/ZookeeperTransporter.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.zookeeper; 2 | 3 | import com.alibaba.dubbo.common.Constants; 4 | import com.alibaba.dubbo.common.URL; 5 | import com.alibaba.dubbo.common.extension.Adaptive; 6 | import com.alibaba.dubbo.common.extension.SPI; 7 | 8 | @SPI("curator") 9 | public interface ZookeeperTransporter { 10 | 11 | @Adaptive({Constants.CLIENT_KEY, Constants.TRANSPORTER_KEY}) 12 | ZookeeperClient connect(URL url); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /hessian-lite/src/main/java/com/alibaba/com/caucho/hessian/io/BigIntegerDeserializer.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.com.caucho.hessian.io; 2 | 3 | import java.math.BigInteger; 4 | 5 | /** 6 | * @author kimi 7 | */ 8 | public class BigIntegerDeserializer extends JavaDeserializer { 9 | 10 | public BigIntegerDeserializer() { 11 | super(BigInteger.class); 12 | } 13 | 14 | @Override 15 | protected Object instantiate() throws Exception { 16 | return new BigInteger("0"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/GenericDemoService.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.config.spring; 2 | 3 | import com.alibaba.dubbo.rpc.service.GenericException; 4 | import com.alibaba.dubbo.rpc.service.GenericService; 5 | 6 | /** 7 | * @author kimi 8 | */ 9 | public class GenericDemoService implements GenericService { 10 | 11 | public Object $invoke(String method, String[] parameterTypes, Object[] args) throws GenericException { 12 | return null; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/com/alibaba/dubbo/remoting/zookeeper/curator/CuratorZookeeperTransporter.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.zookeeper.curator; 2 | 3 | import com.alibaba.dubbo.common.URL; 4 | import com.alibaba.dubbo.remoting.zookeeper.ZookeeperClient; 5 | import com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter; 6 | 7 | public class CuratorZookeeperTransporter implements ZookeeperTransporter { 8 | 9 | public ZookeeperClient connect(URL url) { 10 | return new CuratorZookeeperClient(url); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/i18n/LocaleUtil.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.governance.web.common.i18n; 2 | 3 | import java.util.Locale; 4 | 5 | public class LocaleUtil { 6 | private static ThreadLocal userLocale = new ThreadLocal(); 7 | 8 | public static void setLocale(Locale locale) { 9 | userLocale.set(locale); 10 | } 11 | 12 | public static void cleanLocale() { 13 | userLocale.remove(); 14 | } 15 | 16 | public static Locale getLocale() { 17 | return userLocale.get(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/server.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd `dirname $0` 3 | if [ "$1" = "start" ]; then 4 | ./start.sh 5 | else 6 | if [ "$1" = "stop" ]; then 7 | ./stop.sh 8 | else 9 | if [ "$1" = "debug" ]; then 10 | ./start.sh debug 11 | else 12 | if [ "$1" = "restart" ]; then 13 | ./restart.sh 14 | else 15 | if [ "$1" = "dump" ]; then 16 | ./dump.sh 17 | else 18 | echo "ERROR: Please input argument: start or stop or debug or restart or dump" 19 | exit 1 20 | fi 21 | fi 22 | fi 23 | fi 24 | fi 25 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.remoting.telnet.TelnetHandler: -------------------------------------------------------------------------------- 1 | ls=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.ListTelnetHandler 2 | ps=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.PortTelnetHandler 3 | cd=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.ChangeTelnetHandler 4 | pwd=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.CurrentTelnetHandler 5 | invoke=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.InvokeTelnetHandler 6 | trace=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.TraceTelnetHandler 7 | count=com.alibaba.dubbo.rpc.protocol.dubbo.telnet.CountTelnetHandler -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/support/SkipFailbackWrapperException.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.support; 2 | 3 | /** 4 | * Wrapper异常,用于指示 {@link FailbackRegistry}跳过Failback。 5 | *

6 | * NOTE: 期望找到其它更常规的指示方式。 7 | * 8 | * @author ding.lid 9 | * @see FailbackRegistry 10 | */ 11 | public class SkipFailbackWrapperException extends RuntimeException { 12 | public SkipFailbackWrapperException(Throwable cause) { 13 | super(cause); 14 | } 15 | 16 | @Override 17 | public synchronized Throwable fillInStackTrace() { 18 | // do nothing 19 | return null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/registry/common/util/LocaleUtils.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.common.util; 2 | 3 | import java.util.Locale; 4 | 5 | public class LocaleUtils { 6 | 7 | private LocaleUtils() {} 8 | 9 | public static Locale getLocale(String language) { 10 | if ("en".equalsIgnoreCase(language)) { 11 | return Locale.ENGLISH; 12 | } else if ("zh".equalsIgnoreCase(language)) { 13 | return Locale.SIMPLIFIED_CHINESE; 14 | } else if ("zh_TW".equalsIgnoreCase(language)) { 15 | return Locale.TRADITIONAL_CHINESE; 16 | } 17 | return Locale.getDefault(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/governance/service/OwnerService.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.governance.service; 2 | 3 | import java.util.List; 4 | 5 | import com.alibaba.dubbo.registry.common.domain.Owner; 6 | 7 | public interface OwnerService { 8 | 9 | List findAllServiceNames(); 10 | 11 | List findServiceNamesByUsername(String username); 12 | 13 | List findUsernamesByServiceName(String serviceName); 14 | 15 | List findByService(String serviceName); 16 | 17 | List findAll(); 18 | 19 | Owner findById(Long id); 20 | 21 | void saveOwner(Owner owner); 22 | 23 | void deleteOwner(Owner owner); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /dubbo-cluster/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.Cluster: -------------------------------------------------------------------------------- 1 | mock=com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterWrapper 2 | failover=com.alibaba.dubbo.rpc.cluster.support.FailoverCluster 3 | failfast=com.alibaba.dubbo.rpc.cluster.support.FailfastCluster 4 | failsafe=com.alibaba.dubbo.rpc.cluster.support.FailsafeCluster 5 | failback=com.alibaba.dubbo.rpc.cluster.support.FailbackCluster 6 | forking=com.alibaba.dubbo.rpc.cluster.support.ForkingCluster 7 | available=com.alibaba.dubbo.rpc.cluster.support.AvailableCluster 8 | mergeable=com.alibaba.dubbo.rpc.cluster.support.MergeableCluster 9 | broadcast=com.alibaba.dubbo.rpc.cluster.support.BroadcastCluster -------------------------------------------------------------------------------- /hessian-lite/src/main/java/com/alibaba/com/caucho/hessian/io/OptionalSerializer.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.com.caucho.hessian.io; 2 | 3 | import java.io.IOException; 4 | import java.util.Optional; 5 | 6 | /** 7 | * Java 8 Optional Serializer 8 | * 9 | * @author linux_china 10 | */ 11 | public class OptionalSerializer extends AbstractSerializer { 12 | 13 | public void writeObject(Object obj, AbstractHessianOutput out) throws IOException { 14 | Optional optional = (Optional) obj; 15 | if (optional == null || !optional.isPresent()) 16 | out.writeNull(); 17 | else { 18 | out.writeObject(optional.get()); 19 | } 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/js/trcolor.js: -------------------------------------------------------------------------------- 1 | // JavaScript Document 2 | // JavaScript Document 3 | window.onload=function showtable(){ 4 | try{ 5 | var tablename=document.getElementById("table_o"); 6 | var li=tablename.getElementsByTagName("tr"); 7 | for (var i=1;ikimi 7 | */ 8 | public class ByteBufferBackedChannelBufferTest extends AbstractChannelBufferTest { 9 | 10 | private ChannelBuffer buffer; 11 | 12 | @Override 13 | protected ChannelBuffer newBuffer(int capacity) { 14 | buffer = new ByteBufferBackedChannelBuffer(ByteBuffer.allocate(capacity)); 15 | return buffer; 16 | } 17 | 18 | @Override 19 | protected ChannelBuffer[] components() { 20 | return new ChannelBuffer[]{buffer}; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/common/rewrite.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/test/java/com/alibaba/dubbo/remoting/buffer/HeapChannelBufferTest.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.buffer; 2 | 3 | import junit.framework.Assert; 4 | 5 | /** 6 | * @author kimi 7 | */ 8 | public class HeapChannelBufferTest extends AbstractChannelBufferTest { 9 | 10 | private ChannelBuffer buffer; 11 | 12 | @Override 13 | protected ChannelBuffer newBuffer(int capacity) { 14 | buffer = ChannelBuffers.buffer(capacity); 15 | Assert.assertEquals(0, buffer.writerIndex()); 16 | return buffer; 17 | } 18 | 19 | @Override 20 | protected ChannelBuffer[] components() { 21 | return new ChannelBuffer[]{buffer}; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dubbo-cluster/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.cluster.Merger: -------------------------------------------------------------------------------- 1 | map=com.alibaba.dubbo.rpc.cluster.merger.ListMerger 2 | set=com.alibaba.dubbo.rpc.cluster.merger.SetMerger 3 | list=com.alibaba.dubbo.rpc.cluster.merger.MapMerger 4 | byte=com.alibaba.dubbo.rpc.cluster.merger.ByteArrayMerger 5 | char=com.alibaba.dubbo.rpc.cluster.merger.CharArrayMerger 6 | short=com.alibaba.dubbo.rpc.cluster.merger.ShortArrayMerger 7 | int=com.alibaba.dubbo.rpc.cluster.merger.IntArrayMerger 8 | long=com.alibaba.dubbo.rpc.cluster.merger.LongArrayMerger 9 | float=com.alibaba.dubbo.rpc.cluster.merger.FloatArrayMerger 10 | double=com.alibaba.dubbo.rpc.cluster.merger.DoubleArrayMerger 11 | boolean=com.alibaba.dubbo.rpc.cluster.merger.BooleanArrayMerger 12 | -------------------------------------------------------------------------------- /hessian-lite/src/main/java/com/alibaba/com/caucho/hessian/io/OptionalDeserializer.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.com.caucho.hessian.io; 2 | 3 | import java.io.IOException; 4 | import java.util.Optional; 5 | 6 | /** 7 | * Java 8 optional deserializer 8 | * 9 | * @author linux_china 10 | */ 11 | public class OptionalDeserializer extends AbstractDeserializer { 12 | @Override 13 | public Class getType() { 14 | return Optional.class; 15 | } 16 | 17 | @Override 18 | public Object readObject(AbstractHessianInput in) throws IOException { 19 | Object obj = in.readObject(); 20 | if (obj == null) { 21 | return Optional.empty(); 22 | } else { 23 | return Optional.of(obj); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- 1 | Todo 2 | ================ 3 | 4 | * monitor replaced by metrics 5 | * dubbo monitor default: dropwizard metrics 6 | * code adjustment: upgraded to Java 8 (Done) 7 | * javassist replaced by byte-buddy: https://zeroturnaround.com/rebellabs/testing-the-performance-of-4-java-runtime-code-generators-cglib-javassist-jdk-proxy-byte-buddy/ 8 | * @Service -> @DubboService (Done) 9 | * API升级,去除deprecated API使用 10 | * Admin从Webx调整到Vaadin 11 | * Spring Boot集成 (Done) 12 | * 和Spring Cloud的Registry Server集成: consul注册中心 13 | * http://colobu.com/2015/08/17/netty-new-and-noteworthy-in-4-0/ 14 | * http://www.infoq.com/cn/articles/netty-version-upgrade-history-thread-part 15 | * netty 4: https://github.com/QianmiOpen/dubbo-remoting-netty4 基础 16 | * Reactive & Spring cloud function整合 17 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/test/java/com/alibaba/dubbo/remoting/buffer/DirectChannelBufferTest.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.buffer; 2 | 3 | import junit.framework.Assert; 4 | 5 | /** 6 | * @author kimi 7 | */ 8 | public class DirectChannelBufferTest extends AbstractChannelBufferTest{ 9 | 10 | private ChannelBuffer buffer; 11 | 12 | @Override 13 | protected ChannelBuffer newBuffer(int capacity) { 14 | buffer = ChannelBuffers.directBuffer(capacity); 15 | Assert.assertEquals(0, buffer.writerIndex()); 16 | return buffer; 17 | } 18 | 19 | @Override 20 | protected ChannelBuffer[] components() { 21 | return new ChannelBuffer[]{buffer}; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/sysinfo/layout/redirect.vm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | dubbo 6 | 7 | 8 | 9 | 10 | 11 | 12 | $screen_placeholder 13 | 14 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/layout/redirect.vm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | dubbo 6 | 7 | 8 | 9 | 10 | 11 | 12 | $screen_placeholder 13 | 14 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/layout/noServicePrivilege.vm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | dubbo 6 | 7 | 8 | 9 | 10 | 11 | 12 | $screen_placeholder 13 | 14 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/com/alibaba/dubbo/remoting/zookeeper/ZookeeperClient.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.remoting.zookeeper; 2 | 3 | import java.util.List; 4 | 5 | import com.alibaba.dubbo.common.URL; 6 | 7 | public interface ZookeeperClient { 8 | 9 | void create(String path, boolean ephemeral); 10 | 11 | void delete(String path); 12 | 13 | List getChildren(String path); 14 | 15 | List addChildListener(String path, ChildListener listener); 16 | 17 | void removeChildListener(String path, ChildListener listener); 18 | 19 | void addStateListener(StateListener listener); 20 | 21 | void removeStateListener(StateListener listener); 22 | 23 | boolean isConnected(); 24 | 25 | void close(); 26 | 27 | URL getUrl(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-cluster/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-common/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-api/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/sysinfo/screen/versions/index.vm: -------------------------------------------------------------------------------- 1 |

2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | #foreach($version in $versions.entrySet()) 10 | 11 | 14 | 15 | 16 | #end 17 |
$i18n.get("versions"):  $i18n.get("applications")
12 | $version.key 13 | $version.value.size()
18 |
$i18n.get("page.total")$versions.size()$i18n.get("page.records")
19 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-registry/dubbo-registry-api/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-netty/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-simple/dubbo-monitor-simple/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-spring/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d %-5level %logger{36} - %msg%n 7 | 8 | 9 | 10 | 11 | dubbo.log 12 | 13 | %d %-5level %logger{36} - %msg%n 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/RouteData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 9 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/test/java/com/alibaba/dubbo/rpc/proxy/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.proxy; 17 | 18 | public enum Type 19 | { 20 | High, Normal, Lower 21 | } -------------------------------------------------------------------------------- /dubbo-simple/dubbo-monitor-simple/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.page.PageHandler: -------------------------------------------------------------------------------- 1 | services=com.alibaba.dubbo.monitor.simple.pages.ServicesPageHandler 2 | providers=com.alibaba.dubbo.monitor.simple.pages.ProvidersPageHandler 3 | consumers=com.alibaba.dubbo.monitor.simple.pages.ConsumersPageHandler 4 | statistics=com.alibaba.dubbo.monitor.simple.pages.StatisticsPageHandler 5 | charts=com.alibaba.dubbo.monitor.simple.pages.ChartsPageHandler 6 | applications=com.alibaba.dubbo.monitor.simple.pages.ApplicationsPageHandler 7 | dependencies=com.alibaba.dubbo.monitor.simple.pages.DependenciesPageHandler 8 | hosts=com.alibaba.dubbo.monitor.simple.pages.HostsPageHandler 9 | unregister=com.alibaba.dubbo.monitor.simple.pages.UnregisterPageHandler 10 | unsubscribe=com.alibaba.dubbo.monitor.simple.pages.UnsubscribePageHandler -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/ConsumerData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 9 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/test/java/com/alibaba/dubbo/rpc/support/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.support; 17 | 18 | public enum Type 19 | { 20 | High, Normal, Lower 21 | } -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-injvm/src/test/java/com/alibaba/dubbo/rpc/protocol/injvm/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.protocol.injvm; 17 | 18 | public enum Type 19 | { 20 | High, Normal, Lower 21 | } -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/test/java/com/alibaba/dubbo/rpc/support/IEcho.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.support; 17 | 18 | public interface IEcho { 19 | String echo(String e); 20 | } -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-injvm/src/test/java/com/alibaba/dubbo/rpc/protocol/injvm/IEcho.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.protocol.injvm; 17 | 18 | public interface IEcho { 19 | String echo(String e); 20 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/registry/common/domain/Dependency.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.common.domain; 2 | 3 | import java.io.Serializable; 4 | 5 | public class Dependency implements Serializable { 6 | 7 | private static final long serialVersionUID = 8526869025719540547L; 8 | 9 | private String providerApplication; 10 | 11 | private String consumerApplication; 12 | 13 | public String getProviderApplication() { 14 | return providerApplication; 15 | } 16 | 17 | public void setProviderApplication(String providerApplication) { 18 | this.providerApplication = providerApplication; 19 | } 20 | 21 | public String getConsumerApplication() { 22 | return consumerApplication; 23 | } 24 | 25 | public void setConsumerApplication(String consumerApplication) { 26 | this.consumerApplication = consumerApplication; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/test/java/com/alibaba/dubbo/rpc/protocol/dubbo/support/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.protocol.dubbo.support; 17 | 18 | public enum Type 19 | { 20 | High, Normal, Lower 21 | } -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-api/src/test/java/com/alibaba/dubbo/config/api/Box.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.api; 17 | 18 | /** 19 | * @author ding.lid 20 | */ 21 | public interface Box { 22 | 23 | String getName(); 24 | 25 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/sysinfo/screen/versions/show.vm: -------------------------------------------------------------------------------- 1 | 4 |
5 | 6 | 7 | 8 | 9 | #foreach($application in $applications) 10 | 11 | 16 | 17 | #end 18 |
$i18n.get("applications"):  
12 | #if($application) $application 13 | #else <无应用名> 14 | #end 15 |
19 |
$i18n.get("page.total")$applications.size()$i18n.get("page.records")
20 | -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.rpc.Filter: -------------------------------------------------------------------------------- 1 | echo=com.alibaba.dubbo.rpc.filter.EchoFilter 2 | generic=com.alibaba.dubbo.rpc.filter.GenericFilter 3 | genericimpl=com.alibaba.dubbo.rpc.filter.GenericImplFilter 4 | token=com.alibaba.dubbo.rpc.filter.TokenFilter 5 | accesslog=com.alibaba.dubbo.rpc.filter.AccessLogFilter 6 | activelimit=com.alibaba.dubbo.rpc.filter.ActiveLimitFilter 7 | classloader=com.alibaba.dubbo.rpc.filter.ClassLoaderFilter 8 | context=com.alibaba.dubbo.rpc.filter.ContextFilter 9 | consumercontext=com.alibaba.dubbo.rpc.filter.ConsumerContextFilter 10 | exception=com.alibaba.dubbo.rpc.filter.ExceptionFilter 11 | executelimit=com.alibaba.dubbo.rpc.filter.ExecuteLimitFilter 12 | deprecated=com.alibaba.dubbo.rpc.filter.DeprecatedFilter 13 | compatible=com.alibaba.dubbo.rpc.filter.CompatibleFilter 14 | timeout=com.alibaba.dubbo.rpc.filter.TimeoutFilter -------------------------------------------------------------------------------- /dubbo-common/src/test/java/com/alibaba/dubbo/common/model/AnimalEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.common.model; 17 | 18 | /** 19 | * @author ding.lid 20 | * 21 | */ 22 | public enum AnimalEnum { 23 | dog, cat, rat, cow, bull, horse; 24 | } -------------------------------------------------------------------------------- /dubbo-common/src/test/java/com/alibaba/dubbo/common/model/person/PersonStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.common.model.person; 17 | 18 | /** 19 | * @author tony.chenl 20 | */ 21 | public enum PersonStatus { 22 | ENABLED, 23 | DISABLED 24 | } -------------------------------------------------------------------------------- /dubbo-common/src/test/java/com/alibaba/dubbo/common/utils/MyEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.common.utils; 17 | 18 | /** 19 | * MyEnum 20 | * 21 | * @author william.liangf 22 | */ 23 | public enum MyEnum { 24 | 25 | A, B 26 | 27 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/sysinfo/screen/envs/index.vm: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | #foreach($entry in $properties.entrySet()) 10 | 11 | 12 | 13 | 14 | #end 15 |
$i18n.get("property.name"):  $i18n.get("property.value"):  
$i18n.get($entry.key)$entry.value
-------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/registry/common/domain/SearchHistory.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.common.domain; 2 | 3 | public class SearchHistory extends Entity { 4 | 5 | private static final long serialVersionUID = -1281982267153430266L; 6 | 7 | private String name; 8 | 9 | private String type; 10 | 11 | private String url; 12 | 13 | public SearchHistory() { 14 | } 15 | 16 | public SearchHistory(Long id) { 17 | super(id); 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | 28 | public String getType() { 29 | return type; 30 | } 31 | 32 | public void setType(String type) { 33 | this.type = type; 34 | } 35 | 36 | public String getUrl() { 37 | return url; 38 | } 39 | 40 | public void setUrl(String url) { 41 | this.url = url; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/api/Box.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.spring.api; 17 | 18 | /** 19 | * @author ding.lid 20 | */ 21 | public interface Box { 22 | 23 | String getName(); 24 | 25 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/governance/module/screen/NoServicePrivilege.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Function: 3 | * 4 | * File Created at 2010-11-17 5 | * $Id: NoServicePrivilege.java 181192 2012-06-21 05:05:47Z tony.chenl $ 6 | * 7 | * Copyright 2009 Alibaba.com Croporation Limited. 8 | * All rights reserved. 9 | */ 10 | package com.alibaba.dubbo.governance.web.governance.module.screen; 11 | 12 | import javax.servlet.http.HttpServletRequest; 13 | 14 | import org.springframework.beans.factory.annotation.Autowired; 15 | 16 | import com.alibaba.citrus.turbine.Context; 17 | 18 | /** 19 | * TODO Comment of NoServicePrivilege 20 | * 21 | * @author guanghui.shigh 22 | */ 23 | public class NoServicePrivilege { 24 | 25 | @Autowired 26 | private HttpServletRequest request; 27 | 28 | public void execute(Context context) { 29 | context.put("returnUrl", request.getParameter("returnUrl")); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/sysmanage/module/screen/Privileges.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Project: dubbo.registry.console-2.1.0-SNAPSHOT 3 | * 4 | * File Created at Sep 13, 2011 5 | * $Id: Privileges.java 181192 2012-06-21 05:05:47Z tony.chenl $ 6 | * 7 | * Copyright 1999-2100 Alibaba.com Corporation Limited. 8 | * All rights reserved. 9 | * 10 | * This software is the confidential and proprietary information of 11 | * Alibaba Company. ("Confidential Information"). You shall not 12 | * disclose such Confidential Information and shall use it only in 13 | * accordance with the terms of the license agreement you entered into 14 | * with Alibaba.com. 15 | */ 16 | package com.alibaba.dubbo.governance.web.sysmanage.module.screen; 17 | 18 | import com.alibaba.dubbo.governance.web.common.module.screen.Restful; 19 | 20 | /** 21 | * @author ding.lid 22 | * 23 | */ 24 | public class Privileges extends Restful { 25 | 26 | } 27 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/filter/MockDao.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2012 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.spring.filter; 17 | 18 | /** 19 | * MockDao 20 | * 21 | * @author william.liangf 22 | */ 23 | public interface MockDao { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/api/DemoServiceSon.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.spring.api; 17 | 18 | /** 19 | * DemoService 20 | * 21 | * @author ding.lid 22 | */ 23 | public interface DemoServiceSon extends DemoService { 24 | // no methods 25 | } -------------------------------------------------------------------------------- /dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.bat: -------------------------------------------------------------------------------- 1 | @echo off & setlocal enabledelayedexpansion 2 | 3 | set LIB_JARS="" 4 | cd ..\lib 5 | for %%i in (*) do set LIB_JARS=!LIB_JARS!;..\lib\%%i 6 | cd ..\bin 7 | 8 | if ""%1"" == ""debug"" goto debug 9 | if ""%1"" == ""jmx"" goto jmx 10 | 11 | java -Xms64m -Xmx1024m -XX:MaxPermSize=64M -classpath ..\conf;%LIB_JARS% com.alibaba.dubbo.container.Main 12 | goto end 13 | 14 | :debug 15 | java -Xms64m -Xmx1024m -XX:MaxPermSize=64M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -classpath ..\conf;%LIB_JARS% com.alibaba.dubbo.container.Main 16 | goto end 17 | 18 | :jmx 19 | java -Xms64m -Xmx1024m -XX:MaxPermSize=64M -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -classpath ..\conf;%LIB_JARS% com.alibaba.dubbo.container.Main 20 | 21 | :end 22 | pause -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/test/java/com/alibaba/dubbo/remoting/DemoService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.remoting; 17 | 18 | /** 19 | * TestService 20 | */ 21 | 22 | public interface DemoService 23 | { 24 | void sayHello(String name); 25 | 26 | int plus(int a,int b); 27 | } -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-default/src/test/java/com/alibaba/dubbo/rpc/protocol/dubbo/support/NonSerialized.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2012 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.protocol.dubbo.support; 17 | 18 | /** 19 | * NonSerialized 20 | * 21 | * @author william.liangf 22 | */ 23 | public class NonSerialized { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /hessian-lite/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | com.alibaba 8 | dubbo-parent 9 | 3.0.0-SNAPSHOT 10 | 11 | hessian-lite 12 | jar 13 | 3.2.1-fixed-2 14 | Hessian Lite(Alibaba embed version) 15 | 16 | 17 | 18 | junit 19 | junit 20 | 4.12 21 | test 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /dubbo-cluster/src/test/java/com/alibaba/dubbo/rpc/cluster/filter/DemoService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.cluster.filter; 17 | 18 | /** 19 | * TestService 20 | */ 21 | 22 | public interface DemoService 23 | { 24 | String sayHello(String name); 25 | 26 | int plus(int a,int b); 27 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/auth/DubboUser.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Function: dubbo用户类 3 | * 4 | * File Created at 2011-08-17 5 | * 6 | * Copyright 2011 Alibaba.com Croporation Limited. 7 | * All rights reserved. 8 | */ 9 | package com.alibaba.dubbo.governance.web.common.auth; 10 | 11 | import java.io.Serializable; 12 | 13 | import com.alibaba.dubbo.registry.common.domain.User; 14 | 15 | /** 16 | * MinasUser: DubboUser 17 | * 18 | * @author guanghui.shigh 19 | */ 20 | public class DubboUser implements Serializable { 21 | 22 | private static final long serialVersionUID = 1L; 23 | 24 | private static final ThreadLocal userHolder = new ThreadLocal(); 25 | 26 | private DubboUser() { 27 | } 28 | 29 | public static final User getCurrentUser() { 30 | return (User) userHolder.get(); 31 | } 32 | 33 | public static final void setCurrentUser(User user) { 34 | userHolder.set(user); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/registry/common/domain/Favorite.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.common.domain; 2 | 3 | public class Favorite extends Entity { 4 | 5 | private static final long serialVersionUID = -1281982267153430266L; 6 | 7 | private String name; 8 | 9 | private String url; 10 | 11 | private String username; 12 | 13 | public Favorite() { 14 | } 15 | 16 | public Favorite(Long id) { 17 | super(id); 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | 28 | public String getUrl() { 29 | return url; 30 | } 31 | 32 | public void setUrl(String url) { 33 | this.url = url; 34 | } 35 | 36 | public String getUsername() { 37 | return username; 38 | } 39 | 40 | public void setUsername(String username) { 41 | this.username = username; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/filter/MockDaoImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2012 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.spring.filter; 17 | 18 | /** 19 | * MockDaoImpl 20 | * 21 | * @author william.liangf 22 | */ 23 | public class MockDaoImpl implements MockDao { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/api/HelloService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.alibaba.dubbo.config.spring.api; 18 | 19 | /** 20 | * @author kimi 21 | */ 22 | public interface HelloService { 23 | String sayHello(String name); 24 | } 25 | -------------------------------------------------------------------------------- /dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/Decodeable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.alibaba.dubbo.remoting; 18 | 19 | /** 20 | * @author kimi 21 | */ 22 | public interface Decodeable { 23 | 24 | public void decode() throws Exception; 25 | 26 | } 27 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-api/src/test/java/com/alibaba/dubbo/config/cache/CacheService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2012 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.cache; 17 | 18 | /** 19 | * ValidationService 20 | * 21 | * @author william.liangf 22 | */ 23 | public interface CacheService { 24 | 25 | String findCache(String id); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /dubbo-simple/dubbo-monitor-simple/src/test/java/com/alibaba/dubbo/monitor/simple/SimpleMonitor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.monitor.simple; 17 | 18 | public class SimpleMonitor { 19 | 20 | public static void main(String[] args) { 21 | com.alibaba.dubbo.container.Main.main(args); 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/java/com/alibaba/dubbo/registry/common/domain/Owner.java: -------------------------------------------------------------------------------- 1 | package com.alibaba.dubbo.registry.common.domain; 2 | 3 | public class Owner extends Entity { 4 | 5 | private static final long serialVersionUID = -4891350118145794727L; 6 | 7 | /** 8 | * 可以包含通配符。 9 | */ 10 | private String service; 11 | 12 | private String username; 13 | 14 | private User user; 15 | 16 | public Owner() { 17 | } 18 | 19 | public Owner(Long id) { 20 | super(id); 21 | } 22 | 23 | public String getService() { 24 | return service; 25 | } 26 | 27 | public void setService(String service) { 28 | this.service = service; 29 | } 30 | 31 | public String getUsername() { 32 | return username; 33 | } 34 | 35 | public void setUsername(String username) { 36 | this.username = username; 37 | } 38 | 39 | public User getUser() { 40 | return user; 41 | } 42 | 43 | public void setUser(User user) { 44 | this.user = user; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /dubbo-cluster/src/main/java/com/alibaba/dubbo/rpc/cluster/Merger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.cluster; 17 | 18 | import com.alibaba.dubbo.common.extension.SPI; 19 | 20 | /** 21 | * @author kimi 22 | */ 23 | @SPI 24 | public interface Merger { 25 | 26 | T merge(T... items); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /dubbo-filter/dubbo-filter-cache/src/main/java/com/alibaba/dubbo/cache/Cache.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2012 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.cache; 17 | 18 | /** 19 | * Cache 20 | * 21 | * @author william.liangf 22 | */ 23 | public interface Cache { 24 | 25 | void put(Object key, Object value); 26 | 27 | Object get(Object key); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /dubbo-admin/src/test/resources/ApprovalData.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 9 | 10 | 12 | -------------------------------------------------------------------------------- /dubbo-common/src/test/java/com/alibaba/dubbo/common/compiler/support/JdkCompilerTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2012 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.common.compiler.support; 17 | 18 | import org.junit.Test; 19 | 20 | /** 21 | * @author ding.lid 22 | */ 23 | public class JdkCompilerTest { 24 | @Test 25 | public void test_compileProtocol() throws Exception { 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /dubbo-config/dubbo-config-spring/src/test/java/com/alibaba/dubbo/config/spring/api/DemoService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.config.spring.api; 17 | 18 | /** 19 | * DemoService 20 | * 21 | * @author william.liangf 22 | */ 23 | public interface DemoService { 24 | 25 | String sayName(String name); 26 | 27 | Box getBox(); 28 | 29 | } -------------------------------------------------------------------------------- /dubbo-common/src/main/java/com/alibaba/dubbo/common/Resetable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.common; 17 | 18 | /** 19 | * Resetable. 20 | * 21 | * @author william.liangf 22 | */ 23 | public interface Resetable { 24 | 25 | /** 26 | * reset. 27 | * 28 | * @param url url 29 | */ 30 | void reset(URL url); 31 | 32 | } -------------------------------------------------------------------------------- /dubbo-rpc/dubbo-rpc-api/src/test/java/com/alibaba/dubbo/rpc/proxy/RemoteService.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1999-2011 Alibaba Group. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.alibaba.dubbo.rpc.proxy; 17 | 18 | import java.rmi.Remote; 19 | import java.rmi.RemoteException; 20 | 21 | public interface RemoteService extends Remote 22 | { 23 | String sayHello(String name) throws RemoteException; 24 | 25 | String getThreadName() throws RemoteException; 26 | } -------------------------------------------------------------------------------- /dubbo-admin/src/main/webapp/WEB-INF/templates/governance/screen/noServicePrivilege.vm: -------------------------------------------------------------------------------- 1 |