Skip to content

Commit

Permalink
remove gcp related changes (#2485)
Browse files Browse the repository at this point in the history
* add support for gcp all and relaystate logic

Signed-off-by: jtsang01 <[email protected]>

* remove gcp related changes

Signed-off-by: jtsang01 <[email protected]>

---------

Signed-off-by: jtsang01 <[email protected]>
Co-authored-by: jtsang01 <[email protected]>
  • Loading branch information
jimmytsang and jtsang01 authored Jan 18, 2024
1 parent 58608be commit e7fc7fe
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 694 deletions.
236 changes: 0 additions & 236 deletions ui/src/__tests__/pages/gcp/__snapshots__/login.test.js.snap

This file was deleted.

63 changes: 0 additions & 63 deletions ui/src/__tests__/pages/gcp/login.test.js

This file was deleted.

28 changes: 2 additions & 26 deletions ui/src/__tests__/server/handlers/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,20 +307,7 @@ describe('Fetchr Server API Test', () => {
principal: 'user.dummy1',
assertions: [
{
role: 'dummy.project:role.gcp.fed.power.user',
resource:
'dummy.project:fed.power.user',
action: 'gcp.assume_role',
effect: 'ALLOW',
id: 1,
},
{
role: 'dummy.project2:role.gcp.fed.admin.user',
resource:
'dummy.project2:fed.admin.user',
action: 'gcp.assume_role',
effect: 'ALLOW',
id: 2,
dummyProperty: 'dummyValue'
},
],
},
Expand Down Expand Up @@ -1325,18 +1312,7 @@ describe('Fetchr Server API Test', () => {
principal: 'user.dummy1',
assertions: [
{
role: 'dummy.project:role.gcp.fed.power.user',
resource: 'dummy.project:fed.power.user',
action: 'gcp.assume_role',
effect: 'ALLOW',
id: 1,
},
{
role: 'dummy.project2:role.gcp.fed.admin.user',
resource: 'dummy.project2:fed.admin.user',
action: 'gcp.assume_role',
effect: 'ALLOW',
id: 2,
dummyProperty: 'dummyValue'
},
],
},
Expand Down
Loading

0 comments on commit e7fc7fe

Please sign in to comment.