Using Endevor Bridge for Git 2.8 with Endevor V18.1.
Edit element using visual Studio code, then did a push on Azure Devops, update failed.
Bridge for Git log shows:
2021-09-10 17:37:22.903 INFO 2100 --- [http-nio-XXXX-exec-5] c.c.e.i.m.b.hook.api.result.HookResult : PostReceiveHook - Hook result: ACCEPTED
2021-09-10 17:37:30.006 INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.r.EndevorSyncJobRunner : ============== SYNC - Branch:
2021-09-10 17:37:55.144 INFO 2100 --- [http-nio-XXXX-exec-10] c.c.e.i.m.b.hook.api.result.HookResult : PostReceiveHook - Hook result: ACCEPTED
2021-09-10 17:38:12.995 INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.r.EndevorSyncJobRunner : Fetching Git changes ...
2021-09-10 17:38:13.432 ERROR 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.h.i.v.CommitValidator : Unexpected exception:
com.ca.endevor.integration.modules.background.task.exception.FingerprintValidationException: Invalid fingerprint detected for elements:
at com.ca.endevor.integration.modules.background.task.impl.helper.EndevorResponseParser.validateFingerprints(EndevorResponseParser.java:145)
at com.ca.endevor.integration.modules.background.hook.impl.validation.CommitValidator.isFingerprintsValid(CommitValidator.java:123)
at com.ca.endevor.integration.modules.background.hook.impl.validation.PushEventEndevorValidator.validate(PushEventEndevorValidator.java:38)
at com.ca.endevor.integration.modules.background.hook.impl.validation.PushEventEndevorValidator.validateSquashedCommit(PushEventEndevorValidator.java:58)
at com.ca.endevor.integration.modules.background.job.impl.runner.EndevorSyncJobRunner.processOperation(EndevorSyncJobRunner.java:113)
at com.ca.endevor.integration.modules.background.job.impl.runner.EndevorSyncJobRunner.processOperation(EndevorSyncJobRunner.java:71)
at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractJobRunner.processOperations(AbstractJobRunner.java:150)
at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractJobRunner.runJob(AbstractJobRunner.java:89)
at com.ca.endevor.boot.scheduler.QuartzJob.execute(QuartzJob.java:30)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2021-09-10 17:38:13.437 WARN 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.hook.api.result.HookResult : EndevorSyncJobRunner - Hook result: REJECTED - Invalid fingerprint detected for elements:
2021-09-10 17:38:13.448 INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.runner.RevertJobRunner : ============== REVERT - Branch:
2021-09-10 17:38:13.454 INFO 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.runner.RevertJobRunner : Running Revert flow ...
2021-09-10 17:38:16.867 INFO 2100 --- [DefaultQuartzScheduler_Worker-9] .c.e.i.m.b.j.i.r.AbstractOperationResult :
[Bridge for Git] Revert commit - SUCCESS
Operation: Revert commit
Result: SUCCESS
Message: A new branch was created and it can be checked to recover the reverted changes.
Revert branch:
2021-09-10 17:38:16.881 WARN 2100 --- [DefaultQuartzScheduler_Worker-9] org.apache.velocity.deprecation : configuration key 'classpath.resource.loader.class' has been deprecated in favor of 'resource.loader.classpath.class'
2021-09-10 17:38:16.881 WARN 2100 --- [DefaultQuartzScheduler_Worker-9] org.apache.velocity.deprecation : configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
2021-09-10 17:38:17.086 ERROR 2100 --- [DefaultQuartzScheduler_Worker-9] c.c.e.i.m.b.j.i.r.SyncOperationResult :
[Bridge for Git] Endevor synchronization - FAILED
Operation: Endevor synchronization
Result: FAILED
Release : 18.1
Component : BRIDGE FOR GIT 2.8
Apply Endevor Web Service APAR LT02782
Endevor web services send an empty fingerprint header during element retrieve (and add/update). The reason for this is that when Web services read the API execution report to find the fingerprint, the message is not in the expected format, since the French code page is used.