eclipse / jifa

🔬 Online Heap Dump, GC Log, Thread Dump & JFR File Analyzer.
https://eclipse.github.io/jifa/
Eclipse Public License 2.0
541 stars 96 forks source link

support outside url jump to 【Add Heap Dump File】 dialog with transfer params. #18

Closed yangdaotan closed 3 years ago

yangdaotan commented 3 years ago

Hi,Now if we wanna upload the heap dump file,firstly need to open Add Heap Dump File TAB and click the transferBy some type,and input the params。It's so complicated for user, and some params like Endpoint param should not exposed to user. In our environment, we make a s3-upload tool, if finished the uploading we give the user a jifa url including the params.

so, we can support outside url jump to 【Add Heap Dump File】 dialog with transfer params, for example:

http://localhost:8102/?transferBy=url&url=12345

or

localhost:8102/?transferBy=s3&endpoint=it-s3master.corp.com&accessKey=JEB35GY4ZP8UUDOWKJ6&secretKey=k2nKEA4puBWP1la&bucketName=infra-patronum-diagnosis&objectName=2020-10-23_10_07_09-10.44.203.40_20470-XU1g6Urj.hprof

image

So user just to click confirm to start uploading.

y1yang0 commented 3 years ago

This feature has been supported in the #17 patch.

yangdaotan commented 3 years ago

Great ! Look forward to it~