-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] Removing Axios for Native Fetch #1278
Draft
sapiderman
wants to merge
27
commits into
hyperjumptech:main
Choose a base branch
from
sapiderman:feat/1248-remove-axios
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ca76896
remove axios package
sapiderman c57e074
Merge branch 'main' into feat/1248-remove-axios
sapiderman 7ff1074
Merge branch 'main' into feat/1248-remove-axios
sapiderman c9951f5
remove send http via axios
sapiderman 3489c54
convert insomnia
sapiderman 54072f4
update symon worker to use fetch
sapiderman ed87495
update symon module
sapiderman 5ee4caf
Merge branch 'main' into feat/1248-remove-axios
sapiderman db981d7
fix conflict
sapiderman 0834377
Merge branch 'main' into feat/1248-remove-axios
sapiderman e46e6a2
fix prometheus test
sapiderman 7ac9cfa
add insomnia unit test
sapiderman 80ec4fe
Merge branch 'main' into feat/1248-remove-axios
sapiderman 91dbaf0
fix config file return
sapiderman ccd9b41
add handler for json config files
sapiderman d6c1095
cleanup console.logs
sapiderman cd400a1
fix symon mode tests
sapiderman 775de38
feat(http prober): #1285 implement cache http response (#1296)
syamsudotdev c1d30f1
feat: disable cache by default (#1297)
haricnugraha 83d7e41
Feat: Handle CERT_HAS_EXPIRED_ERROR (#1299)
dennypradipta 4409fbc
convert insomnia
sapiderman 92adfe5
update symon module
sapiderman a14a848
define apiversion
sapiderman 269e0eb
Merge branch 'main' into feat/1248-remove-axios
sapiderman e37a55b
tweak insomnia test
sapiderman 6d2fac3
add explicit follow redir
sapiderman 67482fa
remove .only
sapiderman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
projectKey=monika | ||
serverUrl=http://localhost:9000 | ||
serverVersion=10.2.1.78527 | ||
dashboardUrl=http://localhost:9000/dashboard?id=monika | ||
ceTaskId=AYuVyJ5oxsq2T6uOigBP | ||
ceTaskUrl=http://localhost:9000/api/ce/task?id=AYuVyJ5oxsq2T6uOigBP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
// 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": "Launch via NPM", | ||
"request": "launch", | ||
"runtimeArgs": ["run-script", "debug"], | ||
"runtimeExecutable": "npm ", | ||
"skipFiles": ["<node_internals>/**"], | ||
"type": "node", | ||
"args": ["-h"] | ||
}, | ||
{ | ||
"name": "Launch Simon Mode", | ||
"type": "node-terminal", | ||
"request": "launch", | ||
"command": "npm start -- --symonUrl=http://localhost:3000 --symonKey=d6b9ef1c-7d44-4ffc-aa02-446821d4d616 --symonLocationId=6f8a6285-9c45-4d6b-a656-7c3c9446beee" | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch with Args", | ||
"skipFiles": ["<node_internals>/**"], | ||
"program": "${workspaceFolder}/lib/index.js", | ||
"preLaunchTask": "tsc: build - tsconfig.json", | ||
"outFiles": ["${workspaceFolder}/lib/**/*.js"], | ||
"args": ["-c", "/home/budhi/project/monika/test.yaml", "-s", "-1"], | ||
"sourceMaps": true | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "testing testing", | ||
"program": "${workspaceFolder}/bin/dev.js", | ||
"args": ["-h"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
probes: | ||
- id: 'kemenperin.go.id' | ||
name: 'kemenperin.go.id website' | ||
requests: | ||
- url: https://kemenperin.go.id/ | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: kemenperin.go.id website | ||
|
||
- id: 'kkp.go.id' | ||
name: 'kkp.go.id website' | ||
requests: | ||
- url: https://kkp.go.id | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: kkp.go.id website | ||
|
||
- id: 'kemenag.go.id' | ||
name: 'kemenag.go.id website' | ||
requests: | ||
- url: https://kemenag.go.id/ | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: kemenag.go.id website | ||
|
||
- id: 'pu.go.id' | ||
name: 'pu.go.id website' | ||
requests: | ||
- url: https://pu.go.id/ | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: pu.go.id website | ||
|
||
notifications: | ||
- id: desktop | ||
type: desktop | ||
|
||
- id: teams-001 | ||
type: teams | ||
data: | ||
url: https://hyperjump.webhook.office.com/webhookb2/006c847c-21b9-4ac2-85d4-454a722471d9@9def1f60-dd5b-4bb2-ba50-ecbd7a895ce2/IncomingWebhook/751e1056e0904257804c1b38b8903dd7/748ef655-7fd5-4525-9b26-7cdcf4fab8d8 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
eyJ0IjogInUxLW1hY2Fyb29uIiwgInYiOiB7InIiOiAiTURBeU9XeHZZMkYwYVc5dUlHMTVZWEJ3Y3k1a1pYWmxiRzl3WlhJdWRXSjFiblIxTG1OdmJRb3dNREUyYVdSbGJuUnBabWxsY2lCTmVVRndjSE1LTURBMFltTnBaQ0J0ZVdGd2NITXVaR1YyWld4dmNHVnlMblZpZFc1MGRTNWpiMjE4ZG1Gc2FXUmZjMmx1WTJWOE1qQXlOQzB3TWkweU1WUXhNVG96T1RvME9DNDBNVFU0TVRnS01ERTNaR05wWkNCN0luWmxjbk5wYjI0aU9pQXhMQ0FpYzJWamNtVjBJam9nSWt4dFVIWnlWVVYzUnpRdmREVnNha0kyVUdGUWVVaGpRVGhpZVZkbU5VbG9ZVm94TDBwWWN6UjRWMFZ5WTNJeFZTczJVazgzT1hWRGFHUTBWRVJrUlZOeU9VNVlaa3RyVGpReVZHMUhNME5oTkRVNEt6WmxRazVxUkU1d1QwZHZlVGxwSzFoT2IwSlJMMmRCUm5VcmNuSnlTV1pHUkZBM1pXUnBaMUl5YTJVNE9GaFZSMFJTVWpGd056SktjMloxTDA1T1dtbDZWalpQVmtwNlNpdG9Sa1EzTjBFM2JtOU1VazByVm1ob2RWTkNTVnBvTlZaTGVERmFPRVIwVDJSdWRFZEhSR2czU2sxQlF6UlFSR2R4TjJSeWNuRm1jV1pZVUhnemRVZFFkM0k1ZGtSbWRIaFJja3gwUzFoS05FMTJOREk0WlZsTWJHeG5kbUYyWW1WMU5uSlNiWEZhT0dNM1lXMUlPWGMzWmtGVVpDdHlSakJUYmt4bk1UQllWbnBvU25oMmFrVXdXakpCTVhCR1NYUnphamRvVlc4MVpuUldNR0pMT1N0U1VVcE9jR3hXVm5Fd04ybEhXV0pDT0daelJGWnhjalZTWnowOUluMEtNREExTVhacFpDQlJSN3JOb2RZeHdyX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idirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
eyJ0IjogInUxLW1hY2Fyb29uIiwgInYiOiB7InIiOiAiTURBeU9XeHZZMkYwYVc5dUlHMTVZWEJ3Y3k1a1pYWmxiRzl3WlhJdWRXSjFiblIxTG1OdmJRb3dNREUyYVdSbGJuUnBabWxsY2lCTmVVRndjSE1LTURBMFltTnBaQ0J0ZVdGd2NITXVaR1YyWld4dmNHVnlMblZpZFc1MGRTNWpiMjE4ZG1Gc2FXUmZjMmx1WTJWOE1qQXlOQzB3TVMweE9WUXhNem93Tnpvd05DNHlPVGt6TURNS01ERTNaR05wWkNCN0luWmxjbk5wYjI0aU9pQXhMQ0FpYzJWamNtVjBJam9nSWxaaFNVRmpjalpDY1c0elJFb3JTVzFHUjA4MmQzTlZSV1l2Y0hGbE5uTnNTM0ppV1Vsd1NWQkJURE5tUWpWamFXOXZTbWwxVkZVME1FSndkVzA0YVRsRk9UUk1ibTE2T1RaTVQzbGpZV1k1ZVVSQ2EyaHdhRmd4ZFhVelozZFpXRzVNTkc1eVNFZ3pVV2hXVUhCSVNHazNXVnBzT0ROWFZXVTBSMWhPUTNaMU9VOWtNakZqV1Zod1JrTjFRbkZNTm5RM1FVMTVkVlZ3Y0VOUllsVnRUbVJOY1hGUlQwMXNPV3hhZUZrM2F6RlhPQzlLU3paYVNtcHhOMWxqUlVKMmEwOUdabWhyWVd0dFRDdG9NMkZRUm0xWVJqbEhZV3MyWVROMVNVOVJOa2x6WldwM05rUkZiR0ZIZHpaVVFrZHVORmd6VFZwQloyeFRWR05MUzFFNWNVdHVNMlkxUTAxMFNEbG9WM1ZYWjJSdldUTmxaR2RsVFhseGRYRlpVbWsxVHpCTmVFWkRSRko2WW05YVNEQXpORkpyUzNsUlpEQjBPSEpaUVd4elNXbHdOV3cwVmxkblRtWk5PWGhJV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jeGl5NW9reUVuWGxWVVhtYzJua1FzNWdLIn19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
_type: 'export', | ||
__export_format: 4, | ||
__export_date: '2024-04-16T12:55:23.577Z', | ||
__export_source: 'insomnia.desktop.app:v2023.5.8', | ||
resources: | ||
[ | ||
{ | ||
_id: 'req_5ae8f9fea8b9496db25e9c19a6d7783e', | ||
parentId: 'fld_d68c7a6657c14354807fce49c34f3bdd', | ||
modified: 1708668487313, | ||
created: 1708668309457, | ||
url: 'http://localhost:3000/api/v1/monika', | ||
name: 'Send Report', | ||
description: '', | ||
method: 'POST', | ||
body: | ||
{ | ||
mimeType: 'application/json', | ||
text: "{\n\t\"monikaId\": \"8d992f11-c6e8-48d2-bc84-750ff2242b88\",\n\t\"data\": {\n\t\t\"notifications\": \"\",\n\t\t\"requests\": \"\"\n\t}\n}", | ||
}, | ||
parameters: [], | ||
headers: | ||
[ | ||
{ name: 'Content-Type', value: 'application/json' }, | ||
{ | ||
name: 'User-Agent', | ||
value: 'insomnia/2023.5.8', | ||
id: 'pair_2c39a294777648bdb5e253492b6b2b7f', | ||
}, | ||
{ | ||
id: 'pair_3e9d9fb53b3142278f81855a1dfe3caf', | ||
name: 'x-api-key', | ||
value: 'd6b9ef1c-7d44-4ffc-aa02-446821d4d616', | ||
description: '', | ||
}, | ||
], | ||
authentication: {}, | ||
metaSortKey: -1708668309457, | ||
isPrivate: false, | ||
settingStoreCookies: true, | ||
settingSendCookies: true, | ||
settingDisableRenderRequestBody: false, | ||
settingEncodeUrl: true, | ||
settingRebuildPath: true, | ||
settingFollowRedirects: 'global', | ||
_type: 'request', | ||
}, | ||
{ | ||
_id: 'fld_d68c7a6657c14354807fce49c34f3bdd', | ||
parentId: 'wrk_489cc6eaf693423a95da99025886a1c7', | ||
modified: 1708668270651, | ||
created: 1708668270651, | ||
name: 'symon', | ||
description: '', | ||
environment: {}, | ||
environmentPropertyOrder: null, | ||
metaSortKey: -1708668270651, | ||
_type: 'request_group', | ||
}, | ||
], | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for effectivity mapInsomniaToConfig and mapInsomniaRequestToConfig can be merged. By making mapInsomniaToConfig as a pure function that return insomniaRequests array, then call it from inside mapInsomniaRequestToConfig rather than just passing parameters to the next function.