Merge remote-tracking branch 'origin/develop' into angular-16-irish-monitor
This commit is contained in:
commit
684c9ac4c0
|
@ -557,8 +557,8 @@ export class ClaimInsertComponent {
|
||||||
getStatus(){
|
getStatus(){
|
||||||
if(this.feedRecordsJob && ! (this.feedRecordsJob.status == "COMPLETE" || this.feedRecordsJob.status == "ERROR") ) {
|
if(this.feedRecordsJob && ! (this.feedRecordsJob.status == "COMPLETE" || this.feedRecordsJob.status == "ERROR") ) {
|
||||||
this.subscriptions.push(this.claimService.getStatus(this.feedRecordsJob.id, this.properties.claimsAPIURL).subscribe(data => {
|
this.subscriptions.push(this.claimService.getStatus(this.feedRecordsJob.id, this.properties.claimsAPIURL).subscribe(data => {
|
||||||
console.log("feed", data);
|
|
||||||
this.feedRecordsJob = data.data;
|
this.feedRecordsJob = data.data;
|
||||||
|
// console.log("feed", this.feedRecordsJob.status);
|
||||||
if (this.feedRecordsJob.status == "COMPLETE" || data.data.status == "ERROR") {
|
if (this.feedRecordsJob.status == "COMPLETE" || data.data.status == "ERROR") {
|
||||||
this.insertedRecords = this.feedRecordsJob.insertedIds;
|
this.insertedRecords = this.feedRecordsJob.insertedIds;
|
||||||
this.errorInRecords = this.feedRecordsJob.errorInClaims;
|
this.errorInRecords = this.feedRecordsJob.errorInClaims;
|
||||||
|
@ -577,9 +577,9 @@ export class ClaimInsertComponent {
|
||||||
}
|
}
|
||||||
if(this.claimsJob) {
|
if(this.claimsJob) {
|
||||||
this.subscriptions.push(this.claimService.getStatus(this.claimsJob.id, this.properties.claimsAPIURL).subscribe(data => {
|
this.subscriptions.push(this.claimService.getStatus(this.claimsJob.id, this.properties.claimsAPIURL).subscribe(data => {
|
||||||
console.log("claim", data);
|
|
||||||
this.claimsJob = data.data;
|
this.claimsJob = data.data;
|
||||||
if ((this.claimsJob.status == "COMPLETE" || data.data.status == "ERROR") && ( !this.feedRecordsJob || !(this.feedRecordsJob.status == "COMPLETE" || data.data.status == "ERROR")) ) {
|
// console.log("claim: ", this.claimsJob.status, this.feedRecordsJob.status?this.feedRecordsJob.status:" no feed job");
|
||||||
|
if ((this.claimsJob.status == "COMPLETE" || data.data.status == "ERROR") && ( !this.feedRecordsJob || (this.feedRecordsJob.status == "COMPLETE" || data.data.status == "ERROR")) ) {
|
||||||
this.insertedClaims = this.claimsJob.insertedIds;
|
this.insertedClaims = this.claimsJob.insertedIds;
|
||||||
this.errorInClaims = this.claimsJob.errorInClaims;
|
this.errorInClaims = this.claimsJob.errorInClaims;
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ export let common: EnvProperties = {
|
||||||
|
|
||||||
//connect
|
//connect
|
||||||
enermapsURL:"https://lab.idiap.ch/enermaps",
|
enermapsURL:"https://lab.idiap.ch/enermaps",
|
||||||
zenodoCommunities: 'https://zenodo.org/api/communities/',
|
zenodoCommunities: 'https://zenodo.org/api/communities',
|
||||||
shareInZenodoPage: '/participate/deposit/zenodo',
|
shareInZenodoPage: '/participate/deposit/zenodo',
|
||||||
afterLoginRedirectLink: '/myCommunities',
|
afterLoginRedirectLink: '/myCommunities',
|
||||||
searchLinkToCommunities: '/search/find/communities',
|
searchLinkToCommunities: '/search/find/communities',
|
||||||
|
|
Loading…
Reference in New Issue