blob: 327d1caeee70ef5144f10b269696fba55031646f [file] [log] [blame]
Thomas Vachuska96d55b12015-05-11 08:52:03 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Thomas Vachuska96d55b12015-05-11 08:52:03 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.rest.resources;
17
Jonathan Hartb11c4d02016-03-23 09:05:44 -070018import com.fasterxml.jackson.databind.JsonNode;
19import com.fasterxml.jackson.databind.node.ObjectNode;
20import org.onosproject.net.config.Config;
21import org.onosproject.net.config.NetworkConfigService;
22import org.onosproject.net.config.SubjectFactory;
23import org.onosproject.rest.AbstractWebResource;
Thomas Vachuska96d55b12015-05-11 08:52:03 -070024
25import javax.ws.rs.Consumes;
26import javax.ws.rs.DELETE;
27import javax.ws.rs.GET;
28import javax.ws.rs.POST;
29import javax.ws.rs.Path;
30import javax.ws.rs.PathParam;
31import javax.ws.rs.Produces;
32import javax.ws.rs.core.MediaType;
33import javax.ws.rs.core.Response;
Jonathan Hartb11c4d02016-03-23 09:05:44 -070034import java.io.IOException;
35import java.io.InputStream;
36import java.util.Set;
Ray Milkey36992c82015-11-17 13:31:15 -080037
38import static org.onlab.util.Tools.emptyIsNotFound;
39import static org.onlab.util.Tools.nullIsNotFound;
Thomas Vachuska96d55b12015-05-11 08:52:03 -070040
41/**
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070042 * Manage network configurations.
Thomas Vachuska96d55b12015-05-11 08:52:03 -070043 */
44@Path("network/configuration")
45public class NetworkConfigWebResource extends AbstractWebResource {
46
Ray Milkey36992c82015-11-17 13:31:15 -080047 private String subjectClassNotFoundErrorString(String subjectClassKey) {
48 return "Config for '" + subjectClassKey + "' not found";
49 }
50
51 private String subjectNotFoundErrorString(String subjectClassKey,
52 String subjectKey) {
53 return "Config for '"
54 + subjectClassKey + "/" + subjectKey
55 + "' not found";
56 }
57
58 private String configKeyNotFoundErrorString(String subjectClassKey,
59 String subjectKey,
60 String configKey) {
61 return "Config for '"
62 + subjectClassKey + "/" + subjectKey + "/" + configKey
63 + "' not found";
64 }
65
Thomas Vachuska96d55b12015-05-11 08:52:03 -070066 /**
Jian Licc730a62016-05-10 16:36:16 -070067 * Gets entire network configuration base.
Ray Milkey36992c82015-11-17 13:31:15 -080068 *
Jian Licc730a62016-05-10 16:36:16 -070069 * @return 200 OK with network configuration JSON
Thomas Vachuska96d55b12015-05-11 08:52:03 -070070 */
71 @GET
72 @Produces(MediaType.APPLICATION_JSON)
73 @SuppressWarnings("unchecked")
74 public Response download() {
75 NetworkConfigService service = get(NetworkConfigService.class);
76 ObjectNode root = mapper().createObjectNode();
Thomas Vachuskaea5adc62015-10-07 11:52:30 -070077 service.getSubjectClasses().forEach(sc -> {
78 SubjectFactory subjectFactory = service.getSubjectFactory(sc);
79 produceJson(service, newObject(root, subjectFactory.subjectClassKey()),
80 subjectFactory, sc);
81 });
Thomas Vachuska96d55b12015-05-11 08:52:03 -070082 return ok(root).build();
83 }
84
85 /**
Jian Licc730a62016-05-10 16:36:16 -070086 * Gets all network configuration for a subject class.
Thomas Vachuska96d55b12015-05-11 08:52:03 -070087 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -070088 * @param subjectClassKey subject class key
Jian Licc730a62016-05-10 16:36:16 -070089 * @return 200 OK with network configuration JSON
Thomas Vachuska96d55b12015-05-11 08:52:03 -070090 */
91 @GET
Thomas Vachuskaea5adc62015-10-07 11:52:30 -070092 @Path("{subjectClassKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -070093 @Produces(MediaType.APPLICATION_JSON)
94 @SuppressWarnings("unchecked")
Thomas Vachuskaea5adc62015-10-07 11:52:30 -070095 public Response download(@PathParam("subjectClassKey") String subjectClassKey) {
Thomas Vachuska96d55b12015-05-11 08:52:03 -070096 NetworkConfigService service = get(NetworkConfigService.class);
97 ObjectNode root = mapper().createObjectNode();
Ray Milkey36992c82015-11-17 13:31:15 -080098 SubjectFactory subjectFactory =
99 nullIsNotFound(service.getSubjectFactory(subjectClassKey),
100 subjectClassNotFoundErrorString(subjectClassKey));
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700101 produceJson(service, root, subjectFactory, subjectFactory.subjectClass());
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700102 return ok(root).build();
103 }
104
105 /**
Jian Licc730a62016-05-10 16:36:16 -0700106 * Gets all network configuration for a subjectKey.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700107 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700108 * @param subjectClassKey subjectKey class key
109 * @param subjectKey subjectKey key
Jian Licc730a62016-05-10 16:36:16 -0700110 * @return 200 OK with network configuration JSON
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700111 */
112 @GET
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700113 @Path("{subjectClassKey}/{subjectKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700114 @Produces(MediaType.APPLICATION_JSON)
115 @SuppressWarnings("unchecked")
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700116 public Response download(@PathParam("subjectClassKey") String subjectClassKey,
117 @PathParam("subjectKey") String subjectKey) {
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700118 NetworkConfigService service = get(NetworkConfigService.class);
119 ObjectNode root = mapper().createObjectNode();
Ray Milkey36992c82015-11-17 13:31:15 -0800120 SubjectFactory subjectFactory =
121 nullIsNotFound(service.getSubjectFactory(subjectClassKey),
122 subjectClassNotFoundErrorString(subjectClassKey));
123 produceSubjectJson(service, root, subjectFactory.createSubject(subjectKey),
124 true,
125 subjectNotFoundErrorString(subjectClassKey, subjectKey));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700126 return ok(root).build();
127 }
128
129 /**
Jian Licc730a62016-05-10 16:36:16 -0700130 * Gets specific network configuration for a subjectKey.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700131 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700132 * @param subjectClassKey subjectKey class key
133 * @param subjectKey subjectKey key
134 * @param configKey configuration class key
Jian Licc730a62016-05-10 16:36:16 -0700135 * @return 200 OK with network configuration JSON
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700136 */
137 @GET
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700138 @Path("{subjectClassKey}/{subjectKey}/{configKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700139 @Produces(MediaType.APPLICATION_JSON)
140 @SuppressWarnings("unchecked")
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700141 public Response download(@PathParam("subjectClassKey") String subjectClassKey,
142 @PathParam("subjectKey") String subjectKey,
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700143 @PathParam("configKey") String configKey) {
144 NetworkConfigService service = get(NetworkConfigService.class);
Ray Milkey36992c82015-11-17 13:31:15 -0800145
146 Object subject =
147 nullIsNotFound(service.getSubjectFactory(subjectClassKey)
148 .createSubject(subjectKey),
149 subjectNotFoundErrorString(subjectClassKey, subjectKey));
150
151 Class configClass =
152 nullIsNotFound(service.getConfigClass(subjectClassKey, configKey),
153 configKeyNotFoundErrorString(subjectClassKey, subjectKey, configKey));
Jian Li7d069232016-05-13 17:08:29 -0700154 Config config = nullIsNotFound((Config) service.getConfig(subject, configClass),
Ray Milkey36992c82015-11-17 13:31:15 -0800155 configKeyNotFoundErrorString(subjectClassKey,
156 subjectKey,
157 configKey));
158 return ok(config.node()).build();
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700159 }
160
161 @SuppressWarnings("unchecked")
162 private void produceJson(NetworkConfigService service, ObjectNode node,
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700163 SubjectFactory subjectFactory, Class subjectClass) {
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700164 service.getSubjects(subjectClass).forEach(s ->
Ray Milkey36992c82015-11-17 13:31:15 -0800165 produceSubjectJson(service, newObject(node, subjectFactory.subjectKey(s)), s, false, ""));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700166 }
167
168 private void produceSubjectJson(NetworkConfigService service, ObjectNode node,
Ray Milkey36992c82015-11-17 13:31:15 -0800169 Object subject,
170 boolean emptyIsError,
171 String emptyErrorMessage) {
172 Set<? extends Config<Object>> configs = service.getConfigs(subject);
173 if (emptyIsError) {
174 // caller wants an empty set to be a 404
175 configs = emptyIsNotFound(configs, emptyErrorMessage);
176 }
177 configs.forEach(c -> node.set(c.key(), c.node()));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700178 }
179
180
181 /**
Jian Licc730a62016-05-10 16:36:16 -0700182 * Uploads bulk network configuration.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700183 *
184 * @param request network configuration JSON rooted at the top node
Jian Licc730a62016-05-10 16:36:16 -0700185 * @return 200 OK
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700186 * @throws IOException if unable to parse the request
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700187 */
188 @POST
189 @Consumes(MediaType.APPLICATION_JSON)
190 @SuppressWarnings("unchecked")
191 public Response upload(InputStream request) throws IOException {
192 NetworkConfigService service = get(NetworkConfigService.class);
193 ObjectNode root = (ObjectNode) mapper().readTree(request);
194 root.fieldNames()
195 .forEachRemaining(sk -> consumeJson(service, (ObjectNode) root.path(sk),
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700196 service.getSubjectFactory(sk)));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700197 return Response.ok().build();
198 }
199
200 /**
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700201 * Upload multiple network configurations for a subject class.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700202 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700203 * @param subjectClassKey subject class key
204 * @param request network configuration JSON rooted at the top node
Jian Licc730a62016-05-10 16:36:16 -0700205 * @return 200 OK
Thomas Vachuskad894b5d2015-07-30 11:59:07 -0700206 * @throws IOException if unable to parse the request
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700207 */
208 @POST
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700209 @Path("{subjectClassKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700210 @Consumes(MediaType.APPLICATION_JSON)
211 @SuppressWarnings("unchecked")
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700212 public Response upload(@PathParam("subjectClassKey") String subjectClassKey,
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700213 InputStream request) throws IOException {
214 NetworkConfigService service = get(NetworkConfigService.class);
215 ObjectNode root = (ObjectNode) mapper().readTree(request);
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700216 consumeJson(service, root, service.getSubjectFactory(subjectClassKey));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700217 return Response.ok().build();
218 }
219
220 /**
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700221 * Upload mutliple network configurations for a subjectKey.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700222 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700223 * @param subjectClassKey subjectKey class key
224 * @param subjectKey subjectKey key
225 * @param request network configuration JSON rooted at the top node
Jian Licc730a62016-05-10 16:36:16 -0700226 * @return 200 OK
Thomas Vachuskad894b5d2015-07-30 11:59:07 -0700227 * @throws IOException if unable to parse the request
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700228 */
229 @POST
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700230 @Path("{subjectClassKey}/{subjectKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700231 @Consumes(MediaType.APPLICATION_JSON)
232 @SuppressWarnings("unchecked")
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700233 public Response upload(@PathParam("subjectClassKey") String subjectClassKey,
234 @PathParam("subjectKey") String subjectKey,
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700235 InputStream request) throws IOException {
236 NetworkConfigService service = get(NetworkConfigService.class);
237 ObjectNode root = (ObjectNode) mapper().readTree(request);
238 consumeSubjectJson(service, root,
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700239 service.getSubjectFactory(subjectClassKey).createSubject(subjectKey),
240 subjectClassKey);
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700241 return Response.ok().build();
242 }
243
244 /**
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700245 * Upload specific network configuration for a subjectKey.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700246 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700247 * @param subjectClassKey subjectKey class key
248 * @param subjectKey subjectKey key
249 * @param configKey configuration class key
250 * @param request network configuration JSON rooted at the top node
Jian Licc730a62016-05-10 16:36:16 -0700251 * @return 200 OK
Thomas Vachuskad894b5d2015-07-30 11:59:07 -0700252 * @throws IOException if unable to parse the request
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700253 */
254 @POST
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700255 @Path("{subjectClassKey}/{subjectKey}/{configKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700256 @Consumes(MediaType.APPLICATION_JSON)
257 @SuppressWarnings("unchecked")
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700258 public Response upload(@PathParam("subjectClassKey") String subjectClassKey,
259 @PathParam("subjectKey") String subjectKey,
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700260 @PathParam("configKey") String configKey,
261 InputStream request) throws IOException {
262 NetworkConfigService service = get(NetworkConfigService.class);
Jonathan Hartb11c4d02016-03-23 09:05:44 -0700263 JsonNode root = mapper().readTree(request);
Thomas Vachuska6f350ed2016-01-08 09:53:03 -0800264 service.applyConfig(subjectClassKey,
265 service.getSubjectFactory(subjectClassKey).createSubject(subjectKey),
266 configKey, root);
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700267 return Response.ok().build();
268 }
269
270 private void consumeJson(NetworkConfigService service, ObjectNode classNode,
271 SubjectFactory subjectFactory) {
272 classNode.fieldNames().forEachRemaining(s ->
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700273 consumeSubjectJson(service, (ObjectNode) classNode.path(s),
274 subjectFactory.createSubject(s),
275 subjectFactory.subjectClassKey()));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700276 }
277
278 private void consumeSubjectJson(NetworkConfigService service,
Jonathan Hart111b42b2015-07-14 13:28:05 -0700279 ObjectNode subjectNode, Object subject,
Thomas Vachuska6f350ed2016-01-08 09:53:03 -0800280 String subjectClassKey) {
281 subjectNode.fieldNames().forEachRemaining(configKey ->
282 service.applyConfig(subjectClassKey, subject, configKey, subjectNode.path(configKey)));
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700283 }
284
285
Thomas Vachuska6f350ed2016-01-08 09:53:03 -0800286 // FIXME: Refactor to allow queued configs to be removed
287
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700288 /**
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700289 * Clear entire network configuration base.
290 *
Jian Lic2a542b2016-05-10 11:48:19 -0700291 * @return 204 NO CONTENT
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700292 */
293 @DELETE
294 @SuppressWarnings("unchecked")
295 public Response delete() {
296 NetworkConfigService service = get(NetworkConfigService.class);
297 service.getSubjectClasses()
298 .forEach(subjectClass -> service.getSubjects(subjectClass)
299 .forEach(subject -> service.getConfigs(subject)
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700300 .forEach(config -> service.removeConfig(subject, config.getClass()))));
Jian Lic2a542b2016-05-10 11:48:19 -0700301 return Response.noContent().build();
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700302 }
303
304 /**
305 * Clear all network configurations for a subject class.
306 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700307 * @param subjectClassKey subject class key
Jian Lic2a542b2016-05-10 11:48:19 -0700308 * @return 204 NO CONTENT
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700309 */
310 @DELETE
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700311 @Path("{subjectClassKey}")
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700312 @SuppressWarnings("unchecked")
Jian Lic2a542b2016-05-10 11:48:19 -0700313 public Response delete(@PathParam("subjectClassKey") String subjectClassKey) {
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700314 NetworkConfigService service = get(NetworkConfigService.class);
Ray Milkeyb9fe25d2015-11-18 15:54:44 -0800315 service.getSubjects(service.getSubjectFactory(subjectClassKey).subjectClass())
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700316 .forEach(subject -> service.getConfigs(subject)
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700317 .forEach(config -> service.removeConfig(subject, config.getClass())));
Jian Lic2a542b2016-05-10 11:48:19 -0700318 return Response.noContent().build();
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700319 }
320
321 /**
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700322 * Clear all network configurations for a subjectKey.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700323 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700324 * @param subjectClassKey subjectKey class key
325 * @param subjectKey subjectKey key
Jian Lic2a542b2016-05-10 11:48:19 -0700326 * @return 204 NO CONTENT
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700327 */
328 @DELETE
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700329 @Path("{subjectClassKey}/{subjectKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700330 @SuppressWarnings("unchecked")
Jian Lic2a542b2016-05-10 11:48:19 -0700331 public Response delete(@PathParam("subjectClassKey") String subjectClassKey,
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700332 @PathParam("subjectKey") String subjectKey) {
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700333 NetworkConfigService service = get(NetworkConfigService.class);
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700334 Object s = service.getSubjectFactory(subjectClassKey).createSubject(subjectKey);
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700335 service.getConfigs(s).forEach(c -> service.removeConfig(s, c.getClass()));
Jian Lic2a542b2016-05-10 11:48:19 -0700336 return Response.noContent().build();
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700337 }
338
339 /**
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700340 * Clear specific network configuration for a subjectKey.
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700341 *
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700342 * @param subjectClassKey subjectKey class key
343 * @param subjectKey subjectKey key
344 * @param configKey configuration class key
Jian Lic2a542b2016-05-10 11:48:19 -0700345 * @return 204 NO CONTENT
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700346 */
347 @DELETE
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700348 @Path("{subjectClassKey}/{subjectKey}/{configKey}")
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700349 @SuppressWarnings("unchecked")
Jian Lic2a542b2016-05-10 11:48:19 -0700350 public Response delete(@PathParam("subjectClassKey") String subjectClassKey,
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700351 @PathParam("subjectKey") String subjectKey,
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700352 @PathParam("configKey") String configKey) {
353 NetworkConfigService service = get(NetworkConfigService.class);
Thomas Vachuskaea5adc62015-10-07 11:52:30 -0700354 service.removeConfig(service.getSubjectFactory(subjectClassKey).createSubject(subjectKey),
355 service.getConfigClass(subjectClassKey, configKey));
Jian Lic2a542b2016-05-10 11:48:19 -0700356 return Response.noContent().build();
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700357 }
358
Thomas Vachuska96d55b12015-05-11 08:52:03 -0700359}