We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd72e05 commit 7835addCopy full SHA for 7835add
1 file changed
pact-spring-data-rest-provider/src/test/java/com/example/framework/DatabaseStateHolder.java
@@ -2,6 +2,10 @@
2
3
/**
4
* Holds the current database state.
5
+ * <p/>
6
+ * TODO: replace the static state variable with a thread-safe alternative. Potentially use a special HTTP header
7
+ * that is intercepted by a Bean defined in {@link PactDatabaseStatesAutoConfiguration} and sets the database
8
+ * state in a {@link ThreadLocal} variable.
9
*/
10
public class DatabaseStateHolder {
11
0 commit comments