-
Open the Terminal
-
Use
mysqldump
to backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql
-
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
npm run build | |
> angular2-demo@0.0.1 build /Users/Dreampie/Projects/DreampieProjects/angular2-demo | |
> webpack --config build/webpack.build.config.js --progress --colors | |
10% 0/1 build modulests-loader: Using typescript@1.8.10 and /Users/Dreampie/Projects/DreampieProjects/angular2-demo/tsconfig.json Hash: 96ae4cbb31fa9aeb69ee | |
Version: webpack 1.13.0 | |
Child | |
Hash: 96ae4cbb31fa9aeb69ee | |
Version: webpack 1.13.0 | |
Time: 3170ms |
Parallel execution is an incubating feature. | |
:message-api:message-api-provider:dependencies | |
------------------------------------------------------------ | |
Project :message-api:message-api-provider | |
------------------------------------------------------------ | |
archives - Configuration for archive artifacts. | |
No dependencies |
Implement the HandshakeInter as below. | |
```java | |
public class HttpSessionIdHandshakeInterceptor implements HandshakeInterceptor { | |
public boolean beforeHandshake(ServerHttpRequest request, | |
ServerHttpResponse response, | |
WebSocketHandler wsHandler, | |
Map<String, Object> attributes) | |
throws Exception { | |
if (request instanceof ServletServerHttpRequest) { |
public class HystrixContextFilter extends OncePerRequestFilter { | |
public HystrixContextFilter() { | |
} | |
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws ServletException, IOException { | |
HystrixRequestContext context = HystrixRequestContext.initializeContext(); | |
//HystrixPlugins.getInstance().registerConcurrencyStrategy(new SubjectService.SessionConcurrencyStrategy()); | |
try { | |
chain.doFilter(request, response); |
<template> | |
<!--body--> | |
<div class="bodyer"> | |
<v-loading :show="false"></v-loading> | |
<!--head--> | |
<header class="header"> | |
<v-menu :session="session"></v-menu> | |
</header> | |
<router-view class="main"></router-view> | |
<!--foot--> |