Skip to content
Snippets Groups Projects
  • Makhtar DIAGNE's avatar
    Java11 (#41) · d3ea578b
    Makhtar DIAGNE authored
    
    * [TECH] Nginx add referential apps
    
    * [TECH] Fix theme default logo
    
    * [TECH] Fixes from PR review
    
    * [TECH] Strange fixes for ui-referential (why was it working)
    
    * Update ui/ui-frontend/projects/identity/src/locale/messages.xlf
    
    Co-authored-by: default avatarCouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com>
    
    * [TECH] Merge fixes
    
    * compilation works
    
    * it runs
    
    * fix login/pwd authentication
    
    * handle provided username
    
    * some refactoring
    
    * login/pwd + authn delegation works (with or without service)
    
    * surrogation works
    
    * change password is triggered when the user is already authenticated using the doChangePassword parameter
    
    * password management
    
    * final tests on surrogation
    
    * WIP MFA
    
    * MFA works
    
    * [TECH]  Update project from JAVA8 to JAVA11 with dependencies
    
    * [TECH] Remove unused jks files in integration data
    
    * fix back links
    
    * don't lost surrogation when bad password
    
    * [TECH] CAS set metrics dependency for prometheus
    
    * clean Spring config and open management endpoints
    
    * fix surrogation lost on bad password
    
    * [TECH] Configure Prometheus for SpringBoot services
    
    * [TECH] Use smtp4dev in our dev environment
    
    * [TECH] RPM update jdk from 1.8 to 11
    
    * [DEVOPS] Fix unknown variable vitamui_services.x.dir.assets
    
    * [DEVOPS] Update scripts for deployment
    
    * [DLAB-3453] Update operation in order to extend it
    
    * [DLAB-3453] Remove priority on OperationStatus
    
    * [US DLAB-3806] Add pdf generation with images[US DLAB-3806] Add TU on PDF generation
    
    * ⅜TECH] Fix merge deployment task
    
    * fix session hard timeout instead of idle timeout
    
    * upgrade to CAS v6.1.6 and pac4j v4.0.0
    
    * [TECH] CAS Security : add hostnameverifier optional property, activated by default
    
    * [devops] add validation of java 11
    
    * [DEVOPS] Fix vitam-ui dpeloyment
    
    * [WIP] Upgrade logstash config according to Java 11
    
    * [TECH] Update deployment
    
    * [TECH] Security / Authentification : Fix  token increment
    
    * [TECH] Fix deployment maven build
    
    * RABB-519: corrige l'erreur en cas de ticket expiré
    
    * [TECH] Remove compiler overloading in cas server pom
    
    * [DEVOPS] Improve mongo deployment
    
    * [TECH] Update nginx conf in order to view objects
    
    * [devops] add tags for service installation
    
    * [DEVOPS] Add vitamui uninstallation
    
    * [devops] put consul as vitam service
    
    * [TECH] Frontend : Some cleaning & optimization
    
    optimisation
    
    * [TECH] FIx ui frontend plugin & configuration
    
    * [TECH] Fix recette configuration
    
    * [TECH] CAS : Set default data for twilio account
    
    * [TECH] Fix deployment uninstall when file is absent
    
    * [TECH] Cas : fix war build with tomcat dependencies
    
    * [TECH] Fix ui frontend plugin and configuration (bis)
    
    * [TECH] CAS 6.1.6 : update static templates, js & add theming variables
    
    * [FIX RABB-579] Fix error sending mail from iam-internal
    
    * [TECH] Frontend use assets from ui-frontend-common & update branding
    
    * [FIX RABB-539] Handle redirections for CAS Authentication failure
    
    * [TECH] Frontend : add gzip compression
    
    * [TECH] Uninstall remove assets
    
    * [FIX RABB-555] Fix cas deployment config and password init for a new user
    
    * [TECH] Fix merge
    
    * [TECH] Fix merges
    
    * Update Jenkinsfile
    
    Changed label from "contrib" to "java11" for building purpose
    
    * Update Jenkinsfile
    
    * fix cas-server dependencies, styles ui-ref, deployment archive
    
    * fix test iam-internal
    
    * redo tar.gz
    
    * zip deployment
    
    * add prod profile for frontend
    
    * fix maven-assembly-plugin version and webpack profile
    
    * Try generating zip package archive
    
    Co-authored-by: default avatarMakhtar DIAGNE <makhtar.diagne@teamdlab.com>
    Co-authored-by: default avatarCouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com>
    Co-authored-by: default avatarJérôme LELEU <jerome.leleu@teamdlab.com>
    Co-authored-by: default avatarMathieu Leguay <mathieu.leguay@teamdlab.com>
    Co-authored-by: default avatarFranck Bebel <franck.bebel@ouidou.fr>
    Co-authored-by: default avatardeviller <burma@free.fr>
    Co-authored-by: default avatarThierry Devillechabrolle <60743409+TDevillechabrolle@users.noreply.github.com>
    Co-authored-by: default avatarapp-jenkins <romain.gordolo@xelians.fr>
    Co-authored-by: default avatarGaëlle FOURNIER <gaelle.fournier.work@gmail.com>
    Unverified
    d3ea578b
To learn more about this project, read the wiki.
README.md 10.58 KiB

VitamUI

VitamUI project.

Prerequisites

  • Install Java at least version 8
  • Install Maven
  • Install Git
  • Install NodeJs
  • Configure default registry: npm config set registry https://registry.npmjs.org/
  • Environment variable :
    • Vitam developer
      • Specify the environment variables : SERVICE_NEXUS_URL and SERVICE_REPOSITORY_URL
      • The maven command. Params between {} are optional: mvn clean install {-Ddependency-check.skip=true} -Denv.SERVICE_NEXUS_URL=... -Denv.SERVICE_REPOSITORY_URL=... {-DskipTests} -Pvitam
    • Non vitam developer

Clone

Execute this command to clone the project from the bitbucket repo:

git clone https://github.com/vitam-prg/vitamUI.git

Global Maven profiles

Without a profile, only Java projects are build. In order to build and package UI projects (i.e. Java backend & Angular frontend altogether), we use the plugin frontend-maven-plugin provided by com.github.eirslett.

dev

This profile is used to build the entire project for dev purposes, backend & frontend included.

  • UI modules are packaged with both Java & Angular.
  • Angular projects are build without optimization in order to reduce global build time.
  • Jasmine Karma tests are launched with the headless chrome.

prod

This profile is used to build the entire project for prod purposes, backend/frontend included.

  • UI modules are packaged with both Java & Angular.
  • Angular projects are build with optimization.
  • Jasmine Karma tests are launched with the headless chrome.

npm-publish

This profile is used to build, test & push npm packages to the npm repository.

  • It should be used in ui/ui-frontend-common to push the npm package of the common UI library.

rpm

This profile is used to build rpm packages. Only Maven modules with rpm.skip = false in their properties are eligible.