Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ app.*.map.json

# Oracle JDK (large files)
Oracle_JDK-24/

test_results/
13 changes: 13 additions & 0 deletions assets/mock/GET_app_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"minimumVersion": "0.1.0",
"latestVersion": "1.0.0",
"maintenanceMode": false,
"maintenanceMessage": "We are performing scheduled maintenance. Please check back soon.",
"maintenanceEstimatedEnd": "2024-12-01T12:00:00Z",
"storeUrl": "https://play.google.com/store",
"featureFlags": {
"beta_chat": false,
"dark_mode_v2": true,
"export_pdf": true
}
}
22 changes: 22 additions & 0 deletions assets/mock/GET_dynamic_forms_pathParams.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"id": "create_lead",
"title": "New Lead",
"description": "Create a new sales lead entry.",
"fields": [
{"type": "section_header", "key": "_section_contact", "label": "Contact Information"},
{"type": "text", "key": "name", "label": "Full Name", "required": true, "validators": ["minLength:2"]},
{"type": "email", "key": "email", "label": "Email Address", "required": true},
{"type": "phone", "key": "phone", "label": "Phone Number", "hint": "+1 (555) 000-0000"},
{"type": "section_header", "key": "_section_details", "label": "Lead Details"},
{"type": "dropdown", "key": "source", "label": "Lead Source", "required": true, "options": ["Web", "Referral", "Cold Call", "Conference", "Social Media"]},
{"type": "radio", "key": "type", "label": "Lead Type", "options": ["B2B", "B2C", "Partner"], "default": "B2B"},
{"type": "textarea", "key": "notes", "label": "Notes", "maxLines": 4, "hint": "Any additional details..."},
{"type": "divider", "key": "_divider_1", "label": ""},
{"type": "date", "key": "followUp", "label": "Follow-up Date"},
{"type": "slider", "key": "priority", "label": "Priority Level", "min": 1, "max": 10, "default": 5},
{"type": "toggle", "key": "isHighPriority", "label": "High Priority", "default": false},
{"type": "multi_select", "key": "tags", "label": "Tags", "options": ["Hot", "Warm", "Cold", "VIP", "Enterprise"]}
],
"submitAction": {"method": "POST", "endpoint": "/leads"},
"layout": "responsive"
}
4 changes: 4 additions & 0 deletions assets/mock/POST_api_token_refresh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id_token": "MOCK_REFRESHED_TOKEN",
"refresh_token": "MOCK_REFRESH_TOKEN_NEW"
}
3 changes: 2 additions & 1 deletion assets/mock/POST_authenticate.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id_token": "MOCK_TOKEN"
"id_token": "MOCK_TOKEN",
"refresh_token": "MOCK_REFRESH_TOKEN"
}
3 changes: 2 additions & 1 deletion assets/mock/POST_authenticate_verify_otp.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id_token": "MOCK_TOKEN"
"id_token": "MOCK_TOKEN",
"refresh_token": "MOCK_REFRESH_TOKEN"
}
19 changes: 0 additions & 19 deletions assets/mock/dashboard.json

This file was deleted.

29 changes: 29 additions & 0 deletions docs/REAL_API_INFO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Real API Information for production testing

* BASE_URL: http://localhost:8080/
* API DOCS: http://localhost:8080/v3/api-docs/springdocDefault
* API DOCS UI: http://localhost:8080/admin/docs

* ADMIN: admin/admin
* USER: user/user

## Endpoints

### Auth

- POST /api/register
- POST /api/authenticate
- POST /api/authenticate/verify-otp
- POST /api/authenticate/send-otp
- POST /api/account/change-password
- GET /api/account


- GET /api/menus
- GET /api/authorities

- GET /api/users
- GET /api/users/{id}
- POST /api/users
- PUT /api/users/{id}
- DELETE /api/users/{id}
Loading
Loading