Skip to content

Commit 84c8745

Browse files
committed
adding license hearders and TODO references
Signed-off-by: salaboy <[email protected]>
1 parent 2b0c66e commit 84c8745

File tree

3 files changed

+36
-7
lines changed

3 files changed

+36
-7
lines changed

testcontainers-dapr/src/main/java/io/dapr/testcontainers/AppHttpPipeline.java

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Copyright 2025 The Dapr Authors
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
* Unless required by applicable law or agreed to in writing, software
8+
* distributed under the License is distributed on an "AS IS" BASIS,
9+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
* See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package io.dapr.testcontainers;
215

316
import java.util.Collections;
@@ -6,11 +19,10 @@
619
public class AppHttpPipeline implements ConfigurationSettings {
720
private List<ListEntry> handlers;
821

9-
public AppHttpPipeline() {
10-
}
11-
1222
public AppHttpPipeline(List<ListEntry> handlers) {
13-
this.handlers = Collections.unmodifiableList(handlers);
23+
if (handlers != null ){
24+
this.handlers = Collections.unmodifiableList(handlers);
25+
}
1426
}
1527

1628
public List<ListEntry> getHandlers() {

testcontainers-dapr/src/main/java/io/dapr/testcontainers/Configuration.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ public class Configuration {
2121
private final TracingConfigurationSettings tracing;
2222
private final AppHttpPipeline appHttpPipeline;
2323

24-
// @TODO: add secrets
25-
// @TODO: add components
26-
// @TODO: add accessControl
24+
// @TODO: add secrets https://github.com/dapr/java-sdk/issues/1280
25+
// @TODO: add metrics https://github.com/dapr/java-sdk/issues/1281
26+
// @TODO: add logging https://github.com/dapr/java-sdk/issues/1282
27+
// @TODO: add middleware httpPipeline https://github.com/dapr/java-sdk/issues/1283
28+
// @TODO: add nameResolution https://github.com/dapr/java-sdk/issues/1284
29+
// @TODO: add disallow components https://github.com/dapr/java-sdk/issues/1285
30+
// @TODO: add mtls https://github.com/dapr/java-sdk/issues/1286
2731

2832
/**
2933
* Creates a new configuration.

testcontainers-dapr/src/test/java/io/dapr/testcontainers/converter/ConfigurationYamlConverterTest.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* Copyright 2025 The Dapr Authors
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
* Unless required by applicable law or agreed to in writing, software
8+
* distributed under the License is distributed on an "AS IS" BASIS,
9+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
* See the License for the specific language governing permissions and
11+
limitations under the License.
12+
*/
13+
114
package io.dapr.testcontainers.converter;
215

316
import io.dapr.testcontainers.AppHttpPipeline;

0 commit comments

Comments
 (0)