This commit is contained in:
parent
f39150ac7e
commit
fe0b466916
|
@ -0,0 +1,10 @@
|
|||
build/LPCheck.o se/LPE/LPCheck.d: se/LPE/LPCheck.cpp se/LPE/LPCheck.hpp \
|
||||
se/DomainCheckCommand.hpp se/CheckCommand.hpp se/ObjectCommand.hpp \
|
||||
se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp xml/XMLWriter.hpp \
|
||||
common/Logger.hpp common/Properties.hpp config/config.h \
|
||||
common/EPPException.hpp common/ConfigurationError.hpp \
|
||||
xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \
|
||||
se/ObjectType.hpp se/StandardCommandType.hpp se/EnumType.hpp \
|
||||
se/IllegalArgException.hpp se/CommandType.hpp common/StringUtils.hpp \
|
||||
se/StandardObjectType.hpp se/LPE/LPLaunch.hpp se/LPE/LPExtension.hpp \
|
||||
xml/XMLHelper.hpp xml/XStr.hpp
|
|
@ -0,0 +1,8 @@
|
|||
build/LPCmdExtender.o se/LPE/LPCmdExtender.d: se/LPE/LPCmdExtender.cpp \
|
||||
se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp xml/XMLWriter.hpp \
|
||||
common/Logger.hpp common/Properties.hpp config/config.h \
|
||||
common/EPPException.hpp common/ConfigurationError.hpp \
|
||||
xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \
|
||||
se/CommandType.hpp common/StringUtils.hpp se/LPE/LPExtension.hpp \
|
||||
xml/XMLHelper.hpp xml/XStr.hpp se/LPE/LPCmdExtender.hpp \
|
||||
se/ACExtensionCommand.hpp se/ObjectType.hpp se/LPE/LPLaunch.hpp
|
|
@ -0,0 +1,8 @@
|
|||
build/LPCommandExtension.o se/LPE/LPCommandExtension.d: \
|
||||
se/LPE/LPCommandExtension.cpp se/Command.hpp se/SendSE.hpp \
|
||||
xml/EPPWriter.hpp xml/XMLWriter.hpp common/Logger.hpp \
|
||||
common/Properties.hpp config/config.h common/EPPException.hpp \
|
||||
common/ConfigurationError.hpp xml/ParsingException.hpp se/Extension.hpp \
|
||||
se/CommandExtension.hpp se/LPE/LPExtension.hpp xml/XMLHelper.hpp \
|
||||
xml/XStr.hpp se/LPE/LPCommandExtension.hpp se/LPE/LPMap.hpp \
|
||||
se/LPE/LPKey.hpp se/LPE/LPData.hpp
|
|
@ -0,0 +1,7 @@
|
|||
build/LPCommands.o se/LPE/LPCommands.d: se/LPE/LPCommands.cpp \
|
||||
se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp xml/XMLWriter.hpp \
|
||||
common/Logger.hpp common/Properties.hpp config/config.h \
|
||||
common/EPPException.hpp common/ConfigurationError.hpp \
|
||||
xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \
|
||||
se/LPE/LPExtension.hpp xml/XMLHelper.hpp xml/XStr.hpp \
|
||||
se/LPE/LPCommands.hpp se/LPE/LPLaunch.hpp
|
|
@ -0,0 +1,22 @@
|
|||
#include "LPCreate.hpp"
|
||||
#include "xml/XMLHelper.hpp"
|
||||
|
||||
|
||||
namespace {
|
||||
Extension& launchPhaseExtension() {
|
||||
static Extension* lpExtension = new LPExtension();
|
||||
return *lpExtension;
|
||||
}
|
||||
}; // anonymous namespace
|
||||
|
||||
void LPCreate::setExtension ()
|
||||
{
|
||||
|
||||
DOMElement *lpeCreate =
|
||||
xmlWriter->appendChild( xmlWriter->appendChild( command, "extension"),
|
||||
"launch:create", launchPhaseExtension().getURI());
|
||||
DOMElement *lpecd =
|
||||
xmlWriter->appendChild( xmlWriter->appendChild( lpeCreate, "launch:phase"),
|
||||
"launch:phase", launchPhaseExtension().getURI() );
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
build/LPCreate.o se/LPE/LPCreate.d: se/LPE/LPCreate.cpp \
|
||||
se/LPE/LPCreate.hpp se/DomainCreateCommand.hpp se/CreateCommand.hpp \
|
||||
se/ObjectCommand.hpp se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp \
|
||||
xml/XMLWriter.hpp common/Logger.hpp common/Properties.hpp \
|
||||
config/config.h common/EPPException.hpp common/ConfigurationError.hpp \
|
||||
xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \
|
||||
se/ObjectType.hpp se/StandardCommandType.hpp se/EnumType.hpp \
|
||||
se/IllegalArgException.hpp se/CommandType.hpp common/StringUtils.hpp \
|
||||
se/Period.hpp se/PeriodUnit.hpp se/LPE/LPLaunch.hpp \
|
||||
se/LPE/LPExtension.hpp xml/XMLHelper.hpp xml/XStr.hpp
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* LPCreate.hpp
|
||||
*
|
||||
* Created on: Jan 23, 2014
|
||||
* Author: jdaugherty
|
||||
*/
|
||||
|
||||
#ifndef LPCREATE_HPP_
|
||||
#define LPCREATE_HPP_
|
||||
|
||||
#include "se/DomainCreateCommand.hpp"
|
||||
#include "LPLaunch.hpp"
|
||||
|
||||
class LPCreate : public DomainCreateCommand
|
||||
{
|
||||
private:
|
||||
|
||||
LPLaunch *draft_tan_epp_launchphase_12;
|
||||
void setExtension ();
|
||||
|
||||
public:
|
||||
/**
|
||||
* Constructor for a domain:create EPP command. All core EPP domain:create
|
||||
* attributes may be set using this constructor.
|
||||
*/
|
||||
LPCreate (const std::string& name,
|
||||
const std::string& pw,
|
||||
const std::string* registrantID,
|
||||
const std::vector<std::string>* techContacts = NULL,
|
||||
const std::vector<std::string>* nameservers = NULL,
|
||||
const std::vector<std::string>* adminContacts = NULL,
|
||||
const std::vector<std::string>* billingContacts = NULL,
|
||||
const Period* period = NULL) :
|
||||
DomainCreateCommand( name, pw, registrantID, techContacts, nameservers, adminContacts, billingContacts, period)
|
||||
{ setExtension(); }
|
||||
|
||||
virtual void addToCommand(const Command &command) const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* LPCREATE_HPP_ */
|
|
@ -0,0 +1,4 @@
|
|||
build/LPData.o se/LPE/LPData.d: se/LPE/LPData.cpp xml/XMLHelper.hpp \
|
||||
xml/XStr.hpp se/LPE/LPData.hpp xml/XMLWriter.hpp common/Logger.hpp \
|
||||
common/Properties.hpp config/config.h common/EPPException.hpp \
|
||||
common/ConfigurationError.hpp
|
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* LPExtension.cpp
|
||||
*
|
||||
* Created on: Jan 24, 2014
|
||||
* Author: jdaugherty
|
||||
*/
|
||||
|
||||
#include <se/LPE/LPExtension.hpp>
|
||||
|
||||
LPExtension::LPExtension() {
|
||||
// TODO Auto-generated constructor stub
|
||||
|
||||
}
|
||||
|
||||
LPExtension::~LPExtension() {
|
||||
// TODO Auto-generated destructor stub
|
||||
}
|
||||
|
||||
|
||||
std::string& LPExtension::getURI() const
|
||||
{
|
||||
static std::string uri = "urn:ietf:params:xml:ns:launch-1.0";
|
||||
return uri;
|
||||
}
|
||||
|
||||
std::string& LPExtension::getSchemaLocation() const
|
||||
{
|
||||
static std::string loc = "urn:ietf:params:xml:ns:launch-1.0 launch-1.0.xsd";
|
||||
return loc;
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
build/LPExtension.o se/LPE/LPExtension.d: se/LPE/LPExtension.cpp \
|
||||
se/LPE/LPExtension.hpp se/Extension.hpp
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* LPExtension.hpp
|
||||
*
|
||||
* Created on: Jan 24, 2014
|
||||
* Author: jdaugherty
|
||||
*/
|
||||
|
||||
#ifndef LPEXTENSION_HPP_
|
||||
#define LPEXTENSION_HPP_
|
||||
|
||||
#include "se/Extension.hpp"
|
||||
|
||||
class LPExtension: public Extension {
|
||||
public:
|
||||
LPExtension();
|
||||
virtual ~LPExtension();
|
||||
|
||||
std::string& getURI() const;
|
||||
std::string& getSchemaLocation() const;
|
||||
};
|
||||
|
||||
#endif /* LPEXTENSION_HPP_ */
|
|
@ -0,0 +1,4 @@
|
|||
build/LPKey.o se/LPE/LPKey.d: se/LPE/LPKey.cpp xml/XMLHelper.hpp \
|
||||
xml/XStr.hpp se/LPE/LPKey.hpp xml/XMLWriter.hpp common/Logger.hpp \
|
||||
common/Properties.hpp config/config.h common/EPPException.hpp \
|
||||
common/ConfigurationError.hpp
|
|
@ -0,0 +1,4 @@
|
|||
build/LPLaunch.o se/LPE/LPLaunch.d: se/LPE/LPLaunch.cpp xml/XMLHelper.hpp \
|
||||
xml/XStr.hpp se/LPE/LPLaunch.hpp xml/XMLWriter.hpp common/Logger.hpp \
|
||||
common/Properties.hpp config/config.h common/EPPException.hpp \
|
||||
common/ConfigurationError.hpp se/LPE/LPExtension.hpp se/Extension.hpp
|
|
@ -0,0 +1,4 @@
|
|||
build/LPMap.o se/LPE/LPMap.d: se/LPE/LPMap.cpp xml/XMLHelper.hpp \
|
||||
xml/XStr.hpp se/LPE/LPMap.hpp xml/XMLWriter.hpp common/Logger.hpp \
|
||||
common/Properties.hpp config/config.h common/EPPException.hpp \
|
||||
common/ConfigurationError.hpp se/LPE/LPKey.hpp se/LPE/LPData.hpp
|
|
@ -0,0 +1,6 @@
|
|||
build/LPRespExtender.o se/LPE/LPRespExtender.d: se/LPE/LPRespExtender.cpp \
|
||||
se/LPE/LPLaunch.hpp xml/XMLWriter.hpp common/Logger.hpp \
|
||||
common/Properties.hpp config/config.h common/EPPException.hpp \
|
||||
common/ConfigurationError.hpp se/LPE/LPExtension.hpp se/Extension.hpp \
|
||||
se/LPE/LPRespExtender.hpp se/ResponseExtension.hpp se/ReceiveSE.hpp \
|
||||
xml/XMLDocument.hpp
|
|
@ -0,0 +1,6 @@
|
|||
build/LPResponseExtension.o se/LPE/LPResponseExtension.d: \
|
||||
se/LPE/LPResponseExtension.cpp se/LPE/LPMap.hpp xml/XMLWriter.hpp \
|
||||
common/Logger.hpp common/Properties.hpp config/config.h \
|
||||
common/EPPException.hpp common/ConfigurationError.hpp se/LPE/LPKey.hpp \
|
||||
se/LPE/LPData.hpp se/LPE/LPResponseExtension.hpp \
|
||||
se/ResponseExtension.hpp se/ReceiveSE.hpp xml/XMLDocument.hpp
|
Loading…
Reference in New Issue