Merge branch 'release/1.0.0'
This commit is contained in:
commit
ef350029c1
2 changed files with 17 additions and 34 deletions
|
|
@ -1,4 +1,5 @@
|
|||
TZ=Europe/Moscow
|
||||
|
||||
# App datasource
|
||||
DB_APP_USERNAME=ervu-lkrp-fl
|
||||
DB_APP_PASSWORD=ervu-lkrp-fl
|
||||
|
|
@ -9,18 +10,20 @@ DB_APP_NAME=ervu-lkrp-fl
|
|||
ESIA_SCOPES=snils, fullname, birthdate, id_doc
|
||||
ESIA_BASE_URI=https://esia-portal1.test.gosuslugi.ru/
|
||||
ESIA_CLIENT_ID=MNSV89
|
||||
ESIA_REDIRECT_URL=https://lkrp-dev.micord.ru/fl/
|
||||
SIGN_URL=https://ervu-sign-dev.k8s.micord.ru/sign
|
||||
ESIA_CLIENT_CERT_HASH=04508B4B0B58776A954A0E15F574B4E58799D74C61EE020B3330716C203E3BDD
|
||||
ESIA_REDIRECT_URL=https://lkrp-dev.micord.ru/fl/
|
||||
|
||||
SIGN_URL=https://ervu-sign-dev.k8s.micord.ru/sign
|
||||
|
||||
ERVU_KAFKA_BOOTSTRAP_SERVERS=localhost:9092
|
||||
ERVU_KAFKA_REPLY_TOPIC=ervu.lkpr.person.search.response
|
||||
ERVU_KAFKA_USERNAME=user1
|
||||
ERVU_KAFKA_PASSWORD=Blfi9d2OFG
|
||||
ERVU_KAFKA_SASL_MECHANISM=SCRAM-SHA-256
|
||||
ERVU_KAFKA_SECURITY_PROTOCOL=SASL_PLAINTEXT
|
||||
ERVU_KAFKA_GROUP_ID=1
|
||||
ERVU_KAFKA_REPLY_TOPIC=ervu.lkpr.person.search.response
|
||||
ERVU_KAFKA_REQUEST_TOPIC=ervu.lkpr.person.search.request
|
||||
ERVU_KAFKA_REPLY_TIMEOUT=30
|
||||
ERVU_KAFKA_SEND_SECURITY_PROTOCOL=SASL_PLAINTEXT
|
||||
ERVU_KAFKA_SASL_MECHANISM=SCRAM-SHA-256
|
||||
ERVU_KAFKA_SEND_USERNAME=user1
|
||||
ERVU_KAFKA_SEND_PASSWORD=Blfi9d2OFG
|
||||
ERVU_KAFKA_RECRUIT_REQUEST_TOPIC=ervu.recruit.info.request
|
||||
ERVU_KAFKA_RECRUIT_REPLY_TOPIC=ervu.recruit.info.response
|
||||
ERVU_KAFKA_RECRUIT_HEADER_CLASS=Request@urn://rostelekom.ru/RP-SummonsTR/1.0.5
|
||||
|
|
@ -29,7 +32,4 @@ ERVU_KAFKA_SUBPOENA_EXTRACT_REPLY_TOPIC=ervu.subpoena.info.response
|
|||
ERVU_KAFKA_REGISTRY_EXTRACT_REQUEST_TOPIC=ervu.extract.info.request
|
||||
ERVU_KAFKA_REGISTRY_EXTRACT_REPLY_TOPIC=ervu.extract.info.response
|
||||
ERVU_KAFKA_EXTRACT_HEADER_CLASS=Request@urn://rostelekom.ru/ERVU-extractFromRegistryTR/1.0.3
|
||||
ERVU_KAFKA_SECURITY_PROTOCOL=SASL_PLAINTEXT
|
||||
ERVU_KAFKA_USERNAME=user1
|
||||
ERVU_KAFKA_PASSWORD=Blfi9d2OFG
|
||||
ERVU_KAFKA_DOC_LOGIN_MODULE=org.apache.kafka.common.security.scram.ScramLoginModule
|
||||
|
|
@ -1,12 +1,9 @@
|
|||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
OnDestroy
|
||||
Component
|
||||
} from "@angular/core";
|
||||
import {Router} from "@angular/router";
|
||||
import {UserService, Session} from "@webbpm/base-package";
|
||||
import {Observable, Subscription} from "rxjs";
|
||||
import {ErvuDataService} from "../service/ervu-data.service";
|
||||
import {CookieService} from "ngx-cookie";
|
||||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
|
|
@ -14,25 +11,11 @@ import {ErvuDataService} from "../service/ervu-data.service";
|
|||
templateUrl: "../../../../../src/resources/template/app/component/app_header.html",
|
||||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class AppHeaderComponent implements OnDestroy{
|
||||
export class AppHeaderComponent {
|
||||
|
||||
public currentSession: Observable<Session>;
|
||||
public subscription: Subscription;
|
||||
|
||||
constructor(protected userService: UserService, protected router: Router,
|
||||
protected ervuDataService: ErvuDataService) {
|
||||
// this.currentSession = this.userService.getCurrentSession();
|
||||
// this.subscription = this.currentSession.subscribe(session => {
|
||||
// if (session) {
|
||||
// this.ervuDataService.getData();
|
||||
// }
|
||||
// }
|
||||
// );
|
||||
//TODO
|
||||
this.ervuDataService.getData();
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
this.subscription.unsubscribe();
|
||||
constructor(protected cookieService: CookieService, protected ervuDataService: ErvuDataService) {
|
||||
if (cookieService.get("webbpm.ervu-lkrp-fl")) {
|
||||
this.ervuDataService.getData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue