@appland/appmap 3.146.0 → 3.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/built/docs/CLA Instructions.pdf +0 -0
- package/built/docs/Code of Conduct for Contributors.pdf +0 -0
- package/built/docs/analysis/rules-reference.html +27 -0
- package/built/docs/appmap-docs.md +27 -0
- package/built/docs/community.md +28 -0
- package/built/docs/guides/exporting-appmap-diagrams.md +50 -0
- package/built/docs/guides/handling-large-appmap-diagrams.md +138 -0
- package/built/docs/guides/index.md +21 -0
- package/built/docs/guides/navigating-code-objects.md +67 -0
- package/built/docs/guides/openapi.md +105 -0
- package/built/docs/guides/reading-sql-in-appmap-diagrams.md +69 -0
- package/built/docs/guides/refine-appmap-data.md +186 -0
- package/built/docs/guides/reverse-engineering.md +377 -0
- package/built/docs/guides/runtime-code-review.md +111 -0
- package/built/docs/guides/using-appmap-analysis.md +206 -0
- package/built/docs/guides/using-appmap-diagrams.md +331 -0
- package/built/docs/integrations/atlassian-compass.md +25 -0
- package/built/docs/integrations/atlassian-confluence.md +51 -0
- package/built/docs/integrations/circle-ci.md +424 -0
- package/built/docs/integrations/docker.md +109 -0
- package/built/docs/integrations/github-actions.md +524 -0
- package/built/docs/integrations/index.md +20 -0
- package/built/docs/integrations/plantuml.md +66 -0
- package/built/docs/integrations/postman.md +30 -0
- package/built/docs/integrations/readme.md +39 -0
- package/built/docs/integrations/smartbear-swaggerhub.md +119 -0
- package/built/docs/reference/analysis-labels.md +49 -0
- package/built/docs/reference/analysis-rules.md +61 -0
- package/built/docs/reference/appmap-client-cli.md +628 -0
- package/built/docs/reference/appmap-gradle-plugin.md +141 -0
- package/built/docs/reference/appmap-java.md +311 -0
- package/built/docs/reference/appmap-maven-plugin.md +164 -0
- package/built/docs/reference/appmap-node.md +185 -0
- package/built/docs/reference/appmap-python.md +520 -0
- package/built/docs/reference/appmap-ruby.md +514 -0
- package/built/docs/reference/github-action.md +171 -0
- package/built/docs/reference/index.md +25 -0
- package/built/docs/reference/jetbrains.md +136 -0
- package/built/docs/reference/license-key-install.md +74 -0
- package/built/docs/reference/navie.md +261 -0
- package/built/docs/reference/remote-recording-api.md +97 -0
- package/built/docs/reference/uninstalling-appmap.md +119 -0
- package/built/docs/reference/vscode.md +122 -0
- package/built/docs/setup-appmap-in-ci/example-projects.md +21 -0
- package/built/docs/setup-appmap-in-ci/how-it-works.md +43 -0
- package/built/docs/setup-appmap-in-ci/in-circleci.md +423 -0
- package/built/docs/setup-appmap-in-ci/in-github-actions.md +177 -0
- package/built/docs/setup-appmap-in-ci/index.md +22 -0
- package/built/docs/setup-appmap-in-ci/matrix-builds.md +225 -0
- package/built/docs/setup-appmap-in-ci/troubleshooting.md +71 -0
- package/built/docs/setup-appmap-in-your-code-editor/add-appmap-to-your-code-editor.md +93 -0
- package/built/docs/setup-appmap-in-your-code-editor/appmap-analysis.md +77 -0
- package/built/docs/setup-appmap-in-your-code-editor/generate-appmap-data-from-tests.md +93 -0
- package/built/docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-remote-recording.md +112 -0
- package/built/docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-request-recording.md +77 -0
- package/built/docs/setup-appmap-in-your-code-editor/how-appmap-works.md +166 -0
- package/built/docs/setup-appmap-in-your-code-editor/index.md +25 -0
- package/built/docs/setup-appmap-in-your-code-editor/navigating-appmap-diagrams.md +59 -0
- package/built/docs/setup-appmap-in-your-code-editor/navigating-code-objects.md +67 -0
- package/built/docs/unused_for_now_index.html +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: docs
|
|
3
|
+
title: Docs - Reference
|
|
4
|
+
description: "Learn how to uninstall AppMap components like IDE plugins, libraries, and generated files from your project to clean up after usage effectively."
|
|
5
|
+
toc: true
|
|
6
|
+
reference: true
|
|
7
|
+
name: Uninstalling AppMap
|
|
8
|
+
step: 19
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Uninstalling AppMap
|
|
12
|
+
AppMap consists of several components, each of which may require a different uninstall approach depending on what changes were made to your applications during installation.
|
|
13
|
+
|
|
14
|
+
- [Uninstalling AppMap](#uninstalling-appmap)
|
|
15
|
+
- [Uninstalling AppMap IDE Plugins](#uninstalling-appmap-ide-plugins)
|
|
16
|
+
- [Uninstalling the AppMap VS Code Extension](#uninstalling-the-appmap-vs-code-extension)
|
|
17
|
+
- [Uninstalling the AppMap JetBrains Plugin](#uninstalling-the-appmap-jetbrains-plugin)
|
|
18
|
+
- [Removing AppMap libraries from your application](#removing-appmap-libraries-from-your-application)
|
|
19
|
+
- [Ruby](#ruby)
|
|
20
|
+
- [Java](#java)
|
|
21
|
+
- [Python](#python)
|
|
22
|
+
- [Removing AppMap-generated files from your project](#removing-appmap-generated-files-from-your-project)
|
|
23
|
+
|
|
24
|
+
## Uninstalling AppMap IDE Plugins
|
|
25
|
+
|
|
26
|
+
### Uninstalling the AppMap VS Code Extension
|
|
27
|
+
To uninstall AppMap from VS Code, first select the Extensions control to view your installed extensions.
|
|
28
|
+
<img class="video-screenshot" src="/assets/img/docs/extensions-vsc.png"/>
|
|
29
|
+
|
|
30
|
+
Next, find and select `AppMap` in the list of installed extensions. Then click the `Uninstall` button to remove the AppMap extension from your editor.
|
|
31
|
+
<img class="video-screenshot" src="/assets/img/docs/uninstall-vsc.png"/>
|
|
32
|
+
|
|
33
|
+
Finally, if your project supports AppMap [Launch Configurations](https://appmap.io/docs/reference/vscode.html#run-with-appmap-for-java), you can now remove the AppMap specific details in the `.vscode/launch.json` and the `.vscode/settings.json` files.
|
|
34
|
+
|
|
35
|
+
<img class="video-screenshot" src="/assets/img/docs/launch-configuration-uninstall.webp"/>
|
|
36
|
+
|
|
37
|
+
<p class="alert alert-info">
|
|
38
|
+
Please note that even after uninstalling the IDE extension, your project may still be configured to load an AppMap library and continue to record maps when your application is run. You should follow the language-specific uninstall instructions below to remove the AppMap library from your project.
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
### Uninstalling the AppMap JetBrains Plugin
|
|
42
|
+
To uninstall AppMap from JetBrains editors like IntelliJ and PyCharm, open your editor's `Settings` panel from the main menu. Select `Plugins` on the left panel, then find and select `AppMap` in the list of installed plugins. Then click the `Uninstall` button to remove the AppMap extension from your editor.
|
|
43
|
+
<p>
|
|
44
|
+
<img class="video-screenshot" src="/assets/img/docs/plugins-jetbrains.webp"/>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
<p class="alert alert-info">
|
|
48
|
+
Please note that even after uninstalling the IDE plugin, your project may still be configured to load an AppMap library and continue to record maps when your application is run. You should follow the language-specific uninstall instructions below to remove the AppMap library from your project.
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
## Removing AppMap libraries from your application
|
|
52
|
+
Removing AppMap from your application typically involves removing the AppMap library from your project's dependencies. Language-specific instructions on how to do this are below.
|
|
53
|
+
|
|
54
|
+
### Ruby
|
|
55
|
+
Use the `bundle` command to remove the AppMap library from your project:
|
|
56
|
+
|
|
57
|
+
{: .example-code}
|
|
58
|
+
|
|
59
|
+
```console
|
|
60
|
+
$ bundle remove appmap
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Or you can remove the appmap gem globally if installed at the system level.
|
|
64
|
+
|
|
65
|
+
{: .example-code}
|
|
66
|
+
|
|
67
|
+
```console
|
|
68
|
+
$ gem uninstall appmap
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Alternatively, manually remove the line containing `appmap` from the top of your Gemfile.
|
|
72
|
+
|
|
73
|
+
### Java
|
|
74
|
+
For IntelliJ users, the act of uninstalling the AppMap plugin from the IDE is enough to fully remove AppMap configuration from your project.
|
|
75
|
+
|
|
76
|
+
VS Code users should remove the AppMap launch commands from the files `launch.json` and `settings.json`, both located in the `.vscode` folder.
|
|
77
|
+
|
|
78
|
+
If you had also installed the [AppMap Maven plugin](https://appmap.io/docs/reference/appmap-maven-plugin.html), you should remove the appropriate AppMap `<plugin>` definition from your `pom.xml`. Similarly, if you had installed the [AppMap Gradle plugin](https://appmap.io/docs/reference/appmap-gradle-plugin.html#installation), you should remove the AppMap `plugins` section from your `build.gradle` or `build.gradle.kts` file.
|
|
79
|
+
|
|
80
|
+
### Python
|
|
81
|
+
Remove AppMap using your Python dependency manager:
|
|
82
|
+
|
|
83
|
+
{: .example-code}
|
|
84
|
+
|
|
85
|
+
```console
|
|
86
|
+
Using pip:
|
|
87
|
+
$ pip uninstall appmap
|
|
88
|
+
|
|
89
|
+
Using poetry:
|
|
90
|
+
$ poetry remove appmap
|
|
91
|
+
|
|
92
|
+
Using pipenv:
|
|
93
|
+
$ pipenv uninstall appmap
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Also, if your project contains a `requirements.txt` file, you should remove `appmap` from that file too.
|
|
97
|
+
|
|
98
|
+
### Node.js
|
|
99
|
+
Your Node project dependencies were not modified to use AppMap. Simply changing your application's launch command
|
|
100
|
+
to no longer prepend `npx appmap-node` is enough to stop using AppMap.
|
|
101
|
+
|
|
102
|
+
## Removing AppMap-generated files from your project
|
|
103
|
+
If you had generated AppMap Data, you will have a number of files in your project folder that can safely be removed after completing the uninstall steps above. This is an optional step.
|
|
104
|
+
|
|
105
|
+
Start by removing the AppMap configuration file:
|
|
106
|
+
|
|
107
|
+
{: .example-code}
|
|
108
|
+
|
|
109
|
+
```console
|
|
110
|
+
$ rm appmap.yml
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Finally, remove any generated AppMap files from your project:
|
|
114
|
+
|
|
115
|
+
{: .example-code}
|
|
116
|
+
|
|
117
|
+
```console
|
|
118
|
+
$ rm -r tmp/appmap
|
|
119
|
+
```
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: docs
|
|
3
|
+
title: Docs - Reference
|
|
4
|
+
description: "Explore AppMap features in Visual Studio Code: AppMap panel, runtime analysis, code objects, Java integration, extension actions, remote recording, OpenAPI generation."
|
|
5
|
+
toc: true
|
|
6
|
+
reference: true
|
|
7
|
+
name: AppMap for Visual Studio Code
|
|
8
|
+
step: 1
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# AppMap for Visual Studio Code
|
|
12
|
+
|
|
13
|
+
- [AppMap panel](#appmap-panel)
|
|
14
|
+
- [Instructions](#instructions)
|
|
15
|
+
- [AppMap Diagram tree view](#appmap-diagram-tree-view)
|
|
16
|
+
- [Runtime Analysis](#runtime-analysis)
|
|
17
|
+
- [Code Objects](#code-objects)
|
|
18
|
+
- ["Run with AppMap" for Java](#run-with-appmap-for-java)
|
|
19
|
+
- [Extension actions](#extension-actions)
|
|
20
|
+
- [Remote recording](#remote-recording)
|
|
21
|
+
- [Generate OpenAPI Definitions](#generate-openapi-definitions)
|
|
22
|
+
- [GitHub repository](#github-repository)
|
|
23
|
+
|
|
24
|
+
## AppMap panel
|
|
25
|
+
|
|
26
|
+
### Instructions
|
|
27
|
+
|
|
28
|
+
Step-by-step instructions for configuring a project to use AppMap and using the main features.
|
|
29
|
+
|
|
30
|
+
Once you've configured AppMap for a project, commit the file changes to Git so that your colleagues don't have to do the setup themselves.
|
|
31
|
+
|
|
32
|
+
### AppMap Diagram tree view
|
|
33
|
+
|
|
34
|
+
The AppMap view shows all AppMap Diagrams in your open projects. You can open it from the top level menu (View -> Open view... -> AppMap), with an AppMap action or by clicking on its icon in the side bar.
|
|
35
|
+
|
|
36
|
+
AppMap Diagrams are organized by how they were created (request recording, remote recording, test case recording).
|
|
37
|
+
|
|
38
|
+
Within the AppMap tree view you can
|
|
39
|
+
|
|
40
|
+
* Click on any AppMap name to open the diagram
|
|
41
|
+
* Right-click for a context menu
|
|
42
|
+
|
|
43
|
+
You can also use the tree view buttons to Filter the AppMap tree by name, or search for a specific AppMap. There are also extension commands to do this.
|
|
44
|
+
|
|
45
|
+
### Runtime Analysis
|
|
46
|
+
|
|
47
|
+
AppMap can find automatically find software design flaws that impact security, performance, stability, and maintainability. When a problem is found, it's listed here. Click on the problem to get detailed information about it.
|
|
48
|
+
|
|
49
|
+
### Code Objects
|
|
50
|
+
|
|
51
|
+
All the HTTP server requests, SQL queries, packages, classes, and functions that are present in an AppMap are listed here in a tree view. You can navigate through these code objects to see what's present in your project. Click on any code object to open the AppMap Diagram that contains it.
|
|
52
|
+
|
|
53
|
+
## "Run with AppMap" for Java
|
|
54
|
+
|
|
55
|
+
**NOTE:** This section only applies to Java applications.
|
|
56
|
+
|
|
57
|
+
Installing the AppMap VC Code plugin adds a default [Launch Configuration](https://code.visualstudio.com/docs/editor/debugging) which supports the integrated VS Code debugger. These can be used to run your Java application code with AppMap automatically configured, saving you from manually changing your Maven or Gradle settings. This is the recommended approach for all Java users using the VS Code editor.
|
|
58
|
+
|
|
59
|
+
To run your tests with AppMap enabled, navigate to the `Testing` section of VS Code in the left hand menu icons. If your project has tests you will see them listed in the following screen. From here, click on the `Run Tests` icon, highlighted in the screenshot below. This will kick off your test cases with the AppMap libraries installed and enabled.
|
|
60
|
+
|
|
61
|
+
<img class="video-screenshot" src="/assets/img/vscode-run-with-tests.webp"/>
|
|
62
|
+
|
|
63
|
+
To run your application with AppMap enabled, navigate to the `Run and Debug` section of VS Code in the left hand menu icons. You will see a new launch configuration in the in the drop down which says `Run with AppMap` alongside any other launch configurations for your project. With the `Run with AppMap` launch configuration select click on the "Play" icon, highlighted in the screenshot below. This will start your application with the AppMap libraries installed and enabled. You can now interact with your application to generate [request recordings](/docs/reference/appmap-java.html#requests-recording) or use [remote recording](#remote-recording).
|
|
64
|
+
|
|
65
|
+
<img class="video-screenshot" src="/assets/img/vscode-run-with-appmap.webp"/>
|
|
66
|
+
|
|
67
|
+
After installing the VS Code AppMap extension for your Java project, you will notice a new launch configuration in the `.vscode` directory in your project.
|
|
68
|
+
|
|
69
|
+
<img class="video-screenshot" src="/assets/img/docs/vscode-launch-configuration.webp"/>
|
|
70
|
+
|
|
71
|
+
Next, click on the "Run and Debug" menu option in the left hand column of VS Code
|
|
72
|
+
|
|
73
|
+
<img class="video-screenshot" src="/assets/img/docs/vscode-run-and-debug.png"/>
|
|
74
|
+
|
|
75
|
+
Clicking on the "Play" button next to the "Run with AppMap" launch configuration will start your Java application with the necessary AppMap configuration flags enabled by default.
|
|
76
|
+
|
|
77
|
+
When your application is running you can proceed to record AppMap Data using either [Requests Recording](/docs/reference/appmap-java#requests-recording) or [Remote Recording](https://appmap.io/docs/reference/vscode.html#remote-recording)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## Extension actions
|
|
81
|
+
|
|
82
|
+
To open the list of AppMap extension actions, press `CTRL+SHIFT+P` or `COMMAND+SHIFT+P` on macOS and type `AppMap`.
|
|
83
|
+
|
|
84
|
+
Most of the command names should be self-explanatory. Here are a few commands which are a bit more complicated:
|
|
85
|
+
|
|
86
|
+
- **AppMap: Filter/Find AppMap by name** Opens the AppMap side bar view and the filter/find text field
|
|
87
|
+
- **AppMap: Login**, **AppMap: Logout** Some extension functionality requires you to login to the AppMap Server. You'll be prompted to do this when you setup AppMap for the first time. You can also login and logout using the built-in `Accounts` feature of VSCode.
|
|
88
|
+
- **AppMap: Touch Out-of-Date Test Files** If you have AppMap Diagrams generated from test cases, this command will determine which tests need to be re-run in order to bring the AppMap Data up-to-date. It will then "touch" (update the modified date) of each out-of-date test case. You can use a file watching trigger program like `Guard` (Ruby), `grunt` or `gulp` (JS) to re-run the test cases as they are touched.
|
|
89
|
+
- **AppMap: Copy Out-of-Date Tests to Clipboard** Similar to the "Touch Out-of-Date Test Files" command, but places the file names on the clipboard
|
|
90
|
+
- **AppMap: Open Code Object in AppMap** Using this command you can find and open AppMap Diagrams for any code object (package, class, function, route, etc) in your project.
|
|
91
|
+
|
|
92
|
+
## Remote recording
|
|
93
|
+
|
|
94
|
+
You can make a [remote recording](../recording-methods#remote-recording) from within the VSCode IDE. First, start your application with remote recording enabled. Exactly how to do this depends the language you're using - consult the [agent reference](/docs/reference) for details.
|
|
95
|
+
|
|
96
|
+
To start a recording, click the remote recording button, or use the command **AppMap: Start a Remote Recording**.
|
|
97
|
+
|
|
98
|
+

|
|
99
|
+
|
|
100
|
+
Interact with your app through its UI or API. Then use the stop remote recording button again, or use the command **AppMap: Stop the Remote Recording**.
|
|
101
|
+
|
|
102
|
+

|
|
103
|
+
|
|
104
|
+
You'll be prompted to save the AppMap to a file, and it will be opened.
|
|
105
|
+
|
|
106
|
+

|
|
107
|
+
|
|
108
|
+
For more details about remote recording, see:
|
|
109
|
+
|
|
110
|
+
* [Recording methods > Remote recording](../recording-methods#remote-recording)
|
|
111
|
+
* [Remote recording API](../reference/remote-recording-api)
|
|
112
|
+
|
|
113
|
+
## Generate OpenAPI Definitions
|
|
114
|
+
|
|
115
|
+
After [recording AppMap Data](/docs/recording-methods.html) for your project, open the command pallette using `CTRL+SHIFT+P` or `COMMAND+SHIFT+P` on macOS, type `AppMap: Generate OpenAPI`, then hit `Enter`. This will open a new file with your OpenAPI definition document. Save this file locally, share with your team, or ingest as a [new collection into API tools like Postman.](https://blog.postman.com/new-postman-integration-with-appmap-create-and-manage-always-accurate-collections/)
|
|
116
|
+
|
|
117
|
+

|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
## GitHub repository
|
|
121
|
+
|
|
122
|
+
[https://github.com/getappmap/vscode-appland](https://github.com/getappmap/vscode-appland)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: docs
|
|
3
|
+
title: Set up AppMap in CI
|
|
4
|
+
description: "Explore workflow examples for AppMap GitHub Action in various languages & frameworks like Ruby on Rails, Java Spring, Python Django, and Node.js."
|
|
5
|
+
name: Example Projects
|
|
6
|
+
setup-appmap-ci: true
|
|
7
|
+
step: 4
|
|
8
|
+
redirect_from: [/docs/setup-appmap-in-ci/in-github-actions.html#workflow-examples]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Workflow examples
|
|
12
|
+
|
|
13
|
+
Reference implementations of the AppMap GitHub Action are available for the following languages and frameworks:
|
|
14
|
+
|
|
15
|
+
* [**Ruby on Rails**](https://github.com/land-of-apps/sample_rails_app/blob/appmap/.github/workflows/appmap-analysis.yml)
|
|
16
|
+
* [**Ruby on Rails w/ Matrix Build**](https://github.com/land-of-apps/sample_rails_matrix_build/blob/appmap/.github/workflows/appmap-analysis.yml)
|
|
17
|
+
* [**Java Spring**](https://github.com/land-of-apps/sample_spring_app/blob/appmap/.github/workflows/appmap-analysis.yml)
|
|
18
|
+
* [**Java Spring w/ multiple sub-projects**](https://github.com/land-of-apps/waltz/blob/appmap-analysis/.github/workflows/appmap-analysis.yml)
|
|
19
|
+
* [**Python Django**](https://github.com/land-of-apps/django-oscar/blob/appmap/.github/workflows/appmap-analysis.yml)
|
|
20
|
+
* [**Python w/ Matrix Build**](https://github.com/land-of-apps/sample_django_app/blob/appmap/.github/workflows/appmap-analysis.yml)
|
|
21
|
+
* **Node.js** Coming soon!
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: docs
|
|
3
|
+
setup-appmap-ci: true
|
|
4
|
+
title: Set up AppMap in CI
|
|
5
|
+
description: "Optimize CI with AppMap Analysis, tracking behavioral changes in each Pull Request. Get started by installing the AppMap GitHub App from the GitHub Marketplace."
|
|
6
|
+
step: 1
|
|
7
|
+
name: How it works
|
|
8
|
+
redirect_from: [/docs/analysis/in-ci]
|
|
9
|
+
---
|
|
10
|
+
# Set Up AppMap in CI
|
|
11
|
+
|
|
12
|
+
AppMap Analysis can work with your Continuous Integration (CI) system to collect, store, analyze, and report on the behavioral changes within each Pull Request.
|
|
13
|
+
AppMap will analyze the changes in your application on each pushed commit or pull request. AppMap performs a thorough analysis of the runtime differences, giving you:
|
|
14
|
+
|
|
15
|
+
* Root cause analysis of failed tests.
|
|
16
|
+
* Web service API changes - breaking and non-breaking - via comparison of generated OpenAPI definitions.
|
|
17
|
+
* New and resolved security findings.
|
|
18
|
+
* New and resolved performance findings.
|
|
19
|
+
* New and resolved findings in other categories - maintainability, reliability, and user-defined rules.
|
|
20
|
+
* “Behavioral diffs” as sequence diagrams showing changed runtime behavior within the PR.
|
|
21
|
+
|
|
22
|
+
<p class="alert alert-info">
|
|
23
|
+
Install the <a href="https://github.com/marketplace/get-appmap" target="_blank">AppMap GitHub App</a> on the GitHub Marketplace to get started now!
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
The AppMap Analysis GitHub actions can run cooperatively or independently of your existing CI job.
|
|
27
|
+
For example, AppMap Analysis can run as a GitHub Action even if you do not use GitHub Actions as your CI system.
|
|
28
|
+
|
|
29
|
+
AppMap Analysis runs entirely within your existing GitHub account and does not send code or data to an external or 3rd-party server. For more information, refer to the [AppMap Security FAQ](https://appmap.io/security).
|
|
30
|
+
|
|
31
|
+
Once you create a pull request, AppMap data is recorded as your test cases run. As AppMaps are generated, an AppMap archive file is created that includes all the AppMap data, plus some metadata about the job. As code is pushed to a branch, AppMap Analysis create an archive file for that code revision. This archive file is automatically saved as a CI artifact. Once an archive has been created, it can be compared to the “base” revision (i.e. your mainline or production branch).
|
|
32
|
+
1
|
|
33
|
+
## The value of AppMap in CI
|
|
34
|
+
|
|
35
|
+
We designed AppMap’s findings as a comment in the PR itself to enable the Development, QA, Architecture, and Security teams to review code faster, evaluate code independently, and catch deep-rooted code issues easier. This helps you determine the stability of new code in the context of where the code actually lives and allows for faster and more reliable code delivery.
|
|
36
|
+
|
|
37
|
+
By simply browsing the PR comments, a DevOps team can reliably deploy code with the assurance that it meets all needed code quality requirements, reducing the amount of unnecessary communication between teams just to get the code live long before it is ever pushed to production.
|
|
38
|
+
|
|
39
|
+
## Requirements
|
|
40
|
+
If you have already generated AppMaps outside of CI (for example, by running your test cases locally), you can quickly deploy AppMap in CI using the same commands used to execute your test cases. If you already have an existing CI job that builds an environment to execute your test cases, AppMap Analysis can be added to that job.
|
|
41
|
+
|
|
42
|
+
## Next steps
|
|
43
|
+
- [Add to GitHub Actions](/docs/analysis/in-github-actions)
|