mirror of
https://github.com/openflocon/Flocon.git
synced 2026-04-29 04:10:26 +00:00
Feature/multi apps (#69)
* feature: Add multi apps * feature: Add logic * fix: Upgrade db * fix: Devices * feature: Change everywhere (almost) * fix: Build * fix: Discussion * fix: Build * fix: Deeplink * fix: Disinct * fix: Discussion --------- Co-authored-by: TEYSSANDIER Raphael <rteyssandier@sephora.fr> Co-authored-by: Florent Champigny <florent@bere.al>
This commit is contained in:
parent
86b0b6bb1c
commit
8db24d760c
138 changed files with 5125 additions and 1013 deletions
|
|
@ -2,11 +2,11 @@
|
|||
"formatVersion": 1,
|
||||
"database": {
|
||||
"version": 28,
|
||||
"identityHash": "2064d08d969f8275c5f4dea45aa8505a",
|
||||
"identityHash": "413be2ae8adf33e95697efba4da4bfab",
|
||||
"entities": [
|
||||
{
|
||||
"tableName": "FloconHttpRequestEntity",
|
||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `deviceId` TEXT NOT NULL, `url` TEXT NOT NULL, `method` TEXT NOT NULL, `startTime` INTEGER NOT NULL, `durationMs` REAL NOT NULL, `requestHeaders` TEXT NOT NULL, `requestBody` TEXT, `requestByteSize` INTEGER NOT NULL, `responseContentType` TEXT, `responseBody` TEXT, `responseHeaders` TEXT NOT NULL, `responseByteSize` INTEGER NOT NULL, `graphql_query` TEXT, `graphql_operationType` TEXT, `graphql_isSuccess` INTEGER, `graphql_responseHttpCode` INTEGER, `http_responseHttpCode` INTEGER, `grpc_responseStatus` TEXT, PRIMARY KEY(`uuid`))",
|
||||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `deviceId` TEXT NOT NULL, `packageName` TEXT NOT NULL, `url` TEXT NOT NULL, `method` TEXT NOT NULL, `startTime` INTEGER NOT NULL, `durationMs` REAL NOT NULL, `requestHeaders` TEXT NOT NULL, `requestBody` TEXT, `requestByteSize` INTEGER NOT NULL, `responseContentType` TEXT, `responseBody` TEXT, `responseHeaders` TEXT NOT NULL, `responseByteSize` INTEGER NOT NULL, `graphql_query` TEXT, `graphql_operationType` TEXT, `graphql_isSuccess` INTEGER, `graphql_responseHttpCode` INTEGER, `http_responseHttpCode` INTEGER, `grpc_responseStatus` TEXT, PRIMARY KEY(`uuid`))",
|
||||
"fields": [
|
||||
{
|
||||
"fieldPath": "uuid",
|
||||
|
|
@ -20,6 +20,12 @@
|
|||
"affinity": "TEXT",
|
||||
"notNull": true
|
||||
},
|
||||
{
|
||||
"fieldPath": "packageName",
|
||||
"columnName": "packageName",
|
||||
"affinity": "TEXT",
|
||||
"notNull": true
|
||||
},
|
||||
{
|
||||
"fieldPath": "infos.url",
|
||||
"columnName": "url",
|
||||
|
|
@ -805,7 +811,7 @@
|
|||
],
|
||||
"setupQueries": [
|
||||
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
|
||||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2064d08d969f8275c5f4dea45aa8505a')"
|
||||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '413be2ae8adf33e95697efba4da4bfab')"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue