diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpAsyncOp.java b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpAsyncOp.java index 99c15a252..ab51959f7 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpAsyncOp.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpAsyncOp.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.cmds; import io.nosqlbench.activitytype.http.async.HttpAsyncAction; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpFormatParser.java b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpFormatParser.java index c37808cde..3f8ff0afd 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpFormatParser.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpFormatParser.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.cmds; import io.nosqlbench.nb.api.errors.BasicError; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpOp.java b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpOp.java index a67e0f35a..e667c1468 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpOp.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/HttpOp.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.cmds; import io.nosqlbench.engine.api.activityimpl.uniform.flowtypes.Op; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/ReadyHttpOp.java b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/ReadyHttpOp.java index 4470e6367..a372b7c28 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/ReadyHttpOp.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/cmds/ReadyHttpOp.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.cmds; import io.nosqlbench.engine.api.activityconfig.yaml.OpTemplate; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/ClientScope.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/ClientScope.java index 0f1a07f9c..105883181 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/ClientScope.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/ClientScope.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; public enum ClientScope { diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpAction.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpAction.java index 804de49cf..4b7ad1afb 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpAction.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpAction.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import com.codahale.metrics.Timer; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActionDispenser.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActionDispenser.java index 57d72424e..2d016dbd7 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActionDispenser.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActionDispenser.java @@ -1,10 +1,26 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import io.nosqlbench.engine.api.activityapi.core.Action; import io.nosqlbench.engine.api.activityapi.core.ActionDispenser; public class HttpActionDispenser implements ActionDispenser { - private HttpActivity httpActivity; + private final HttpActivity httpActivity; public HttpActionDispenser(HttpActivity httpActivity) { this.httpActivity = httpActivity; @@ -14,4 +30,4 @@ public class HttpActionDispenser implements ActionDispenser { public Action getAction(int i) { return new HttpAction(httpActivity.getActivityDef(), i, httpActivity); } -} \ No newline at end of file +} diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivity.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivity.java index e159ff3ea..1215c31b4 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivity.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import com.codahale.metrics.Histogram; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivityType.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivityType.java index e78ebac1a..a054741a6 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivityType.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpActivityType.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import io.nosqlbench.engine.api.activityapi.core.ActionDispenser; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpConsoleFormats.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpConsoleFormats.java index 60d28aef9..3fd6faf8f 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpConsoleFormats.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/HttpConsoleFormats.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import io.nosqlbench.activitytype.http.statuscodes.HttpStatusCodes; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidResponseBodyException.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidResponseBodyException.java index b7a498696..374e34560 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidResponseBodyException.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidResponseBodyException.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import java.util.regex.Pattern; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidStatusCodeException.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidStatusCodeException.java index 85d957570..39e91f8fb 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidStatusCodeException.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/InvalidStatusCodeException.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import java.util.regex.Pattern; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/ResponseError.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/ResponseError.java index 6c88beb67..36644a2d8 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/ResponseError.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/ResponseError.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; public class ResponseError extends RuntimeException { diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/async/HttpAsyncAction.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/async/HttpAsyncAction.java index ea6e68918..fa1412521 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/async/HttpAsyncAction.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/async/HttpAsyncAction.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http.async; import io.nosqlbench.activitytype.cmds.HttpAsyncOp; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodes.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodes.java index 7183afd98..4d018f472 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodes.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodes.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http.statuscodes; import io.nosqlbench.nb.api.content.Content; diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusRanges.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusRanges.java index 95b68272e..abd6141e1 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusRanges.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusRanges.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http.statuscodes; enum HttpStatusRanges { diff --git a/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/IetfStatusCode.java b/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/IetfStatusCode.java index ec17f8b07..1b98da998 100644 --- a/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/IetfStatusCode.java +++ b/driver-http/src/main/java/io/nosqlbench/activitytype/http/statuscodes/IetfStatusCode.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http.statuscodes; public class IetfStatusCode { diff --git a/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/HttpFormatParserTest.java b/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/HttpFormatParserTest.java index 929387f0f..f796dad98 100644 --- a/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/HttpFormatParserTest.java +++ b/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/HttpFormatParserTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.cmds; import org.junit.jupiter.api.Test; diff --git a/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/ReadyHttpOpTest.java b/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/ReadyHttpOpTest.java index 7a2639ae3..bfbf0671a 100644 --- a/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/ReadyHttpOpTest.java +++ b/driver-http/src/test/java/io/nosqlbench/activitytype/cmds/ReadyHttpOpTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.cmds; import io.nosqlbench.engine.api.activityconfig.StatementsLoader; diff --git a/driver-http/src/test/java/io/nosqlbench/activitytype/http/HttpActivityTypeTest.java b/driver-http/src/test/java/io/nosqlbench/activitytype/http/HttpActivityTypeTest.java index ab68cc228..596814373 100644 --- a/driver-http/src/test/java/io/nosqlbench/activitytype/http/HttpActivityTypeTest.java +++ b/driver-http/src/test/java/io/nosqlbench/activitytype/http/HttpActivityTypeTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http; import io.nosqlbench.engine.api.activityapi.core.Action; diff --git a/driver-http/src/test/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodesTest.java b/driver-http/src/test/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodesTest.java index 7594b51dd..41d8b774a 100644 --- a/driver-http/src/test/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodesTest.java +++ b/driver-http/src/test/java/io/nosqlbench/activitytype/http/statuscodes/HttpStatusCodesTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2022 nosqlbench + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.nosqlbench.activitytype.http.statuscodes; import org.junit.jupiter.api.Test;