@@ -0,0 +1,1873 @@
+/* %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *  you may not use this file except in compliance with the License.%0A *  You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License. %0A */%0Apackage org.ngrinder.operation.cotroller;%0A%0Aimport org.ngrinder.common.controller.BaseController;%0Aimport org.ngrinder.common.controller.RestAPI;%0Aimport org.ngrinder.operation.service.SystemConfigService;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.context.support.ReloadableResourceBundleMessageSource;%0Aimport org.springframework.http.HttpEntity;%0Aimport org.springframework.security.access.prepost.PreAuthorize;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.ui.Model;%0Aimport org.springframework.ui.ModelMap;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0Aimport org.springframework.web.bind.annotation.RequestParam;%0A%0Aimport static org.ngrinder.common.util.Preconditions.checkNotEmpty;%0A%0A/**%0A * Developer Feature.%0A *%0A * @since 3.3%0A */%0A@Controller%0A@RequestMapping(%22/dev%22)%0Apublic class DevController extends BaseController %7B%0A%0A%09@Autowired%0A%09private ReloadableResourceBundleMessageSource messageSource;%0A%0A%09/**%0A%09 * Refresh the messages.%0A%09 *%0A%09 * @param model model%0A%09 * @return %22redirect:/%22%0A%09 */%0A%09@RequestMapping(%22/msg%22)%0A%09public String refreshMessage(ModelMap model) %7B%0A%09%09messageSource.clearCacheIncludingAncestors();%0A%09%09model.clear();%0A%09%09return %22redirect:/%22;%0A%09%7D%0A%0A%7D%0A

Add the message refresh for dev