-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DBParameterGroup] Include parameters in the ReadHandler response (#406)
This commit adds DBParameterGroup.parameters in the ReadHandler response. The motivation for this change is to enable drift detector on independent group parameters. At the moment this collection is defined aas WriteOnly, instructing the drift detector to ignore it completely.
- Loading branch information
Oleg Sidorov
committed
Feb 27, 2023
1 parent
5b4b0ff
commit 8f036a3
Showing
16 changed files
with
607 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...mon/src/main/java/software/amazon/rds/test/common/verification/AccessPermissionAlias.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package software.amazon.rds.test.common.verification; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@AllArgsConstructor | ||
public class AccessPermissionAlias { | ||
@Getter | ||
private AccessPermission origin; | ||
|
||
@Getter | ||
private AccessPermission equivalent; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...mmon/src/test/java/software/amazon/rds/test/common/verification/AccessPermissionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package software.amazon.rds.test.common.verification; | ||
|
||
import org.assertj.core.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
import software.amazon.rds.test.common.core.ServiceProvider; | ||
|
||
class AccessPermissionTest { | ||
|
||
@Test | ||
public void test_toString() { | ||
final AccessPermission permission = new AccessPermission(ServiceProvider.RDS, "TestMethod"); | ||
Assertions.assertThat(permission.toString()).isEqualTo("rds:TestMethod"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.