Skip to content
Permalink
Browse files

externalize-schemas

  • Loading branch information...
SysIntAu committed Jan 18, 2017
1 parent 377f207 commit 780ec071074acf7ebc0dede3039d693b15ba4849
Showing with 582 additions and 1,269 deletions.
  1. BIN {target → dist}/dpdirect-1.0.5-deploy.zip
  2. BIN dist/dpdirect-distribution.zip
  3. +7 −0 dpAssembly.xml
  4. +14 −0 pom.xml
  5. +13 −142 src/main/java/org/dpdirect/dpmgmt/Constants.java
  6. +31 −121 src/main/java/org/dpdirect/dpmgmt/DPDirectBase.java
  7. +443 −0 src/main/resources/datapower/default/mgmt/xml-mgmt-ops.xsd
  8. 0 ...sses/datapower/default/mgmt → src/main/resources/default_schema/default}/app-mgmt-protocol-v3.xsd
  9. 0 ...classes/datapower/default/mgmt → src/main/resources/default_schema/default}/app-mgmt-protocol.xsd
  10. +74 −0 src/main/resources/default_schema/default/xml-mgmt-ops.xsd
  11. +0 −33 target/classes/dpdirect.properties
  12. +0 −227 target/classes/log4j.dtd
  13. +0 −24 target/classes/log4j.xml
  14. BIN target/classes/org/dpdirect/dpmgmt/Constants.class
  15. BIN target/classes/org/dpdirect/dpmgmt/DPCustomOp$1.class
  16. BIN target/classes/org/dpdirect/dpmgmt/DPCustomOp.class
  17. BIN target/classes/org/dpdirect/dpmgmt/DPDirect.class
  18. BIN target/classes/org/dpdirect/dpmgmt/DPDirectBase$Operation$Option.class
  19. BIN target/classes/org/dpdirect/dpmgmt/DPDirectBase$Operation.class
  20. BIN target/classes/org/dpdirect/dpmgmt/DPDirectBase.class
  21. BIN target/classes/org/dpdirect/dpmgmt/DPDirectInterface.class
  22. BIN target/classes/org/dpdirect/dpmgmt/DPDirectTask.class
  23. BIN target/classes/org/dpdirect/dpmgmt/ResponseParser$1.class
  24. BIN target/classes/org/dpdirect/dpmgmt/ResponseParser$OutputType.class
  25. BIN target/classes/org/dpdirect/dpmgmt/ResponseParser.class
  26. BIN target/classes/org/dpdirect/schema/DocumentHelper.class
  27. BIN target/classes/org/dpdirect/schema/SchemaHelper.class
  28. BIN target/classes/org/dpdirect/schema/SchemaLoader.class
  29. BIN target/classes/org/dpdirect/utils/Credentials.class
  30. BIN target/classes/org/dpdirect/utils/DPDirectProperties.class
  31. BIN target/classes/org/dpdirect/utils/FileUtils.class
  32. BIN target/classes/org/dpdirect/utils/PostXML.class
  33. BIN target/classes/org/dpdirect/utils/SSL$1.class
  34. BIN target/classes/org/dpdirect/utils/SSL$2.class
  35. BIN target/classes/org/dpdirect/utils/SSL.class
  36. +0 −126 target/classes/soap/1.1/soap-envelope.xsd
  37. +0 −60 target/classes/usage/ant-usage.txt
  38. +0 −97 target/classes/usage/cmd-usage.txt
  39. +0 −8 target/classes/usage/cmdline/DEV.properties
  40. +0 −2 target/classes/usage/cmdline/dpdirect.cmd
  41. +0 −91 target/classes/usage/console-usage.txt
  42. +0 −81 target/classes/usage/dptask_example.xml
  43. BIN target/dpdirect-1.0.5.jar
  44. +0 −5 target/maven-archiver/pom.properties
  45. +0 −56 target/test-classes/test-scripts/AntTaskUsage.TXT
  46. +0 −52 target/test-classes/test-scripts/CmdLineUsage.TXT
  47. +0 −61 target/test-classes/test-scripts/ConsoleUsage.TXT
  48. +0 −4 target/test-classes/test-scripts/DEV.properties
  49. +0 −13 target/test-classes/test-scripts/build.properties
  50. +0 −42 target/test-classes/test-scripts/build.xml
  51. +0 −24 target/test-classes/test-scripts/log4j.xml
Binary file not shown.
Binary file not shown.
@@ -27,6 +27,13 @@
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>src\main\resources\default_schema</directory>
<outputDirectory>dpdirect\schemas</outputDirectory>
<includes>
<include>**/**</include>
</includes>
</fileSet>
<fileSet>
<directory>target</directory>
<outputDirectory>dpdirect</outputDirectory>
14 pom.xml
@@ -63,6 +63,20 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
<manifestEntries>
<Class-Path>.</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
@@ -40,50 +40,30 @@
/**
* Local resource path of the DataPower SOMA and AMP version 8.0 XML schemas.
*/
public static final String MGMT_80_SCHEMAS_DIR = "/datapower/8.0/mgmt/";

/**
* Local resource path of the DataPower SOMA and AMP version 7.0 XML schemas.
*/
public static final String MGMT_70_SCHEMAS_DIR = "/datapower/7.0/mgmt/";

/**
* Local resource path of the DataPower SOMA and AMP version 6.0 XML schemas.
*/
public static final String MGMT_60_SCHEMAS_DIR = "/datapower/6.0/mgmt/";
public static final String MGMT_SCHEMAS_DIR = "/schemas/";

/**
* Local resource path of the DataPower SOMA and AMP version 5.0 XML schemas.
* Local resource path of the DataPower Apache licenced SOMA XML schemas.
*/
public static final String MGMT_50_SCHEMAS_DIR = "/datapower/5.0/mgmt/";
public static final String MGMT_DEFAULT_SCHEMAS_DIR = "/schemas/default/";

/**
* Local resource path of the DataPower SOMA and AMP version 4.0 XML schemas.
* Name of the "xml-mgmt-ops.xsd" SOMA XML Management schema.
*/
public static final String MGMT_40_SCHEMAS_DIR = "/datapower/4.0/mgmt/";
public static final String SOMA_MGMT_SCHEMA_NAME = "xml-mgmt-ops.xsd";

/**
* Local resource path of the DataPower SOMA and AMP version 4.0 XML schemas.
* Name of the "app-mgmt-protocol.xsd" AMP XML Management schema 2004.
*/
public static final String MGMT_30_SCHEMAS_DIR = "/datapower/3.0/mgmt/";
public static final String SOMA_MGMT_2004_SCHEMA_NAME = "xml-mgmt-2004.xsd";

/**
* Local resource path of the DataPower SOMA 2004 XML schemas.
* Local resource path of the Apache licenced DataPower AMP XML schema.
*/
public static final String MGMT_2004_SCHEMAS_DIR = "/datapower/2004/mgmt/";
public static final String SOMA_MGMT_DEFAULT_SCHEMA_PATH = MGMT_DEFAULT_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower SOMA 2004 XML schemas.
*/
public static final String MGMT_DEFAULT_SCHEMAS_DIR = "/datapower/default/mgmt/";

/**
* Name of the "xml-mgmt-ops.xsd" SOMA XML Management schema.
*/
public static final String SOMA_MGMT_SCHEMA_NAME = "xml-mgmt-ops.xsd";

/**
* Name of the "app-mgmt-protocol.xsd" AMP XML Management schema.
* Name of the "app-mgmt-protocol.xsd" AMP XML Management schema V3.0.
*/
public static final String AMP_MGMT_30_SCHEMA_NAME = "app-mgmt-protocol.xsd";

@@ -95,102 +75,13 @@
/**
* Name of the "app-mgmt-protocol" AMP XML Management schema as of DP Release 5.0.
*/
public static final String AMP_MGMT_50_SCHEMA_NAME = "app-mgmt-protocol-v3.xsd";

/**
* Name of the "app-mgmt-protocol" AMP XML Management schema as of DP Release 6.0.
*/
public static final String AMP_MGMT_60_SCHEMA_NAME = "app-mgmt-protocol-v3.xsd";

/**
* Name of the "app-mgmt-protocol" AMP XML Management schema as of DP Release 7.0.
*/
public static final String AMP_MGMT_70_SCHEMA_NAME = "app-mgmt-protocol-v3.xsd";

/**
* Name of the "app-mgmt-protocol" AMP XML Management schema as of DP Release 8.0.
*/
public static final String AMP_MGMT_80_SCHEMA_NAME = "app-mgmt-protocol-v3.xsd";

/**
* Name of the Apache licenced "app-mgmt-protocol" AMP XML Management schema.
*/
public static final String AMP_MGMT_DEFAULT_SCHEMA_NAME = "app-mgmt-protocol-v3.xsd";

/**
* Name of the "app-mgmt-protocol.xsd" AMP XML Management schema.
*/
public static final String SOMA_MGMT_2004_SCHEMA_NAME = "xml-mgmt-2004.xsd";

/**
* Local resource path of the DataPower SOMA 4.0.0 XML schema.
*/
public static final String SOMA_MGMT_30_SCHEMA_PATH = MGMT_30_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower SOMA 4.0.0 XML schema.
*/
public static final String SOMA_MGMT_40_SCHEMA_PATH = MGMT_40_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower SOMA 5.0.0 XML schema.
*/
public static final String SOMA_MGMT_50_SCHEMA_PATH = MGMT_50_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower SOMA 6.0.0 XML schema.
*/
public static final String SOMA_MGMT_60_SCHEMA_PATH = MGMT_60_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower SOMA 7.0.0 XML schema.
*/
public static final String SOMA_MGMT_70_SCHEMA_PATH = MGMT_70_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower SOMA 8.0.0 XML schema.
*/
public static final String SOMA_MGMT_80_SCHEMA_PATH = MGMT_80_SCHEMAS_DIR + SOMA_MGMT_SCHEMA_NAME;

/**
* Local resource path of the DataPower AMP 4.0.0 XML schema.
*/
public static final String AMP_MGMT_30_SCHEMA_PATH = MGMT_30_SCHEMAS_DIR + AMP_MGMT_30_SCHEMA_NAME;

/**
* Local resource path of the DataPower AMP 4.0.0 XML schema.
*/
public static final String AMP_MGMT_40_SCHEMA_PATH = MGMT_40_SCHEMAS_DIR + AMP_MGMT_40_SCHEMA_NAME;

/**
* Local resource path of the DataPower AMP 5.0.0 XML schema.
*/
public static final String AMP_MGMT_50_SCHEMA_PATH = MGMT_50_SCHEMAS_DIR + AMP_MGMT_50_SCHEMA_NAME;

/**
* Local resource path of the DataPower AMP 6.0.0 XML schema.
*/
public static final String AMP_MGMT_60_SCHEMA_PATH = MGMT_60_SCHEMAS_DIR + AMP_MGMT_60_SCHEMA_NAME;

/**
* Local resource path of the DataPower AMP 7.0.0 XML schema.
*/
public static final String AMP_MGMT_70_SCHEMA_PATH = MGMT_70_SCHEMAS_DIR + AMP_MGMT_70_SCHEMA_NAME;

/**
* Local resource path of the DataPower AMP 8.0.0 XML schema.
*/
public static final String AMP_MGMT_80_SCHEMA_PATH = MGMT_80_SCHEMAS_DIR + AMP_MGMT_80_SCHEMA_NAME;

/**
* Local resource path of the Apache licenced DataPower AMP XML schema.
*/
public static final String AMP_MGMT_DEFAULT_SCHEMA_PATH = MGMT_DEFAULT_SCHEMAS_DIR + AMP_MGMT_DEFAULT_SCHEMA_NAME;

/**
* Local resource path of the SOMA 2004 XML schema.
*/
public static final String SOMA_MGMT_2004_SCHEMA_PATH = MGMT_2004_SCHEMAS_DIR + SOMA_MGMT_2004_SCHEMA_NAME;


/**
* The relative service endpoint URL for the "SOMA" management API endpoint.
@@ -221,29 +112,9 @@
* The relative service endpoint URL for the "AMP" 4.0 management API endpoint.
*/
public static final String AMP_MGMT_40_URL = "/service/mgmt/amp/2.0";

/**
* The relative service endpoint URL for the "AMP" 5.0 management API endpoint.
*/
public static final String AMP_MGMT_50_URL = "/service/mgmt/amp/3.0";

/**
* The relative service endpoint URL for the "AMP" 6.0 management API endpoint.
*/
public static final String AMP_MGMT_60_URL = "/service/mgmt/amp/3.0";

/**
* The relative service endpoint URL for the "AMP" 7.0 management API endpoint.
*/
public static final String AMP_MGMT_70_URL = "/service/mgmt/amp/3.0";

/**
* The relative service endpoint URL for the "AMP" 8.0 management API endpoint.
*/
public static final String AMP_MGMT_80_URL = "/service/mgmt/amp/3.0";


/**
* The relative service endpoint URL for the Apache licenced "AMP" management API endpoint.
* The relative service endpoint URL for the Apache licenced "AMP" management API endpoint - as ov V5.0.
*/
public static final String AMP_MGMT_DEFAULT_URL = "/service/mgmt/amp/3.0";

Oops, something went wrong.

0 comments on commit 780ec07

Please sign in to comment.
You can’t perform that action at this time.