File tree Expand file tree Collapse file tree
src/main/java/org/jboss/tools/intellij Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,18 +33,18 @@ public ApiService() {
3333 }
3434
3535 public Path getStackAnalysis (
36- final Ecosystem . PackageManager packageManager ,
36+ final String packageManager ,
3737 final String manifestName ,
3838 final String manifestPath
3939 ) throws RuntimeException {
4040
4141 var telemetryMsg = TelemetryService .instance ().action ("stack-analysis" );
42- telemetryMsg .property (TelemetryKeys .ECOSYSTEM .toString (), packageManager . toString () );
42+ telemetryMsg .property (TelemetryKeys .ECOSYSTEM .toString (), packageManager );
4343 telemetryMsg .property (TelemetryKeys .PLATFORM .toString (), System .getProperty ("os.name" ));
4444 telemetryMsg .property (TelemetryKeys .MANIFEST .toString (), manifestName );
4545
4646 try {
47- var htmlContent = crdaApi .stackAnalysisHtmlAsync (manifestPath );
47+ var htmlContent = crdaApi .stackAnalysisHtml (manifestPath );
4848 var tmpFile = Files .createTempFile ("crda_" , ".html" );
4949 Files .write (tmpFile , htmlContent .get ());
5050
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public void actionPerformed(@NotNull AnActionEvent event) {
5454 String reportLink ;
5555 if ("pom.xml" .equals (manifestFile .getName ())) {
5656 reportLink = apiService .getStackAnalysis (
57- Ecosystem . PackageManager . MAVEN ,
57+ "maven" ,
5858 manifestFile .getName (),
5959 manifestFile .getPath ()
6060 ).toUri ().toString ();
You can’t perform that action at this time.
0 commit comments