Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
develop to master (#41)
Browse files Browse the repository at this point in the history
* child multi mapping validation correction

* Add CI build process, update Java packages

* Edit README

* changed date format to MM/DD/YYYY

* date changes and report time change

* Add nvmrc file

* CodeQl issue fixed: Use of password hash with insufficient computational effort

* Revert " CodeQl issue fixed: Use of password hash with insufficient computational effort"

---------

Co-authored-by: Karyamsetty Helen Grace <[email protected]>
Co-authored-by: Mithun James <[email protected]>
Co-authored-by: Ancy Riju <[email protected]>
Co-authored-by: Pramit Kumar Dutta <[email protected]>
Co-authored-by: Neeraj Kumar <[email protected]>
  • Loading branch information
6 people authored Feb 8, 2024
1 parent c8cdd40 commit bc49777
Show file tree
Hide file tree
Showing 13 changed files with 814 additions and 347 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ testem.log
.DS_Store
Thumbs.db
/.vscode
src/environments/environment.ci.ts
target
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
17.0
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
73 changes: 0 additions & 73 deletions Gruntfile.js

This file was deleted.

13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,18 @@ To install the ECD module, please follow these steps:
- Run the command `npm start`.
3. Open your browser and access `http://localhost:4200/#/login` to view the login page of module.

## Configuration
The ECD module can be configured by editing the config.js file. This file contains all of the settings for the module, such as the database connection string, the user authentication mechanism, and the role hierarchy.
## Building war files

To build deployable war files
```bash
mvn -B package --file pom.xml -P <profile_name>
```

The available profiles include dev, local, test, and ci.
Refer to `src/environments/environment.ci.template` file and ensure that the right environment variables are set for the build.

Packing with `ci` profile calls `build-ci` script in `package.json`.
It creates a `environment.ci.ts` file with all environment variables used in the generated build.

## Usage

Expand Down
21 changes: 21 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,27 @@
],
"outputHashing": "all"
},
"ci": {
"budgets": [
{
"type": "initial",
"maximumWarning": "4mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "1mb",
"maximumError": "2mb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.ci.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
Expand Down
Loading

0 comments on commit bc49777

Please sign in to comment.