Skip to content

Commit 570072f

Browse files
committed
chore!: add clirr-ignored-differences.xml
BREAKING CHANGE: various renames due to generator changes Renamed data model properties * Usage of collectionId replaced with collection * Usage of fieldId replaced with field * Usage of indexId replaced with index * Usage of ParentName replaced with CollectionGroupName * Usage of AnyPathName replaced with String Long running operation renames: * FirestoreAdminClient#createIndex -> FirestoreAdminClient#createIndexAsync * FirestoreAdminClient#exportDocuments -> FirestoreAdminClient#exportDocumentsAsync * FirestoreAdminClient#importDocuments -> FirestoreAdminClient#importDocumentsAsync * FirestoreAdminClient#updateField -> FirestoreAdminClient#updateFieldAsync
1 parent b395153 commit 570072f

File tree

2 files changed

+189
-0
lines changed

2 files changed

+189
-0
lines changed

google-cloud-firestore/clirr-ignored-differences.xml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,102 @@
3636
<method>*(com.google.cloud.firestore.FirestoreImpl, *)</method>
3737
</difference>
3838

39+
<!--
40+
createIndex -> createIndexAsync
41+
-->
42+
<difference>
43+
<differenceType>7002</differenceType>
44+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
45+
<method>com.google.longrunning.Operation createIndex(com.google.firestore.admin.v1.ParentName, com.google.firestore.admin.v1.Index)</method>
46+
</difference>
47+
<difference>
48+
<differenceType>7002</differenceType>
49+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
50+
<method>com.google.longrunning.Operation createIndex(java.lang.String, com.google.firestore.admin.v1.Index)</method>
51+
</difference>
52+
<difference>
53+
<differenceType>7002</differenceType>
54+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
55+
<method>com.google.longrunning.Operation createIndex(com.google.firestore.admin.v1.CreateIndexRequest)</method>
56+
</difference>
57+
58+
<!--
59+
exportDocuments -> exportDocumentsAsync
60+
-->
61+
<difference>
62+
<differenceType>7002</differenceType>
63+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
64+
<method>com.google.longrunning.Operation exportDocuments(com.google.firestore.admin.v1.DatabaseName)</method>
65+
</difference>
66+
<difference>
67+
<differenceType>7002</differenceType>
68+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
69+
<method>com.google.longrunning.Operation exportDocuments(java.lang.String)</method>
70+
</difference>
71+
<difference>
72+
<differenceType>7002</differenceType>
73+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
74+
<method>com.google.longrunning.Operation exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest)</method>
75+
</difference>
76+
<!--
77+
importDocuments -> importDocumentsAsync
78+
-->
79+
<difference>
80+
<differenceType>7002</differenceType>
81+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
82+
<method>com.google.longrunning.Operation importDocuments(com.google.firestore.admin.v1.DatabaseName)</method>
83+
</difference>
84+
<difference>
85+
<differenceType>7002</differenceType>
86+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
87+
<method>com.google.longrunning.Operation importDocuments(java.lang.String)</method>
88+
</difference>
89+
<difference>
90+
<differenceType>7002</differenceType>
91+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
92+
<method>com.google.longrunning.Operation importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest)</method>
93+
</difference>
94+
<!--
95+
updatedField -> updateFieldAsync
96+
-->
97+
<difference>
98+
<differenceType>7002</differenceType>
99+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
100+
<method>com.google.longrunning.Operation updateField(com.google.firestore.admin.v1.Field)</method>
101+
</difference>
102+
<difference>
103+
<differenceType>7002</differenceType>
104+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
105+
<method>com.google.longrunning.Operation updateField(com.google.firestore.admin.v1.UpdateFieldRequest)</method>
106+
</difference>
107+
<difference>
108+
<differenceType>7002</differenceType>
109+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient</className>
110+
<method>com.google.longrunning.Operation updateField(com.google.firestore.admin.v1.UpdateFieldRequest)</method>
111+
</difference>
112+
113+
<!--
114+
deleteDocument(AnyPathName) -> deleteDocument(String)
115+
-->
116+
<difference>
117+
<differenceType>7002</differenceType>
118+
<className>com/google/cloud/firestore/v1/FirestoreClient</className>
119+
<method>void deleteDocument(com.google.firestore.v1.AnyPathName)</method>
120+
</difference>
121+
<difference>
122+
<differenceType>7002</differenceType>
123+
<className>com/google/cloud/firestore/v1beta1/FirestoreClient</className>
124+
<method>void deleteDocument(com.google.firestore.v1beta1.AnyPathName)</method>
125+
</difference>
126+
127+
<!--
128+
ParentName -> CollectionGroupName
129+
-->
130+
<difference>
131+
<differenceType>7005</differenceType>
132+
<className>com/google/cloud/firestore/v1/FirestoreAdminClient*</className>
133+
<method>com.google.cloud.firestore.v1.FirestoreAdminClient$List*PagedResponse list*(com.google.firestore.admin.v1.ParentName)</method>
134+
<to>com.google.cloud.firestore.v1.FirestoreAdminClient$List*PagedResponse list*(com.google.firestore.admin.v1.CollectionGroupName)</to>
135+
</difference>
136+
39137
</differences>
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2020 Google LLC
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
19+
<differences>
20+
<!-- v2.0.0 -->
21+
<!-- Admin field rename
22+
* collectionId -> collection
23+
* fieldId -> field
24+
* indexId -> index
25+
-->
26+
<difference>
27+
<differenceType>7002</differenceType>
28+
<className>com/google/firestore/admin/v1/FieldName</className>
29+
<method>java.lang.String getCollectionId()</method>
30+
</difference>
31+
<difference>
32+
<differenceType>7002</differenceType>
33+
<className>com/google/firestore/admin/v1/FieldName</className>
34+
<method>java.lang.String getFieldId()</method>
35+
</difference>
36+
37+
<difference>
38+
<differenceType>7002</differenceType>
39+
<className>com/google/firestore/admin/v1/FieldName$Builder</className>
40+
<method>java.lang.String getCollectionId()</method>
41+
</difference>
42+
<difference>
43+
<differenceType>7002</differenceType>
44+
<className>com/google/firestore/admin/v1/FieldName$Builder</className>
45+
<method>java.lang.String getFieldId()</method>
46+
</difference>
47+
<difference>
48+
<differenceType>7002</differenceType>
49+
<className>com/google/firestore/admin/v1/FieldName$Builder</className>
50+
<method>com.google.firestore.admin.v1.FieldName$Builder setCollectionId(java.lang.String)</method>
51+
</difference>
52+
<difference>
53+
<differenceType>7002</differenceType>
54+
<className>com/google/firestore/admin/v1/FieldName$Builder</className>
55+
<method>com.google.firestore.admin.v1.FieldName$Builder setFieldId(java.lang.String)</method>
56+
</difference>
57+
58+
<difference>
59+
<differenceType>7002</differenceType>
60+
<className>com/google/firestore/admin/v1/IndexName</className>
61+
<method>java.lang.String getCollectionId()</method>
62+
</difference>
63+
<difference>
64+
<differenceType>7002</differenceType>
65+
<className>com/google/firestore/admin/v1/IndexName</className>
66+
<method>java.lang.String getIndexId()</method>
67+
</difference>
68+
69+
<difference>
70+
<differenceType>7002</differenceType>
71+
<className>com/google/firestore/admin/v1/IndexName$Builder</className>
72+
<method>java.lang.String getCollectionId()</method>
73+
</difference>
74+
<difference>
75+
<differenceType>7002</differenceType>
76+
<className>com/google/firestore/admin/v1/IndexName$Builder</className>
77+
<method>java.lang.String getIndexId()</method>
78+
</difference>
79+
<difference>
80+
<differenceType>7002</differenceType>
81+
<className>com/google/firestore/admin/v1/IndexName$Builder</className>
82+
<method>com.google.firestore.admin.v1.IndexName$Builder setCollectionId(java.lang.String)</method>
83+
</difference>
84+
<difference>
85+
<differenceType>7002</differenceType>
86+
<className>com/google/firestore/admin/v1/IndexName$Builder</className>
87+
<method>com.google.firestore.admin.v1.IndexName$Builder setIndexId(java.lang.String)</method>
88+
</difference>
89+
90+
91+
</differences>

0 commit comments

Comments
 (0)