Skip to content

Commit 98f6a51

Browse files
surbhall7varunmankal
authored andcommitted
Added new plugin OCI Application Performance Monitoring
1 parent f5bacae commit 98f6a51

File tree

472 files changed

+12135
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

472 files changed

+12135
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
8383

8484
### Fixed
8585

86-
- Fixed vulnerability for uuid
86+
- Fixed vulnerability for uuid
87+
88+
## 1.0.6 - 2025-04-17
89+
90+
### Added new plugin OCI Application Performance Monitoring

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ OCI toolkit for VS Code is available from the [Visual Studio Marketplace](https:
1212
- **Resource Manager** extension allows you to edit, plan and deploy Resource Manager Configurations stored in Object Storage or a Code repository. For more information, see the [Resource Manager Walkthrough](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/vscode.htm)
1313
- **Functions** extension in the VS Code lets you create a new function, edit an existing function and deploy and invoke it. For more information, see the [Functions Walkthrough](https://docs.oracle.com/iaas/Content/Functions/Tasks/functionscreatingfunctions-usingVScodeplugin.htm)
1414
- **Data Science** extension allows you to edit your job artifacts and run Data Science jobs natively. For more information, see the [Data Science Walkthrough](https://docs.oracle.com/en-us/iaas/data-science/using/vscode.htm)
15+
- **Application Performance Monitoring** extension allows you to manage APM Availability Monitoring scripts, monitors under APM domains within VS Code. For more information, see the [Application Performance Monitoring Walkthrough](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/home.htm)
1516
- **OCI CLI** allows users to perform common platform actions, such as creating and managing OCI resources using the built-in OCI CLI in the VS Code terminal
1617

1718
![](./media/images/readme/oci_rms.gif)

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "oci-vscode-toolkit",
44
"displayName": "OCI Toolkit for VS Code",
55
"description": "OCI Toolkit for VS Code is a rich collection of OCI extensions, making it easier for you to develop, test and deploy applications on Oracle Cloud Infrastructure (OCI) straight from VS Code.",
6-
"version": "1.0.5",
6+
"version": "1.0.6",
77
"engines": {
88
"vscode": "^1.53.0"
99
},
@@ -35,6 +35,7 @@
3535
"Resource Manager",
3636
"Functions",
3737
"Data Science",
38+
"Application Performance Monitoring",
3839
"Terraform",
3940
"Devops"
4041
],
@@ -50,7 +51,8 @@
5051
"Oracle.oci-core",
5152
"Oracle.rms",
5253
"Oracle.odsc",
53-
"Oracle.faas"
54+
"Oracle.faas",
55+
"Oracle.apm"
5456
],
5557
"devDependencies": {
5658
"@typescript-eslint/eslint-plugin": "^5.3.1",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": [
9+
"@typescript-eslint"
10+
],
11+
"rules": {
12+
"@typescript-eslint/semi": "warn",
13+
"curly": "warn",
14+
"eqeqeq": "warn",
15+
"no-throw-literal": "warn",
16+
"semi": "off"
17+
}
18+
}

src/apm-vscode-plugin/.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
out
3+
dist
4+
.vscode-test
5+
*.vsix
6+
.DS_Store
7+
resources/.DS_Store
8+
resources/samples/.DS_Store
9+
package.nls.*.json
10+
test-resources/**
11+
target/
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_comment": "Copyright © 2025, Oracle and/or its affiliates. This software is licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl.",
3+
"timeout": 10000
4+
}

src/apm-vscode-plugin/.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"tabWidth": 2,
3+
"useTabs": false
4+
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": []
5+
}
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Launch Program",
10+
"program": "/Users/surbhibhalla/apm/code_editor/apm-synthetics/apm-vscode-plugin/src/extension.ts",
11+
"request": "launch",
12+
"skipFiles": [
13+
"<node_internals>/**"
14+
],
15+
"type": "node"
16+
},
17+
{
18+
"name": "Run Extension",
19+
"type": "extensionHost",
20+
"request": "launch",
21+
"args": [
22+
"--extensionDevelopmentPath=${workspaceFolder}"
23+
],
24+
"outFiles": [
25+
"${workspaceFolder}/out/**/*.js"
26+
],
27+
"preLaunchTask": "${defaultBuildTask}"
28+
},
29+
{
30+
"name": "Extension Tests",
31+
"type": "extensionHost",
32+
"request": "launch",
33+
"args": [
34+
"--extensionDevelopmentPath=${workspaceFolder}",
35+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
36+
],
37+
"outFiles": [
38+
"${workspaceFolder}/out/test/**/*.js"
39+
],
40+
"preLaunchTask": "${defaultBuildTask}"
41+
},
42+
{
43+
"args": [
44+
"--require",
45+
"ts-node/register",
46+
"-u",
47+
"bdd",
48+
"--timeout",
49+
"999999",
50+
"--colors",
51+
"src/**/integration-tests/*.ts"
52+
],
53+
"internalConsoleOptions": "openOnSessionStart",
54+
"name": "Integration Tests",
55+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
56+
"request": "launch",
57+
"skipFiles": [
58+
"<node_internals>/**"
59+
],
60+
"type": "node",
61+
"runtimeExecutable": "/usr/local/bin/node"
62+
},
63+
{
64+
"args": [
65+
"--require",
66+
"ts-node/register",
67+
"-u",
68+
"bdd",
69+
"--timeout",
70+
"999999",
71+
"--colors",
72+
"src/**/unit-tests/*.ts"
73+
],
74+
"internalConsoleOptions": "openOnSessionStart",
75+
"name": "Unit Tests",
76+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
77+
"request": "launch",
78+
"skipFiles": [
79+
"<node_internals>/**"
80+
],
81+
"type": "node"
82+
},
83+
{
84+
"args": [
85+
"--require",
86+
"ts-node/register",
87+
"-u",
88+
"bdd",
89+
"--timeout",
90+
"999999",
91+
"--colors",
92+
"src/**/integration-tests-authenticated/*.ts"
93+
],
94+
"internalConsoleOptions": "openOnSessionStart",
95+
"name": "Integration Tests Authenticated",
96+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
97+
"request": "launch",
98+
"skipFiles": [
99+
"<node_internals>/**"
100+
],
101+
"type": "node",
102+
"runtimeExecutable": "/usr/local/bin/node"
103+
},
104+
{
105+
"name": "Debug UI Tests",
106+
"type": "node",
107+
"request": "launch",
108+
"program": "${workspaceFolder}/node_modules/.bin/extest",
109+
"args": [
110+
"setup-and-run",
111+
"${workspaceFolder}/out/ui-test/*.js",
112+
"-s",
113+
"~/",
114+
"-o",
115+
"settings.json",
116+
"--mocha_config",
117+
"${workspaceFolder}/src/ui-test/.mocharc-debug.js"
118+
],
119+
"console": "integratedTerminal",
120+
"internalConsoleOptions": "neverOpen",
121+
}
122+
]
123+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off",
11+
"editor.formatOnSave": true,
12+
"oci.defaultProfileName": "DEFAULT"
13+
}

0 commit comments

Comments
 (0)