Skip to content

Commit 4db46e8

Browse files
authored
Merge pull request #47 from shardis/dev
version 2.2.0
2 parents b138709 + fbd4a42 commit 4db46e8

File tree

154 files changed

+2216
-2442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+2216
-2442
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ shardis-config/target/
1919

2020
### node
2121
npm-debug.log
22+
npm-debug.log*
2223
shardis-ui/etc/
2324
shardis-ui/node/
2425
shardis-ui/node_modules/

README.md

Lines changed: 34 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ It also uses Spring Cloud microservices and Spring Security with Oauth2 JWT toke
1616
* Build and testing process integrated with maven
1717
* Spring cloud microservices with service discovery
1818
* Spring security Oauth2 integration
19-
* Spring Boot application in development mode use resources from webpack dev server
2019
* Docker integration (optional)
21-
* Webpack2 integration
22-
* Scss support in angular components
20+
* Angular Cli integration
21+
* Scss support
2322
* Angular material integration
2423
* Font-awesome integration
2524
* Lazy loaded routes
@@ -71,44 +70,44 @@ mvn clean package -P prod-standalone
7170
Then run config server:
7271
```
7372
cd shardis-config/
74-
java -jar ./target/shardis-config-2.1.0.jar
73+
java -jar ./target/shardis-config-2.2.0.jar
7574
```
7675

7776
Then run discovery server:
7877
```
7978
cd shardis-discovery/
80-
java -jar ./target/shardis-discovery-2.1.0.jar
79+
java -jar ./target/shardis-discovery-2.2.0.jar
8180
```
8281

8382
Then run gateway server:
8483
```
8584
cd shardis-gateway/
86-
java -jar ./target/shardis-gateway-2.1.0.jar
85+
java -jar ./target/shardis-gateway-2.2.0.jar
8786
```
8887

8988
Then run api server:
9089
```
9190
cd shardis-api/
92-
java -jar ./target/shardis-api-2.1.0.jar
91+
java -jar ./target/shardis-api-2.2.0.jar
9392
```
9493

9594
Then run auth server:
9695
```
9796
cd shardis-auth/
98-
java -jar ./target/shardis-auth-2.1.0.jar
97+
java -jar ./target/shardis-auth-2.2.0.jar
9998
```
10099

101100
Then run ui server:
102101
```
103102
cd shardis-ui/
104-
java -jar ./target/shardis-ui-2.1.0.jar
103+
java -jar ./target/shardis-ui-2.2.0.jar
105104
```
106105

107106

108107
Then run admin server (optional):
109108
```
110109
cd shardis-admin/
111-
java -jar ./target/shardis-admin-2.1.0.jar
110+
java -jar ./target/shardis-admin-2.2.0.jar
112111
```
113112

114113

@@ -164,14 +163,19 @@ cd shardis-admin
164163
mvn spring-boot:run -P dev-standalone
165164
```
166165

167-
## RUNNING WEBPACK DEV SERVER FOR DEVELOPMENT MODE:
166+
## RUNNING DEV SERVER FOR DEVELOPMENT MODE:
168167

169-
Run webpack development server:
168+
Run development server:
170169
```
171170
cd shardis-ui
172171
npm run server
173172
```
174173

174+
Visit your app at http://localhost:4200/
175+
176+
Proxies for api calls can be configured in proxy.json file.
177+
Default configuration assumes that your api is running at localhost:8080
178+
175179
## TESTING ANGULAR FRONTEND
176180

177181
Running unit tests:
@@ -189,6 +193,24 @@ npm run e2e
189193

190194
## CHANGELOG:
191195

196+
### 2.2.0 (unreleased)
197+
* Introduced Angular-Cli as angular build tool
198+
* Updated Angular to 2.0.2
199+
* Updated Angular Material to 2.0.0-alpha.9-3
200+
* Updated Node to v6.7.0
201+
* Updated Spring Platform to Athens-RELEASE
202+
* Updated Spring Boot to 1.4.1.RELEASE
203+
* Updated Spring Cloud to Camden.RELEASE
204+
* Updated Spring Boot Admin to 1.4.2
205+
* Updated Docker Maven Plugin to 0.4.13
206+
* Added docker cleanup script for Windows
207+
* Added tags for generated docker images
208+
* Added separate routing modules to all lazy loaded Angular modules
209+
* Extracted common modules and providers to one place
210+
* Updated Angular-Cli to 1.0.0-beta.17
211+
* Rewritten all Angular tests
212+
213+
192214
### 2.1.0 (28.08.2016)
193215
* Added Spring Cloud Config server for centralized configuration
194216
* Added Spring REST Docs support for API microservices
@@ -214,40 +236,5 @@ npm run e2e
214236
* Updated angular2-material to 2.0.0-alpha.7-2
215237
* Added live demo
216238

217-
### 1.9.0 (29.07.2016)
218-
* Updated dependencies
219-
* Updated Angular to rc.4
220-
* Switched back to awesome-ts-loader (faster)
221-
* Updated Spring Cloud to Brixton.SR1
222-
* Removed lombok from project
223-
* Added UUID to all entities
224-
* Moved styles from main.scss to separate module
225-
* Updated Spring Cloud to Brixton.SR2
226-
* Updated Spring Platform to 2.0.6 and Spring Boot to 1.3.6
227-
* Renamed java test classes to match surefire convention
228-
* Webpack 2 and Typescript 2
229-
* Reduced bundle size
230-
* Updated Spring Cloud to Brixton.SR3
231-
* Enabled gzip compression
232-
* Removed typings in favor of types
233-
* Updated angular2-material to 2.0.0-alpha.6-2
234-
* Updated Spring Platform to 2.0.7 and Spring Boot to 1.3.7
235-
236-
### 1.8.0 (30.06.2016)
237-
* Better directory structure for angular components
238-
* Dependency updates
239-
* Updated Angular to rc.2
240-
* Migrate awesome-ts-loader to ts-loader due to problems with karma
241-
* Migrate to router 3
242-
* Lazy routes with modified version of AngularClass webpack resolver
243-
* Updated Angular to rc.3
244-
* Added 404 page
245-
* Much cleaner webpack configuration
246-
* Role based visibility of menu items
247-
* CRUD example for authenticated users
248-
* Route access for selected roles (guards)
249-
* Switched to new Angular Forms
250-
* Updated angular2-material to 2.0.0-alpha.6
251-
252239

253240
[show full changelog](docs/CHANGELOG.md)

cleanup-docker.cmd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@REM Clean up docker machine containers and images
2+
3+
@setlocal EnableDelayedExpansion
4+
5+
@REM Clean up old docker containers
6+
@ECHO Cleaning old containers
7+
@FOR /F %%I IN ('docker ps -a -q') DO @(
8+
@ECHO Removing container %%I
9+
@CALL docker rm %%I
10+
)
11+
12+
@REM Clean up orphaned docker images
13+
@ECHO Cleaning old images
14+
@FOR /F "tokens=3" %%I IN ('docker images ^| FindStr "<none>"') DO @(
15+
@ECHO Removing image %%I
16+
@CALL docker rmi %%I
17+
)
18+
19+
@ECHO Done.

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
- 8888:8888
77
environment:
88
- CONFIGURATION_REPOSITORY=https://github.com/shardis/spring-angular2-starter-configuration.git
9+
- CONFIGURATION_BRANCH=master
910
discovery-service:
1011
image: spring-ng2-starter/shardis-discovery
1112
ports:

docs/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
## CHANGELOG:
22

3+
### 2.2.0 (unreleased)
4+
* Introduced Angular-Cli as angular build tool
5+
* Updated Angular to 2.0.2
6+
* Updated Angular Material to 2.0.0-alpha.9-3
7+
* Updated Node to v6.7.0
8+
* Updated Spring Platform to Athens-RELEASE
9+
* Updated Spring Boot to 1.4.1.RELEASE
10+
* Updated Spring Cloud to Camden.RELEASE
11+
* Updated Spring Boot Admin to 1.4.2
12+
* Updated Docker Maven Plugin to 0.4.13
13+
* Added docker cleanup script for Windows
14+
* Added tags for generated docker images
15+
* Added separate routing modules to all lazy loaded Angular modules
16+
* Extracted common modules and providers to one place
17+
* Updated Angular-Cli to 1.0.0-beta.17
18+
* Rewritten all Angular tests
19+
320
### 2.1.0 (28.08.2016)
421
* Added Spring Cloud Config server for centralized configuration
522
* Added Spring REST Docs support for API microservices

docs/diagram.png

-10.6 KB
Loading

0 commit comments

Comments
 (0)