| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 'use strict';
- const createdPartyRegistration1Xml = `<ns2:oadrPayload xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://openadr.org/oadr-2.0b/2012/07" xmlns:ns3="http://docs.oasis-open.org/ns/energyinterop/201110" xmlns:ns4="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" xmlns:ns5="urn:ietf:params:xml:ns:icalendar-2.0" xmlns:ns6="http://docs.oasis-open.org/ns/emix/2011/06" xmlns:ns7="urn:ietf:params:xml:ns:icalendar-2.0:stream" xmlns:ns8="http://www.w3.org/2005/Atom" xmlns:ns9="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:ns10="http://www.opengis.net/gml/3.2" xmlns:ns11="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:ns12="http://www.w3.org/2009/xmldsig11#" xmlns:ns13="http://openadr.org/oadr-2.0b/2012/07/xmldsig-properties" xmlns:ns14="urn:un:unece:uncefact:codelist:standard:5:ISO42173A:2010-04-07">
- <ns2:oadrSignedObject>
- <ns2:oadrCreatedPartyRegistration ns3:schemaVersion="2.0b">
- <ns3:eiResponse>
- <ns3:responseCode>200</ns3:responseCode>
- <ns3:responseDescription>OK</ns3:responseDescription>
- <ns4:requestID>4323</ns4:requestID>
- </ns3:eiResponse>
- <ns3:registrationID>3bd3c02dc6965c8b9240</ns3:registrationID>
- <ns3:venID>3f59d85fbdf3997dbeb1</ns3:venID>
- <ns3:vtnID>VTN_ID1</ns3:vtnID>
- <ns2:oadrProfiles>
- <ns2:oadrProfile>
- <ns2:oadrProfileName>2.0b</ns2:oadrProfileName>
- <ns2:oadrTransports>
- <ns2:oadrTransport>
- <ns2:oadrTransportName>simpleHttp</ns2:oadrTransportName>
- </ns2:oadrTransport>
- </ns2:oadrTransports>
- </ns2:oadrProfile>
- </ns2:oadrProfiles>
- <ns2:oadrRequestedOadrPollFreq>
- <ns5:duration>PT10S</ns5:duration>
- </ns2:oadrRequestedOadrPollFreq>
- </ns2:oadrCreatedPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- const canceledPartyRegistration1Xml = `<ns2:oadrPayload xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://openadr.org/oadr-2.0b/2012/07" xmlns:ns3="http://docs.oasis-open.org/ns/energyinterop/201110" xmlns:ns4="http://docs.oasis-open.org/ns/energyinterop/201110/payloads" xmlns:ns5="urn:ietf:params:xml:ns:icalendar-2.0" xmlns:ns6="http://docs.oasis-open.org/ns/emix/2011/06" xmlns:ns7="urn:ietf:params:xml:ns:icalendar-2.0:stream" xmlns:ns8="http://www.w3.org/2005/Atom" xmlns:ns9="http://docs.oasis-open.org/ns/emix/2011/06/power" xmlns:ns10="http://www.opengis.net/gml/3.2" xmlns:ns11="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:ns12="http://www.w3.org/2009/xmldsig11#" xmlns:ns13="http://openadr.org/oadr-2.0b/2012/07/xmldsig-properties" xmlns:ns14="urn:un:unece:uncefact:codelist:standard:5:ISO42173A:2010-04-07">
- <ns2:oadrSignedObject>
- <ns2:oadrCanceledPartyRegistration ns3:schemaVersion="2.0b">
- <ns3:eiResponse>
- <ns3:responseCode>200</ns3:responseCode>
- <ns3:responseDescription>OK</ns3:responseDescription>
- <ns4:requestID>4323</ns4:requestID>
- </ns3:eiResponse>
- <ns3:registrationID>3bd3c02dc6965c8b9240</ns3:registrationID>
- <ns3:venID>3f59d85fbdf3997dbeb1</ns3:venID>
- </ns2:oadrCanceledPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- module.exports = {
- canceledPartyRegistration1Xml,
- createdPartyRegistration1Xml,
- };
|