@eui/cli 15.4.1 → 15.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.version.properties +1 -1
- package/LICENSE +296 -296
- package/README.md +26 -26
- package/bin/eui-cli.js +70 -70
- package/lib/build.js +153 -153
- package/lib/cli.js +111 -111
- package/lib/config.js +54 -54
- package/lib/generators.js +64 -64
- package/lib/install.js +54 -54
- package/lib/maven-build/build.xml +115 -115
- package/lib/maven-build/pom.xml +64 -64
- package/lib/post-build.js +33 -33
- package/lib/skeletons/_angular/base/.browserslistrc +16 -16
- package/lib/skeletons/_angular/base/.editorconfig +16 -16
- package/lib/skeletons/_angular/base/.euirc.json +8 -8
- package/lib/skeletons/_angular/base/.stylelintrc +24 -24
- package/lib/skeletons/_angular/base/README.md +26 -26
- package/lib/skeletons/_angular/base/angular.json +176 -176
- package/lib/skeletons/_angular/base/gitignore_TO_REPLACE +50 -50
- package/lib/skeletons/_angular/base/mock/app/models/user.js +8 -8
- package/lib/skeletons/_angular/base/mock/app/routes/index.js +5 -5
- package/lib/skeletons/_angular/base/mock/app/routes/user_routes.js +24 -24
- package/lib/skeletons/_angular/base/mock/db/db.json +12 -12
- package/lib/skeletons/_angular/base/mock/server.js +21 -21
- package/lib/skeletons/_angular/base/package.json +24 -24
- package/lib/skeletons/_angular/base/proxy-mock.conf.json +6 -6
- package/lib/skeletons/_angular/base/proxy.conf.json +6 -6
- package/lib/skeletons/_angular/base/src/.eslintrc.json +118 -118
- package/lib/skeletons/_angular/base/src/app/app-routing.module.ts +17 -17
- package/lib/skeletons/_angular/base/src/app/app-starter.service.ts +66 -66
- package/lib/skeletons/_angular/base/src/app/app.component.html +29 -29
- package/lib/skeletons/_angular/base/src/app/app.component.ts +51 -51
- package/lib/skeletons/_angular/base/src/app/app.module.ts +35 -35
- package/lib/skeletons/_angular/base/src/app/core/core.module.ts +87 -87
- package/lib/skeletons/_angular/base/src/app/core/reducers/index.ts +31 -31
- package/lib/skeletons/_angular/base/src/app/features/home/home-routing.module.ts +15 -15
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.html +39 -39
- package/lib/skeletons/_angular/base/src/app/features/home/home.component.ts +11 -11
- package/lib/skeletons/_angular/base/src/app/features/home/home.module.ts +18 -18
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page1/page1.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page1/page1.component.ts +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page2/page2.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/components/page2/page2.component.ts +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/module1-routing.module.ts +18 -18
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.component.ts +8 -8
- package/lib/skeletons/_angular/base/src/app/features/module1/module1.module.ts +21 -21
- package/lib/skeletons/_angular/base/src/app/features/module2/module2-routing.module.ts +16 -16
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.component.html +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.component.ts +7 -7
- package/lib/skeletons/_angular/base/src/app/features/module2/module2.module.ts +17 -17
- package/lib/skeletons/_angular/base/src/app/shared/shared.module.ts +45 -45
- package/lib/skeletons/_angular/base/src/app/shared/testing/router.mock.ts +18 -18
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-dev.json +8 -8
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-prod.json +8 -8
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config.json +7 -7
- package/lib/skeletons/_angular/base/src/assets/i18n/en.json +6 -6
- package/lib/skeletons/_angular/base/src/assets/i18n/fr.json +6 -6
- package/lib/skeletons/_angular/base/src/config/global.ts +20 -20
- package/lib/skeletons/_angular/base/src/config/index.ts +8 -8
- package/lib/skeletons/_angular/base/src/config/modules.ts +7 -7
- package/lib/skeletons/_angular/base/src/dummy.spec.ts +6 -6
- package/lib/skeletons/_angular/base/src/environments/environment.prod.ts +11 -11
- package/lib/skeletons/_angular/base/src/environments/environment.ts +11 -11
- package/lib/skeletons/_angular/base/src/index.html +21 -21
- package/lib/skeletons/_angular/base/src/karma.conf.js +7 -7
- package/lib/skeletons/_angular/base/src/main.ts +14 -14
- package/lib/skeletons/_angular/base/src/polyfills.ts +89 -89
- package/lib/skeletons/_angular/base/src/styles.scss +1 -1
- package/lib/skeletons/_angular/base/src/tsconfig.app.json +18 -18
- package/lib/skeletons/_angular/base/src/tsconfig.spec.json +14 -14
- package/lib/skeletons/_angular/base/tsconfig.json +27 -27
- package/lib/skeletons/_angular/base-mobile/angular.json +160 -160
- package/lib/skeletons/_angular/base-mobile/ionic.config.json +5 -5
- package/lib/skeletons/_angular/base-mobile/ngsw-config.json +33 -33
- package/lib/skeletons/_angular/base-mobile/package.json +28 -28
- package/lib/skeletons/_angular/base-mobile/src/app/app-routing.module.ts +17 -17
- package/lib/skeletons/_angular/base-mobile/src/app/app-starter.service.ts +73 -73
- package/lib/skeletons/_angular/base-mobile/src/app/app.component.html +27 -27
- package/lib/skeletons/_angular/base-mobile/src/app/app.component.ts +55 -55
- package/lib/skeletons/_angular/base-mobile/src/app/app.module.ts +44 -44
- package/lib/skeletons/_angular/base-mobile/src/app/core/core.module.ts +89 -89
- package/lib/skeletons/_angular/base-mobile/src/app/core/reducers/index.ts +31 -31
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home-routing.module.ts +15 -15
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.html +14 -14
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.component.ts +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/home/home.module.ts +18 -18
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.html +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page1/page1.component.ts +7 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.html +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/components/page2/page2.component.ts +7 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1-routing.module.ts +18 -18
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.html +15 -15
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.component.ts +17 -17
- package/lib/skeletons/_angular/base-mobile/src/app/features/module1/module1.module.ts +21 -21
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2-routing.module.ts +16 -16
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.html +11 -11
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.component.ts +7 -7
- package/lib/skeletons/_angular/base-mobile/src/app/features/module2/module2.module.ts +17 -17
- package/lib/skeletons/_angular/base-mobile/src/app/shared/shared.module.ts +16 -16
- package/lib/skeletons/_angular/base-mobile/src/app/shared/testing/router.mock.ts +18 -18
- package/lib/skeletons/_angular/base-mobile/src/index.html +27 -27
- package/lib/skeletons/_angular/base-mobile/src/manifest.webmanifest +51 -51
- package/lib/skeletons/_angular/base-mobile/src/tsconfig.app.json +19 -19
- package/lib/skeletons/_angular/options/ecl/angular.json +193 -193
- package/lib/skeletons/_angular/options/ecl/src/app/app.component.html +262 -262
- package/lib/skeletons/_angular/options/ecl/src/app/app.component.ts +59 -59
- package/lib/skeletons/_angular/options/ecl/src/app/features/home/home.component.html +70 -70
- package/lib/skeletons/_angular/options/ecl/src/app/features/module1/components/page1/page1.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/features/module1/components/page2/page2.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/features/module1/module1.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/features/module2/module2.component.html +1 -1
- package/lib/skeletons/_angular/options/ecl/src/app/shared/shared.module.ts +19 -19
- package/lib/skeletons/_angular/options/ecl/src/config/global.ts +20 -20
- package/lib/skeletons/_angular/options/openid-jwt/package.json +22 -22
- package/lib/skeletons/_angular/options/openid-jwt/src/app/core/core.module.ts +94 -94
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-dev.json +24 -24
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-local-mock.json +10 -10
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-local.json +23 -23
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-prod.json +23 -23
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config.json +10 -10
- package/lib/skeletons/_angular/options/openid-jwt/src/environments/environment.prod.ts +11 -11
- package/lib/skeletons/_angular/options/openid-jwt/src/environments/environment.ts +11 -11
- package/lib/skeletons/_angular/options/openid-jwt/src/index.html +21 -21
- package/lib/skeletons/web-maven/package.json +17 -17
- package/lib/skeletons/web-maven/pom.xml +55 -55
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/servlet/SpringWebApplicationInitializer.java +22 -22
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/spring/SpringRestConfiguration.java +24 -24
- package/lib/skeletons/web-maven/src/main/java/eu/europa/ec/digit/eui/angular2clistarter/spring/rest/UserDetailsResource.java +23 -23
- package/lib/skeletons/web-maven/src/main/resources/ecas-config-application-name.xml +7 -7
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/dispatcher-servlet.xml +10 -10
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/web.xml +38 -38
- package/lib/skeletons/web-maven/src/main/webapp/WEB-INF/weblogic.xml +15 -15
- package/lib/skeletons/web-maven/src/main/webapp/index.jsp +29 -29
- package/lib/skeletons/web-spring-boot/myapp-web/pom.xml +77 -77
- package/lib/skeletons/web-spring-boot/myapp-web-rest/pom.xml +84 -84
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/MyappApplication.java +46 -46
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/domain/Address.java +65 -65
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/domain/Building.java +44 -44
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/repositories/BuildingRepository.java +10 -10
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/BuildingResource.java +26 -26
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/SwaggerConfig.java +20 -20
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/HateoasPageableHandlerMethodArgumentResolver.java +45 -45
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/HypermediaSupport.java +25 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/resources/support/PageJsonSerializer.java +17 -17
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/CachingPreventionFilter.java +29 -29
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/CsrfPreventionFilter.java +35 -35
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/FakeAuthenticationFilter.java +372 -372
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/security/SecurityConfig.java +47 -47
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingSearchCriteria.java +25 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingService.java +9 -9
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/java/myapp/services/BuildingServiceImpl.java +25 -25
- package/lib/skeletons/web-spring-boot/myapp-web-rest/src/main/resources/data.sql +10 -10
- package/lib/skeletons/web-spring-boot/pom.xml +30 -30
- package/lib/skeletons/web-symfony/myapp-web/angular.json +170 -170
- package/lib/skeletons/web-symfony/myapp-web/package.json +23 -23
- package/lib/skeletons/web-symfony/myapp-web/src/app/app-routing.module.ts +18 -18
- package/lib/skeletons/web-symfony/myapp-web/src/app/app.component.ts +77 -77
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.html +160 -160
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/components/products.component.ts +104 -104
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/models/product.model.ts +6 -6
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/products-routing.module.ts +16 -16
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/products.module.ts +16 -16
- package/lib/skeletons/web-symfony/myapp-web/src/app/features/products/services/products.service.ts +29 -29
- package/lib/skeletons/web-symfony/myapp-web/src/environments/environment.ts +17 -17
- package/lib/skeletons/web-symfony/myapp-web-rest/.env +28 -28
- package/lib/skeletons/web-symfony/myapp-web-rest/bin/console +42 -42
- package/lib/skeletons/web-symfony/myapp-web-rest/composer.json +67 -67
- package/lib/skeletons/web-symfony/myapp-web-rest/composer.lock +3572 -3572
- package/lib/skeletons/web-symfony/myapp-web-rest/config/bootstrap.php +21 -21
- package/lib/skeletons/web-symfony/myapp-web-rest/config/bundles.php +12 -12
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/cache.yaml +19 -19
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/dev/routing.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/doctrine.yaml +29 -29
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/doctrine_migrations.yaml +5 -5
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/framework.yaml +17 -17
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/prod/doctrine.yaml +32 -32
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/routing.yaml +4 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/sensio_framework_extra.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/test/framework.yaml +4 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/test/routing.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/packages/twig.yaml +4 -4
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes/annotations.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes/dev/twig.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/routes.yaml +3 -3
- package/lib/skeletons/web-symfony/myapp-web-rest/config/services.yaml +27 -27
- package/lib/skeletons/web-symfony/myapp-web-rest/public/index.php +27 -27
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Controller/ProductController.php +196 -196
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Entity/Product.php +99 -99
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Kernel.php +53 -53
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Migrations/Version20190604101623.php +31 -31
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Migrations/Version20190604101638.php +35 -35
- package/lib/skeletons/web-symfony/myapp-web-rest/src/Repository/ProductRepository.php +51 -51
- package/lib/skeletons/web-symfony/myapp-web-rest/symfony.lock +274 -274
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/base.html.twig +12 -12
- package/lib/skeletons/web-symfony/myapp-web-rest/templates/product/index.html.twig +20 -20
- package/lib/utils.js +17 -17
- package/package.json +3 -3
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
package @app.group.id@.@app.name@.security;
|
|
2
|
-
|
|
3
|
-
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
|
4
|
-
import org.springframework.context.annotation.Bean;
|
|
5
|
-
import org.springframework.http.HttpMethod;
|
|
6
|
-
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
|
7
|
-
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
|
8
|
-
import org.springframework.security.web.SecurityFilterChain;
|
|
9
|
-
|
|
10
|
-
import jakarta.servlet.DispatcherType;
|
|
11
|
-
import jakarta.servlet.Filter;
|
|
12
|
-
import java.util.Collections;
|
|
13
|
-
|
|
14
|
-
@EnableWebSecurity
|
|
15
|
-
public class SecurityConfig {
|
|
16
|
-
|
|
17
|
-
@Bean
|
|
18
|
-
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
|
|
19
|
-
http.authorizeHttpRequests((authz) -> authz
|
|
20
|
-
.requestMatchers(HttpMethod.DELETE, "/api/buildings")
|
|
21
|
-
.hasRole("ADMIN")
|
|
22
|
-
.anyRequest()
|
|
23
|
-
.permitAll()
|
|
24
|
-
);
|
|
25
|
-
return http.build();
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@Bean
|
|
29
|
-
public FilterRegistrationBean csrfPreventionFilter() {
|
|
30
|
-
FilterRegistrationBean<Filter> registration = new FilterRegistrationBean<>();
|
|
31
|
-
registration.setFilter(new CsrfPreventionFilter());
|
|
32
|
-
registration.setUrlPatterns(Collections.singleton("/api/*"));
|
|
33
|
-
registration.setDispatcherTypes(DispatcherType.REQUEST);
|
|
34
|
-
|
|
35
|
-
return registration;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@Bean
|
|
39
|
-
public FilterRegistrationBean cachingPreventionFilter() {
|
|
40
|
-
FilterRegistrationBean<Filter> registration = new FilterRegistrationBean<>();
|
|
41
|
-
registration.setFilter(new CachingPreventionFilter());
|
|
42
|
-
registration.setUrlPatterns(Collections.singleton("/api/*"));
|
|
43
|
-
registration.setDispatcherTypes(DispatcherType.REQUEST);
|
|
44
|
-
|
|
45
|
-
return registration;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
package @app.group.id@.@app.name@.security;
|
|
2
|
+
|
|
3
|
+
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
|
4
|
+
import org.springframework.context.annotation.Bean;
|
|
5
|
+
import org.springframework.http.HttpMethod;
|
|
6
|
+
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
|
|
7
|
+
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
|
8
|
+
import org.springframework.security.web.SecurityFilterChain;
|
|
9
|
+
|
|
10
|
+
import jakarta.servlet.DispatcherType;
|
|
11
|
+
import jakarta.servlet.Filter;
|
|
12
|
+
import java.util.Collections;
|
|
13
|
+
|
|
14
|
+
@EnableWebSecurity
|
|
15
|
+
public class SecurityConfig {
|
|
16
|
+
|
|
17
|
+
@Bean
|
|
18
|
+
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
|
|
19
|
+
http.authorizeHttpRequests((authz) -> authz
|
|
20
|
+
.requestMatchers(HttpMethod.DELETE, "/api/buildings")
|
|
21
|
+
.hasRole("ADMIN")
|
|
22
|
+
.anyRequest()
|
|
23
|
+
.permitAll()
|
|
24
|
+
);
|
|
25
|
+
return http.build();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@Bean
|
|
29
|
+
public FilterRegistrationBean csrfPreventionFilter() {
|
|
30
|
+
FilterRegistrationBean<Filter> registration = new FilterRegistrationBean<>();
|
|
31
|
+
registration.setFilter(new CsrfPreventionFilter());
|
|
32
|
+
registration.setUrlPatterns(Collections.singleton("/api/*"));
|
|
33
|
+
registration.setDispatcherTypes(DispatcherType.REQUEST);
|
|
34
|
+
|
|
35
|
+
return registration;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@Bean
|
|
39
|
+
public FilterRegistrationBean cachingPreventionFilter() {
|
|
40
|
+
FilterRegistrationBean<Filter> registration = new FilterRegistrationBean<>();
|
|
41
|
+
registration.setFilter(new CachingPreventionFilter());
|
|
42
|
+
registration.setUrlPatterns(Collections.singleton("/api/*"));
|
|
43
|
+
registration.setDispatcherTypes(DispatcherType.REQUEST);
|
|
44
|
+
|
|
45
|
+
return registration;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
package @app.group.id@.@app.name@.services;
|
|
2
|
-
|
|
3
|
-
import org.springframework.util.Assert;
|
|
4
|
-
|
|
5
|
-
import java.io.Serializable;
|
|
6
|
-
|
|
7
|
-
public class BuildingSearchCriteria implements Serializable {
|
|
8
|
-
private static final long serialVersionUID = 1L;
|
|
9
|
-
private String name;
|
|
10
|
-
|
|
11
|
-
public BuildingSearchCriteria() {
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
public BuildingSearchCriteria(String name) {
|
|
15
|
-
Assert.notNull(name, "The name of the building should not be null.");
|
|
16
|
-
this.name = name;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
public String getName() {
|
|
20
|
-
return this.name;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
public void setName(String name) {
|
|
24
|
-
this.name = name;
|
|
25
|
-
}
|
|
1
|
+
package @app.group.id@.@app.name@.services;
|
|
2
|
+
|
|
3
|
+
import org.springframework.util.Assert;
|
|
4
|
+
|
|
5
|
+
import java.io.Serializable;
|
|
6
|
+
|
|
7
|
+
public class BuildingSearchCriteria implements Serializable {
|
|
8
|
+
private static final long serialVersionUID = 1L;
|
|
9
|
+
private String name;
|
|
10
|
+
|
|
11
|
+
public BuildingSearchCriteria() {
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
public BuildingSearchCriteria(String name) {
|
|
15
|
+
Assert.notNull(name, "The name of the building should not be null.");
|
|
16
|
+
this.name = name;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
public String getName() {
|
|
20
|
+
return this.name;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
public void setName(String name) {
|
|
24
|
+
this.name = name;
|
|
25
|
+
}
|
|
26
26
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
package @app.group.id@.@app.name@.services;
|
|
2
|
-
|
|
3
|
-
import @app.group.id@.@app.name@.domain.Building;
|
|
4
|
-
import org.springframework.data.domain.Page;
|
|
5
|
-
import org.springframework.data.domain.Pageable;
|
|
6
|
-
|
|
7
|
-
public interface BuildingService {
|
|
8
|
-
Page<Building> findAll(Pageable pageable);
|
|
9
|
-
Page<Building> find(BuildingSearchCriteria criteria, Pageable pageable);
|
|
1
|
+
package @app.group.id@.@app.name@.services;
|
|
2
|
+
|
|
3
|
+
import @app.group.id@.@app.name@.domain.Building;
|
|
4
|
+
import org.springframework.data.domain.Page;
|
|
5
|
+
import org.springframework.data.domain.Pageable;
|
|
6
|
+
|
|
7
|
+
public interface BuildingService {
|
|
8
|
+
Page<Building> findAll(Pageable pageable);
|
|
9
|
+
Page<Building> find(BuildingSearchCriteria criteria, Pageable pageable);
|
|
10
10
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
package @app.group.id@.@app.name@.services;
|
|
2
|
-
|
|
3
|
-
import @app.group.id@.@app.name@.domain.Building;
|
|
4
|
-
import @app.group.id@.@app.name@.repositories.BuildingRepository;
|
|
5
|
-
import org.springframework.data.domain.Page;
|
|
6
|
-
import org.springframework.data.domain.Pageable;
|
|
7
|
-
import org.springframework.stereotype.Component;
|
|
8
|
-
|
|
9
|
-
@Component()
|
|
10
|
-
public class BuildingServiceImpl implements BuildingService {
|
|
11
|
-
private BuildingRepository buildingRepository;
|
|
12
|
-
|
|
13
|
-
public BuildingServiceImpl(BuildingRepository buildingRepository) {
|
|
14
|
-
this.buildingRepository = buildingRepository;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@Override
|
|
18
|
-
public Page<Building> findAll(Pageable pageable) {
|
|
19
|
-
return buildingRepository.findAll(pageable);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@Override
|
|
23
|
-
public Page<Building> find(BuildingSearchCriteria criteria, Pageable pageable) {
|
|
24
|
-
return buildingRepository.findByNameContainingAllIgnoringCase(criteria.getName(), pageable);
|
|
25
|
-
}
|
|
1
|
+
package @app.group.id@.@app.name@.services;
|
|
2
|
+
|
|
3
|
+
import @app.group.id@.@app.name@.domain.Building;
|
|
4
|
+
import @app.group.id@.@app.name@.repositories.BuildingRepository;
|
|
5
|
+
import org.springframework.data.domain.Page;
|
|
6
|
+
import org.springframework.data.domain.Pageable;
|
|
7
|
+
import org.springframework.stereotype.Component;
|
|
8
|
+
|
|
9
|
+
@Component()
|
|
10
|
+
public class BuildingServiceImpl implements BuildingService {
|
|
11
|
+
private BuildingRepository buildingRepository;
|
|
12
|
+
|
|
13
|
+
public BuildingServiceImpl(BuildingRepository buildingRepository) {
|
|
14
|
+
this.buildingRepository = buildingRepository;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Override
|
|
18
|
+
public Page<Building> findAll(Pageable pageable) {
|
|
19
|
+
return buildingRepository.findAll(pageable);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@Override
|
|
23
|
+
public Page<Building> find(BuildingSearchCriteria criteria, Pageable pageable) {
|
|
24
|
+
return buildingRepository.findByNameContainingAllIgnoringCase(criteria.getName(), pageable);
|
|
25
|
+
}
|
|
26
26
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
insert into t_address (address_id, street, postal_code, city, country) values (-4, 'rue Montoyer, 15', '1000', 'Bruxelles', 'Belgium');
|
|
2
|
-
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Montoyer 15 "Black Pearl"', -4);
|
|
3
|
-
|
|
4
|
-
insert into t_address (address_id, street, postal_code, city, country) values (-3, 'rue de la Loi, 200', '1040', 'Bruxelles', 'Belgium');
|
|
5
|
-
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Berlaymont', -3);
|
|
6
|
-
|
|
7
|
-
insert into t_address (address_id, street, postal_code, city, country) values (-2, 'rue Breydel, 4', '1040', 'Bruxelles', 'Belgium');
|
|
8
|
-
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Belliard 232', -2);
|
|
9
|
-
|
|
10
|
-
insert into t_address (address_id, street, postal_code, city, country) values (-1, 'Place Rogier, 16', '1210', 'Saint-Josse', 'Belgium');
|
|
1
|
+
insert into t_address (address_id, street, postal_code, city, country) values (-4, 'rue Montoyer, 15', '1000', 'Bruxelles', 'Belgium');
|
|
2
|
+
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Montoyer 15 "Black Pearl"', -4);
|
|
3
|
+
|
|
4
|
+
insert into t_address (address_id, street, postal_code, city, country) values (-3, 'rue de la Loi, 200', '1040', 'Bruxelles', 'Belgium');
|
|
5
|
+
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Berlaymont', -3);
|
|
6
|
+
|
|
7
|
+
insert into t_address (address_id, street, postal_code, city, country) values (-2, 'rue Breydel, 4', '1040', 'Bruxelles', 'Belgium');
|
|
8
|
+
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Belliard 232', -2);
|
|
9
|
+
|
|
10
|
+
insert into t_address (address_id, street, postal_code, city, country) values (-1, 'Place Rogier, 16', '1210', 'Saint-Josse', 'Belgium');
|
|
11
11
|
insert into t_building (building_id, name, address_id) values ((select seq_building.nextval from dual), 'Covent Garden 2', -1);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
4
|
-
<modelVersion>4.0.0</modelVersion>
|
|
5
|
-
|
|
6
|
-
<groupId>@app.group.id@.@app.name@</groupId>
|
|
7
|
-
<artifactId>@app.name@</artifactId>
|
|
8
|
-
<version>0.1.0-SNAPSHOT</version>
|
|
9
|
-
<packaging>pom</packaging>
|
|
10
|
-
<name>@app.name@</name>
|
|
11
|
-
<description>Demo project for Spring Boot</description>
|
|
12
|
-
|
|
13
|
-
<parent>
|
|
14
|
-
<groupId>org.springframework.boot</groupId>
|
|
15
|
-
<artifactId>spring-boot-starter-parent</artifactId>
|
|
16
|
-
<version>3.1.1</version>
|
|
17
|
-
</parent>
|
|
18
|
-
|
|
19
|
-
<properties>
|
|
20
|
-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
21
|
-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
22
|
-
<java.version>17</java.version>
|
|
23
|
-
</properties>
|
|
24
|
-
|
|
25
|
-
<modules>
|
|
26
|
-
<module>@app.name@-web-rest</module>
|
|
27
|
-
<module>@app.name@-web</module>
|
|
28
|
-
</modules>
|
|
29
|
-
|
|
30
|
-
</project>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
|
|
6
|
+
<groupId>@app.group.id@.@app.name@</groupId>
|
|
7
|
+
<artifactId>@app.name@</artifactId>
|
|
8
|
+
<version>0.1.0-SNAPSHOT</version>
|
|
9
|
+
<packaging>pom</packaging>
|
|
10
|
+
<name>@app.name@</name>
|
|
11
|
+
<description>Demo project for Spring Boot</description>
|
|
12
|
+
|
|
13
|
+
<parent>
|
|
14
|
+
<groupId>org.springframework.boot</groupId>
|
|
15
|
+
<artifactId>spring-boot-starter-parent</artifactId>
|
|
16
|
+
<version>3.1.1</version>
|
|
17
|
+
</parent>
|
|
18
|
+
|
|
19
|
+
<properties>
|
|
20
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
21
|
+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
22
|
+
<java.version>17</java.version>
|
|
23
|
+
</properties>
|
|
24
|
+
|
|
25
|
+
<modules>
|
|
26
|
+
<module>@app.name@-web-rest</module>
|
|
27
|
+
<module>@app.name@-web</module>
|
|
28
|
+
</modules>
|
|
29
|
+
|
|
30
|
+
</project>
|
|
@@ -1,170 +1,170 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"newProjectRoot": "projects",
|
|
5
|
-
"defaultProject": "app",
|
|
6
|
-
"cli": {
|
|
7
|
-
"analytics": false
|
|
8
|
-
},
|
|
9
|
-
"projects": {
|
|
10
|
-
"app": {
|
|
11
|
-
"root": "",
|
|
12
|
-
"sourceRoot": "src",
|
|
13
|
-
"projectType": "application",
|
|
14
|
-
"prefix": "app",
|
|
15
|
-
"schematics": {
|
|
16
|
-
"@schematics/angular:component": {
|
|
17
|
-
"styleext": "scss"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"architect": {
|
|
21
|
-
"build": {
|
|
22
|
-
"builder": "ngx-build-plus:build",
|
|
23
|
-
"options": {
|
|
24
|
-
"outputPath": "dist",
|
|
25
|
-
"index": "src/index.html",
|
|
26
|
-
"main": "src/main.ts",
|
|
27
|
-
"polyfills": "src/polyfills.ts",
|
|
28
|
-
"tsConfig": "src/tsconfig.app.json",
|
|
29
|
-
"assets": [
|
|
30
|
-
"src/favicon.ico",
|
|
31
|
-
"src/assets",
|
|
32
|
-
{
|
|
33
|
-
"glob": "**/*",
|
|
34
|
-
"input": "node_modules/@eui/core/assets/",
|
|
35
|
-
"output": "./assets"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"glob": "**/*",
|
|
39
|
-
"input": "node_modules/@eui/styles/dist/assets/images",
|
|
40
|
-
"output": "./assets/images"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"styles": [
|
|
44
|
-
"node_modules/@eui/styles/dist/assets/fonts/webfont/Roboto/Roboto.css",
|
|
45
|
-
"node_modules/@eui/styles/dist/assets/fonts/font-awesome/font-awesome.min.css",
|
|
46
|
-
"node_modules/@eui/styles/dist/styles/eui-primeng.css",
|
|
47
|
-
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
48
|
-
"src/styles.scss"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
"configurations": {
|
|
52
|
-
"production": {
|
|
53
|
-
"fileReplacements": [
|
|
54
|
-
{
|
|
55
|
-
"replace": "src/environments/environment.ts",
|
|
56
|
-
"with": "src/environments/environment.prod.ts"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"optimization": true,
|
|
60
|
-
"outputHashing": "all",
|
|
61
|
-
"sourceMap": false,
|
|
62
|
-
"extractCss": true,
|
|
63
|
-
"namedChunks": true,
|
|
64
|
-
"aot": true,
|
|
65
|
-
"extractLicenses": true,
|
|
66
|
-
"vendorChunk": false,
|
|
67
|
-
"buildOptimizer": true,
|
|
68
|
-
"budgets": [
|
|
69
|
-
{
|
|
70
|
-
"type": "initial",
|
|
71
|
-
"maximumWarning": "3mb",
|
|
72
|
-
"maximumError": "5mb"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
"dev": {
|
|
77
|
-
"fileReplacements": [
|
|
78
|
-
{
|
|
79
|
-
"replace": "src/environments/environment.ts",
|
|
80
|
-
"with": "src/environments/environment.dev.ts"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"serve": {
|
|
87
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
88
|
-
"options": {
|
|
89
|
-
"browserTarget": "app:build"
|
|
90
|
-
},
|
|
91
|
-
"configurations": {
|
|
92
|
-
"proxy-mock": {
|
|
93
|
-
"browserTarget": "app:build",
|
|
94
|
-
"proxyConfig": "proxy-mock.conf.json"
|
|
95
|
-
},
|
|
96
|
-
"proxy": {
|
|
97
|
-
"browserTarget": "app:build",
|
|
98
|
-
"proxyConfig": "proxy.conf.json"
|
|
99
|
-
},
|
|
100
|
-
"production": {
|
|
101
|
-
"browserTarget": "app:build:production"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"test": {
|
|
106
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
107
|
-
"options": {
|
|
108
|
-
"main": "src/test.ts",
|
|
109
|
-
"polyfills": "src/polyfills.ts",
|
|
110
|
-
"tsConfig": "src/tsconfig.spec.json",
|
|
111
|
-
"karmaConfig": "src/karma.conf.js",
|
|
112
|
-
"styles": [
|
|
113
|
-
"src/styles.scss"
|
|
114
|
-
],
|
|
115
|
-
"scripts": [],
|
|
116
|
-
"assets": [
|
|
117
|
-
"src/favicon.ico",
|
|
118
|
-
"src/assets",
|
|
119
|
-
{
|
|
120
|
-
"glob": "**/*",
|
|
121
|
-
"input": "node_modules/@eui/core/assets/",
|
|
122
|
-
"output": "./assets"
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"lint": {
|
|
128
|
-
"builder": "@angular-devkit/build-angular:tslint",
|
|
129
|
-
"options": {
|
|
130
|
-
"tsConfig": [
|
|
131
|
-
"src/tsconfig.app.json",
|
|
132
|
-
"src/tsconfig.spec.json"
|
|
133
|
-
],
|
|
134
|
-
"exclude": [
|
|
135
|
-
"**/node_modules/**"
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"app-e2e": {
|
|
142
|
-
"root": "e2e/",
|
|
143
|
-
"projectType": "application",
|
|
144
|
-
"prefix": "",
|
|
145
|
-
"architect": {
|
|
146
|
-
"e2e": {
|
|
147
|
-
"builder": "@angular-devkit/build-angular:protractor",
|
|
148
|
-
"options": {
|
|
149
|
-
"protractorConfig": "e2e/protractor.conf.js",
|
|
150
|
-
"devServerTarget": "app:serve"
|
|
151
|
-
},
|
|
152
|
-
"configurations": {
|
|
153
|
-
"production": {
|
|
154
|
-
"devServerTarget": "app:serve:production"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"lint": {
|
|
159
|
-
"builder": "@angular-devkit/build-angular:tslint",
|
|
160
|
-
"options": {
|
|
161
|
-
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
162
|
-
"exclude": [
|
|
163
|
-
"**/node_modules/**"
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"defaultProject": "app",
|
|
6
|
+
"cli": {
|
|
7
|
+
"analytics": false
|
|
8
|
+
},
|
|
9
|
+
"projects": {
|
|
10
|
+
"app": {
|
|
11
|
+
"root": "",
|
|
12
|
+
"sourceRoot": "src",
|
|
13
|
+
"projectType": "application",
|
|
14
|
+
"prefix": "app",
|
|
15
|
+
"schematics": {
|
|
16
|
+
"@schematics/angular:component": {
|
|
17
|
+
"styleext": "scss"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"architect": {
|
|
21
|
+
"build": {
|
|
22
|
+
"builder": "ngx-build-plus:build",
|
|
23
|
+
"options": {
|
|
24
|
+
"outputPath": "dist",
|
|
25
|
+
"index": "src/index.html",
|
|
26
|
+
"main": "src/main.ts",
|
|
27
|
+
"polyfills": "src/polyfills.ts",
|
|
28
|
+
"tsConfig": "src/tsconfig.app.json",
|
|
29
|
+
"assets": [
|
|
30
|
+
"src/favicon.ico",
|
|
31
|
+
"src/assets",
|
|
32
|
+
{
|
|
33
|
+
"glob": "**/*",
|
|
34
|
+
"input": "node_modules/@eui/core/assets/",
|
|
35
|
+
"output": "./assets"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"glob": "**/*",
|
|
39
|
+
"input": "node_modules/@eui/styles/dist/assets/images",
|
|
40
|
+
"output": "./assets/images"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"styles": [
|
|
44
|
+
"node_modules/@eui/styles/dist/assets/fonts/webfont/Roboto/Roboto.css",
|
|
45
|
+
"node_modules/@eui/styles/dist/assets/fonts/font-awesome/font-awesome.min.css",
|
|
46
|
+
"node_modules/@eui/styles/dist/styles/eui-primeng.css",
|
|
47
|
+
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
48
|
+
"src/styles.scss"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"configurations": {
|
|
52
|
+
"production": {
|
|
53
|
+
"fileReplacements": [
|
|
54
|
+
{
|
|
55
|
+
"replace": "src/environments/environment.ts",
|
|
56
|
+
"with": "src/environments/environment.prod.ts"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"optimization": true,
|
|
60
|
+
"outputHashing": "all",
|
|
61
|
+
"sourceMap": false,
|
|
62
|
+
"extractCss": true,
|
|
63
|
+
"namedChunks": true,
|
|
64
|
+
"aot": true,
|
|
65
|
+
"extractLicenses": true,
|
|
66
|
+
"vendorChunk": false,
|
|
67
|
+
"buildOptimizer": true,
|
|
68
|
+
"budgets": [
|
|
69
|
+
{
|
|
70
|
+
"type": "initial",
|
|
71
|
+
"maximumWarning": "3mb",
|
|
72
|
+
"maximumError": "5mb"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"dev": {
|
|
77
|
+
"fileReplacements": [
|
|
78
|
+
{
|
|
79
|
+
"replace": "src/environments/environment.ts",
|
|
80
|
+
"with": "src/environments/environment.dev.ts"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"serve": {
|
|
87
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
88
|
+
"options": {
|
|
89
|
+
"browserTarget": "app:build"
|
|
90
|
+
},
|
|
91
|
+
"configurations": {
|
|
92
|
+
"proxy-mock": {
|
|
93
|
+
"browserTarget": "app:build",
|
|
94
|
+
"proxyConfig": "proxy-mock.conf.json"
|
|
95
|
+
},
|
|
96
|
+
"proxy": {
|
|
97
|
+
"browserTarget": "app:build",
|
|
98
|
+
"proxyConfig": "proxy.conf.json"
|
|
99
|
+
},
|
|
100
|
+
"production": {
|
|
101
|
+
"browserTarget": "app:build:production"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"test": {
|
|
106
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
107
|
+
"options": {
|
|
108
|
+
"main": "src/test.ts",
|
|
109
|
+
"polyfills": "src/polyfills.ts",
|
|
110
|
+
"tsConfig": "src/tsconfig.spec.json",
|
|
111
|
+
"karmaConfig": "src/karma.conf.js",
|
|
112
|
+
"styles": [
|
|
113
|
+
"src/styles.scss"
|
|
114
|
+
],
|
|
115
|
+
"scripts": [],
|
|
116
|
+
"assets": [
|
|
117
|
+
"src/favicon.ico",
|
|
118
|
+
"src/assets",
|
|
119
|
+
{
|
|
120
|
+
"glob": "**/*",
|
|
121
|
+
"input": "node_modules/@eui/core/assets/",
|
|
122
|
+
"output": "./assets"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"lint": {
|
|
128
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
|
129
|
+
"options": {
|
|
130
|
+
"tsConfig": [
|
|
131
|
+
"src/tsconfig.app.json",
|
|
132
|
+
"src/tsconfig.spec.json"
|
|
133
|
+
],
|
|
134
|
+
"exclude": [
|
|
135
|
+
"**/node_modules/**"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"app-e2e": {
|
|
142
|
+
"root": "e2e/",
|
|
143
|
+
"projectType": "application",
|
|
144
|
+
"prefix": "",
|
|
145
|
+
"architect": {
|
|
146
|
+
"e2e": {
|
|
147
|
+
"builder": "@angular-devkit/build-angular:protractor",
|
|
148
|
+
"options": {
|
|
149
|
+
"protractorConfig": "e2e/protractor.conf.js",
|
|
150
|
+
"devServerTarget": "app:serve"
|
|
151
|
+
},
|
|
152
|
+
"configurations": {
|
|
153
|
+
"production": {
|
|
154
|
+
"devServerTarget": "app:serve:production"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"lint": {
|
|
159
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
|
160
|
+
"options": {
|
|
161
|
+
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
162
|
+
"exclude": [
|
|
163
|
+
"**/node_modules/**"
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|