mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
964f85b174
* Amend policy creation (proprietary query), add update APIs * Fix Datastore.SavePolicy bug (and add tests) * Add integration tests for new policy APIs * Add author email * Add activities * Push breaking changes for return policy fields * WIP * Add integration test for host policies * Make more improvements to policy representation * Improve upgrade code (from PR review comments) * PR changes * Revert activities for policies * Use *uint instead of uint for queryID, use fleet.PolicyPayload * Filter out other schemas * New policy flow (#2922) * created new policy flow -- no API connection * added api props * fixed prop name * lint fixes * removed unused modal; fixed style * name, desc icons; created global components * lint fixes * ignoring certain files and lines for prettier * Update frontend/pages/policies/PolicyPage/PolicyPage.tsx * Make policy names unique across deployment * Amend upgrade script * Fix migration for unique names * Do not deduplicate but instead rename policies Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Test package",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "test",
|
|
"cwd": "${fileDirname}",
|
|
"env": {
|
|
"MYSQL_TEST": 1,
|
|
"REDIS_TEST": 1
|
|
},
|
|
"buildFlags": "-tags='full,fts5'",
|
|
"program": "${fileDirname}"
|
|
},
|
|
{
|
|
"name": "Test file",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "test",
|
|
"cwd": "${fileDirname}",
|
|
"env": {
|
|
"MYSQL_TEST": 1,
|
|
"REDIS_TEST": 1
|
|
},
|
|
"buildFlags": "-tags='full,fts5'",
|
|
"program": "${file}"
|
|
},
|
|
{
|
|
"name": "Fleet serve",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"buildFlags": "-tags='full,fts5'",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "${workspaceFolder}/cmd/fleet",
|
|
"args": [
|
|
"serve",
|
|
"--dev",
|
|
"--logging_debug"
|
|
]
|
|
},
|
|
{
|
|
"name": "Fleet serve (licensed)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"buildFlags": "-tags='full,fts5'",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "${workspaceFolder}/cmd/fleet",
|
|
"args": [
|
|
"serve",
|
|
"--dev",
|
|
"--logging_debug",
|
|
"--dev_license"
|
|
]
|
|
},
|
|
{
|
|
"type": "pwa-chrome",
|
|
"name": "Fleet UI (Chrome)",
|
|
"request": "launch",
|
|
"url": "https://localhost:8080"
|
|
},
|
|
{
|
|
"type": "firefox",
|
|
"name": "Fleet UI (Firefox)",
|
|
"request": "launch",
|
|
"url": "https://localhost:8080",
|
|
"pathMappings": [
|
|
{
|
|
"url": "webpack:///frontend",
|
|
"path": "${workspaceFolder}/frontend"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |