Skip to content

Commit

Permalink
Merge pull request #783 from ckm007/master
Browse files Browse the repository at this point in the history
updating master with 1.1.5.2 release changes
  • Loading branch information
ckm007 authored Oct 21, 2021
2 parents 92c027c + 5ffe330 commit 0c5b38d
Show file tree
Hide file tree
Showing 92 changed files with 7,908 additions and 2,919 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/push_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,16 @@ jobs:

- name: Build with Maven
run: |
cd kernel
#cd kernel
#mvn -B package -s $GITHUB_WORKSPACE/settings.xml --file pom.xml
#cd ..
cd pre-registration-booking-service
mvn -B package -s $GITHUB_WORKSPACE/settings.xml --file pom.xml
- name: Publish the maven package
run: |
#cd kernel && mvn deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
#cd ..
cd kernel && mvn deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
cd ..
cd pre-registration-booking-service && mvn deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
Expand Down Expand Up @@ -153,7 +156,7 @@ jobs:
- name: Setup the settings file for ossrh server
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.RELEASE_USER}}</username> <password>${{secrets.RELEASE_TOKEN}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> <profile> <id>sonar</id> <properties> <sonar.sources>.</sonar.sources> <sonar.host.url>https://sonarcloud.io</sonar.host.url> </properties> <activation> <activeByDefault>false</activeByDefault> </activation> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.ossrh_user}}</username> <password>${{secrets.ossrh_secret}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> <profile> <id>sonar</id> <properties> <sonar.sources>.</sonar.sources> <sonar.host.url>https://sonarcloud.io</sonar.host.url> </properties> <activation> <activeByDefault>false</activeByDefault> </activation> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml


- name: Build with Maven
Expand Down Expand Up @@ -189,11 +192,6 @@ jobs:
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.RELEASE_USER}}</username> <password>${{secrets.RELEASE_TOKEN}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> <profile> <id>sonar</id> <properties> <sonar.sources>.</sonar.sources> <sonar.host.url>https://sonarcloud.io</sonar.host.url> </properties> <activation> <activeByDefault>false</activeByDefault> </activation> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml


- name: Publish the maven package
run: |
cd pre-registration-booking-service && mvn deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
# - name: Analyze with SonarCloud
# run: |
# cd pre-registration-booking-service
Expand Down
30 changes: 15 additions & 15 deletions admin-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion admin-ui/src/app/app-config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export class AppConfigService {
this.http.get(this.appConfig.baseUrl + 'masterdata/applicationconfigs').subscribe(
response => {
this.appConfig["primaryLangCode"]= response["response"]["primaryLangCode"];
this.appConfig["secondaryLangCode"] = response["response"]["secondaryLangCode"];
this.appConfig["secondaryLangCode"] = response["response"]["secondaryLangCode"];
this.appConfig["version"]= response["response"]["version"];
},
error => {
console.log(error);
Expand Down
3 changes: 2 additions & 1 deletion admin-ui/src/app/core/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class HeaderComponent implements OnInit {
};

zone: string;
appVersion = version;
appVersion : "";
constructor(
public sideMenuService: SideMenuService,
private translateService: TranslateService,
Expand All @@ -43,6 +43,7 @@ export class HeaderComponent implements OnInit {
) {
// tslint:disable-next-line:no-string-literal
translateService.use(appConfigService.getConfig()['primaryLangCode']);
this.appVersion = appConfigService.getConfig()['version'];
}

ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CreateComponent {

uploadForm: FormGroup;
dropDownValues = ["Insert","Update", "Delete"];
tableNames = [{ id:"applicant_valid_document", value:"ApplicantValidDocument"}, { id:"appl_form_type", value:"Application"}, { id:"biometric_attribute", value:"BiometricAttribute"}, { id:"biometric_type", value:"BiometricType"}, { id:"blacklisted_words", value:"BlacklistedWords"}, { id:"daysofweek_list", value:"DaysOfWeek"}, { id:"device_master", value:"Device"}, { id:"device_master_h", value:"DeviceHistory"}, { id:"device_provider_h", value:"DeviceProviderHistory"}, { id:"registered_device_master", value:"DeviceRegister"}, { id:"registered_device_master_h", value:"DeviceRegisterHistory"}, { id:"device_spec", value:"DeviceSpecification"}, { id:"device_type", value:"DeviceType"}, { id:"doc_category", value:"DocumentCategory"}, { id:"doc_type", value:"DocumentType"}, { id:"dynamic_field", value:"DynamicField"}, { id:"reg_exceptional_holiday", value:"ExceptionalHoliday"}, { id:"foundational_trust_provider", value:"FoundationalTrustProvider"}, { id:"foundational_trust_provider_h", value:"FoundationalTrustProviderHistory"}, { id:"gender", value:"Gender"}, { id:"loc_holiday", value:"Holiday"}, { id:"identity_schema", value:"IdentitySchema"}, { id:"id_type", value:"IdType"}, { id:"individual_type", value:"IndividualType"}, { id:"language", value:"Language"}, { id:"location", value:"Location"}, { id:"loc_hierarchy_list", value:"LocationHierarchy"}, { id:"machine_master", value:"Machine"}, { id:"machine_master_h", value:"MachineHistory"}, { id:"machine_spec", value:"MachineSpecification"}, { id:"machine_type", value:"MachineType"}, { id:"module_detail", value:"ModuleDetail"}, { id:"mosip_device_service", value:"MOSIPDeviceService"}, { id:"mosip_device_service_h", value:"MOSIPDeviceServiceHistory"}, { id:"reason_category", value:"ReasonCategory"}, { id:"reason_list", value:"ReasonList"}, { id:"reg_exceptional_holiday", value:"RegExceptionalHoliday"}, { id:"registered_device_master", value:"RegisteredDevice"}, { id:"registered_device_master_h", value:"RegisteredDeviceHistory"}, { id:"registration_center", value:"RegistrationCenter"}, { id:"reg_center_device", value:"RegistrationCenterDevice"}, { id:"reg_center_device_h", value:"RegistrationCenterDeviceHistory"}, { id:"registration_center_h", value:"RegistrationCenterHistory"}, { id:"reg_center_machine", value:"RegistrationCenterMachine"}, { id:"reg_center_machine_device", value:"RegistrationCenterMachineDevice"}, { id:"reg_center_machine_device_h", value:"RegistrationCenterMachineDeviceHistory"}, { id:"reg_center_machine_h", value:"RegistrationCenterMachineHistory"}, { id:"reg_center_type", value:"RegistrationCenterType"}, { id:"reg_center_user", value:"RegistrationCenterUser"}, { id:"reg_center_user_h", value:"RegistrationCenterUserHistory"}, { id:"reg_center_user_machine", value:"RegistrationCenterUserMachine"}, { id:"reg_center_user_machine_h", value:"RegistrationCenterUserMachineHistory"}, { id:"reg_device_sub_type", value:"RegistrationDeviceSubType"}, { id:"reg_device_type", value:"RegistrationDeviceType"}, { id:"reg_working_nonworking", value:"RegWorkingNonWorking"}, { id:"schema_def", value:"SchemaDefinition"}, { id:"template", value:"Template"}, { id:"template_file_format", value:"TemplateFileFormat"}, { id:"template_type", value:"TemplateType"}, { id:"title", value:"Title"}, { id:"user_detail", value:"UserDetails"}, { id:"user_detail_h", value:"UserDetailsHistory"}, { id:"valid_document", value:"ValidDocument"}, { id:"zone", value:"Zone"}, { id:"zone_user", value:"ZoneUser"}];
tableNames = [{ id:"applicant_valid_document", value:"ApplicantValidDocument"}, { id:"appl_form_type", value:"Application"}, { id:"biometric_attribute", value:"BiometricAttribute"}, { id:"biometric_type", value:"BiometricType"}, { id:"blacklisted_words", value:"BlacklistedWords"}, { id:"daysofweek_list", value:"DaysOfWeek"}, { id:"device_master", value:"Device"}, { id:"registered_device_master", value:"DeviceRegister"}, { id:"device_spec", value:"DeviceSpecification"}, { id:"device_type", value:"DeviceType"}, { id:"doc_category", value:"DocumentCategory"}, { id:"doc_type", value:"DocumentType"}, { id:"dynamic_field", value:"DynamicField"}, { id:"reg_exceptional_holiday", value:"ExceptionalHoliday"}, { id:"foundational_trust_provider", value:"FoundationalTrustProvider"}, { id:"gender", value:"Gender"}, { id:"loc_holiday", value:"Holiday"}, { id:"identity_schema", value:"IdentitySchema"}, { id:"id_type", value:"IdType"}, { id:"individual_type", value:"IndividualType"}, { id:"language", value:"Language"}, { id:"location", value:"Location"}, { id:"loc_hierarchy_list", value:"LocationHierarchy"}, { id:"machine_master", value:"Machine"}, { id:"machine_spec", value:"MachineSpecification"}, { id:"machine_type", value:"MachineType"}, { id:"module_detail", value:"ModuleDetail"}, { id:"mosip_device_service", value:"MOSIPDeviceService"}, { id:"reason_category", value:"ReasonCategory"}, { id:"reason_list", value:"ReasonList"}, { id:"reg_exceptional_holiday", value:"RegExceptionalHoliday"}, { id:"registered_device_master", value:"RegisteredDevice"}, { id:"registration_center", value:"RegistrationCenter"}, { id:"reg_center_device", value:"RegistrationCenterDevice"}, { id:"reg_center_machine", value:"RegistrationCenterMachine"}, { id:"reg_center_machine_device", value:"RegistrationCenterMachineDevice"}, { id:"reg_center_type", value:"RegistrationCenterType"}, { id:"reg_center_user", value:"RegistrationCenterUser"}, { id:"reg_center_user_machine", value:"RegistrationCenterUserMachine"}, { id:"reg_device_sub_type", value:"RegistrationDeviceSubType"}, { id:"reg_device_type", value:"RegistrationDeviceType"}, { id:"reg_working_nonworking", value:"RegWorkingNonWorking"}, { id:"schema_def", value:"SchemaDefinition"}, { id:"template", value:"Template"}, { id:"template_file_format", value:"TemplateFileFormat"}, { id:"template_type", value:"TemplateType"}, { id:"title", value:"Title"}, { id:"user_detail", value:"UserDetails"}, { id:"valid_document", value:"ValidDocument"}, { id:"zone", value:"Zone"}, { id:"zone_user", value:"ZoneUser"}];
subscribed: any;
fileName = "";
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class CreateComponent {
data = {
case: 'MESSAGE',
title: "Failure !",
message: "File upload failed because the template was wrong. \n\n\n Please update your file and retry again.",
message: "Please retry again.",
btnTxt: "DONE"
};
}else{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,22 +101,27 @@ export class CreateComponent {
showMessage(response){
let data = {};
let self = this;
if(response.errors){
let displaycert = "";
if(response.response.status == "FAILED"){
data = {
case: 'MESSAGE',
title: "Failure !",
message: response.errors[0].message,
message: "Please retry again.",
btnTxt: "DONE"
};
}else{
if(response.response.certificate){
displaycert = response.response.certificate;
}else if(response.response.certSignRequest){
displaycert = response.response.certSignRequest;
}
data = {
case: 'MESSAGE',
title: "Success",
message: response.response.certSignRequest,
message: displaycert,
btnTxt: "DONE"
};
}
console.log();
const dialogRef = self.dialog.open(DialogComponent, {
width: '650px',
data
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* No CSS *//*# sourceMappingURL=view.component.css.map */
/* No CSS *//*# sourceMappingURL=view.component.css.map */
Original file line number Diff line number Diff line change
@@ -1,53 +1,30 @@
<ng-container>
<span><h3 class="header">Get Certificate</h3></span>
<!-- <div id="flex-single-view" style="padding-top: 12px;">
<div id="flex-single-view" style="padding-top: 12px;">
<div id="flex-container">
<div id="myDiv" class="flex-body">
<mat-card>
<mat-card-content class="forms-container">
<div class="primary-form">
<mat-form-field>
<input
#applicationId
matInput
formControlName="applicationId"
placeholder="ApplicationId"
[value]=""
/>
</mat-form-field>
<mat-form-field>
<input
#referenceId
matInput
formControlName="referenceId"
placeholder="ReferenceId"
[value]=""
/>
</mat-form-field>
</div>
</mat-card-content>
<div class="example-container">
<mat-form-field>
<mat-label>Application Id</mat-label>
<input matInput #input placeholder="Ex. 123" [value]="applicationId" (keyup)="captureValue($event, 'applicationId')">
</mat-form-field>

<mat-form-field>
<mat-label>ReferenceId</mat-label>
<input matInput #input placeholder="Ex. 123" [value]="referenceId" (keyup)="captureValue($event, 'referenceId')">
</mat-form-field>

<button id="createButton" mat-raised-button (click)="getCertificate()" (keyup)="captureValue($event, field.name)">
Get Certificate
</button>
</div>
</mat-card>
</div>
</div>
</div> -->
<mat-card class="mat-elevation-z5">
<app-toolbar
*ngIf="
actionEllipsis && actionEllipsis && paginatorOptions
"
[buttonList]="actionEllipsis"
[paginationOptions]="paginatorOptions"
[filtersAppliedFlag]="filtersApplied"
(pageEvent)="pageEvent($event)"
></app-toolbar>
<app-table
*ngIf="datas && displayedColumns && actionButtons"
[data]="datas"
[displayedColumns]="displayedColumns"
[buttonList]="actionButtons"
[sortData]="sortFilter"
[noDataFlag]="noData"
></app-table>
</div>
<mat-card class="mat-elevation-z5" *ngIf="this.datas">
<div>{{this.datas}}</div>
</mat-card>
</ng-container>
<!-- <ng-template #nodata><mat-spinner class="spinner-placer"></mat-spinner></ng-template> -->
Loading

0 comments on commit 0c5b38d

Please sign in to comment.