diff --git a/fizz-common/src/test/java/we/util/JsonSchemaUtilsTest.java b/fizz-common/src/test/java/we/util/JsonSchemaUtilsTest.java index 9b1a8aa..a003ef0 100644 --- a/fizz-common/src/test/java/we/util/JsonSchemaUtilsTest.java +++ b/fizz-common/src/test/java/we/util/JsonSchemaUtilsTest.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.util; import org.junit.jupiter.api.Test; diff --git a/fizz-common/src/test/java/we/xml/XmlTests.java b/fizz-common/src/test/java/we/xml/XmlTests.java index b6c0f43..85b1f64 100644 --- a/fizz-common/src/test/java/we/xml/XmlTests.java +++ b/fizz-common/src/test/java/we/xml/XmlTests.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.xml; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/fizz-core/src/main/java/we/config/ApolloConfig.java b/fizz-core/src/main/java/we/config/ApolloConfig.java index f41e8a6..8491704 100644 --- a/fizz-core/src/main/java/we/config/ApolloConfig.java +++ b/fizz-core/src/main/java/we/config/ApolloConfig.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.config; import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig; diff --git a/fizz-core/src/main/java/we/fizz/exception/FizzException.java b/fizz-core/src/main/java/we/fizz/exception/FizzException.java index e18085a..c933ba3 100644 --- a/fizz-core/src/main/java/we/fizz/exception/FizzException.java +++ b/fizz-core/src/main/java/we/fizz/exception/FizzException.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.fizz.exception; public class FizzException extends Exception { diff --git a/fizz-core/src/main/java/we/fizz/exception/FizzRuntimeException.java b/fizz-core/src/main/java/we/fizz/exception/FizzRuntimeException.java index 929fe1c..5b72d73 100644 --- a/fizz-core/src/main/java/we/fizz/exception/FizzRuntimeException.java +++ b/fizz-core/src/main/java/we/fizz/exception/FizzRuntimeException.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.fizz.exception; import we.fizz.StepContext; diff --git a/fizz-core/src/main/java/we/fizz/input/IInput.java b/fizz-core/src/main/java/we/fizz/input/IInput.java index 5b02c74..f9fa67f 100644 --- a/fizz-core/src/main/java/we/fizz/input/IInput.java +++ b/fizz-core/src/main/java/we/fizz/input/IInput.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.fizz.input; import org.springframework.context.ConfigurableApplicationContext; diff --git a/fizz-core/src/main/java/we/flume/clients/log4j2appender/LogService.java b/fizz-core/src/main/java/we/flume/clients/log4j2appender/LogService.java index fe9f72f..8294458 100644 --- a/fizz-core/src/main/java/we/flume/clients/log4j2appender/LogService.java +++ b/fizz-core/src/main/java/we/flume/clients/log4j2appender/LogService.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.flume.clients.log4j2appender; import we.constants.CommonConstants; diff --git a/fizz-core/src/main/java/we/flume/clients/log4j2appender/ThreadContext.java b/fizz-core/src/main/java/we/flume/clients/log4j2appender/ThreadContext.java index 856d58d..af66657 100644 --- a/fizz-core/src/main/java/we/flume/clients/log4j2appender/ThreadContext.java +++ b/fizz-core/src/main/java/we/flume/clients/log4j2appender/ThreadContext.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.flume.clients.log4j2appender; import java.text.SimpleDateFormat; diff --git a/fizz-core/src/main/java/we/proxy/AbstractDiscoveryClientUriSelector.java b/fizz-core/src/main/java/we/proxy/AbstractDiscoveryClientUriSelector.java index 94ab1de..2c48098 100644 --- a/fizz-core/src/main/java/we/proxy/AbstractDiscoveryClientUriSelector.java +++ b/fizz-core/src/main/java/we/proxy/AbstractDiscoveryClientUriSelector.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy; import we.util.Constants; diff --git a/fizz-core/src/main/java/we/proxy/DisableDiscoveryUriSelector.java b/fizz-core/src/main/java/we/proxy/DisableDiscoveryUriSelector.java index 8067d6e..5c8fdf4 100644 --- a/fizz-core/src/main/java/we/proxy/DisableDiscoveryUriSelector.java +++ b/fizz-core/src/main/java/we/proxy/DisableDiscoveryUriSelector.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy; import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; diff --git a/fizz-core/src/main/java/we/proxy/DiscoveryClientUriSelector.java b/fizz-core/src/main/java/we/proxy/DiscoveryClientUriSelector.java index 555fd8c..025290b 100644 --- a/fizz-core/src/main/java/we/proxy/DiscoveryClientUriSelector.java +++ b/fizz-core/src/main/java/we/proxy/DiscoveryClientUriSelector.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy; /** diff --git a/fizz-core/src/main/java/we/proxy/EurekaUriSelector.java b/fizz-core/src/main/java/we/proxy/EurekaUriSelector.java index e8d25a0..287fa74 100644 --- a/fizz-core/src/main/java/we/proxy/EurekaUriSelector.java +++ b/fizz-core/src/main/java/we/proxy/EurekaUriSelector.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy; import com.netflix.appinfo.InstanceInfo; diff --git a/fizz-core/src/main/java/we/proxy/NacosUriSelector.java b/fizz-core/src/main/java/we/proxy/NacosUriSelector.java index ce254c9..8d16250 100644 --- a/fizz-core/src/main/java/we/proxy/NacosUriSelector.java +++ b/fizz-core/src/main/java/we/proxy/NacosUriSelector.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy; import com.alibaba.cloud.nacos.NacosDiscoveryProperties; diff --git a/fizz-core/src/main/java/we/proxy/grpc/GrpcGenericService.java b/fizz-core/src/main/java/we/proxy/grpc/GrpcGenericService.java index 6d50e2f..e584e29 100644 --- a/fizz-core/src/main/java/we/proxy/grpc/GrpcGenericService.java +++ b/fizz-core/src/main/java/we/proxy/grpc/GrpcGenericService.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy.grpc; import com.google.common.net.HostAndPort; diff --git a/fizz-core/src/main/java/we/proxy/grpc/GrpcInterfaceDeclaration.java b/fizz-core/src/main/java/we/proxy/grpc/GrpcInterfaceDeclaration.java index 1bac694..1a23f77 100644 --- a/fizz-core/src/main/java/we/proxy/grpc/GrpcInterfaceDeclaration.java +++ b/fizz-core/src/main/java/we/proxy/grpc/GrpcInterfaceDeclaration.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy.grpc; public class GrpcInterfaceDeclaration { diff --git a/fizz-core/src/main/java/we/proxy/grpc/ListenableFutureAdapter.java b/fizz-core/src/main/java/we/proxy/grpc/ListenableFutureAdapter.java index 0a6bdd0..6701fde 100644 --- a/fizz-core/src/main/java/we/proxy/grpc/ListenableFutureAdapter.java +++ b/fizz-core/src/main/java/we/proxy/grpc/ListenableFutureAdapter.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy.grpc; import com.google.common.util.concurrent.FutureCallback; diff --git a/fizz-core/src/main/java/we/proxy/grpc/client/utils/ChannelFactory.java b/fizz-core/src/main/java/we/proxy/grpc/client/utils/ChannelFactory.java index 3e59f1d..3eaca96 100644 --- a/fizz-core/src/main/java/we/proxy/grpc/client/utils/ChannelFactory.java +++ b/fizz-core/src/main/java/we/proxy/grpc/client/utils/ChannelFactory.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy.grpc.client.utils; import static io.grpc.Metadata.ASCII_STRING_MARSHALLER; diff --git a/fizz-core/src/main/java/we/proxy/grpc/client/utils/GrpcReflectionUtils.java b/fizz-core/src/main/java/we/proxy/grpc/client/utils/GrpcReflectionUtils.java index 778c70d..0320ca3 100644 --- a/fizz-core/src/main/java/we/proxy/grpc/client/utils/GrpcReflectionUtils.java +++ b/fizz-core/src/main/java/we/proxy/grpc/client/utils/GrpcReflectionUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy.grpc.client.utils; import static com.google.common.base.Preconditions.checkArgument; diff --git a/fizz-core/src/main/java/we/proxy/grpc/client/utils/MessageWriter.java b/fizz-core/src/main/java/we/proxy/grpc/client/utils/MessageWriter.java index 8184e59..a69d641 100644 --- a/fizz-core/src/main/java/we/proxy/grpc/client/utils/MessageWriter.java +++ b/fizz-core/src/main/java/we/proxy/grpc/client/utils/MessageWriter.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2020 the original author or authors. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package we.proxy.grpc.client.utils; import static com.google.protobuf.util.JsonFormat.TypeRegistry;