40. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/20/2017 5:56:05 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

40.1 Files compared

# Location File Last Modified
1 Genisis_2.0_v6_bld6.zip\Source Code\TS\Service\term-service\src\main\java\gov\va\genisis2\swagger WebConfig.java Thu Dec 14 19:57:17 2017 UTC
2 Genisis_2.0_v6_bld6.zip\Source Code\TS\Service\term-service\src\main\java\gov\va\genisis2\swagger WebConfig.java Wed Dec 20 20:29:50 2017 UTC

40.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 60
Changed 1 2
Inserted 0 0
Removed 0 0

40.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

40.4 Active regular expressions

No regular expressions were active.

40.5 Comparison detail

  1   package go v.va.genis is2.swagge r;
  2  
  3   import org .springfra mework.con text.annot ation.Comp onentScan;
  4   import org .springfra mework.con text.annot ation.Conf iguration;
  5   import org .springfra mework.sch eduling.an notation.E nableAsync ;
  6   import org .springfra mework.web .servlet.c onfig.anno tation.Ena bleWebMvc;
  7   import org .springfra mework.web .servlet.c onfig.anno tation.Res ourceHandl erRegistry ;
  8   import org .springfra mework.web .servlet.c onfig.anno tation.Web MvcConfigu rerAdapter ;
  9  
  10   /**
  11    * Swagger  UI adds a  set of re sources wh ich must c onfigure a s part of 
  12    * a class  that exte nds WebMvc Configurer Adapter, a nd is anno tated with  @EnableWe bMvc.
  13    * 
  14    * @author  P II
  15    *
  16    */
  17   @Configura tion
  18   @Component Scan({ "go v.va.genis is2.ts" })
  19   @EnableWeb Mvc
  20   @EnableAsy nc
  21   public cla ss WebConf ig extends  WebMvcCon figurerAda pter {
  22  
  23           @O verride
  24           pu blic void  addResourc eHandlers( ResourceHa ndlerRegis try regist ry) {
  25                    regi stry.addRe sourceHand ler(new St ring[] { " swagger-ui .html" })
  26                                      .addReso urceLocati ons(new St ring[] { " classpath: /META-INF/ resources/ " });
  27  
  28                    regi stry.addRe sourceHand ler(new St ring[] { " /webjars/* *" })
  29                                      .addReso urceLocati ons(new St ring[] { " classpath: /META-INF/ resources/ webjars/"  });
  30           }
  31   }