gvsig-projects-pool / org.gvsig.vcsgis / trunk / org.gvsig.vcsgis / org.gvsig.vcsgis.lib / org.gvsig.vcsgis.lib.impl / src / test / resources / org / gvsig / vcsgis / lib / impl / expecteds / S05Update.txt @ 3310
History | View | Annotate | Download (7.64 KB)
1 |
|
---|---|
2 |
@rem ---------------------------------------------------------------- |
3 |
@rem TestS05Update.java |
4 |
@rem Values to check request and response of update request |
5 |
@rem ---------------------------------------------------------------- |
6 |
|
7 |
@begin request |
8 |
@rem The client request of a update request for this test |
9 |
{ |
10 |
"Parameters":{ |
11 |
"EntityName":"test", |
12 |
"LocalRevisionCode":"00000000000016abcdef0123456789" |
13 |
} |
14 |
} |
15 |
@end request |
16 |
|
17 |
@begin response |
18 |
@rem The server response of checkout request for this test |
19 |
{ |
20 |
"Parameters":{ |
21 |
"StatusCode":0, |
22 |
"StatusMessage":"_No_errors", |
23 |
"Entity":{ |
24 |
"DataTableName":"VCSGIS_DATA", |
25 |
"Description":"", |
26 |
"EntityCode":"00000000000004abcdef0123456789", |
27 |
"EntityName":"test", |
28 |
"FeatureIdFieldName":"VCSGISCODE", |
29 |
"FeatureTypeAsJson":"\n{\n \"__classname__\":\"org.gvsig.fmap.dal.feature.impl.DefaultFeatureType\",\n \"id\":\"testSource2\",\n \"internalID\":\"7c54a6bc\",\n \"label\":null,\n \"description\":null,\n \"allowAtomaticValues\":false,\n \"hasOID\":false,\n \"defaultGeometryAttributeName\":null,\n \"defaultTimeAttributeName\":null,\n \"tags\":{\n \"__classname__\":\"org.gvsig.tools.dynobject.impl.DefaultTags\"\n },\n \"extraColumns\":{\n \"__classname__\":\"org.gvsig.fmap.dal.feature.impl.DefaultFeatureExtraColumns\",\n \"extraColumns\":[\n ]\n },\n \"descriptors\":[\n {\n \"__classname__\":\"org.gvsig.fmap.dal.feature.impl.DefaultFeatureAttributeDescriptor\",\n \"name\":\"id\",\n \"description\":null,\n \"label\":null,\n \"shortLabel\":null,\n \"order\":0,\n \"groupName\":null,\n \"dataType\":{\n \"__classname__\":\"org.gvsig.tools.dataTypes.impl.DefaultDataType\",\n \"name\":\"Integer\",\n \"type\":4,\n \"subtype\":null\n },\n \"size\":0,\n \"precision\":10,\n \"scale\":0,\n \"roundMode\":4,\n \"allowNull\":false,\n \"primaryKey\":false,\n \"readOnly\":false,\n \"isAutomatic\":false,\n \"isTime\":false,\n \"indexed\":true,\n \"isIndexAscending\":true,\n \"allowIndexDuplicateds\":false,\n \"hidden\":false,\n \"avoidCachingAvailableValues\":false,\n \"geometryType\":null,\n \"srs\":null,\n \"relationType\":0,\n \"displaySize\":0,\n \"locale\":{\n \"__classname__\":\"java.util.Locale\",\n \"languageTag\":\"en\"\n },\n \"expression\":null,\n \"availableValuesExpression\":null,\n \"defaultValue\":\"\",\n \"dataProfile\":null,\n \"tags\":{\n \"__classname__\":\"org.gvsig.tools.dynobject.impl.DefaultTags\"\n },\n \"availableValues\":null,\n \"additionalInfo\":null\n },\n {\n \"__classname__\":\"org.gvsig.fmap.dal.feature.impl.DefaultFeatureAttributeDescriptor\",\n \"name\":\"text\",\n \"description\":null,\n \"label\":null,\n \"shortLabel\":null,\n \"order\":10,\n \"groupName\":null,\n \"dataType\":{\n \"__classname__\":\"org.gvsig.tools.dataTypes.impl.DefaultDataType\",\n \"name\":\"String\",\n \"type\":8,\n \"subtype\":null\n },\n \"size\":100,\n \"precision\":-1,\n \"scale\":-1,\n \"roundMode\":4,\n \"allowNull\":true,\n \"primaryKey\":false,\n \"readOnly\":false,\n \"isAutomatic\":false,\n \"isTime\":false,\n \"indexed\":false,\n \"isIndexAscending\":true,\n \"allowIndexDuplicateds\":true,\n \"hidden\":false,\n \"avoidCachingAvailableValues\":false,\n \"geometryType\":null,\n \"srs\":null,\n \"relationType\":0,\n \"displaySize\":0,\n \"locale\":{\n \"__classname__\":\"java.util.Locale\",\n \"languageTag\":\"en\"\n },\n \"expression\":null,\n \"availableValuesExpression\":null,\n \"defaultValue\":\"\",\n \"dataProfile\":null,\n \"tags\":{\n \"__classname__\":\"org.gvsig.tools.dynobject.impl.DefaultTags\"\n },\n \"availableValues\":null,\n \"additionalInfo\":null\n },\n {\n \"__classname__\":\"org.gvsig.fmap.dal.feature.impl.DefaultFeatureAttributeDescriptor\",\n \"name\":\"VCSGISCODE\",\n \"description\":null,\n \"label\":\"VCSGIS Code\",\n \"shortLabel\":null,\n \"order\":20,\n \"groupName\":null,\n \"dataType\":{\n \"__classname__\":\"org.gvsig.tools.dataTypes.impl.DefaultDataType\",\n \"name\":\"String\",\n \"type\":8,\n \"subtype\":null\n },\n \"size\":40,\n \"precision\":-1,\n \"scale\":-1,\n \"roundMode\":4,\n \"allowNull\":true,\n \"primaryKey\":true,\n \"readOnly\":false,\n \"isAutomatic\":false,\n \"isTime\":false,\n \"indexed\":true,\n \"isIndexAscending\":true,\n \"allowIndexDuplicateds\":false,\n \"hidden\":false,\n \"avoidCachingAvailableValues\":false,\n \"geometryType\":null,\n \"srs\":null,\n \"relationType\":0,\n \"displaySize\":0,\n \"locale\":{\n \"__classname__\":\"java.util.Locale\",\n \"languageTag\":\"es-ES\"\n },\n \"expression\":null,\n \"availableValuesExpression\":null,\n \"defaultValue\":\"\",\n \"dataProfile\":null,\n \"tags\":{\n \"__classname__\":\"org.gvsig.tools.dynobject.impl.DefaultTags\"\n },\n \"availableValues\":null,\n \"additionalInfo\":null\n }\n ]\n}", |
30 |
"FieldForLabel":"text", |
31 |
"GeometryFieldName":null, |
32 |
"RevisionCode":"00000000000032abcdef0123456789", |
33 |
"TopologyPlanCode":null, |
34 |
"UserCode":null, |
35 |
"Category":null, |
36 |
"Label":"test", |
37 |
"Autorizations":null, |
38 |
"TopologyPlanMode":0 |
39 |
} |
40 |
}, |
41 |
"Data":[ |
42 |
{ |
43 |
"DataCode":"00000000000036abcdef0123456789", |
44 |
"EntityCode":"00000000000004abcdef0123456789", |
45 |
"RevisionCode":"00000000000032abcdef0123456789", |
46 |
"RevisionNumber":1, |
47 |
"EfectiveDate":"2020-02-17 10:11:12.123", |
48 |
"Operation":2, |
49 |
"FeatureRelatedCode":"00000000000026abcdef0123456789", |
50 |
"Data":"\n{\n \"id\":4,\n \"text\":\"DDD\",\n \"VCSGISCODE\":\"00000000000026abcdef0123456789\"\n}" |
51 |
}, |
52 |
{ |
53 |
"DataCode":"00000000000034abcdef0123456789", |
54 |
"EntityCode":"00000000000004abcdef0123456789", |
55 |
"RevisionCode":"00000000000032abcdef0123456789", |
56 |
"RevisionNumber":1, |
57 |
"EfectiveDate":"2020-02-17 10:11:12.123", |
58 |
"Operation":1, |
59 |
"FeatureRelatedCode":"00000000000008abcdef0123456789", |
60 |
"Data":"\n{\n \"id\":2,\n \"text\":\"BB2\",\n \"VCSGISCODE\":\"00000000000008abcdef0123456789\"\n}" |
61 |
} |
62 |
] |
63 |
} |
64 |
@end response |