| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- 'use strict';
- const createdPartyRegistrationMinXml = `<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>
- <ns4:requestID>4323</ns4:requestID>
- </ns3:eiResponse>
- <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:oadrCreatedPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- const createdPartyRegistrationMaxXml = `<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 createdPartyRegistrationMissingRequiredXml = `<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>
- <ns4:requestID>4323</ns4:requestID>
- </ns3:eiResponse>
- <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:oadrCreatedPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- const canceledPartyRegistrationMinXml = `<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>
- <ns4:requestID>334455</ns4:requestID>
- </ns3:eiResponse>
- </ns2:oadrCanceledPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- const canceledPartyRegistrationMaxXml = `<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>334455</ns4:requestID>
- </ns3:eiResponse>
- <ns3:registrationID>3bd3c02dc6965c8b9240</ns3:registrationID>
- <ns3:venID>3f59d85fbdf3997dbeb1</ns3:venID>
- </ns2:oadrCanceledPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- const canceledPartyRegistrationMissingRequiredXml = `<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>
- <ns4:requestID>334455</ns4:requestID>
- </ns3:eiResponse>
- </ns2:oadrCanceledPartyRegistration>
- </ns2:oadrSignedObject>
- </ns2:oadrPayload>`;
- module.exports = {
- canceledPartyRegistrationMinXml,
- canceledPartyRegistrationMaxXml,
- canceledPartyRegistrationMissingRequiredXml,
- createdPartyRegistrationMinXml,
- createdPartyRegistrationMaxXml,
- createdPartyRegistrationMissingRequiredXml,
- };
|