diff --git a/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/entity/Blog.java b/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/entity/Blog.java index ec4d8ca39..a83d85a9a 100644 --- a/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/entity/Blog.java +++ b/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/entity/Blog.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.provider.entity; import lombok.Data; diff --git a/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/rpc/IBlogRpc.java b/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/rpc/IBlogRpc.java index 04eec1f39..38fe1c7f0 100644 --- a/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/rpc/IBlogRpc.java +++ b/blade-example-api/blade-dubbo-provider-api/src/main/java/org/springblade/example/provider/rpc/IBlogRpc.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.provider.rpc; import org.springblade.example.provider.entity.Blog; diff --git a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/DubboConsumerApplication.java b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/DubboConsumerApplication.java index 183fe0b60..28e74b0a0 100644 --- a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/DubboConsumerApplication.java +++ b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/DubboConsumerApplication.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.consumer; import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; diff --git a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/config/ConsumerConfiguration.java b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/config/ConsumerConfiguration.java index c1c36221d..c12d99725 100644 --- a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/config/ConsumerConfiguration.java +++ b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/config/ConsumerConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.consumer.config; import org.springblade.core.secure.registry.SecureRegistry; @@ -19,5 +35,4 @@ public class ConsumerConfiguration { return secureRegistry; } - } diff --git a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/controller/BlogController.java b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/controller/BlogController.java index 93f34d17e..6d6384427 100644 --- a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/controller/BlogController.java +++ b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/controller/BlogController.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.consumer.controller; import org.apache.dubbo.config.annotation.Reference; diff --git a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogMock.java b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogMock.java index 718104952..ff2faa25f 100644 --- a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogMock.java +++ b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogMock.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.consumer.rpc; diff --git a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogStub.java b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogStub.java index 7a1b297bf..e58a9aac0 100644 --- a/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogStub.java +++ b/blade-example/blade-dubbo-consumer/src/main/java/org/springblade/example/consumer/rpc/BlogStub.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.consumer.rpc; import lombok.AllArgsConstructor; diff --git a/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/controller/BlogController.java b/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/controller/BlogController.java index d17ea3890..d30854d28 100644 --- a/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/controller/BlogController.java +++ b/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/controller/BlogController.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.provider.controller; import org.springframework.web.bind.annotation.RestController; diff --git a/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/rpc/BlogRpc.java b/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/rpc/BlogRpc.java index 7dd62c38e..a166faa53 100644 --- a/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/rpc/BlogRpc.java +++ b/blade-example/blade-dubbo-provider/src/main/java/org/springblade/example/provider/rpc/BlogRpc.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 庄骞 (smallchill@163.com) + */ package org.springblade.example.provider.rpc; import org.apache.dubbo.config.annotation.Service;