Revision 2728
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.api/src/main/java/org/gvsig/vcsgis/lib/workspace/VCSGisWorkspace.java | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright (C) 2007-2020 gvSIG Association.
|
|
4 |
* Copyright (c) 2007-2020 gvSIG Association.
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
... | ... | |
145 | 145 |
* |
146 | 146 |
* @param tableName |
147 | 147 |
* @param maxRevisions, numero de registros a descargarse |
148 |
* @param operation, ?ltimos o previos a los que tengo
|
|
148 |
* @param operation, ultimos o previos a los que tengo
|
|
149 | 149 |
* @param status |
150 | 150 |
* @return |
151 | 151 |
*/ |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.api/src/main/java/org/gvsig/vcsgis/lib/VCSGisLocator.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.api/src/main/java/org/gvsig/vcsgis/lib/VCSGisLibrary.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.api/src/main/java/org/gvsig/vcsgis/lib/VCSGisManager.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.api/src/main/resources/org/gvsig/vcsgis/lib/vcsgisapiservices.json | ||
---|---|---|
1 |
{ |
|
2 |
"openapi": "3.0.1", |
|
3 |
"info": { |
|
4 |
"title": "VCSGis simple API", |
|
5 |
"description": "Simple API para acceder a los servicios de VCSGis", |
|
6 |
"version": "1.0.0" |
|
7 |
}, |
|
8 |
"paths": { |
|
9 |
"/rowcreate": { |
|
10 |
"post": { |
|
11 |
"summary": "Crea un nuevo registro en una tabla/entidad", |
|
12 |
"operationId": "RowCreate", |
|
13 |
"requestBody": { |
|
14 |
"description": "Datos para la creaci?n del nuevo registro", |
|
15 |
"content": { |
|
16 |
"application/json": { |
|
17 |
"schema": { |
|
18 |
"$ref": "#/components/schemas/RowCreationRequest" |
|
19 |
} |
|
20 |
} |
|
21 |
}, |
|
22 |
"required": true |
|
23 |
}, |
|
24 |
"responses": { |
|
25 |
"200": { |
|
26 |
"description": "successful operation", |
|
27 |
"content": { |
|
28 |
"application/json": { |
|
29 |
"schema": { |
|
30 |
"$ref": "#/components/schemas/RowCreationResponse" |
|
31 |
} |
|
32 |
} |
|
33 |
} |
|
34 |
} |
|
35 |
} |
|
36 |
} |
|
37 |
}, |
|
38 |
"/rowupdate": { |
|
39 |
"post": { |
|
40 |
"summary": "Actualiza un registro en una tabla/entidad", |
|
41 |
"operationId": "RowUpdate", |
|
42 |
"requestBody": { |
|
43 |
"description": "Datos para la actualizaci?n de un registro", |
|
44 |
"content": { |
|
45 |
"application/json": { |
|
46 |
"schema": { |
|
47 |
"$ref": "#/components/schemas/RowUpdateRequest" |
|
48 |
} |
|
49 |
} |
|
50 |
}, |
|
51 |
"required": true |
|
52 |
}, |
|
53 |
"responses": { |
|
54 |
"200": { |
|
55 |
"description": "successful operation", |
|
56 |
"content": { |
|
57 |
"application/json": { |
|
58 |
"schema": { |
|
59 |
"$ref": "#/components/schemas/RowUpdateResponse" |
|
60 |
} |
|
61 |
} |
|
62 |
} |
|
63 |
} |
|
64 |
} |
|
65 |
} |
|
66 |
}, |
|
67 |
"/rowdelete": { |
|
68 |
"post": { |
|
69 |
"summary": "Elimina un registro en una tabla/entidad", |
|
70 |
"operationId": "RowDelete", |
|
71 |
"requestBody": { |
|
72 |
"description": "Datos para la eliminaci?n de un registro", |
|
73 |
"content": { |
|
74 |
"application/json": { |
|
75 |
"schema": { |
|
76 |
"$ref": "#/components/schemas/RowDeleteRequest" |
|
77 |
} |
|
78 |
} |
|
79 |
}, |
|
80 |
"required": true |
|
81 |
}, |
|
82 |
"responses": { |
|
83 |
"200": { |
|
84 |
"description": "successful operation", |
|
85 |
"content": { |
|
86 |
"application/json": { |
|
87 |
"schema": { |
|
88 |
"$ref": "#/components/schemas/RowDeleteResponse" |
|
89 |
} |
|
90 |
} |
|
91 |
} |
|
92 |
} |
|
93 |
} |
|
94 |
} |
|
95 |
} |
|
96 |
}, |
|
97 |
"components": { |
|
98 |
"schemas": { |
|
99 |
"RowCreationRequest": { |
|
100 |
"required": [ |
|
101 |
"EntityName", |
|
102 |
"LocalRevisionCode", |
|
103 |
"Data" |
|
104 |
], |
|
105 |
"type": "object", |
|
106 |
"description": "Este objeto representa una petici?n de crear un nuevo registro en una tabla.\n\nEn el momento de creaci?n del registro se le asignara un c?digo ?nico en el VCS, sobreescribiendose el valor del atributo VCSGISCODE con el nuevo valor.\n\nUn ejemplo de petici?n para a?adir un registro a la tabla \"test\" podr?a ser algo como:\n <pre>\n {\n \"EntityName\":\"test\",\n \"LocalRevisionCode\":\"00000000000014abcdef0123456789\",\n \"EfectiveDate\":\"2020-02-18 10:11:12.123\",\n \"Comment\":\"test row create (4,ddd)\",\n \"Data\":\"\\n{\\n \\\"id\\\":4,\\n \\\"text\\\":\\\"DDD\\\",\\n \\\"VCSGISCODE\\\":\\\"\\\"\\n}\"\n }\n </pre>\n\n ", |
|
107 |
"properties": { |
|
108 |
"EntityName": { |
|
109 |
"type": "string", |
|
110 |
"description": "Nombre de la tabla en la que se solicita crear el nuevo registro" |
|
111 |
}, |
|
112 |
"LocalRevisionCode": { |
|
113 |
"type": "string", |
|
114 |
"format": "string40", |
|
115 |
"description": "C?digo de la revisi?n en la que se encuentran los datos del cliente" |
|
116 |
}, |
|
117 |
"EfectiveDate": { |
|
118 |
"type": "string", |
|
119 |
"format": "timestamp", |
|
120 |
"description": "Fecha de entrada en vigor de la operaci?n, en el formato yyyy-mm-dd hh:MM:ss.LLL . En caso de ser nulo se asignara la fecha actual." |
|
121 |
}, |
|
122 |
"Comment": { |
|
123 |
"type": "string", |
|
124 |
"description": "Comentario asociado a la operaci?n a realizar. Puede ser nulo." |
|
125 |
}, |
|
126 |
"Data": { |
|
127 |
"type": "string", |
|
128 |
"description": "Los datos de la feature a crear en la tabla codificados como un string json. Si la feature tiene el campo VCSGISCODE sera sobreescrito, asign?ndole un nuevo c?digo." |
|
129 |
} |
|
130 |
} |
|
131 |
}, |
|
132 |
"RowCreationResponse": { |
|
133 |
"type": "object", |
|
134 |
"description": "Este objeto representa a la respuesta a una petici?n de crear un nuevo registro en una tabla.\n\nNos informara del estado de la petici?n, as? como de:\n - El c?digo del nuevo registro creado.\n - El c?digo de la revisi?n en la que se ha quedado la \n tabla en el servidor.\n\n\nUn ejemplo de respuesta a a?adir un registro a la tabla \"test\" podr?a ser algo como:\n <pre>\n {\n \"StatusCode\":0,\n \"StatusMessage\":null,\n \"RelatedFeatureCode\":\"00000000000022abcdef0123456789\",\n \"EntityName\":\"test\",\n \"EntityCode\":\"00000000000002abcdef0123456789\",\n \"RevisionCode\":\"00000000000024abcdef0123456789\"\n }\n </pre>", |
|
135 |
"properties": { |
|
136 |
"StatusCode": { |
|
137 |
"type": "integer", |
|
138 |
"description": "C?digo de estado de la operaci?n. Cero cuando la operaci?n se ha realizado correctamente." |
|
139 |
}, |
|
140 |
"StatusMessage": { |
|
141 |
"type": "string", |
|
142 |
"description": "En caso de que no haya ido bien la operaci?n, mensaje describiendo el problema." |
|
143 |
}, |
|
144 |
"RelatedFeatureCode": { |
|
145 |
"type": "string", |
|
146 |
"format": "string40", |
|
147 |
"description": "C?digo asignado al campo VCSGISCODE del nuevo registro, que representa al identificador de este en el VCS." |
|
148 |
}, |
|
149 |
"EntityName": { |
|
150 |
"type": "string", |
|
151 |
"description": "Nombre de la tabla en la que se ha solicitado crear el nuevo registro" |
|
152 |
}, |
|
153 |
"EntityCode": { |
|
154 |
"type": "string", |
|
155 |
"format": "string40", |
|
156 |
"description": "C?digo interno asociado a la tabla para identificarla de forma ?nica." |
|
157 |
}, |
|
158 |
"RevisionCode": { |
|
159 |
"type": "string", |
|
160 |
"format": "string40", |
|
161 |
"description": "C?digo de la revisi?n en la que se encuentran los datos en el servidor tras realizarse la operaci?n." |
|
162 |
} |
|
163 |
} |
|
164 |
}, |
|
165 |
"RowUpdateRequest": { |
|
166 |
"required": [ |
|
167 |
"EntityName", |
|
168 |
"LocalRevisionCode", |
|
169 |
"Data" |
|
170 |
], |
|
171 |
"type": "object", |
|
172 |
"description": "Este objeto representa una petici?n para actualizar un registro en una tabla.\nEs imprescindible que el valor del atributo VCSGISCODE de los datos del registro que queremos actualizar tenga el c?digo correcto, ya que se utilizara este para identificar el registro que queremos actualizar.\nUn ejemplo de petici?n para actualizar un registro a la tabla \"test\" podr?a ser algo como:\n <pre>\n {\n \"EntityName\":\"test\",\n \"LocalRevisionCode\":\"00000000000024abcdef0123456789\",\n \"EfectiveDate\":null,\n \"Comment\":\"test row update (4,dd2)\",\n \"Data\":\"\\n{\\n \\\"id\\\":4,\\n \\\"text\\\":\\\"DD2\\\",\\n \\\"VCSGISCODE\\\":\\\"00000000000022abcdef0123456789\\\"\\n}\"\n }\n </pre>\n\n ", |
|
173 |
"properties": { |
|
174 |
"EntityName": { |
|
175 |
"type": "string", |
|
176 |
"description": "Nombre de la tabla en la que se solicita actualizar el registro" |
|
177 |
}, |
|
178 |
"LocalRevisionCode": { |
|
179 |
"type": "string", |
|
180 |
"format": "string40", |
|
181 |
"description": "C?digo de la revisi?n en la que se encuentran los datos del cliente" |
|
182 |
}, |
|
183 |
"EfectiveDate": { |
|
184 |
"type": "string", |
|
185 |
"format": "timestamp", |
|
186 |
"description": "Fecha de entrada en vigor de la operaci?n, en el formato yyyy-mm-dd hh:MM:ss.LLL . En caso de ser nulo se asignara la fecha actual." |
|
187 |
}, |
|
188 |
"Comment": { |
|
189 |
"type": "string", |
|
190 |
"description": "Comentario asociado a la operaci?n a realizar. Puede ser nulo." |
|
191 |
}, |
|
192 |
"Data": { |
|
193 |
"type": "string", |
|
194 |
"description": "Los datos de la feature a crear en la tabla codificados como un string json. El atributo VCSGISCODE debe de tener un c?digo valido e identificara al registro que se esta actualizando." |
|
195 |
} |
|
196 |
} |
|
197 |
}, |
|
198 |
"RowUpdateResponse": { |
|
199 |
"type": "object", |
|
200 |
"description": "Este objeto representa a la respuesta a una petici?n de actualizar un registro en una tabla.\n\nUn ejemplo de respuesta a actualizar un registro de la tabla *\"test\"* podr?a ser algo como:\n <pre>\n {\n \"StatusCode\":0,\n \"StatusMessage\":null,\n \"EntityName\":\"test\",\n \"EntityCode\":\"00000000000002abcdef0123456789\",\n \"RevisionCode\":\"00000000000029abcdef0123456789\"\n }\n </pre>", |
|
201 |
"properties": { |
|
202 |
"StatusCode": { |
|
203 |
"type": "integer", |
|
204 |
"description": "C?digo de estado de la operaci?n. Cero cuando la operaci?n se ha realizado correctamente." |
|
205 |
}, |
|
206 |
"StatusMessage": { |
|
207 |
"type": "string", |
|
208 |
"description": "En caso de que no haya ido bien la operaci?n, mensaje describiendo el problema." |
|
209 |
}, |
|
210 |
"EntityName": { |
|
211 |
"type": "string", |
|
212 |
"description": "Nombre de la tabla en la que se ha solicitado crear el nuevo registro" |
|
213 |
}, |
|
214 |
"EntityCode": { |
|
215 |
"type": "string", |
|
216 |
"format": "string40", |
|
217 |
"description": "C?digo interno asociado a la tabla para identificarla de forma ?nica." |
|
218 |
}, |
|
219 |
"RevisionCode": { |
|
220 |
"type": "string", |
|
221 |
"format": "string40", |
|
222 |
"description": "C?digo de la revisi?n en la que se encuentran los datos en el servidor tras realizarse la operaci?n." |
|
223 |
} |
|
224 |
} |
|
225 |
}, |
|
226 |
"RowDeleteRequest": { |
|
227 |
"required": [ |
|
228 |
"EntityName", |
|
229 |
"LocalRevisionCode", |
|
230 |
"RelatedFeatureCode" |
|
231 |
], |
|
232 |
"type": "object", |
|
233 |
"description": "Este objeto representa una petici?n de eliminar un registro en una tabla.\n\nEl registro que se desea eliminar se identificara por el valor del atributo *RelatedFeatureCode*.\n\nUn ejemplo de petici?n para eliminar un registro de la tabla \"test\" podr?a ser algo como:\n <pre>\n {\n \"EntityName\":\"test\",\n \"LocalRevisionCode\":\"00000000000029abcdef0123456789\",\n \"RelatedFeatureCode\":\"00000000000022abcdef0123456789\",\n \"EfectiveDate\":\"2020-02-19 10:11:12.123\",\n \"Comment\":\"test row delete (4,dd2)\"\n }\n </pre>\n\n ", |
|
234 |
"properties": { |
|
235 |
"EntityName": { |
|
236 |
"type": "string", |
|
237 |
"description": "Nombre de la tabla en la que se solicita crear el nuevo registro" |
|
238 |
}, |
|
239 |
"LocalRevisionCode": { |
|
240 |
"type": "string", |
|
241 |
"format": "string40", |
|
242 |
"description": "C?digo de la revisi?n en la que se encuentran los datos del cliente" |
|
243 |
}, |
|
244 |
"EfectiveDate": { |
|
245 |
"type": "string", |
|
246 |
"format": "timestamp", |
|
247 |
"description": "Fecha de entrada en vigor de la operaci?n, en el formato yyyy-mm-dd hh:MM:ss.LLL . En caso de ser nulo se asignara la fecha actual." |
|
248 |
}, |
|
249 |
"Comment": { |
|
250 |
"type": "string", |
|
251 |
"description": "Comentario asociado a la operaci?n a realizar. Puede ser nulo." |
|
252 |
}, |
|
253 |
"RelatedFeatureCode": { |
|
254 |
"type": "string", |
|
255 |
"format": "string40", |
|
256 |
"description": "C?digo del registro que se desea eliminar. Eliminara el registro que tenga como valor del atributo VCSGISCODE el valor de este campo." |
|
257 |
} |
|
258 |
} |
|
259 |
}, |
|
260 |
"RowDeleteResponse": { |
|
261 |
"type": "object", |
|
262 |
"description": "Este objeto representa a la respuesta a una petici?n de eliminar un registro en una tabla.\n\nUn ejemplo de respuesta a eliminar un registro de la tabla \"test\" podr?a ser algo como:\n <pre>\n {\n \"StatusCode\":0,\n \"StatusMessage\":null,\n \"EntityName\":\"test\",\n \"EntityCode\":\"00000000000002abcdef0123456789\",\n \"RevisionCode\":\"00000000000034abcdef0123456789\"\n }\n </pre>", |
|
263 |
"properties": { |
|
264 |
"StatusCode": { |
|
265 |
"type": "integer", |
|
266 |
"description": "C?digo de estado de la operaci?n. Cero cuando la operaci?n se ha realizado correctamente." |
|
267 |
}, |
|
268 |
"StatusMessage": { |
|
269 |
"type": "string", |
|
270 |
"description": "En caso de que no haya ido bien la operaci?n, mensaje describiendo el problema." |
|
271 |
}, |
|
272 |
"EntityName": { |
|
273 |
"type": "string", |
|
274 |
"description": "Nombre de la tabla en la que se ha solicitado crear el nuevo registro" |
|
275 |
}, |
|
276 |
"EntityCode": { |
|
277 |
"type": "string", |
|
278 |
"format": "string40", |
|
279 |
"description": "C?digo interno asociado a la tabla para identificarla de forma ?nica." |
|
280 |
}, |
|
281 |
"RevisionCode": { |
|
282 |
"type": "string", |
|
283 |
"format": "string40", |
|
284 |
"description": "C?digo de la revisi?n en la que se encuentran los datos en el servidor tras realizarse la operaci?n." |
|
285 |
} |
|
286 |
} |
|
287 |
} |
|
288 |
} |
|
289 |
} |
|
290 |
} |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.api/src/main/resources/org/gvsig/vcsgis/lib/vcsgisapiservices.yaml | ||
---|---|---|
1 |
openapi: 3.0.1 |
|
2 |
info: |
|
3 |
title: VCSGis simple API |
|
4 |
description: >- |
|
5 |
Simple API para acceder a los servicios de VCSGis |
|
6 |
version: 1.0.0 |
|
7 |
paths: |
|
8 |
/rowcreate: |
|
9 |
post: |
|
10 |
summary: >- |
|
11 |
Crea un nuevo registro en una tabla/entidad |
|
12 |
operationId: RowCreate |
|
13 |
requestBody: |
|
14 |
description: >- |
|
15 |
Datos para la creaci?n del nuevo registro |
|
16 |
content: |
|
17 |
application/json: |
|
18 |
schema: |
|
19 |
$ref: '#/components/schemas/RowCreationRequest' |
|
20 |
required: true |
|
21 |
responses: |
|
22 |
'200': |
|
23 |
description: successful operation |
|
24 |
content: |
|
25 |
application/json: |
|
26 |
schema: |
|
27 |
$ref: '#/components/schemas/RowCreationResponse' |
|
28 |
/rowupdate: |
|
29 |
post: |
|
30 |
summary: >- |
|
31 |
Actualiza un registro en una tabla/entidad |
|
32 |
operationId: RowUpdate |
|
33 |
requestBody: |
|
34 |
description: >- |
|
35 |
Datos para la actualizaci?n de un registro |
|
36 |
content: |
|
37 |
application/json: |
|
38 |
schema: |
|
39 |
$ref: '#/components/schemas/RowUpdateRequest' |
|
40 |
required: true |
|
41 |
responses: |
|
42 |
'200': |
|
43 |
description: successful operation |
|
44 |
content: |
|
45 |
application/json: |
|
46 |
schema: |
|
47 |
$ref: '#/components/schemas/RowUpdateResponse' |
|
48 |
/rowdelete: |
|
49 |
post: |
|
50 |
summary: >- |
|
51 |
Elimina un registro en una tabla/entidad |
|
52 |
operationId: RowDelete |
|
53 |
requestBody: |
|
54 |
description: >- |
|
55 |
Datos para la eliminaci?n de un registro |
|
56 |
content: |
|
57 |
application/json: |
|
58 |
schema: |
|
59 |
$ref: '#/components/schemas/RowDeleteRequest' |
|
60 |
required: true |
|
61 |
responses: |
|
62 |
'200': |
|
63 |
description: successful operation |
|
64 |
content: |
|
65 |
application/json: |
|
66 |
schema: |
|
67 |
$ref: '#/components/schemas/RowDeleteResponse' |
|
68 |
components: |
|
69 |
schemas: |
|
70 |
RowCreationRequest: |
|
71 |
required: |
|
72 |
- EntityName |
|
73 |
- LocalRevisionCode |
|
74 |
- Data |
|
75 |
type: object |
|
76 |
description: >- |
|
77 |
Este objeto representa una petici?n de crear un nuevo registro en una |
|
78 |
tabla. |
|
79 |
|
|
80 |
|
|
81 |
En el momento de creaci?n del registro se le asignara un c?digo ?nico en |
|
82 |
el VCS, sobreescribiendose el valor del atributo VCSGISCODE con el nuevo |
|
83 |
valor. |
|
84 |
|
|
85 |
|
|
86 |
Un ejemplo de petici?n para a?adir un registro a la tabla "test" podr?a |
|
87 |
ser algo como: |
|
88 |
<pre> |
|
89 |
{ |
|
90 |
"EntityName":"test", |
|
91 |
"LocalRevisionCode":"00000000000014abcdef0123456789", |
|
92 |
"EfectiveDate":"2020-02-18 10:11:12.123", |
|
93 |
"Comment":"test row create (4,ddd)", |
|
94 |
"Data":"\n{\n \"id\":4,\n \"text\":\"DDD\",\n \"VCSGISCODE\":\"\"\n}" |
|
95 |
} |
|
96 |
</pre> |
|
97 |
|
|
98 |
|
|
99 |
properties: |
|
100 |
EntityName: |
|
101 |
type: string |
|
102 |
description: >- |
|
103 |
Nombre de la tabla en la que se solicita crear el nuevo registro |
|
104 |
LocalRevisionCode: |
|
105 |
type: string |
|
106 |
format: string40 |
|
107 |
description: >- |
|
108 |
C?digo de la revisi?n en la que se encuentran los datos del cliente |
|
109 |
EfectiveDate: |
|
110 |
type: string |
|
111 |
format: timestamp |
|
112 |
description: >- |
|
113 |
Fecha de entrada en vigor de la operaci?n, en el formato yyyy-mm-dd |
|
114 |
hh:MM:ss.LLL . En caso de ser nulo se asignara la fecha actual. |
|
115 |
Comment: |
|
116 |
type: string |
|
117 |
description: >- |
|
118 |
Comentario asociado a la operaci?n a realizar. Puede ser nulo. |
|
119 |
Data: |
|
120 |
type: string |
|
121 |
description: >- |
|
122 |
Los datos de la feature a crear en la tabla codificados como un |
|
123 |
string json. Si la feature tiene el campo VCSGISCODE sera |
|
124 |
sobreescrito, asign?ndole un nuevo c?digo. |
|
125 |
|
|
126 |
RowCreationResponse: |
|
127 |
type: object |
|
128 |
description: >- |
|
129 |
Este objeto representa a la respuesta a una petici?n de crear un nuevo |
|
130 |
registro en una tabla. |
|
131 |
|
|
132 |
|
|
133 |
Nos informara del estado de la petici?n, as? como de: |
|
134 |
- El c?digo del nuevo registro creado. |
|
135 |
- El c?digo de la revisi?n en la que se ha quedado la |
|
136 |
tabla en el servidor. |
|
137 |
|
|
138 |
|
|
139 |
Un ejemplo de respuesta a a?adir un registro a la tabla "test" podr?a |
|
140 |
ser algo como: |
|
141 |
<pre> |
|
142 |
{ |
|
143 |
"StatusCode":0, |
|
144 |
"StatusMessage":null, |
|
145 |
"RelatedFeatureCode":"00000000000022abcdef0123456789", |
|
146 |
"EntityName":"test", |
|
147 |
"EntityCode":"00000000000002abcdef0123456789", |
|
148 |
"RevisionCode":"00000000000024abcdef0123456789" |
|
149 |
} |
|
150 |
</pre> |
|
151 |
|
|
152 |
properties: |
|
153 |
StatusCode: |
|
154 |
type: integer |
|
155 |
description: >- |
|
156 |
C?digo de estado de la operaci?n. Cero cuando la operaci?n se ha |
|
157 |
realizado correctamente. |
|
158 |
StatusMessage: |
|
159 |
type: string |
|
160 |
description: >- |
|
161 |
En caso de que no haya ido bien la operaci?n, mensaje describiendo |
|
162 |
el problema. |
|
163 |
RelatedFeatureCode: |
|
164 |
type: string |
|
165 |
format: string40 |
|
166 |
description: >- |
|
167 |
C?digo asignado al campo VCSGISCODE del nuevo registro, que |
|
168 |
representa al identificador de este en el VCS. |
|
169 |
EntityName: |
|
170 |
type: string |
|
171 |
description: >- |
|
172 |
Nombre de la tabla en la que se ha solicitado crear el nuevo |
|
173 |
registro |
|
174 |
EntityCode: |
|
175 |
type: string |
|
176 |
format: string40 |
|
177 |
description: >- |
|
178 |
C?digo interno asociado a la tabla para identificarla de forma |
|
179 |
?nica. |
|
180 |
RevisionCode: |
|
181 |
type: string |
|
182 |
format: string40 |
|
183 |
description: >- |
|
184 |
C?digo de la revisi?n en la que se encuentran los datos en el |
|
185 |
servidor tras realizarse la operaci?n. |
|
186 |
|
|
187 |
|
|
188 |
RowUpdateRequest: |
|
189 |
required: |
|
190 |
- EntityName |
|
191 |
- LocalRevisionCode |
|
192 |
- Data |
|
193 |
type: object |
|
194 |
description: >- |
|
195 |
Este objeto representa una petici?n para actualizar un registro en una |
|
196 |
tabla. |
|
197 |
|
|
198 |
Es imprescindible que el valor del atributo VCSGISCODE de los datos del |
|
199 |
registro que queremos actualizar tenga el c?digo correcto, ya que se |
|
200 |
utilizara este para identificar el registro que queremos actualizar. |
|
201 |
|
|
202 |
Un ejemplo de petici?n para actualizar un registro a la tabla "test" podr?a |
|
203 |
ser algo como: |
|
204 |
<pre> |
|
205 |
{ |
|
206 |
"EntityName":"test", |
|
207 |
"LocalRevisionCode":"00000000000024abcdef0123456789", |
|
208 |
"EfectiveDate":null, |
|
209 |
"Comment":"test row update (4,dd2)", |
|
210 |
"Data":"\n{\n \"id\":4,\n \"text\":\"DD2\",\n \"VCSGISCODE\":\"00000000000022abcdef0123456789\"\n}" |
|
211 |
} |
|
212 |
</pre> |
|
213 |
|
|
214 |
|
|
215 |
properties: |
|
216 |
EntityName: |
|
217 |
type: string |
|
218 |
description: >- |
|
219 |
Nombre de la tabla en la que se solicita actualizar el registro |
|
220 |
LocalRevisionCode: |
|
221 |
type: string |
|
222 |
format: string40 |
|
223 |
description: >- |
|
224 |
C?digo de la revisi?n en la que se encuentran los datos del cliente |
|
225 |
EfectiveDate: |
|
226 |
type: string |
|
227 |
format: timestamp |
|
228 |
description: >- |
|
229 |
Fecha de entrada en vigor de la operaci?n, en el formato yyyy-mm-dd |
|
230 |
hh:MM:ss.LLL . En caso de ser nulo se asignara la fecha actual. |
|
231 |
Comment: |
|
232 |
type: string |
|
233 |
description: >- |
|
234 |
Comentario asociado a la operaci?n a realizar. Puede ser nulo. |
|
235 |
Data: |
|
236 |
type: string |
|
237 |
description: >- |
|
238 |
Los datos de la feature a crear en la tabla codificados como un |
|
239 |
string json. El atributo VCSGISCODE debe de tener un c?digo valido e |
|
240 |
identificara al registro que se esta actualizando. |
|
241 |
RowUpdateResponse: |
|
242 |
type: object |
|
243 |
description: >- |
|
244 |
Este objeto representa a la respuesta a una petici?n de actualizar un |
|
245 |
registro en una tabla. |
|
246 |
|
|
247 |
|
|
248 |
Un ejemplo de respuesta a actualizar un registro de la tabla *"test"* podr?a |
|
249 |
ser algo como: |
|
250 |
<pre> |
|
251 |
{ |
|
252 |
"StatusCode":0, |
|
253 |
"StatusMessage":null, |
|
254 |
"EntityName":"test", |
|
255 |
"EntityCode":"00000000000002abcdef0123456789", |
|
256 |
"RevisionCode":"00000000000029abcdef0123456789" |
|
257 |
} |
|
258 |
</pre> |
|
259 |
|
|
260 |
properties: |
|
261 |
StatusCode: |
|
262 |
type: integer |
|
263 |
description: >- |
|
264 |
C?digo de estado de la operaci?n. Cero cuando la operaci?n se ha |
|
265 |
realizado correctamente. |
|
266 |
StatusMessage: |
|
267 |
type: string |
|
268 |
description: >- |
|
269 |
En caso de que no haya ido bien la operaci?n, mensaje describiendo |
|
270 |
el problema. |
|
271 |
EntityName: |
|
272 |
type: string |
|
273 |
description: >- |
|
274 |
Nombre de la tabla en la que se ha solicitado crear el nuevo |
|
275 |
registro |
|
276 |
EntityCode: |
|
277 |
type: string |
|
278 |
format: string40 |
|
279 |
description: >- |
|
280 |
C?digo interno asociado a la tabla para identificarla de forma |
|
281 |
?nica. |
|
282 |
RevisionCode: |
|
283 |
type: string |
|
284 |
format: string40 |
|
285 |
description: >- |
|
286 |
C?digo de la revisi?n en la que se encuentran los datos en el |
|
287 |
servidor tras realizarse la operaci?n. |
|
288 |
|
|
289 |
RowDeleteRequest: |
|
290 |
required: |
|
291 |
- EntityName |
|
292 |
- LocalRevisionCode |
|
293 |
- RelatedFeatureCode |
|
294 |
type: object |
|
295 |
description: >- |
|
296 |
Este objeto representa una petici?n de eliminar un registro en una |
|
297 |
tabla. |
|
298 |
|
|
299 |
|
|
300 |
El registro que se desea eliminar se identificara por el valor del |
|
301 |
atributo *RelatedFeatureCode*. |
|
302 |
|
|
303 |
|
|
304 |
Un ejemplo de petici?n para eliminar un registro de la tabla "test" podr?a |
|
305 |
ser algo como: |
|
306 |
<pre> |
|
307 |
{ |
|
308 |
"EntityName":"test", |
|
309 |
"LocalRevisionCode":"00000000000029abcdef0123456789", |
|
310 |
"RelatedFeatureCode":"00000000000022abcdef0123456789", |
|
311 |
"EfectiveDate":"2020-02-19 10:11:12.123", |
|
312 |
"Comment":"test row delete (4,dd2)" |
|
313 |
} |
|
314 |
</pre> |
|
315 |
|
|
316 |
|
|
317 |
properties: |
|
318 |
EntityName: |
|
319 |
type: string |
|
320 |
description: >- |
|
321 |
Nombre de la tabla en la que se solicita crear el nuevo registro |
|
322 |
LocalRevisionCode: |
|
323 |
type: string |
|
324 |
format: string40 |
|
325 |
description: >- |
|
326 |
C?digo de la revisi?n en la que se encuentran los datos del cliente |
|
327 |
EfectiveDate: |
|
328 |
type: string |
|
329 |
format: timestamp |
|
330 |
description: >- |
|
331 |
Fecha de entrada en vigor de la operaci?n, en el formato yyyy-mm-dd |
|
332 |
hh:MM:ss.LLL . En caso de ser nulo se asignara la fecha actual. |
|
333 |
Comment: |
|
334 |
type: string |
|
335 |
description: >- |
|
336 |
Comentario asociado a la operaci?n a realizar. Puede ser nulo. |
|
337 |
RelatedFeatureCode: |
|
338 |
type: string |
|
339 |
format: string40 |
|
340 |
description: >- |
|
341 |
C?digo del registro que se desea eliminar. Eliminara el registro que |
|
342 |
tenga como valor del atributo VCSGISCODE el valor de este campo. |
|
343 |
RowDeleteResponse: |
|
344 |
type: object |
|
345 |
description: >- |
|
346 |
Este objeto representa a la respuesta a una petici?n de eliminar un |
|
347 |
registro en una tabla. |
|
348 |
|
|
349 |
|
|
350 |
Un ejemplo de respuesta a eliminar un registro de la tabla "test" podr?a |
|
351 |
ser algo como: |
|
352 |
<pre> |
|
353 |
{ |
|
354 |
"StatusCode":0, |
|
355 |
"StatusMessage":null, |
|
356 |
"EntityName":"test", |
|
357 |
"EntityCode":"00000000000002abcdef0123456789", |
|
358 |
"RevisionCode":"00000000000034abcdef0123456789" |
|
359 |
} |
|
360 |
</pre> |
|
361 |
|
|
362 |
properties: |
|
363 |
StatusCode: |
|
364 |
type: integer |
|
365 |
description: >- |
|
366 |
C?digo de estado de la operaci?n. Cero cuando la operaci?n se ha |
|
367 |
realizado correctamente. |
|
368 |
StatusMessage: |
|
369 |
type: string |
|
370 |
description: >- |
|
371 |
En caso de que no haya ido bien la operaci?n, mensaje describiendo |
|
372 |
el problema. |
|
373 |
EntityName: |
|
374 |
type: string |
|
375 |
description: >- |
|
376 |
Nombre de la tabla en la que se ha solicitado crear el nuevo |
|
377 |
registro |
|
378 |
EntityCode: |
|
379 |
type: string |
|
380 |
format: string40 |
|
381 |
description: >- |
|
382 |
C?digo interno asociado a la tabla para identificarla de forma |
|
383 |
?nica. |
|
384 |
RevisionCode: |
|
385 |
type: string |
|
386 |
format: string40 |
|
387 |
description: >- |
|
388 |
C?digo de la revisi?n en la que se encuentran los datos en el |
|
389 |
servidor tras realizarse la operaci?n. |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/pom.xml | ||
---|---|---|
82 | 82 |
<dependency> |
83 | 83 |
<groupId>org.apache.httpcomponents</groupId> |
84 | 84 |
<artifactId>httpclient</artifactId> |
85 |
<version>4.3.6</version> |
|
86 |
<type>jar</type> |
|
85 |
<scope>compile</scope> |
|
87 | 86 |
</dependency> |
88 | 87 |
</dependencies> |
89 | 88 |
<build> |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test13Merge.java | ||
---|---|---|
150 | 150 |
TestUtils.h2sql_workspace(ws1); |
151 | 151 |
|
152 | 152 |
// ------------------------------------------------------------ |
153 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
153 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
154 | 154 |
//REV 0 |
155 | 155 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
156 | 156 |
r = ws1.add("test", sourceTest, "text"); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test11GetLocalChanges.java | ||
---|---|---|
75 | 75 |
TestUtils.h2sql_workspace(ws1); |
76 | 76 |
|
77 | 77 |
// ------------------------------------------------------------ |
78 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
78 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
79 | 79 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
80 | 80 |
r = ws1.add("test", sourceTest, "text"); |
81 | 81 |
assertEquals("ws1.add status", ERR_NO_ERROR, r); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test06AddCommit.java | ||
---|---|---|
64 | 64 |
TestUtils.h2sql_workspace(ws); |
65 | 65 |
|
66 | 66 |
// --------------------------------------------------------- |
67 |
// A?adimos al workspace la tabla de pruebas y lo commitamos
|
|
67 |
// Adicionamos al workspace la tabla de pruebas y lo commitamos
|
|
68 | 68 |
FeatureStore sourceStore = TestUtils.openSourceStore1(); |
69 | 69 |
r = ws.add("sourceStore1", sourceStore, "ID"); |
70 | 70 |
assertEquals("ws-add status", 0, r); |
... | ... | |
80 | 80 |
DisposeUtils.disposeQuietly(changesStore); |
81 | 81 |
|
82 | 82 |
// --------------------------------------------------------- |
83 |
// Comprobamos que la tabla a?adida al espacio ed trabajo contiene
|
|
83 |
// Comprobamos que la tabla adicionada al espacio ed trabajo contiene
|
|
84 | 84 |
// los mismos registros que la original. |
85 | 85 |
FeatureStore dataStore = ((VCSGisRepositoryLocaldb)repo).getFeatureStore(DataRepoTable.TABLE_NAME); |
86 | 86 |
assertEquals("DataStore", sourceStore.size64(), dataStore.size64()); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test08Update.java | ||
---|---|---|
76 | 76 |
TestUtils.h2sql_workspace(ws1); |
77 | 77 |
|
78 | 78 |
// ------------------------------------------------------------ |
79 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
79 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
80 | 80 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
81 | 81 |
r = ws1.add("test", sourceTest, "text"); |
82 | 82 |
assertEquals("ws1.add status", ERR_NO_ERROR, r); |
... | ... | |
332 | 332 |
TestUtils.h2sql_workspace(ws1); |
333 | 333 |
|
334 | 334 |
// ------------------------------------------------------------ |
335 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
335 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
336 | 336 |
//REV 0 |
337 | 337 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
338 | 338 |
r = ws1.add("test", sourceTest, "text"); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test09CommitOutdated.java | ||
---|---|---|
79 | 79 |
TestUtils.h2sql_workspace(ws1); |
80 | 80 |
|
81 | 81 |
// ------------------------------------------------------------ |
82 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
82 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
83 | 83 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
84 | 84 |
r = ws1.add("test", sourceTest, "text"); |
85 | 85 |
assertEquals("ws1.add status", ERR_NO_ERROR, r); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test12Commit.java | ||
---|---|---|
70 | 70 |
TestUtils.h2sql_workspace(ws1); |
71 | 71 |
|
72 | 72 |
// ------------------------------------------------------------ |
73 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
73 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
74 | 74 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
75 | 75 |
r = ws1.add("test", sourceTest, "ID"); |
76 | 76 |
assertEquals("ws1.add status", ERR_NO_ERROR, r); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/test/java/org/gvsig/vcsgis/lib/impl/Test10UpdateLocalModified.java | ||
---|---|---|
85 | 85 |
TestUtils.h2sql_workspace(ws1); |
86 | 86 |
|
87 | 87 |
// ------------------------------------------------------------ |
88 |
// A?adimos al workspace1 la tabla "test" y la commitamos.
|
|
88 |
// Adicionamos al workspace1 la tabla "test" y la commitamos.
|
|
89 | 89 |
FeatureStore sourceTest = TestUtils.openSourceStore2(); |
90 | 90 |
r = ws1.add("test", sourceTest, "text"); |
91 | 91 |
assertEquals("ws1.add status", ERR_NO_ERROR, r); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/VCSGisLibraryImpl.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright ? 2007-2015 gvSIG Association
|
|
4 |
* Copyright (c) 2007-2015 gvSIG Association
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/server/handlers/UpdateHandler.java | ||
---|---|---|
38 | 38 |
import org.gvsig.vcsgis.lib.repository.VCSGisRepositoryData; |
39 | 39 |
import org.gvsig.vcsgis.lib.repository.requests.VCSGisCheckoutRequest; |
40 | 40 |
import org.gvsig.vcsgis.lib.repository.requests.VCSGisRequest; |
41 |
import org.gvsig.vcsgis.lib.repository.requests.VCSGisRowUpdateRequest; |
|
42 | 41 |
import org.gvsig.vcsgis.lib.repository.requests.VCSGisUpdateRequest; |
43 | 42 |
import static org.gvsig.vcsgis.lib.server.handlers.AbstractVCSGisServertHandler.LOGGER; |
44 | 43 |
|
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/server/handlers/CommitHandler.java | ||
---|---|---|
110 | 110 |
break; |
111 | 111 |
case "/Data/?": |
112 | 112 |
// Hemos terminado de generar un elemento del array |
113 |
// de datos, construimos un Change y lo a?adimos a la
|
|
113 |
// de datos, construimos un Change y lo adicionamos a la
|
|
114 | 114 |
// cola de cambios. |
115 | 115 |
JsonObject jsonChange = ((javax.json.JsonObjectBuilder)value).build(); |
116 | 116 |
VCSGisChange change = new ChangeImpl(jsonChange); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/VCSGisManagerImpl.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2015 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2015 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/workspace/VCSGisWorkspaceImpl.java | ||
---|---|---|
895 | 895 |
|
896 | 896 |
LOGGER.debug("===: COMMIT: Adding changed local entities"); |
897 | 897 |
status.message("Searching changed entities"); |
898 |
// A?adimos las entidades que vamos a actualizar con las revisiones que tenemos.
|
|
898 |
// adicionamos las entidades que vamos a actualizar con las revisiones que tenemos.
|
|
899 | 899 |
DisposableFeatureSetIterable changesGroupedByEntity = changesTable.getGroupedByEntity(this); |
900 | 900 |
for (Feature fchange : changesGroupedByEntity) { |
901 | 901 |
WorkspaceChangeRow change = new WorkspaceChangeRow(this, fchange); |
... | ... | |
917 | 917 |
|
918 | 918 |
LOGGER.debug("===: COMMIT: Adding data"); |
919 | 919 |
status.message("Searching changed data"); |
920 |
// A?adimos los datos
|
|
920 |
// adicionamos los datos
|
|
921 | 921 |
boolean useSeleccion = true; |
922 | 922 |
DisposableFeatureSetIterable changes = changesTable.getSelectedsWithoutAddEntity(this); |
923 | 923 |
if (changes == null) { |
... | ... | |
1554 | 1554 |
|
1555 | 1555 |
LocalRevisionsTable localRevisionsTable = new LocalRevisionsTable(); |
1556 | 1556 |
GetItemWithSizeAndIterator64<Feature> lrevisions = localRevisionsTable.getAllRevisions(this, lentity.getEntityCode()); |
1557 |
//Asumimos que lrevisions est? ordenado ascendentemente por numero de revision
|
|
1557 |
//Asumimos que lrevisions esta ordenado ascendentemente por numero de revision
|
|
1558 | 1558 |
// Long prevRevNumber = null; |
1559 | 1559 |
Long minRevision = null; |
1560 | 1560 |
Long maxRevision = null; |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/repository/localdb/requests/LogRequestLocaldb.java | ||
---|---|---|
64 | 64 |
|
65 | 65 |
@Override |
66 | 66 |
public int execute() { |
67 |
//FIXME: este m?todo es el que hay que implementar para acceder a las tablas de Localdb
|
|
67 |
//FIXME: este metodo es el que hay que implementar para acceder a las tablas de Localdb
|
|
68 | 68 |
EntitiesRepoTable entitiesTable = new EntitiesRepoTable(); |
69 | 69 |
EntityRepoRow entityRow = entitiesTable.getByEntityName( |
70 | 70 |
getRepository(), |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/repository/remoteclient/requests/CheckoutRequestClient.java | ||
---|---|---|
163 | 163 |
break; |
164 | 164 |
case "/Data/?": |
165 | 165 |
// Hemos terminado de generar un elemento del array |
166 |
// de datos, construimos un VCSGisRepositoryData y lo a?adimos a la
|
|
166 |
// de datos, construimos un VCSGisRepositoryData y lo adicionamos a la
|
|
167 | 167 |
// cola de cambios. |
168 | 168 |
JsonObject jsonData = ((javax.json.JsonObjectBuilder)value).build(); |
169 | 169 |
VCSGisRepositoryData data = new VCSGisRepositoryDataImpl(jsonData); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.lib/org.gvsig.vcsgis.lib.impl/src/main/java/org/gvsig/vcsgis/lib/repository/remoteclient/requests/UpdateRequestClient.java | ||
---|---|---|
142 | 142 |
break; |
143 | 143 |
case "/Data/?": |
144 | 144 |
// Hemos terminado de generar un elemento del array |
145 |
// de datos, construimos un VCSGisRepositoryData y lo a?adimos a la
|
|
145 |
// de datos, construimos un VCSGisRepositoryData y lo adicionamos a la
|
|
146 | 146 |
// cola de cambios. |
147 | 147 |
JsonObject jsonData = ((javax.json.JsonObjectBuilder)value).build(); |
148 | 148 |
VCSGisRepositoryData data = new VCSGisRepositoryDataImpl(jsonData); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.server/org.gvsig.vcsgis.server.webapp/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<packaging>war</packaging> |
|
4 |
<parent> |
|
5 |
<groupId>org.gvsig</groupId> |
|
6 |
<artifactId>org.gvsig.vcsgis.server</artifactId> |
|
7 |
<version>1.0.0-SNAPSHOT</version> |
|
8 |
</parent> |
|
9 |
<artifactId>org.gvsig.vcsgis.server.webapp</artifactId> |
|
10 |
<name>${project.artifactId}</name> |
|
11 |
|
|
12 |
<dependencies> |
|
13 |
<dependency> |
|
14 |
<groupId>org.gvsig</groupId> |
|
15 |
<artifactId>org.gvsig.vcsgis.lib.api</artifactId> |
|
16 |
<scope>compile</scope> |
|
17 |
</dependency> |
|
18 |
<dependency> |
|
19 |
<groupId>org.gvsig</groupId> |
|
20 |
<artifactId>org.gvsig.vcsgis.server.lib</artifactId> |
|
21 |
<scope>compile</scope> |
|
22 |
</dependency> |
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
<dependency> |
|
27 |
<groupId>org.gvsig</groupId> |
|
28 |
<artifactId>org.gvsig.vcsgis.lib.impl</artifactId> |
|
29 |
<scope>runtime</scope> |
|
30 |
</dependency> |
|
31 |
<dependency> |
|
32 |
<groupId>org.gvsig</groupId> |
|
33 |
<artifactId>org.gvsig.fmap.dal.impl</artifactId> |
|
34 |
<scope>runtime</scope> |
|
35 |
</dependency> |
|
36 |
<dependency> |
|
37 |
<groupId>org.gvsig</groupId> |
|
38 |
<artifactId>org.gvsig.fmap.dal.db.h2</artifactId> |
|
39 |
<scope>runtime</scope> |
|
40 |
</dependency> |
|
41 |
<dependency> |
|
42 |
<groupId>org.gvsig</groupId> |
|
43 |
<artifactId>${org.gvsig.fmap.geometry.impl}</artifactId> |
|
44 |
<scope>runtime</scope> |
|
45 |
</dependency> |
|
46 |
<dependency> |
|
47 |
<groupId>org.gvsig</groupId> |
|
48 |
<artifactId>org.gvsig.expressionevaluator.lib.impl</artifactId> |
|
49 |
<scope>runtime</scope> |
|
50 |
</dependency> |
|
51 |
<dependency> |
|
52 |
<groupId>org.gvsig</groupId> |
|
53 |
<artifactId>org.gvsig.expressionevaluator.geometry.lib.impl</artifactId> |
|
54 |
<scope>runtime</scope> |
|
55 |
</dependency> |
|
56 |
<dependency> |
|
57 |
<groupId>org.gvsig</groupId> |
|
58 |
<artifactId>${org.gvsig.proj.lib.impl}</artifactId> |
|
59 |
<scope>runtime</scope> |
|
60 |
</dependency> |
|
61 |
<dependency> |
|
62 |
<groupId>org.gvsig</groupId> |
|
63 |
<artifactId>org.gvsig.compat.se</artifactId> |
|
64 |
<scope>runtime</scope> |
|
65 |
</dependency> |
|
66 |
<dependency> |
|
67 |
<groupId>org.gvsig</groupId> |
|
68 |
<artifactId>org.gvsig.metadata.lib.basic.impl</artifactId> |
|
69 |
<scope>runtime</scope> |
|
70 |
</dependency> |
|
71 |
<dependency> |
|
72 |
<groupId>org.gvsig</groupId> |
|
73 |
<artifactId>org.gvsig.timesupport.lib.impl</artifactId> |
|
74 |
<scope>runtime</scope> |
|
75 |
</dependency> |
|
76 |
<dependency> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.fmap.dal.file.csv</artifactId> |
|
79 |
<scope>runtime</scope> |
|
80 |
</dependency> |
|
81 |
<dependency> |
|
82 |
<groupId>org.gvsig</groupId> |
|
83 |
<artifactId>org.gvsig.tools.util.impl</artifactId> |
|
84 |
<scope>runtime</scope> |
|
85 |
</dependency> |
|
86 |
<dependency> |
|
87 |
<groupId>org.gvsig</groupId> |
|
88 |
<artifactId>org.gvsig.tools.swing.impl</artifactId> |
|
89 |
<scope>runtime</scope> |
|
90 |
</dependency> |
|
91 |
|
|
92 |
<dependency> |
|
93 |
<groupId>org.eclipse.jetty.aggregate</groupId> |
|
94 |
<artifactId>jetty-all</artifactId> |
|
95 |
<version>${jettyVersion}</version> |
|
96 |
<type>pom</type> |
|
97 |
</dependency> |
|
98 |
|
|
99 |
<dependency> |
|
100 |
<groupId>javax.servlet</groupId> |
|
101 |
<artifactId>javax.servlet-api</artifactId> |
|
102 |
<version>3.1.0</version> |
|
103 |
<scope>provided</scope> |
|
104 |
</dependency> |
|
105 |
|
|
106 |
</dependencies> |
|
107 |
<build> |
|
108 |
<plugins> |
|
109 |
|
|
110 |
<plugin> |
|
111 |
<groupId>org.apache.maven.plugins</groupId> |
|
112 |
<artifactId>maven-surefire-plugin</artifactId> |
|
113 |
<configuration> |
|
114 |
<!-- Skip test execution ? --> |
|
115 |
<skipTests>false</skipTests> |
|
116 |
<!-- Ignore test execution failure ? --> |
|
117 |
<testFailureIgnore>true</testFailureIgnore> |
|
118 |
</configuration> |
|
119 |
</plugin> |
|
120 |
|
|
121 |
<!-- Skip test compilation ? --> |
|
122 |
<plugin> |
|
123 |
<groupId>org.apache.maven.plugins</groupId> |
|
124 |
<artifactId>maven-compiler-plugin</artifactId> |
|
125 |
<executions> |
|
126 |
<execution> |
|
127 |
<id>default-testCompile</id> |
|
128 |
<phase>process-test-sources</phase> |
|
129 |
<goals> |
|
130 |
<goal>testCompile</goal> |
|
131 |
</goals> |
|
132 |
<configuration> |
|
133 |
<skip>false</skip> |
|
134 |
</configuration> |
|
135 |
</execution> |
|
136 |
</executions> |
|
137 |
</plugin> |
|
138 |
|
|
139 |
<plugin> |
|
140 |
<groupId>org.eclipse.jetty</groupId> |
|
141 |
<artifactId>jetty-maven-plugin</artifactId> |
|
142 |
<version>${jettyVersion}</version> |
|
143 |
</plugin> |
|
144 |
|
|
145 |
</plugins> |
|
146 |
</build> |
|
147 |
|
|
148 |
</project> |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.server/org.gvsig.vcsgis.server.webapp/nbactions.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<actions> |
|
3 |
<action> |
|
4 |
<actionName>CUSTOM-jetty:run</actionName> |
|
5 |
<displayName>jetty:run</displayName> |
|
6 |
<goals> |
|
7 |
<goal>jetty:run</goal> |
|
8 |
</goals> |
|
9 |
</action> |
|
10 |
</actions> |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.server/org.gvsig.vcsgis.server.webapp/src/main/webapp/WEB-INF/web.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<web-app |
|
3 |
xmlns="http://java.sun.com/xml/ns/javaee" |
|
4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
5 |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
|
6 |
version="2.5"> |
|
7 |
|
|
8 |
<Call name="setAttribute"> |
|
9 |
<Arg>org.gvsig.vcsgis.server.params</Arg> |
|
10 |
<Arg>esto es una prueba</Arg> |
|
11 |
</Call> |
|
12 |
|
|
13 |
<servlet> |
|
14 |
<servlet-name>Hello</servlet-name> |
|
15 |
<servlet-class>org.gvsig.vcsgis.server.lib.HelloServlet</servlet-class> |
|
16 |
</servlet> |
|
17 |
<servlet-mapping> |
|
18 |
<servlet-name>Hello</servlet-name> |
|
19 |
<url-pattern>/hello/*</url-pattern> |
|
20 |
</servlet-mapping> |
|
21 |
</web-app> |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.server/org.gvsig.vcsgis.server.webapp/src/test/resources/log4j.properties | ||
---|---|---|
1 |
log4j.rootLogger=INFO, stdout |
|
2 |
|
|
3 |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
|
4 |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
|
5 |
|
|
6 |
# Pattern to output the caller's file name and line number. |
|
7 |
log4j.appender.stdout.layout.ConversionPattern=%5p %r [%t] (%F:%L) - %m%n |
|
8 |
|
|
9 |
log4j.logger.org.gvsig.andami.plugins=INFO |
|
10 |
log4j.logger.org.gvsig.tools=INFO |
|
11 |
log4j.logger.org.gvsig.tools.dataTypes=INFO |
|
12 |
log4j.logger.org.gvsig.tools.library=INFO |
|
13 |
log4j.logger.org.gvsig.tools.persistence=INFO |
|
14 |
log4j.logger.org.gvsig.i18n.Messages=INFO |
|
15 |
log4j.logger.org.gvsig.installer.lib.impl.DefaultDependenciesCalculator=INFO |
|
16 |
# |
|
17 |
# JCRS |
|
18 |
log4j.logger.org.gvsig.crs=INFO |
|
19 |
log4j.logger.es.idr.teledeteccion.connection=INFO |
|
20 |
log4j.logger.org.geotools.referencing.operation.projection=INFO |
|
21 |
# |
|
22 |
# JDBC/BBDD |
|
23 |
# Core |
|
24 |
log4j.logger.org.gvsig.fmap.dal.store.jdbc=INFO |
|
25 |
log4j.logger.org.gvsig.fmap.dal.store.jdbc2=INFO |
|
26 |
log4j.logger.org.gvsig.fmap.dal.feature.spi=INFO |
|
27 |
# Data providers |
|
28 |
log4j.logger.org.gvsig.fmap.dal.store.h2=INFO |
|
29 |
log4j.logger.org.gvsig.postgresql.dal=INFO |
|
30 |
log4j.logger.org.gvsig.mssqlserver.dal=INFO |
|
31 |
log4j.logger.org.gvsig.mysql.dal=INFO |
|
32 |
log4j.logger.org.gvsig.spatialite.dal=INFO |
|
33 |
log4j.logger.org.gvsig.oracle.dal=INFO |
|
34 |
# Exoport providers |
|
35 |
log4j.logger.org.gvsig.exportto.swing.prov.jdbc=INFO |
|
36 |
log4j.logger.org.gvsig.exportto.swing.prov.h2=INFO |
|
37 |
# |
|
38 |
# shp/dbf driver |
|
39 |
log4j.logger.org.gvsig.fmap.dal.store.shp=INFO |
|
40 |
log4j.logger.org.gvsig.fmap.dal.store.dbf=INFO |
|
41 |
# |
|
42 |
log4j.logger.org.gvsig.vcsgis.lib=INFO |
|
43 |
#log4j.logger.org.gvsig.vcsgis.lib.repository=INFO |
|
44 |
#log4j.logger.org.gvsig.vcsgis.lib.repository.localdb=INFO |
|
45 |
#log4j.logger.org.gvsig.vcsgis.lib.repository.remoteclient=INFO |
|
46 |
#log4j.logger.org.gvsig.vcsgis.lib.requests=INFO |
|
47 |
#log4j.logger.org.gvsig.vcsgis.lib.workspace=INFO |
|
48 |
#log4j.logger.org.gvsig.vcsgis.lib.server=INFO |
|
0 | 49 |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.server/pom.xml | ||
---|---|---|
7 | 7 |
</parent> |
8 | 8 |
<artifactId>org.gvsig.vcsgis.server</artifactId> |
9 | 9 |
<packaging>pom</packaging> |
10 |
<name>${project.artifactId}</name> |
|
10 | 11 |
<modules> |
11 | 12 |
<module>org.gvsig.vcsgis.server.lib</module> |
13 |
<module>org.gvsig.vcsgis.server.webapp</module> |
|
12 | 14 |
</modules> |
13 | 15 |
</project> |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.server/org.gvsig.vcsgis.server.lib/pom.xml | ||
---|---|---|
1 | 1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 2 |
<modelVersion>4.0.0</modelVersion> |
3 |
<packaging>jar</packaging> |
|
3 | 4 |
<parent> |
4 | 5 |
<groupId>org.gvsig</groupId> |
5 | 6 |
<artifactId>org.gvsig.vcsgis.server</artifactId> |
... | ... | |
7 | 8 |
</parent> |
8 | 9 |
<artifactId>org.gvsig.vcsgis.server.lib</artifactId> |
9 | 10 |
<name>${project.artifactId}</name> |
11 |
|
|
10 | 12 |
<dependencies> |
11 | 13 |
<dependency> |
12 | 14 |
<groupId>org.gvsig</groupId> |
... | ... | |
82 | 84 |
<scope>runtime</scope> |
83 | 85 |
</dependency> |
84 | 86 |
|
87 |
<!-- <dependency> |
|
88 |
<groupId>org.eclipse.jetty.aggregate</groupId> |
|
89 |
<artifactId>jetty-all</artifactId> |
|
90 |
<version>${jettyVersion}</version> |
|
91 |
<type>pom</type> |
|
92 |
</dependency>--> |
|
85 | 93 |
<dependency> |
86 |
<groupId>org.eclipse.jetty.aggregate</groupId> |
|
87 |
<artifactId>jetty-all</artifactId> |
|
88 |
<version>9.4.34.v20201102</version> |
|
89 |
<type>pom</type> |
|
94 |
<groupId>org.eclipse.jetty</groupId> |
|
95 |
<artifactId>jetty-server</artifactId> |
|
96 |
<version>${jettyVersion}</version> |
|
90 | 97 |
</dependency> |
98 |
<dependency> |
|
99 |
<groupId>org.eclipse.jetty</groupId> |
|
100 |
<artifactId>jetty-servlet</artifactId> |
|
101 |
<version>${jettyVersion}</version> |
|
102 |
</dependency> |
|
91 | 103 |
|
92 | 104 |
</dependencies> |
93 | 105 |
<build> |
94 | 106 |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingLocator.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingLibrary.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingManager.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkout/VCSGisJCheckoutImpl.java | ||
---|---|---|
154 | 154 |
// this.filteredList.getModel().addElement(entity); |
155 | 155 |
// } |
156 | 156 |
|
157 |
//Obtenemos la entidades del repositorio que no est?n todav?a en el workspace
|
|
157 |
//Obtenemos la entidades del repositorio que no estan todavia en el workspace
|
|
158 | 158 |
List<VCSGisEntity> repoEntities = workspace.getRepositoryEntities(); |
159 | 159 |
for (VCSGisEntity rentity : repoEntities) { |
160 | 160 |
VCSGisEntity lentity = workspace.getWorkspaceEntityByCode(rentity.getEntityCode()); |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/addToWorkspace/VCSGisJAddToWorkspaceImpl.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright ? 2007-2020 gvSIG Association
|
|
4 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
... | ... | |
268 | 268 |
FeatureStore featureStore = getFeatureStore(); |
269 | 269 |
if (featureStore != null) { |
270 | 270 |
FeatureAttributeDescriptor descriptor = this.fieldForLabelPicker.get(); |
271 |
//TODO: A?adir pkName si hace falta
|
|
271 |
//TODO: Adicionamos pkName si hace falta
|
|
272 | 272 |
return workspace.add(txtName.getText(), featureStore, descriptor==null?null:descriptor.getName()); |
273 | 273 |
} |
274 | 274 |
} |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/initserver/VCSGisJInitServerImpl.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright ? 2007-2020 gvSIG Association
|
|
4 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/VCSGisSwingImplLibrary.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright ? 2007-2020 gvSIG Association
|
|
4 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/initworkspace/VCSGisJInitWorkspaceImpl.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* gvSIG. Desktop Geographic Information System. |
3 | 3 |
* |
4 |
* Copyright ? 2007-2020 gvSIG Association
|
|
4 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
5 | 5 |
* |
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/VCSGisSwingManagerImpl.java | ||
---|---|---|
1 | 1 |
/* gvSIG. Desktop Geographic Information System. |
2 | 2 |
* |
3 |
* Copyright ? 2007-2020 gvSIG Association
|
|
3 |
* Copyright (c) 2007-2020 gvSIG Association
|
|
4 | 4 |
* |
5 | 5 |
* This program is free software; you can redistribute it and/or |
6 | 6 |
* modify it under the terms of the GNU General Public License |
org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/pom.xml | ||
---|---|---|
1 | 1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<groupId>org.gvsig</groupId> |
|
4 |
<artifactId>org.gvsig.vcsgis</artifactId> |
|
5 |
<version>1.0.0-SNAPSHOT</version> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>${project.artifactId}</name> |
|
8 |
<description></description> |
|
9 |
<parent> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
10 | 3 |
<groupId>org.gvsig</groupId> |
11 |
<artifactId>org.gvsig.desktop</artifactId> |
|
12 |
<version>2.0.292-SNAPSHOT</version> |
|
13 |
</parent> |
|
4 |
<artifactId>org.gvsig.vcsgis</artifactId> |
|
5 |
<version>1.0.0-SNAPSHOT</version> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>${project.artifactId}</name> |
|
8 |
<description></description> |
|
9 |
<parent> |
|
10 |
<groupId>org.gvsig</groupId> |
|
11 |
<artifactId>org.gvsig.desktop</artifactId> |
|
12 |
<version>2.0.292-SNAPSHOT</version> |
|
13 |
</parent> |
|
14 | 14 |
|
15 |
<url>https://devel.gvsig.org/sites/org.gvsig.vcsgis/${project.version}</url> |
|
16 |
<scm> |
|
17 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-lrs/org.gvsig.lrs/trunk/${project.artifactId}</connection> |
|
18 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-lrs/org.gvsig.lrs/trunk/${project.artifactId}</developerConnection> |
|
19 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-lrs/repository/show/org.gvsig.lrs/trunk/${project.artifactId}</url> |
|
20 |
</scm> |
|
21 |
<repositories> |
|
22 |
<repository> |
|
23 |
<id>gvsig-public-http-repository</id> |
|
24 |
<name>gvSIG maven public HTTP repository</name> |
|
25 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
26 |
<releases> |
|
27 |
<enabled>true</enabled> |
|
28 |
<updatePolicy>daily</updatePolicy> |
|
29 |
<checksumPolicy>warn</checksumPolicy> |
|
30 |
</releases> |
|
31 |
<snapshots> |
|
32 |
<enabled>true</enabled> |
|
33 |
<updatePolicy>daily</updatePolicy> |
|
34 |
<checksumPolicy>warn</checksumPolicy> |
|
35 |
</snapshots> |
|
36 |
</repository> |
|
37 |
</repositories> |
|
15 |
<properties> |
|
16 |
<jettyVersion>9.4.34.v20201102</jettyVersion> |
|
17 |
</properties> |
|
18 |
|
|
19 |
<url>https://devel.gvsig.org/sites/org.gvsig.vcsgis/${project.version}</url> |
|
20 |
<scm> |
|
21 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-lrs/org.gvsig.lrs/trunk/${project.artifactId}</connection> |
|
22 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-lrs/org.gvsig.lrs/trunk/${project.artifactId}</developerConnection> |
|
23 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-lrs/repository/show/org.gvsig.lrs/trunk/${project.artifactId}</url> |
|
24 |
</scm> |
|
25 |
<repositories> |
|
26 |
<repository> |
|
27 |
<id>gvsig-public-http-repository</id> |
|
28 |
<name>gvSIG maven public HTTP repository</name> |
Also available in: Unified diff