{"id":256456,"date":"2015-05-01T14:37:02","date_gmt":"2015-05-01T10:37:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=256456"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=256456","title":{"rendered":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f JIRA \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445: \u043f\u0440\u0438\u0434\u0430\u0435\u043c \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0443 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434"},"content":{"rendered":"<p>     \t\u0412 <a href=\"http:\/\/habrahabr.ru\/post\/256789\/\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f JIRA \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0434\u0430\u0434\u0438\u043c \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0443 \u00ab\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439\u00bb \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 JIRA.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/286\/0b6\/368\/2860b63683894a8e85be3c4ac9b6079a.png\"\/><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0432 \u043d\u0430\u0448 \u043f\u043b\u0430\u0433\u0438\u043d. \u041f\u0443\u0441\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432, \u0442.\u0435. \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u043a \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430\u043c \u0444\u0430\u043c\u0438\u043b\u0438\u0438 \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0432\u044b\u0434\u0430\u0447\u0443 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0412\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432, \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 Students, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0442\u0443\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430; \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 StudentDAO (\u0438 \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 StudentDAOImpl) \u043d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432 \u0438\u043c\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430; \u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 MyAction \u043c\u0435\u0442\u043e\u0434\u044b execute() \u0438 doAdd() \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0443.<\/p>\n<p>  \u041f\u043e\u0434\u0443\u043c\u0430\u0432 \u043e \u0432\u043d\u0435\u0448\u043d\u0435\u043c \u0432\u0438\u0434\u0435 \u043d\u0430\u0448\u0435\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0438, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438. \u041f\u0443\u0441\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0435 images. \u0422\u043e\u0433\u0434\u0430 \u0432 \u0444\u0430\u0439\u043b atlassian-plugin.xml \u0432 \u0442\u0435\u0433 &lt;atlassian-plugin&gt; \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443<\/p>\n<pre><code class=\"xml\">&lt;resource type=&quot;download&quot; name=&quot;images\/&quot; location=&quot;images\/&quot; \/&gt; <\/code><\/pre>\n<p>  \u0421\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0442\u0438\u043f\u043e\u0432 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u043f\u0438\u0448\u0435\u043c \u0432 icon.css \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u044d\u0442\u0438 \u0441\u0442\u0438\u043b\u0438 \u0432 atlassian-plugin.xml \u0432 \u0442\u0435\u0433 &lt;web-resource key=\u00abmy-resources\u00bb&gt;<\/p>\n<pre><code class=\"xml\">&lt;resource type=&quot;download&quot; name=&quot;icon.css&quot; location=&quot;myaction\/css\/icon.css&quot;\/&gt; <\/code><\/pre>\n<p>  \u0412 icon.css \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u0443\u0442\u0438 \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0442\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 name, \u043a\u043e\u0433\u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443,<\/p>\n<pre><code class=\"css\">.project-config-icon48-students{     background: transparent url(images\/student-48px.png) no-repeat 0 0; } <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043c \u043d\u0430\u0448 success.vm \u043f\u043e\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 REST-API, \u0438\u0437\u043c\u0435\u043d\u044f\u044f \u0442\u0435\u0433  \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre><code class=\"html\">    &lt;body&gt;         &lt;div id=&quot;project-config-panel-students&quot; class=&quot;project-config-panel&quot;&gt;             &lt;div class=&quot;project-config-panel-header project-config-icon48-students&quot;&gt;                 &lt;h2&gt;Students&lt;\/h2&gt;                 &lt;p&gt;Students description.&lt;\/p&gt;             &lt;\/div&gt;             &lt;form id=&quot;project-config-students&quot; class=&quot;loading&quot; action=&quot;#&quot;&gt;                 &lt;table class=&quot;aui&quot; id=&quot;project-config-students-table&quot;&gt;                     &lt;thead&gt;                         &lt;tr&gt;                             &lt;th&gt;&lt;!--icon--&gt;&lt;\/th&gt;                             &lt;th&gt;name&lt;\/th&gt;                             &lt;th&gt;surname&lt;\/th&gt;                             &lt;th&gt;created&lt;\/th&gt;                             &lt;th&gt;&lt;!--buttons--&gt;&lt;\/th&gt;                             &lt;th&gt;&lt;!--throbber--&gt;&lt;\/th&gt;                         &lt;\/tr&gt;                     &lt;\/thead&gt;                     &lt;tbody&gt;                     &lt;\/tbody&gt;                 &lt;\/table&gt;                 &lt;div class=&quot;jira-restfultable-init&quot;&gt;                     &lt;span class=&quot;jira-restfultable-throbber&quot;&gt;&lt;\/span&gt;                     &lt;span class=&quot;jira-restfultable-loading&quot;&gt;Loading&lt;\/span&gt;                 &lt;\/div&gt;             &lt;\/form&gt;         &lt;\/div&gt;     &lt;\/body&gt; <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c  \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u0430 \u0432 \u0442\u0435\u0433<\/p>\n<pre><code class=\"html\"> &lt;table&gt; <\/code><\/pre>\n<p> \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u044b. \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0431\u0435\u0437 REST-API \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/bb7\/7c4\/cba\/bb77c4cba0db474c8fb8181e10906df5.png\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u043e\u0447\u043a\u0443 \u0432\u0445\u043e\u0434\u0430 \u0432 \u043d\u0430\u0448 REST-API. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0444\u0430\u0439\u043b atlassian-plugin.xml \u0432 \u0442\u0435\u0433 &lt;atlassian-plugin&gt; \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c <\/p>\n<pre><code class=\"xml\">&lt;rest key=&quot;pluginRESTpoints&quot; path=&quot;\/simple-api&quot; version=&quot;1.0&quot; \/&gt; <\/code><\/pre>\n<p>  \u0412 \u043f\u0430\u043a\u0435\u0442 resource.XML \u0434\u043e\u0431\u0430\u0432\u0438\u043c 3 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0448\u0435\u0433\u043e API: XmlStudent.java \u2013 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0438 XmlStudents.java \u2013 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0418 Mapper.java \u2013 \u043e\u0431\u0449\u0438\u0439 \u043a\u043b\u0430\u0441\u0441 \u0441\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u043a XML \u0432\u0438\u0434\u0443. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/www.vogella.com\/tutorials\/JAXB\/article.html\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u041d\u0443 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0430\u043c\u043e API. \u0412 \u043f\u0430\u043a\u0435\u0442 resource \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043a\u043b\u0430\u0441\u0441 StudentResource. \u042d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 AbstractResource. \u0423\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e  <a href=\"http:\/\/habrahabr.ru\/users\/path\/\" class=\"user_link\">Path<\/a>(\u00abproject\/{pid}\/students\u00bb), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0443\u044e \u0437\u0430 \u043f\u0443\u0442\u044c, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u043a\u043b\u0430\u0441\u0441\u0443 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c REST-API, \u0438 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e  @Produces({\u00abapplication\/json\u00bb}), \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0443\u044e \u0437\u0430 \u0442\u0438\u043f \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412 \u043a\u043b\u0430\u0441\u0441\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043c\u0435\u0442\u043e\u0434 getStudents, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0423\u043a\u0430\u0436\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e  <a href=\"http:\/\/habrahabr.ru\/users\/get\/\" class=\"user_link\">GET<\/a>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u043c\u0435\u0442\u043e\u0434\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 \u0431\u0443\u0434\u0443\u0442:  @PathParam(\u00abpid\u00bb) String pid \u2013 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 id \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 \u043f\u0443\u0442\u0438,  @QueryParam(\u00abid\u00bb) String id \u2013 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 id \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430 \u0438 \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043e\u0431 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c<a href=\"http:\/\/www.vogella.com\/tutorials\/REST\/article.html\"> \u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 API \u0434\u043b\u044f JIRA \u0433\u043e\u0442\u043e\u0432\u043e, \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u043b\u0438, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0443 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443:<\/p>\n<p>  <a href=\"http:\/\/localhost\">localhost<\/a>:8080\/rest\/simple-api\/1.0\/project\/10002\/students<\/p>\n<p>  \u0422\u043e \u044f \u043f\u043e\u043b\u0443\u0447\u0443 \u043e\u0442\u0432\u0435\u0442:<\/p>\n<p>  {\u00abpid\u00bb:10002,\u00abcount\u00bb:2,\u00abstudents\u00bb:[{\u00abid\u00bb:4,\u00abname\u00bb:\u00ab\u0412\u0430\u0441\u044f\u00bb,\u00absurname\u00bb:\u00ab\u041f\u0443\u043f\u043a\u0438\u043d\u00bb,\u00abpid\u00bb:10002,\u00abcreated\u00bb:\u00ab2014-05-07 14:48:15.83\u00bb},{\u00abid\u00bb:5,\u00abname\u00bb:\u00ab\u0418\u0433\u043e\u0440\u044c\u00bb,\u00absurname\u00bb:\u00ab\u041f\u0435\u0442\u0440\u043e\u0432\u00bb,\u00abpid\u00bb:10002,\u00abcreated\u00bb:\u00ab2014-05-07 17:47:58.5\u00bb}]}<\/p>\n<p>  \u2003<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0434\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 API \u0432 \u043d\u0430\u0448\u0443 \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0443. \u0422.\u043a. \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430\u0445 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b <a href=\"https:\/\/docs.atlassian.com\/aui\/latest\/docs\/restfulTable.html\">JIRARestfultable<\/a>. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0441\u0442\u0430\u043b\u043e \u043d\u0430\u0439\u0442\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0434\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0438 4.4. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0441\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u0432\u044b\u0432\u043e\u0434\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u2013 student.soy:<\/p>\n<pre><code class=\"javascript\">{namespace JIRA.Templates.Student} \/** * @param student *\/ {template .studentRow} &lt;td class=&quot;jira-restfultable-icon project-config-student-icon&quot;&gt;     &lt;span class=&quot;project-config-icon project-config-icon-student&quot;&gt;&lt;\/span&gt; &lt;\/td&gt; &lt;td class=&quot;project-config-student-name&quot;&gt;     {$student.name} &lt;\/td&gt; &lt;td class=&quot;project-config-student-surname&quot;&gt;     {$student.surname} &lt;\/td&gt; &lt;td class=&quot;project-config-student-created&quot;&gt;     {$student.created} &lt;\/td&gt; &lt;td class=&quot;jira-restfultable-operations&quot;&gt;&lt;\/td&gt; &lt;td class=&quot;project-config-throbber&quot;&gt;&lt;\/td&gt; {\/template} <\/code><\/pre>\n<p>  \u0412\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 student \u2013 \u044d\u0442\u043e JSON-\u043e\u0431\u044a\u0435\u043a\u0442, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0435. \u0418\u0437 \u044d\u0442\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u043d js \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0442\u043e\u043c \u0438 \u0431\u0443\u0434\u0435\u0442 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0432 js \u043a\u043e\u0434 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432 \u044d\u0442\u043e\u0442 \u0436\u0435 \u0442\u0435\u0433 \u0435\u0449\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c jiraSoyTransformer \u2014 \u044d\u043b\u0435\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 *.soy \u0441\u043a\u0440\u0438\u043f\u0442 js.<\/p>\n<pre><code class=\"html\">  &lt;transformation extension=&quot;soy&quot;&gt;             &lt;transformer key=&quot;jiraSoyTransformer&quot;\/&gt;         &lt;\/transformation&gt; <\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b JIRARestfultable, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0438\u043d\u0442\u0435\u0440\u043d\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u044d\u0442\u043e\u0442 \u0436\u0435 \u0442\u0435\u0433:<\/p>\n<pre><code class=\"html\">&lt;transformation extension=&quot;js&quot;&gt;             &lt;transformer key=&quot;jsI18n&quot;\/&gt;         &lt;\/transformation&gt; <\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442 StudentRow.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432. \u0421\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u043e\u0431\u0449\u0435\u043c \u043f\u043b\u0430\u043d\u0435 \u0442\u0438\u043f\u043e\u0432\u044b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0431\u0443\u0434\u0443 \u043d\u0430 \u043d\u0438\u0445 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<pre><code class=\"javascript\">jQuery.namespace(&quot;JIRA.Admin.Student.StudentRow&quot;); JIRA.Admin.Student.StudentRow = JIRA.RestfulTable.Row.extend({     initialize: function() {         JIRA.RestfulTable.Row.prototype.initialize.apply(this, arguments);     },     render: function() {         var data = this.model.toJSON(),                 id = this.model.get(&quot;id&quot;),                 $el = this.$el;         $el.attr(&quot;id&quot;, &quot;student-&quot; + id + &quot;-row&quot;).attr(&quot;data-id&quot;, id);         $el.html(JIRA.Templates.Student.studentRow({             student: data         }));         return this;     } }); <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b student-init.js:<\/p>\n<pre><code class=\"javascript\">jQuery(function() {     var $table = AJS.$(&quot;#project-config-students-table&quot;);     var $project = AJS.$(&quot;meta[name=projectId]&quot;).attr(&quot;content&quot;);     function getResourceURL() {         return contextPath + &quot;\/rest\/simple-api\/1.0\/project\/&quot; + $project + &quot;\/students&quot;;     }     function getStudent(callback) {         JIRA.SmartAjax.makeRequest({             url: getResourceURL(),             complete: function(xhr, status, response) {                 if (response.successful) {                     callback(response.data.students);                 } else {                     $table.trigger(&quot;serverError&quot;,                             [JIRA.SmartAjax.buildSimpleErrorContent(response)]);                 }             }         });     }     getStudent(function(students) {         JIRA.Admin.StudentTable = new JIRA.RestfulTable({             el: $table,             url: getResourceURL(),             entries: students,             noEntriesMsg: 'There are currently no students for this project.',             views: {                 row: JIRA.Admin.Student.StudentRow             }         });         jQuery(&quot;.jira-restfultable-init&quot;).remove();         JIRA.userhover($table);     }); }); <\/code><\/pre>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0442\u0435\u0433 &lt;my-resources&gt;.\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/e89\/195\/699\/e891956995f444aaafd5ed3a10943544.png\"\/><br \/>  \u2003<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. <\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0432\u0441\u0435 \u0432\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u043c \u0432\u0438\u0434\u0435, \u0430 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e REST Api. <br \/>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0435\u043c student.soy, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432 \u043d\u0435\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d JIRA.Templates.Student.editStudentRow \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0412 \u0448\u0430\u0431\u043b\u043e\u043d JIRA.Templates.Student.studentRow \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 JIRA \u0434\u043b\u044f \u043f\u043e\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0438 \u043a\u043d\u043e\u043f\u043a\u0443 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 EditStudentRow.js \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 JIRA.Templates.Student.editStudentRow. \u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 student-init.js. \u0412 StudentRow.js. \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e getStudent \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f.<br \/>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b EditStudentRow.js \u0432 atlassian-plugin.xml \u0432 \u0442\u0435\u0433 my-resources. \u0418 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b2b\/8bf\/d64\/b2b8bfd645b14e52949c578354f6818a.png\"\/><\/p>\n<p>  \u0421 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0432\u0438\u0434\u043e\u043c \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438. \u0420\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043e\u0442\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443: <\/p>\n<p>  \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"html\">url: http:\/\/localhost:8080\/rest\/simple-api\/1.0\/project\/10000\/students  method: POST request: {&quot;name&quot;:&quot;\u0414\u0438\u043c\u0430&quot;,&quot;surname&quot;:&quot;\u0410\u043d\u0434\u0440\u0435\u0435\u0432&quot;} <\/code><\/pre>\n<p>  \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"html\">url: http:\/\/localhost:8080\/rest\/simple-api\/1.0\/project\/10000\/students\/10?[\u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0435\u0442 request] method: DELETE 1.\trequest: id=10&name=\u0412\u0430\u0441\u044f&surname=\u041f\u0443\u0448\u043a\u0438\u043d&pid=10000&created=2014-05-13 15:54:12.803 <\/code><\/pre>\n<p>  \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"html\">url: http:\/\/server\/rest\/simple-api\/1.0\/project\/10000\/students\/10 method: PUT request: {&quot;id&quot;:10,&quot;name&quot;:&quot;\u0414\u0438\u043c\u0430&quot;,&quot;surname&quot;:&quot;\u0410\u043d\u0434\u0440\u0435\u0435\u0432&quot;} <\/code><\/pre>\n<p>  \u0412 url: 10000 \u2013 id \u043f\u0440\u043e\u0435\u043a\u0442\u0430, 10 \u2013 id \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u0432 request \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0442.\u0435. \u0435\u0441\u043b\u0438 \u0431\u044b \u043c\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u043b\u0438 surname, \u0442\u043e request \u0431\u044b\u043b \u0431\u044b \u0442\u0430\u043a\u0438\u043c:<\/p>\n<pre><code class=\"html\">{&quot;id&quot;:10,&quot;name&quot;:&quot;\u0414\u0438\u043c\u0430&quot;} <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u044d\u0442\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u043c \u043d\u0430\u0448 StudentDAO.java \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f. <br \/>  \u0418 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 StudentResource.java \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. <\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435. \u041c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e MultiSelect \u0438 SingleSelect \u0434\u043b\u044f Jira \u0438 \u043a\u0430\u043a \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c (\u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 UserPicker, ProjectPicker, RolePicker \u0438 \u0442.\u043f.), \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u0435\u043b\u043e\u0447\u0435\u0439, \u043b\u0435\u0433\u043a\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u043c\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e restfultable \u0438 REST Api. <\/p>\n<p>  \u041a\u043e\u0434 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u043d\u0430 <a href=\"https:\/\/github.com\/edsd\/jira-simple-plugin\">GitHub<\/a>.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/post\/256789\/\">\u0427\u0430\u0441\u0442\u044c 1<\/a>.     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/257007\/\"> http:\/\/habrahabr.ru\/post\/257007\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0412 <a href=\"http:\/\/habrahabr.ru\/post\/256789\/\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f JIRA \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0434\u0430\u0434\u0438\u043c \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0443 \u00ab\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439\u00bb \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 JIRA.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/286\/0b6\/368\/2860b63683894a8e85be3c4ac9b6079a.png\"\/><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0432 \u043d\u0430\u0448 \u043f\u043b\u0430\u0433\u0438\u043d. \u041f\u0443\u0441\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432, \u0442.\u0435. \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u043a \u0441\u0442\u0440\u043e\u0433\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430\u043c \u0444\u0430\u043c\u0438\u043b\u0438\u0438 \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0432\u044b\u0434\u0430\u0447\u0443 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432. \u0412\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432, \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 Students, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0442\u0443\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430; \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 StudentDAO (\u0438 \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 StudentDAOImpl) \u043d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u043e\u0432 \u0438\u043c\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430; \u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 MyAction \u043c\u0435\u0442\u043e\u0434\u044b execute() \u0438 doAdd() \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-256456","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/256456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=256456"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/256456\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=256456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=256456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=256456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}