summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-os/mock/ecomp/data/users
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE-os/mock/ecomp/data/users')
-rw-r--r--ecomp-portal-FE-os/mock/ecomp/data/users/account-users.json40
-rw-r--r--ecomp-portal-FE-os/mock/ecomp/data/users/query-users-results.json38
-rw-r--r--ecomp-portal-FE-os/mock/ecomp/data/users/user-apps-roles.json59
3 files changed, 137 insertions, 0 deletions
diff --git a/ecomp-portal-FE-os/mock/ecomp/data/users/account-users.json b/ecomp-portal-FE-os/mock/ecomp/data/users/account-users.json
new file mode 100644
index 00000000..7088fe9e
--- /dev/null
+++ b/ecomp-portal-FE-os/mock/ecomp/data/users/account-users.json
@@ -0,0 +1,40 @@
+[
+ {
+ "userId": "aw3218",
+ "firstName": "Andy",
+ "lastName": "Weeks",
+ "roles": [
+ {
+ "id": 1,
+ "name": "Standard user"
+ },
+ {
+ "id": 9,
+ "name": "Super standard user"
+ },
+ {
+ "id": 2,
+ "name": "Super duper standard user"
+ }
+ ]
+ },
+ {
+ "userId": "lr3268",
+ "firstName": "Lori",
+ "lastName": "Resnick",
+ "roles": [
+ {
+ "id": 10,
+ "name": "read"
+ },
+ {
+ "id": 91,
+ "name": "write"
+ },
+ {
+ "id": 2,
+ "name": "Super duper standard user"
+ }
+ ]
+ }
+] \ No newline at end of file
diff --git a/ecomp-portal-FE-os/mock/ecomp/data/users/query-users-results.json b/ecomp-portal-FE-os/mock/ecomp/data/users/query-users-results.json
new file mode 100644
index 00000000..1fb0a413
--- /dev/null
+++ b/ecomp-portal-FE-os/mock/ecomp/data/users/query-users-results.json
@@ -0,0 +1,38 @@
+[
+ {
+ "userId": "aw3218",
+ "firstName": "ANDY",
+ "lastName": "WEEKS",
+ "jobTitle": "SENIOR-PRODUCT DEVELOPMENT ENGINEER"
+ },
+ {
+ "userId": "lr3268",
+ "firstName": "LORI A",
+ "lastName": "RESNICK",
+ "jobTitle": "SR MEMBER OF TECHNICAL STAFF"
+ },
+ {
+ "userId": "ml1386",
+ "firstName": "MIKE",
+ "lastName": "LITTLE",
+ "jobTitle": "PRINCIPAL MEMBER OF TECH STAFF"
+ },
+ {
+ "userId": "ak133d",
+ "firstName": "AVINASHWAR",
+ "lastName": "KOTESHWAR",
+ "jobTitle": "QUALITY TESTING"
+ },
+ {
+ "userId": "mm016f",
+ "firstName": "MOHAMED ANVAR BATCHA",
+ "lastName": "MOHAMED IBRAHIM",
+ "jobTitle": "APPLICATION/SW DEVELOPMENT/SUPPORT"
+ },
+ {
+ "userId": "rc580q",
+ "firstName": "RAMAKRISHNA",
+ "lastName": "CHUNDURU",
+ "jobTitle": "PRINCIPAL MEMBER OF TECH STAFF"
+ }
+] \ No newline at end of file
diff --git a/ecomp-portal-FE-os/mock/ecomp/data/users/user-apps-roles.json b/ecomp-portal-FE-os/mock/ecomp/data/users/user-apps-roles.json
new file mode 100644
index 00000000..4e9b66bc
--- /dev/null
+++ b/ecomp-portal-FE-os/mock/ecomp/data/users/user-apps-roles.json
@@ -0,0 +1,59 @@
+{
+ "userId": "vt7108",
+ "apps": [
+ {
+ "appName": "Default",
+ "appId": 1,
+ "appRoles": [
+ {
+ "roleName": "Special user of Default",
+ "roleId": 12,
+ "isApplied": false
+ },
+ {
+ "roleName": "Macro user of Default",
+ "roleId": 13,
+ "isApplied": false
+ }
+ ]
+ },
+ {
+ "appName": "SSP",
+ "appId": 2,
+ "appRoles": [
+ {
+ "roleName": "Regular user of SSP",
+ "roleId": 1,
+ "isApplied": false
+ },
+ {
+ "roleName": "Mini user of SSP",
+ "roleId": 2,
+ "isApplied": true
+ }
+ ]
+ },
+ {
+ "appName": "ASDC",
+ "appId": 3,
+ "appRoles": [
+ {
+ "roleName": "Simple user",
+ "roleId": 99,
+ "isApplied": false
+ }
+ ]
+ },
+ {
+ "appName": "Formation",
+ "appId": 309,
+ "appRoles": [
+ {
+ "roleName": "some user role",
+ "roleId": 919,
+ "isApplied": false
+ }
+ ]
+ }
+ ]
+}