thrift/test/audit
2015-07-09 20:55:53 -05:00
..
break1.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break2.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break3.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break4.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break5.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break6.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break7.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break8.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break9.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break10.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break11.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break12.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break13.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break14.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break15.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break16.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break17.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break18.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break19.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break20.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break21.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break22.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break23.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break24.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break25.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break26.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break27.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break28.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break29.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break30.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break31.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break32.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break33.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
break34.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
README.md Renamed, relocated, and reformated the audit tool's readme file 2015-07-09 20:55:53 -05:00
test.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
thrift_audit_test.pl THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00
warning.thrift THRIFT-3221 Create a tool to audit network compatibility between two 2015-07-08 20:37:15 -05:00

Typical usage

thrift.exe --audit <oldFile> <newFile>

Example run

> thrift.exe --audit test.thrift break1.thrift
[Thrift Audit Failure:break1.thrift] New Thrift File has missing function base_function3
[Thrift Audit Warning:break1.thrift] Constant const3 has different value

Problems that the audit tool can catch

Errors

  • Removing an enum value
  • Changing the type of a struct field
  • Changing the required-ness of a struct field
  • Removing a struct field
  • Adding a required struct field
  • Adding a struct field 'in the middle'. This usually indicates an old ID has been recycled
  • Struct removed
  • Oneway-ness change
  • Return type change
  • Missing function
  • Missing service
  • Change in service inheritance

Warnings

  • Removing a language namespace declaration
  • Changing a namespace
  • Changing an enum value's name
  • Removing an enum class
  • Default value changed
  • Struct field name change
  • Removed constant
  • Type of constant changed
  • Value of constant changed