|
@@ -79,6 +79,10 @@ public class AmbariAuthorizationFilterTest {
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "PUT", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "GET", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "DELETE", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "GET", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "PUT", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "POST", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "DELETE", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "GET", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "POST", true);
|
|
|
urlTests.put("/views/DeniedView/AnotherVersion/AnotherInstance", "GET", true);
|
|
@@ -112,6 +116,10 @@ public class AmbariAuthorizationFilterTest {
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "PUT", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "GET", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "DELETE", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "GET", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "PUT", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "POST", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "DELETE", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "GET", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "POST", true);
|
|
|
urlTests.put("/views/DeniedView/AnotherVersion/AnotherInstance", "GET", true);
|
|
@@ -145,6 +153,10 @@ public class AmbariAuthorizationFilterTest {
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "PUT", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "GET", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "DELETE", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "GET", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "PUT", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "POST", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "DELETE", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "GET", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "POST", true);
|
|
|
urlTests.put("/views/DeniedView/AnotherVersion/AnotherInstance", "GET", true);
|
|
@@ -178,6 +190,10 @@ public class AmbariAuthorizationFilterTest {
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "PUT", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "GET", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "DELETE", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "GET", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "PUT", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "POST", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "DELETE", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "GET", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "POST", true);
|
|
|
urlTests.put("/views/DeniedView/AnotherVersion/AnotherInstance", "GET", true);
|
|
@@ -211,6 +227,10 @@ public class AmbariAuthorizationFilterTest {
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "PUT", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "GET", true);
|
|
|
urlTests.put("/api/v1/clusters/c1/credentials/cluster.credential", "DELETE", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "GET", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "PUT", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "POST", true);
|
|
|
+ urlTests.put("/api/v1/clusters/c1/configurations", "DELETE", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "GET", true);
|
|
|
urlTests.put("/views/AllowedView/SomeVersion/SomeInstance", "POST", true);
|
|
|
urlTests.put("/views/DeniedView/AnotherVersion/AnotherInstance", "GET", true);
|