<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:30157715;
        mso-list-type:hybrid;
        mso-list-template-ids:-588209164 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675 1074331663 1074331673 1074331675;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:2083480337;
        mso-list-type:hybrid;
        mso-list-template-ids:-1289954270 163849230 1074331651 1074331653 1074331649 1074331651 1074331653 1074331649 1074331651 1074331653;}
@list l1:level1
        {mso-level-start-at:3;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:54.0pt;
        text-indent:-18.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:90.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:126.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:198.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:234.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:270.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:306.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:342.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Dear Team,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have added 2 extra fields in Rate limiting Policy, as shown in the below image.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">These extra fields are added because I need it in response header in success(200) as well as failure(429) responses.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">To do so I have modified below mentioned files,<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><b><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></b><![endif]><b>rate-limiting.include<o:p></o:p></b></p>
<p class="MsoListParagraph" style="text-indent:36.0pt"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph" style="text-indent:36.0pt">&lt;div&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp; &lt;span&gt;I want to set retry time to&lt;/span&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp; &lt;input id=&quot;time-limit&quot; ng-model=&quot;config.retryTime&quot; class=&quot;form-control inline-apiman-form-control form-control&quot; style=&quot;width: 100px&quot; type=&quot;text&quot; apiman-i18n-key=&quot;rate-limiting.enter-num-requests&quot; placeholder=&quot;Time limit&quot; ng-disabled=&quot;isEntityDisabled()&quot;&gt;&lt;/input&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp; <o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;select id=&quot;retryTimeUnit&quot; ng-model=&quot;config.retryTimeUnit&quot;&nbsp; apiman-select-picker=&quot;&quot; data-field=&quot;retryTimeUnit&quot; class=&quot;selectpicker inline-line apiman-inline-form-dropdown&quot; data-style=&quot;btn-default apiman-inline-form-dropdown&quot;
 style=&quot;width: 100px&quot; ng-disabled=&quot;isEntityDisabled()&quot;&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;Second&quot; data-content=&quot;&lt;span class='apiman-label-faded'&gt;Second&lt;/span&gt;&quot; apiman-i18n-key=&quot;rate-limiting.second&quot;&gt;Second&lt;/option&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;Minute&quot; apiman-i18n-key=&quot;rate-limiting.minute&quot;&gt;Minute&lt;/option&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;Hour&quot; apiman-i18n-key=&quot;rate-limiting.hour&quot;&gt;Hour&lt;/option&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;Day&quot; apiman-i18n-key=&quot;rate-limiting.day&quot;&gt;Day&lt;/option&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;Month&quot; apiman-i18n-key=&quot;rate-limiting.month&quot;&gt;Month&lt;/option&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;Year&quot; apiman-i18n-key=&quot;rate-limiting.year&quot;&gt;Year&lt;/option&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp; &lt;/select&gt;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/div&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><b><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></b><![endif]><b>RateLimitingConfig<o:p></o:p></b></p>
<p class="MsoListParagraph" style="text-indent:36.0pt">private long retryTime;<o:p></o:p></p>
<p class="MsoListParagraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private RateLimitingPeriod retryTimeUnit;<o:p></o:p></p>
<p class="MsoListParagraph">-- getter , setters<o:p></o:p></p>
<p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><b><span style="mso-list:Ignore">3.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></b><![endif]><b>RateLimitingPolicy<o:p></o:p></b></p>
<p class="MsoListParagraph" style="text-indent:36.0pt">responseHeaders.put(&quot;X-Retry-Time&quot;, timeLimit);<o:p></o:p></p>
<p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph">Kindly Confirm,<o:p></o:p></p>
<p class="MsoListParagraph"><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:54.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Where are we storing these information ? In Elastic Search, in SQL &nbsp;or somewhere else ?<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:54.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Will these changes make any impact on other components ?<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:54.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Would you recommend this code change ?<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:54.0pt"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt">Kindly suggest if you have any other solution for similar requirement.<o:p></o:p></p>
<p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-IN"><img width="1366" height="768" id="Picture_x0020_1" src="cid:image001.png@01D26DC5.2691F410"></span><o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Ram Tanna<o:p></o:p></p>
<p class="MsoNormal">9819002243<o:p></o:p></p>
</div>
<P><br><span style="text-decoration: none">"<strong><span style="text-decoration: underline">Confidentiality Warning</span></strong></span>: This message and any attachments are intended only for the use of the intended recipient(s), are confidential and may be privileged. If you are not the intended recipient, you are hereby notified that any review, re-transmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this message and any attachments from your system.</P>
<P><strong><span style="text-decoration: underline">Virus Warning:</span></strong> Although the company has taken reasonable precautions to ensure no viruses are present in this email. The company cannot accept responsibility for any loss or damage arising from the use of this email or attachment."</P></body>
</html>