File tree 3 files changed +36
-7
lines changed
main/java/io/dapr/testcontainers
test/java/io/dapr/testcontainers/converter
3 files changed +36
-7
lines changed Original file line number Diff line number Diff line change
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
+
1
14
package io .dapr .testcontainers ;
2
15
3
16
import java .util .Collections ;
6
19
public class AppHttpPipeline implements ConfigurationSettings {
7
20
private List <ListEntry > handlers ;
8
21
9
- public AppHttpPipeline () {
10
- }
11
-
12
22
public AppHttpPipeline (List <ListEntry > handlers ) {
13
- this .handlers = Collections .unmodifiableList (handlers );
23
+ if (handlers != null ){
24
+ this .handlers = Collections .unmodifiableList (handlers );
25
+ }
14
26
}
15
27
16
28
public List <ListEntry > getHandlers () {
Original file line number Diff line number Diff line change @@ -21,9 +21,13 @@ public class Configuration {
21
21
private final TracingConfigurationSettings tracing ;
22
22
private final AppHttpPipeline appHttpPipeline ;
23
23
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
27
31
28
32
/**
29
33
* Creates a new configuration.
Original file line number Diff line number Diff line change
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
+
1
14
package io .dapr .testcontainers .converter ;
2
15
3
16
import io .dapr .testcontainers .AppHttpPipeline ;
You can’t perform that action at this time.
0 commit comments