tag:blogger.com,1999:blog-83289401437132176222024-03-05T23:26:19.278-08:00Nathiesha's BlogCoderhttp://www.blogger.com/profile/07349329219138906608noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8328940143713217622.post-89281125715094295102016-08-20T20:17:00.004-07:002016-08-23T19:19:50.466-07:00<h2>
Using the Error Reporting Tool</h2>
<br />
<h3>
Introduction</h3>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
org.wso2.developerstudio.eclipse.errorreporter plugin is a Eclipse plugin that works with version 3.5 or above. Once the plugin is
installed with Developer studio plugins, it automatically detects any errors
related to Developer studio. It allows the Developer Studio user to create an
issue in Jira under the relevant Eclipse project and also to send an email with the error report to any
user given recipient, without leaving the IDE.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<h3>
Preference Page</h3>
<div>
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
The Error Reporting Tool provides a preference page to
maintain the user preferences. It is the best practice to set the mandatory
fields in this preference page as early as possible, because that affects the
report publishing task.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The preference page of Error Reporting Tool can be found at
General-.> Preferences->Developer Studio Error Reporting. The Preference Page is shown in Figure 1.<o:p></o:p><br />
<br /></div>
<div class="MsoNormal">
<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
<v:stroke joinstyle="miter">
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0">
<v:f eqn="sum @0 1 0">
<v:f eqn="sum 0 0 @1">
<v:f eqn="prod @2 1 2">
<v:f eqn="prod @3 21600 pixelWidth">
<v:f eqn="prod @3 21600 pixelHeight">
<v:f eqn="sum @0 0 1">
<v:f eqn="prod @6 1 2">
<v:f eqn="prod @7 21600 pixelWidth">
<v:f eqn="sum @8 21600 0">
<v:f eqn="prod @7 21600 pixelHeight">
<v:f eqn="sum @10 21600 0">
</v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
<v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
<o:lock aspectratio="t" v:ext="edit">
</o:lock></v:path></v:stroke></v:shapetype><v:shape id="Picture_x0020_9" o:spid="_x0000_i1027" style="height: 358.5pt; mso-wrap-style: square; visibility: visible; width: 468pt;" type="#_x0000_t75">
<v:imagedata o:title="preferences" src="file:///C:\Users\Nathie\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPq93ITO_mEm4H2nmXhmtsIj2DF9SKCe10jI7VXh5N8EmrmB03ft5HbC_DemBGO19MEnNylJ5zpmJ8ng9mFuMQLBNbalf5aGo5nnLSONdg-lZrcbSLfFdnTmJl3YhJxNRjxVNYBlXh108/s1600/abc.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPq93ITO_mEm4H2nmXhmtsIj2DF9SKCe10jI7VXh5N8EmrmB03ft5HbC_DemBGO19MEnNylJ5zpmJ8ng9mFuMQLBNbalf5aGo5nnLSONdg-lZrcbSLfFdnTmJl3YhJxNRjxVNYBlXh108/s400/abc.JPG" width="400" /></a></div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal" style="text-align: center;">
<o:p>Figure 1</o:p></div>
<h4>
<span style="background-color: white; color: #444444;">
Contact Information</span></h4>
<h4>
<span style="font-weight: normal;">Entering the contact information is optional. This
information will be useful for the development team to contact the user, if there is
any need for follow up conversations.</span></h4>
<div>
<span style="font-weight: normal;"><br /></span></div>
<h4>
<span style="background-color: white; color: #444444;">
Sending Options</span></h4>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
The user is given two sending options to select.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
</div>
<ul>
<li>Report the
error in Jira</li>
</ul>
<o:p></o:p><br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
By selecting
this option, the user can chose to post the issue in WSO2 Jira<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
</div>
<ul>
<li>Report the
error in Jira and send an email</li>
</ul>
<o:p></o:p><br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
By selecting
this option, the user can chose to post the issue in WSO2 Jira and also to send
an email to a user given email address in the Gmail information section.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<h4 style="margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background-color: white; color: #444444;">
Jira –
Information</span></h4>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
Filling this
section is mandatory. The Developer Studio Users need to fill in the Remote
Jira URL and Inquiry status URL. <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
</div>
<ul>
<li>Remote Jira
URL - ”{URL of the remote micro service}/publish/jira”</li>
<li>Inquiry
Status URL - ”{URL of the remote micro service}/publish/status”</li>
<li>Default
Project Key - This is the key of the Project, the issue is reported in Jira. By
default this is filled as “TOOLS”.</li>
</ul>
<o:p></o:p><br />
<h4 style="margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background-color: white; color: #444444;">
Gmail –
Information</span></h4>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background-color: white; color: #444444;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
Filling this
section is mandatory if the user has selected “Report the error in Jira and
send an email” option in sending preferences.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
</div>
<ul>
<li>Remote Email
URL - ”{URL of the remote micro service}/publish/email”</li>
<li>Recipient
Email – Email address of the recipient, user wishes to send the email to.</li>
</ul>
<o:p></o:p><br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<h3>
Error Reporting Process</h3>
<div>
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
Whenever a plugin reports an error to the Eclipse error log,
and if that error is related to a Developer Studio plugin, the error notification
dialog pops up (Figure 2), asking the user to report the error.<o:p></o:p></div>
<div class="MsoNormal">
<v:shape id="Picture_x0020_11" o:spid="_x0000_i1026" style="height: 189pt; mso-wrap-style: square; visibility: visible; width: 415.5pt;" type="#_x0000_t75">
<v:imagedata o:title="errorReport" src="file:///C:\Users\Nathie\AppData\Local\Temp\msohtmlclip1\01\clip_image002.jpg">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="c2" style="margin-bottom: .0001pt; margin: 0in;">
<v:shape id="Picture_x0020_1" o:spid="_x0000_i1025" style="height: 354.75pt; mso-wrap-style: square; visibility: visible; width: 411pt;" type="#_x0000_t75">
<v:imagedata o:title="" src="file:///C:\Users\Nathie\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png">
</v:imagedata></v:shape><span style="font-family: "arial" , sans-serif; font-size: 11pt;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaeF7-eBN_fsZN-J0cp3Rgue95GZX6qRdcAf-27nXrv5wttCWceliHAboIfQXcN07vVbkFyDPu0aWqHkDVpXJ35at0LXohM8Oww82WIUBZSaDUDT56oaY_E9t5_9dLqQJuNZtVOnA9-EM/s1600/errorReport.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaeF7-eBN_fsZN-J0cp3Rgue95GZX6qRdcAf-27nXrv5wttCWceliHAboIfQXcN07vVbkFyDPu0aWqHkDVpXJ35at0LXohM8Oww82WIUBZSaDUDT56oaY_E9t5_9dLqQJuNZtVOnA9-EM/s400/errorReport.JPG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Figure 2</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Here the user is given the option to view the details of the Error Report that is emailed and sent to Jira (Figure 3). If the user is comfortable with the error report, he can select one of the two options, Publish in Jira or Publish in Jira and email. The sending option would be the option set at the preference page.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUTJmjNAdBzMHAfdYbD2pY1z_Ha5VFKaTv8gNsQCESmOgFsZum-NimsACUGmGOgM2lU14cWtjWuLltOgHaTSfs9YvRbHi2XfH7SMiumfEFsnedasZ_1IO9uvCNsvQeoXegPlw48O7Xp54/s1600/err2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="345" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUTJmjNAdBzMHAfdYbD2pY1z_Ha5VFKaTv8gNsQCESmOgFsZum-NimsACUGmGOgM2lU14cWtjWuLltOgHaTSfs9YvRbHi2XfH7SMiumfEFsnedasZ_1IO9uvCNsvQeoXegPlw48O7Xp54/s400/err2.JPG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Figure 3</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
If the user selects OK, the error reports will be published, displaying the following widow (Figure 4).</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0XClEw9qm5YvDJpokggFKOPEWGj-61CYkmY0TeHRWtNSeB7St-JNVbTnAEsMI9FssZ6Uu3pHKAgSwMEgjQjgsbtZKN0QNb9MWvEi5yXgsg6ZSOsJzcGbkBEq0z_SQtXYOmNhi-jPDDrg/s1600/Untitled+picture.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="175" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0XClEw9qm5YvDJpokggFKOPEWGj-61CYkmY0TeHRWtNSeB7St-JNVbTnAEsMI9FssZ6Uu3pHKAgSwMEgjQjgsbtZKN0QNb9MWvEi5yXgsg6ZSOsJzcGbkBEq0z_SQtXYOmNhi-jPDDrg/s400/Untitled+picture.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Figure 4</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
In case where the user has not set the mandatory fields in the Preference Page, he will be prompted first with the dialog box given below in figure 5. The user can follow the link given there and set the mandatory fields in the Preference Page. Upon completion of the mandatory field, the user will be prompted with the dialog box given in figure 2.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmApO-m5qJ07zzjUfP62_Nv-5HP1azO3FH6-ZqyHOiSV7NUXwMpBwwqJ-4fY6hVVW05HkE7WE7Mt7HkYe4qRjpFBzNcDHBD0MK6zmvBke_smvXKb0DZ2En0Tm2GreoWWpA9j_7cQxvyrw/s1600/err.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmApO-m5qJ07zzjUfP62_Nv-5HP1azO3FH6-ZqyHOiSV7NUXwMpBwwqJ-4fY6hVVW05HkE7WE7Mt7HkYe4qRjpFBzNcDHBD0MK6zmvBke_smvXKb0DZ2En0Tm2GreoWWpA9j_7cQxvyrw/s400/err.JPG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Figure 5</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h3 style="clear: both; text-align: left;">
Report Archive</h3>
<div>
<br /></div>
<div>
The Error Reporting Tool allows the users to view the previously sent error reports and their current status. The Report Archive can be viewed at Error Reporter -> Report Archive. By selecting the listed reports, user can view the error report in the text box.</div>
<div>
<br /></div>
<div>
User can get to know the current status of any listed issue using "Inquire Status" context menu option.</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxLW4-e5sZivEVojd5AjpnaDRrEGXHNQIsajhNVCh80pSi0D18nGKdP56X7fonsgAWADrpq29NCABhLsBcVARx1Zei5HE9T57j4xfW00niOuZWxap4knbp4ZbPScesrvEqw6vvkCM0LrU/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="390" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxLW4-e5sZivEVojd5AjpnaDRrEGXHNQIsajhNVCh80pSi0D18nGKdP56X7fonsgAWADrpq29NCABhLsBcVARx1Zei5HE9T57j4xfW00niOuZWxap4knbp4ZbPScesrvEqw6vvkCM0LrU/s400/Untitled.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Figure 6</div>
<h3 style="clear: both; text-align: left;">
<br />How other plugins can extend</h3>
<div>
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
This plugin provides an extension point for the other
Developer Studio plugins to extend. This extension provides an element- ‘ProjectKeys'
with two attributes - package and key. The plugins which extends this extension
point can provide their own Project key in WSO2 Jira as the key and their
plugin ID as the package. Once an error takes place and if that error is
related to any of the extended plugins, the project keys defined by those
plugins would be used when posting the issue in Jira.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Extension point ID-org.wso2.deveoperstudio.eclipse.errorreporter.jirakey<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<h3>
Important Facts</h3>
<div>
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
</div>
<ul>
<li><span style="text-indent: -0.25in;">For any error to be recognized as a related
error to Developer studio, the plugin name and packages should follow the
default naming convention. Ex- the package names should start with org.wso2.developerstudio…</span></li>
</ul>
<ul>
<li><span style="text-indent: -0.25in;">By default, issues would be created under the
project ‘TOOLS’ in Jira. However if the plugins related to the error have
defined their relevant project keys using the extension point, those keys would
be used in posting the issue.</span></li>
</ul>
<ul>
<li><span style="text-indent: -0.25in;">By default the error reports are stored in a
directory called ErrorReports at user directory. If this directory or its
contents are changed, it may affect the functionality of the Report Archive.</span></li>
</ul>
<ul>
<li>This plugin automatically starts once the Developer Studio
workbench loads. If the user wishes to disable this early startup behavior,
that can be by unchecking the Error Reporter Tool at Windows->
Preferences-> General->Startup and Shutdown, as depicted in figure 7.</li>
</ul>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ex6acpm37x-LUGzKTUeqQYaNUMI4PWmLqDkDcYVU7iEjL2-f77R1vdWMUr5V7ZIep8D6gvF9BWRa0kNQJJbSN9DBliRzEla4nCBjzuJJwEoW3mYIHoeiwOtxYXKYQvjLT3wmz-_U2lA/s1600/pref.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="347" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ex6acpm37x-LUGzKTUeqQYaNUMI4PWmLqDkDcYVU7iEjL2-f77R1vdWMUr5V7ZIep8D6gvF9BWRa0kNQJJbSN9DBliRzEla4nCBjzuJJwEoW3mYIHoeiwOtxYXKYQvjLT3wmz-_U2lA/s400/pref.JPG" width="400" /></a></div>
<div>
<br /></div>
<!--[if !supportLists]--><o:p></o:p><br />
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
<v:stroke joinstyle="miter">
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0">
<v:f eqn="sum @0 1 0">
<v:f eqn="sum 0 0 @1">
<v:f eqn="prod @2 1 2">
<v:f eqn="prod @3 21600 pixelWidth">
<v:f eqn="prod @3 21600 pixelHeight">
<v:f eqn="sum @0 0 1">
<v:f eqn="prod @6 1 2">
<v:f eqn="prod @7 21600 pixelWidth">
<v:f eqn="sum @8 21600 0">
<v:f eqn="prod @7 21600 pixelHeight">
<v:f eqn="sum @10 21600 0">
</v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
<v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
<o:lock aspectratio="t" v:ext="edit">
</o:lock></v:path></v:stroke></v:shapetype><v:shape id="Picture_x0020_8" o:spid="_x0000_i1025" style="height: 261.75pt; mso-wrap-style: square; visibility: visible; width: 299.25pt;" type="#_x0000_t75">
<v:imagedata o:title="pref" src="file:///C:\Users\Nathie\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
</v:imagedata></v:shape><o:p></o:p></div>
<div class="MsoNormal" style="text-align: center;">
Figure 7<o:p></o:p></div>
<div class="MsoNormal" style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
</div>
<div class="MsoNormal">
However note that once this start up behavior is unchecked,
the plugin would no longer detect any errors. But the error report archive
would function.<o:p></o:p></div>
<br />
<div class="c2" style="margin-bottom: .0001pt; margin: 0in;">
<br /></div>
Coderhttp://www.blogger.com/profile/07349329219138906608noreply@blogger.com0tag:blogger.com,1999:blog-8328940143713217622.post-17437791977312781742016-08-20T11:55:00.004-07:002016-08-20T23:13:06.087-07:00<h2 style="text-align: center;">
</h2>
<h2>
</h2>
<h2>
<span style="font-size: 14.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;"><span style="font-weight: normal;">Contact Development Team Feature in Developer Studio</span></span></h2>
<h2>
<b>GSOC 2016</b></h2>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
For the past 3 months, I got the opportunity do a
project in WSO2 for GSOC 2016. My project was to develop the Contact
Development Team Feature in Developer Studio.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Developer Studio is an eclipse based IDE which provides complete Eclipsebased SOA development environment for WSO2 Carbon middle-ware platform. Developer Studio provides comprehensive support for developing tools and speedup the development process while ensuring unified tooling user experience across Carbon platform.</div>
<div class="MsoNormal">
<span style="background: white; color: #333333;"><br /></span></div>
<div class="MsoNormal">
Currently Developer Studio users contact the development team via WSO2 web support portal (Jira), so the users have to put additional effort to send error logs, metadata etc. More importantly sometimes users are not aware of sending error logs and other required metadata and as a result most of the bugs get unnoticed.
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
My GSOC project goal was to develop a new plugin for
the users to be able to contact development
team within the IDE itself. This new plugin can be used to capture
and report errors to Development team (WSO2).<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
This is how the new plugin works.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
</div>
<ul>
<li><span style="text-indent: -0.25in;">When an unexpected error occurs
in Developer Studio IDE, the plugin captures this error.</span></li>
</ul>
<ul>
<li><span style="font-family: "symbol"; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><span style="text-indent: -0.25in;">If the error is caused by any plugin related to
WSO2 Developer studio, the plugin would collect all the relevant Meta
information, the log files, plugin information, java version information and
Operating system information that would be useful for the development team to
fix the error.</span></li>
</ul>
<ul>
<li><span style="font-family: "symbol"; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><span style="text-indent: -0.25in;">Using the error information and user information,
a text report would be generated and displayed to the user for approval.</span></li>
</ul>
<ul>
<li><span style="text-indent: -0.25in;">The user can select the option to publish the
error in WSO2 Jira or to both publish the error in Jira and email to a user
given email address.</span></li>
</ul>
<ul>
<li><span style="text-indent: -0.25in;">A remote micro service hosted in WSO2 cloud
would be used for the Jira and email publishing.</span></li>
</ul>
<ul>
<li><span style="text-indent: -0.25in;">Each error report sent would be persistently
stored in the system and they can be viewed using the report archive of the
plugin.</span></li>
</ul>
<ul>
<li><span style="font-family: "symbol"; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><span style="text-indent: -0.25in;">The user can inquire the current status of the
issue in Jira using the report archive.</span></li>
</ul>
<ul>
<li><span style="font-family: "symbol"; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><span style="text-indent: -0.25in;">A preference page is developed for the plugin,
so the user information like name, organization and contact information, the
remote micro service URL and Jira project keys and sending options can be set
by the user.</span></li>
</ul>
<ul>
<li><span style="text-indent: -0.25in;">An extension point is defined by the plugin, so
that other plugins can extend it to contribute their plugin IDs and Jira
project keys to create an issue in Jira, under their Projects.</span></li>
</ul>
<!--[if !supportLists]--><o:p></o:p><br />
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -.25in;">
<o:p></o:p></div>
<div class="MsoNormal">
The initial project plan was to perform the Jira publishing
and Email publishing tasks within the plugin itself. However since that
approach had certain limitations like every Developer Studio user needs to have
a WSO2 Jira account and a Gmail account, we decided to externalize this task.<o:p></o:p></div>
<div class="MsoNormal">
For that I developed a micro service and provided the Jira
Publishing and email sending services through a single common Jira account and
a Gmail account. This way I could easily externalize and standardize the Jira and
Email publishing methods. </div>
<div class="MsoNormal">
<br /></div>
<h2>
Deliverable<b> of the project</b></h2>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
The links of key deliverable of the project are listed
below.<o:p></o:p><br />
<br /></div>
<div class="MsoNormal">
1. Eclipse plugin project<o:p></o:p></div>
<div class="MsoNormal">
<a href="https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter"><b>https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter</b></a></div>
<div class="MsoNormal">
2. Remote Jira Publisher - Micro service<o:p></o:p></div>
<div class="MsoNormal">
<a href="https://github.com/nathiesha/RemoteJiraPublisher-MicroService"><b>https://github.com/nathiesha/RemoteJiraPublisher-MicroService</b></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The links for my GitHub commits are listed below.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
[1].<a href="https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter/commits/master?author=nathiesha"><b>https://github.com/nathiesha/org.wso2.developerstudio.eclipse.errorreporter/commits/master?author=nathiesha</b></a><o:p></o:p></div>
<div class="MsoNormal">
[2].<a href="https://github.com/nathiesha/RemoteJiraPublisher-MicroService/commits/master?author=nathiesha"><b>https://github.com/nathiesha/RemoteJiraPublisher-MicroService/commits/master?author=nathiesha</b></a><o:p></o:p><br />
[3].<a href="https://github.com/nathiesha/developer-studio/commits/master?author=nathiesha"><b>https://github.com/nathiesha/developer-studio/commits/master?author=nathiesha</b></a><br />
<br />
<br />
Tips on how to use the Error Reporting Tool can be found here.<br />
- <a href="http://nathiesha.blogspot.com/2016/08/how-to-make-best-use-of-error-reporting.html"><b>Using the Error Reporting Tool</b></a><br />
<br />
<h2>
Thank You</h2>
<ul>
<li>Thank you WSO2 for giving me this opportunity to participate in Google Summer of Code Program. Participating in this program helped me learn a lot of new things and to improve my skills.</li>
</ul>
<ul>
<li>Thank you my mentors, Jasintha Dasanayake and Kavith Lokuhewage for selecting me for this project, for the guidance and support extended throughout this period and for helping me to complete this project successfully.</li>
</ul>
<ul>
<li>Thank you Dinanjana Gunaratne for encouraging me to apply for the GSOC program and supporting me throughout this period.</li>
</ul>
<div>
<br /></div>
<div>
<br /></div>
</div>
Coderhttp://www.blogger.com/profile/07349329219138906608noreply@blogger.com2