diff --git a/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/Customer.java b/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/Customer.java index d57e7a799cbe849022ed422ec04bdd49746a72d1..1add4d97f2c321b90b76ae361aa36f03546abd0e 100644 --- a/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/Customer.java +++ b/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/Customer.java @@ -113,11 +113,4 @@ public class Customer extends IdDocument { @NotNull private GraphicIdentity graphicIdentity; - - @Override public String toString() { - return "Customer{" + "identifier='" + identifier + '\'' + ", code='" + code + '\'' + ", name='" + name + '\'' + ", companyName='" + companyName + '\'' - + ", enabled=" + enabled + ", language='" + language + '\'' + ", passwordRevocationDelay=" + passwordRevocationDelay + ", otp=" + otp - + ", emailDomains=" + emailDomains + ", defaultEmailDomain='" + defaultEmailDomain + '\'' + ", address=" + address + ", readonly=" + readonly - + ", subrogeable=" + subrogeable + ", graphicIdentity=" + graphicIdentity + '}'; - } } diff --git a/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/GraphicIdentity.java b/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/GraphicIdentity.java index 1553938f328dd7ea3df4db576ae031786b0e569c..aaa9f7a96418f7d9c50624f945b6988dd752fb3d 100644 --- a/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/GraphicIdentity.java +++ b/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/domain/GraphicIdentity.java @@ -51,9 +51,4 @@ public class GraphicIdentity { // Theme based Graphical identity Map<String, String> themeColors; - - @Override public String toString() { - return "GraphicIdentity{" + "hasCustomGraphicIdentity=" + hasCustomGraphicIdentity + ", logoDataBase64='" + logoDataBase64 + '\'' + ", themeColors=" - + themeColors + '}'; - } } diff --git a/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/service/CustomerInternalService.java b/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/service/CustomerInternalService.java index 526e22a92945edf6f3a93e888b737adecc1ff74c..22065757bd75ddc232f41ab0cb23d1ab51cc92cf 100644 --- a/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/service/CustomerInternalService.java +++ b/api/api-iam/iam-internal/src/main/java/fr/gouv/vitamui/iam/internal/server/customer/service/CustomerInternalService.java @@ -175,10 +175,8 @@ public class CustomerInternalService extends VitamUICrudService<CustomerDto, Cus Assert.isNull(dto.getId(), "The DTO identifier must be null for creation."); beforeCreate(dto); dto.setId(generateSuperId()); - LOGGER.debug("DTO: " + dto); final Customer entity = convertFromDtoToEntity(dto); - LOGGER.debug("entity: " + entity); if (customerData.getLogo().isPresent()) { try { entity.getGraphicIdentity().setHasCustomGraphicIdentity(true); @@ -327,23 +325,18 @@ public class CustomerInternalService extends VitamUICrudService<CustomerDto, Cus processGraphicIdentityPatch(newCustomGraphicIdentityValue, customer, logo); break; case "themeColors": - LOGGER.debug("Update Theme Colors"); - // Check value as map ? Object themeColorsValue = entry.getValue(); - LOGGER.debug("Theme: " + themeColorsValue); if (themeColorsValue instanceof Map) { Map<String, String> themeColors = (Map)themeColorsValue; - LOGGER.debug("Colors: " + themeColorsValue); customer.getGraphicIdentity().setThemeColors(themeColors); } else { - LOGGER.error("Cannot instantiate themeColors value as a Map<String, String>"); + LOGGER.error("Cannot instantiate themeColors value as a Map<String, String>. Ignore it"); } break; default : throw new IllegalArgumentException("Unable to patch customer " + customer.getId() + ": key " + entry.getKey() + " is not allowed"); } } - LOGGER.debug("Customer: ", customer); iamLogbookService.updateCustomerEvent(customer, logbooks); } diff --git a/deployment/environment/group_vars/all/vitamui_services.yml.rej b/deployment/environment/group_vars/all/vitamui_services.yml.rej new file mode 100644 index 0000000000000000000000000000000000000000..1747c1cb6044f6ccc2fb5a43210db469777a9ffd --- /dev/null +++ b/deployment/environment/group_vars/all/vitamui_services.yml.rej @@ -0,0 +1,17 @@ +diff a/deployment/environment/group_vars/all/vitamui_services.yml b/deployment/environment/group_vars/all/vitamui_services.yml (rejected hunks) +@@ -157,6 +157,7 @@ vitamui_services: + dirs: + config: /vitamui/conf/ui-identity + log: /vitamui/log/ui-identity ++ assets: /vitamui/assets/ui-identity + + server_name: "{{ vitamui_env_name }}-identity.teamvitamui.com" + java_opts: -Xms128m -Xmx512m -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true +@@ -211,6 +212,7 @@ vitamui_services: + dirs: + config: /vitamui/conf/ui-portal + log: /vitamui/log/ui-portal ++ assets: /vitamui/assets/ui-portal + server_name: "{{ vitamui_env_name }}-portal.teamvitamui.com" + java_opts: -Xms128m -Xmx512m -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true + access_log_enabled: false diff --git a/deployment/roles/vitamui/templates/ui-identity-admin/application.yml.j2 b/deployment/roles/vitamui/templates/ui-identity-admin/application.yml.j2 index 311659c27ab4aac6198d75179c7b867721d7c187..486cd21537e58a1bd6f595b5c46b1a379259377a 100644 --- a/deployment/roles/vitamui/templates/ui-identity-admin/application.yml.j2 +++ b/deployment/roles/vitamui/templates/ui-identity-admin/application.yml.j2 @@ -62,6 +62,7 @@ ui-identity: key-password: {{ password_truststore }} # TODO OMA : revoir hostname-verification: false {% endif %} + assets: "{{ vitamui_services.ui_identity_admin.dirs.assets }}" base-url: {% if vitamui.portal.base_url is defined %} portal: "{{ vitamui.portal.base_url }}" diff --git a/deployment/roles/vitamui/templates/ui-identity/application.yml.j2 b/deployment/roles/vitamui/templates/ui-identity/application.yml.j2 index edb5d4bb8205c3d12c9fb03eea2ed764a01a7f24..7ad58cc92d2e2d0d5675a702a3f9b93916ce761e 100644 --- a/deployment/roles/vitamui/templates/ui-identity/application.yml.j2 +++ b/deployment/roles/vitamui/templates/ui-identity/application.yml.j2 @@ -59,6 +59,7 @@ ui-identity: key-password: {{ password_truststore }} hostname-verification: false {%endif %} + assets: "{{ vitamui_services.ui_identity.dirs.assets }}" base-url: {% if vitamui.portal.base_url is defined %} portal: "{{ vitamui.portal.base_url }}" diff --git a/deployment/roles/vitamui/templates/ui-portal/application.yml.j2 b/deployment/roles/vitamui/templates/ui-portal/application.yml.j2 index 5ddb60e4f998f9f587960c172c63c0feb987514f..d82635dfcb4ae25a2b1fcc87138799a5fb006a82 100644 --- a/deployment/roles/vitamui/templates/ui-portal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/ui-portal/application.yml.j2 @@ -54,6 +54,7 @@ ui-portal: key-path: {{ vitamui_folder_conf }}/truststore_{{ vitamui_certificate_client_type }}.jks key-password: {{ password_truststore }} # TODO OMA : revoir hostname-verification: false + assets: "{{ vitamui_services.ui_portal.dirs.assets }}" {% endif %} {% if vitamui.portal.base_url is undefined %} base-url: diff --git a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/config/UIPropertiesImpl.java b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/config/UIPropertiesImpl.java index c88618c6fd386b3b33aecbcd36a931ce8a1cf789..7313abafd740b1654a1adbb9a80634c7d0c52a8c 100644 --- a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/config/UIPropertiesImpl.java +++ b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/config/UIPropertiesImpl.java @@ -65,4 +65,5 @@ public class UIPropertiesImpl implements UIProperties { private Map<String, String> themeColors; + private String assets; } diff --git a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/property/UIProperties.java b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/property/UIProperties.java index 04dc4634f0ed5b08469a3e78f464cd1425491734..5b6d657d96fb52879e081aac72efd1155db72b40 100644 --- a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/property/UIProperties.java +++ b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/property/UIProperties.java @@ -50,6 +50,6 @@ public interface UIProperties { public Map<String, String> getThemeColors(); - public String getLogoURI(); + public String getAssets(); } diff --git a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/rest/ApplicationController.java b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/rest/ApplicationController.java index 73e6c6bbf533d94d7e67477700b40f545b9d41e0..32b19a2ae4581b9b532dd544e6234fe975890821 100644 --- a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/rest/ApplicationController.java +++ b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/rest/ApplicationController.java @@ -94,4 +94,20 @@ public class ApplicationController extends AbstractUiRestController { LOGGER.info("Get configuration"); return service.getConf(); } + + /** + * Return asset file as base64 data + * @param fileName the file to get from assets + * @return the file as base64 string + */ + @ApiOperation(value = "Get Asset File") + @GetMapping + @RequestMapping(method = RequestMethod.GET, value = "/asset") + @ResponseStatus(HttpStatus.OK) + public Map<String, Object> getAsset(@RequestParam() final String fileName) { + LOGGER.info("Get Asset {}", fileName); + Map<String, Object> file = new HashMap<>(); + file.put(fileName, service.getBase64Asset(fileName)); + return file; + } } diff --git a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/service/ApplicationService.java b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/service/ApplicationService.java index 2a08f359affbe6078e8c354e7d25150000d2dd93..ac5488b2f7cc982f9dcaa999df423b232b2484cd 100644 --- a/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/service/ApplicationService.java +++ b/ui/ui-commons/src/main/java/fr/gouv/vitamui/ui/commons/service/ApplicationService.java @@ -124,19 +124,6 @@ public class ApplicationService extends AbstractCrudService<ApplicationDto> { configurationData.put(CommonConstants.LOGOUT_REDIRECT_UI_URL, casLogoutUrl.getValueWithRedirection(uiRedirectUrl)); configurationData.put(CommonConstants.THEME_COLORS, properties.getThemeColors()); - final Path logoPath = Paths.get(properties.getLogoURI()); - String base64Logo = null; - try { - base64Logo = DatatypeConverter.printBase64Binary(Files.readAllBytes(logoPath)); - } - catch (IOException e) { - LOGGER.warn("Error while resolve application logo"); - e.printStackTrace(); - } - if (base64Logo != null) { - configurationData.put(CommonConstants.LOGO, base64Logo); - } - return configurationData; } @@ -148,4 +135,18 @@ public class ApplicationService extends AbstractCrudService<ApplicationDto> { public ApplicationExternalRestClient getClient() { return client; } + + public String getBase64Asset(String fileName) { + final Path assetFile = Paths.get(properties.getAssets(), fileName); + String base64Logo = null; + try { + base64Logo = DatatypeConverter.printBase64Binary(Files.readAllBytes(assetFile)); + } + catch (IOException e) { + LOGGER.warn("Error while resolve file"); + e.printStackTrace(); + return null; + } + return base64Logo; + } } diff --git a/ui/ui-frontend-common/src/app/modules/api/application-api.service.ts b/ui/ui-frontend-common/src/app/modules/api/application-api.service.ts index cb6af8207e03a112780dc08b7a894c5cdf584d16..2a3e96ce82b0aac915c4da4ea3f3b0a6494ea7f6 100644 --- a/ui/ui-frontend-common/src/app/modules/api/application-api.service.ts +++ b/ui/ui-frontend-common/src/app/modules/api/application-api.service.ts @@ -60,4 +60,8 @@ export class ApplicationApiService { return this.http.get<AppConfiguration>(this.apiUrl + '/conf'); } + getAsset(fileName: string): Observable<AppConfiguration> { + return this.http.get<AppConfiguration>(`${this.apiUrl}/asset?fileName=${fileName}`); + } + } diff --git a/ui/ui-frontend-common/src/app/modules/api/customer-api.service.spec.ts b/ui/ui-frontend-common/src/app/modules/api/customer-api.service.spec.ts deleted file mode 100644 index 8a5cde2c94941f02220700b53b234d7d59311c5e..0000000000000000000000000000000000000000 --- a/ui/ui-frontend-common/src/app/modules/api/customer-api.service.spec.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { HttpClientTestingModule } from '@angular/common/http/testing'; -import { TestBed } from '@angular/core/testing'; - -import { BASE_URL } from '../injection-tokens'; -import { ApplicationApiService } from './application-api.service'; -import {CustomerApiService} from "../../../../../ui-frontend/projects/identity/src/app/core/api/customer-api.service"; - -describe('CustomerApiService', () => { - beforeEach(() => TestBed.configureTestingModule({ - imports: [HttpClientTestingModule], - providers: [ - { provide: BASE_URL, useValue: '/fake-api' }, - ] - })); - - it('should be created', () => { - const service: CustomerApiService = TestBed.get(CustomerApiService); - expect(service).toBeTruthy(); - }); -}); diff --git a/ui/ui-frontend-common/src/app/modules/api/customer-api.service.ts b/ui/ui-frontend-common/src/app/modules/api/customer-api.service.ts deleted file mode 100644 index 9d3eb1e145c0906985ae1200ec78af6c3b4288ac..0000000000000000000000000000000000000000 --- a/ui/ui-frontend-common/src/app/modules/api/customer-api.service.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; -import { Inject, Injectable } from '@angular/core'; -import { Observable } from 'rxjs'; - -import { BASE_URL } from '../injection-tokens'; -import {AppConfiguration, Application, Customer} from '../models'; - -@Injectable({ - providedIn: 'root' -}) -export class CustomerApiService { - - private readonly apiUrl: string; - - constructor(private http: HttpClient, @Inject(BASE_URL) baseUrl: string) { - this.apiUrl = 'identity-api/customers'; // HTD: Get Identity Base URI at start ! - } - - getSystemCustomer(): Observable<Customer> { - return this.http.get<Customer>(`${this.apiUrl}/system_customer`); - } - -} diff --git a/ui/ui-frontend-common/src/app/modules/models/customer/customer.interface.ts b/ui/ui-frontend-common/src/app/modules/models/customer/customer.interface.ts index 5775ae83e660968833f0083645b8f93e899228e9..ba46ecf2456ab2a4345de80ba64a319c2851ce96 100644 --- a/ui/ui-frontend-common/src/app/modules/models/customer/customer.interface.ts +++ b/ui/ui-frontend-common/src/app/modules/models/customer/customer.interface.ts @@ -55,5 +55,5 @@ export interface Customer extends Id { owners: Owner[]; readonly: boolean; hasCustomGraphicIdentity: boolean; - themeColors: any; + themeColors: Map<string, string>; } diff --git a/ui/ui-frontend-common/src/app/modules/startup.service.ts b/ui/ui-frontend-common/src/app/modules/startup.service.ts index d4b8565532d0d5cb5a8f63040e93b730af391b03..cc9c22a021ec27b644405181a2b5e378d042519e 100644 --- a/ui/ui-frontend-common/src/app/modules/startup.service.ts +++ b/ui/ui-frontend-common/src/app/modules/startup.service.ts @@ -72,7 +72,6 @@ export class StartupService { private logger: Logger, private authService: AuthService, private applicationService: ApplicationService, - private customerApiService: CustomerApiService, private securityApi: SecurityApiService, private applicationApi: ApplicationApiService, @Inject(WINDOW_LOCATION) private location: any @@ -89,6 +88,10 @@ export class StartupService { this.authService.logoutRedirectUiUrl = this.configurationData.LOGOUT_REDIRECT_UI_URL; }) .then(() => this.refreshUser().toPromise()) + .then(() => this.applicationApi.getAsset('navbar-logo.svg').toPromise()) + .then((data: any) => { + this.configurationData.LOGO = data['navbar-logo.svg']; + }) .then(() => { const applicationColorMap = this.configurationData.THEME_COLORS; @@ -103,9 +106,6 @@ export class StartupService { '--vitamui-secondary-dark-5': getColorFromMaps('vitamui-secondary-dark', '#52aa9a', applicationColorMap, customerColorMap) }; - const logo64 = this.configurationData.LOGO; - console.log('Logo: ', logo64); - for (const themeColorsKey in themeColors) { if (themeColors.hasOwnProperty(themeColorsKey)) { this.themeWrapper.style.setProperty(themeColorsKey, themeColors[themeColorsKey]); diff --git a/ui/ui-frontend-common/src/app/modules/utils/colors.util.ts b/ui/ui-frontend-common/src/app/modules/utils/colors.util.ts index 1f6474cb2dda6fd24d07b7017fd7b8a5c187cf85..922224386fc20132b7bf247046ab80fad9443e86 100644 --- a/ui/ui-frontend-common/src/app/modules/utils/colors.util.ts +++ b/ui/ui-frontend-common/src/app/modules/utils/colors.util.ts @@ -17,6 +17,7 @@ class HSL { * @param defaultColor the color default value if no overriding in priority and fallback maps * @param fallbackMap the fallback map. The function will search in it if no color is found in priority map. Should be application config * @param priorityMap the priority map. If the color is found in it, the fallbackMap is not used. Should be customer config + * @return The hex RBG color find or computed from all sources */ export function getColorFromMaps(name: string, defaultColor: string, fallbackMap: any, priorityMap: any): string { diff --git a/ui/ui-frontend-common/src/sass/material/_menu.scss b/ui/ui-frontend-common/src/sass/material/_menu.scss index 11df22be4e7ba60a6b220cbd8b38924865c58f08..fb5dfb630d026056121f2a01c6c2cb3703e82166 100644 --- a/ui/ui-frontend-common/src/sass/material/_menu.scss +++ b/ui/ui-frontend-common/src/sass/material/_menu.scss @@ -9,7 +9,7 @@ } .mat-menu-item { - color: c; + color: var(--vitamui-primary); background: white; font-size: 16px; font-weight: 500; diff --git a/ui/ui-frontend/projects/identity/src/app/customer/customer-create/customer-create.component.html b/ui/ui-frontend/projects/identity/src/app/customer/customer-create/customer-create.component.html index 24eb19217eda8363ea4c7d271b7bd09b7255b710..ff6e9a9c531a8a5f57596d84ba1ec9a0f0dd9a4b 100644 --- a/ui/ui-frontend/projects/identity/src/app/customer/customer-create/customer-create.component.html +++ b/ui/ui-frontend/projects/identity/src/app/customer/customer-create/customer-create.component.html @@ -182,15 +182,13 @@ </p> </div> </div> + + <app-customer-colors-input formControlName="themeColors"></app-customer-colors-input> </div> <div class="error-message" *ngIf="hasError"> {{ message }} </div> - <!-- TODO: Color picker --> - <!-- FIXME: Placeholder => placeholder="domaine.xyz" i18n-placeholder="Email domain input placeholder@@customerCreateEmailDomainInputPlaceholder" --> - <app-customer-colors-input formControlName="themeColors"></app-customer-colors-input> - <div class="actions"> <button type="button" class="btn primary" cdkStepperNext [disabled]="!thirdStepValid()" i18n="Create owner button@@customerCreateCreateOwnerButton"> Créer le propriétaire diff --git a/ui/ui-frontend/projects/identity/src/app/customer/customer-preview/graphic-identity-tab/graphic-identity-update/graphic-identity-update.component.html b/ui/ui-frontend/projects/identity/src/app/customer/customer-preview/graphic-identity-tab/graphic-identity-update/graphic-identity-update.component.html index 3978260f7d0a44406dcdc81c11473bde7669794a..7fe8324d0d809456df752209469ebda1f43a765d 100644 --- a/ui/ui-frontend/projects/identity/src/app/customer/customer-preview/graphic-identity-tab/graphic-identity-update/graphic-identity-update.component.html +++ b/ui/ui-frontend/projects/identity/src/app/customer/customer-preview/graphic-identity-tab/graphic-identity-update/graphic-identity-update.component.html @@ -34,7 +34,9 @@ {{ message }} </div> - <app-customer-colors-input formControlName="themeColors"></app-customer-colors-input> + <div style="padding-bottom: 30px"> + <app-customer-colors-input formControlName="themeColors"></app-customer-colors-input> + </div> <div class="actions"> <button type="button" class="btn primary" [disabled]="!isGraphicIdentityFormValid()" i18n="Update customer graphic identity@@updateCustomerGraphicIdentityButton" (click)="updateGraphicIdentity()">Valider</button> diff --git a/ui/ui-identity/src/main/config/ui-identity-application-dev.yml b/ui/ui-identity/src/main/config/ui-identity-application-dev.yml index 56bd8c4819cbf881ce2fc38662b61050a7b9ee29..bbb2e5297216f6edf16d7b6b04693a140cfe6b88 100644 --- a/ui/ui-identity/src/main/config/ui-identity-application-dev.yml +++ b/ui/ui-identity/src/main/config/ui-identity-application-dev.yml @@ -15,9 +15,7 @@ ui-identity: vitamui-primary-light: "#992fb1" vitamui-primary-light-20: "#ba52d1" vitamui-secondary: "#7FA1D4" - - logoURI: "/home/lubla/vitamui/test_logo.png" - + assets: /vitamui/assets/ui-identity iam-external-client: server-host: localhost server-port: 8083 diff --git a/ui/ui-portal/src/main/config/ui-portal-application-dev.yml b/ui/ui-portal/src/main/config/ui-portal-application-dev.yml index 2566f06f8957452a5ce35591cd6adfeebc2b163e..80d4ac1d2e1da5198928730042eafb8b25d4dd8c 100644 --- a/ui/ui-portal/src/main/config/ui-portal-application-dev.yml +++ b/ui/ui-portal/src/main/config/ui-portal-application-dev.yml @@ -30,9 +30,7 @@ ui-portal: vitamui-primary-light: "#992fb1" vitamui-primary-light-20: "#ba52d1" vitamui-secondary: "#7FA1D4" - - logoURI: "/home/lubla/vitamui/test_logo.png" - + assets: /vitamui/assets/ui-portal iam-external-client: server-host: localhost server-port: 8083 diff --git a/ui/ui-portal/src/test/java/fr/gouv/vitamui/portal/rest/ApplicationControllerTest.java b/ui/ui-portal/src/test/java/fr/gouv/vitamui/portal/rest/ApplicationControllerTest.java index 01517d37ee3d55e9daf4a045fcf5ab2727e2a0dc..74d0b2d1b485655781ac0a761abced8a33d868fa 100644 --- a/ui/ui-portal/src/test/java/fr/gouv/vitamui/portal/rest/ApplicationControllerTest.java +++ b/ui/ui-portal/src/test/java/fr/gouv/vitamui/portal/rest/ApplicationControllerTest.java @@ -49,7 +49,6 @@ public class ApplicationControllerTest extends UIControllerTest<ApplicationDto> @Test public void testfindApplicationsByNames() throws Exception { - LOGGER.debug("testfindApplicationsByName"); final ResultActions result = performGet(StringUtils.EMPTY, ImmutableMap.of("term", "ab", "lang", "ENGLISH")); }