Commit 53972e05 authored by Andreas Liebig's avatar Andreas Liebig
Browse files

Adapt syntax and extracted constants

parent 81bc8da9
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -36,6 +36,11 @@ Package NG112_LIS {
                - generates //for internal event generation
                ;
        }

//			Const {
//				POS1: "-34.407 150.88001";
//			}
        
//		Data {
//        	type PDU;	
//        }
@@ -60,12 +65,15 @@ Package NG112_LIS {
                 "IUT successfully processes all mandatory HTTP headers when it receives a HTTP POST request" 
            Reference 
                "ETSI TS 103 479 Vm.t.e (yyyy-mm) Clause 5.5 Location Information Server (LIS)",
                "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.10",
                "https://tools.ietf.org/html/rfc5985"

						//Config Id CFG_LIS_01

            PICS Selection PICS_HTTP_POST_REQUEST PICS_LOCATION_HELD
            Initial conditions with {
                the IUT entity havingLocationMappingFor the "deviceNumber" containing
                	"point" indicating value "-34.407 150.88001"
                	"point" indicating value POS1
                ;
            }
            Expected behaviour
@@ -74,7 +82,7 @@ Package NG112_LIS {
                	the IUT entity receives a POST containing
                  	Uri indicating value "/location",
										Host,
                    "not" Accept,
                    not Accept,
                    Content_type indicating value "application/held+xml;charset=utf-8",
                    body containing
                    	xmlMessage containing
@@ -100,13 +108,13 @@ Package NG112_LIS {
                    	 			element "presence" inNamespace "urn:ietf:params:xml:ns:pidf" containing
															attribute "entity" indicating value valid "pres:" uri,
															element "tuple" containing
																attribute "id" indicating value not empty,
																attribute "id",
																element "status" containing
																	element "geopriv" inNamespace "urn:ietf:params:xml:ns:pidf:geopriv10" containing
																		element "location-info" containing
																			element "Point" inNamespace "http://www.opengis.net/gml" containing
																				attribute "srsName" indicating value "urn:ogc:def:crs:EPSG::4326",
																				element "pos" indicating value "-34.407 150.88001"
																				element "pos" indicating value POS1
																				;
																			;
																		;