diff options
Diffstat (limited to 'vnf-sdk-function-test/src/main/resources')
-rw-r--r-- | vnf-sdk-function-test/src/main/resources/migrations.xml | 57 | ||||
-rw-r--r-- | vnf-sdk-function-test/src/main/resources/sample.xml | 8 |
2 files changed, 65 insertions, 0 deletions
diff --git a/vnf-sdk-function-test/src/main/resources/migrations.xml b/vnf-sdk-function-test/src/main/resources/migrations.xml new file mode 100644 index 0000000..9ec5510 --- /dev/null +++ b/vnf-sdk-function-test/src/main/resources/migrations.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<databaseChangeLog + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.liquibase.org/xml/ns/dbchangelog" + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog + http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd"> + + <changeSet id="1" author="Kailun Qin"> + <createTable tableName="TaskRecord"> + <column name="packageID" type="varchar(255)"> + <constraints primaryKey="true" nullable="false"/> + </column> + <column name="taskID" type="varchar(255)"> + <constraints unique="true" foreignKeyName="CaseRecord.taskID" nullable="false"/> + </column> + <column name="envID" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="uploadID" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="operID" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="funcID" type="varchar(255)"> + </column> + <column name="status" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="operFinished" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="operResult" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="OperResultMessage" type="varchar(255)"> + </column> + </createTable> + + <createTable tableName="CaseRecord"> + <column name="taskID" type="varchar(255)"> + <constraints primaryKey="true" nullable="false"/> + </column> + <column name="funcID" type="varchar(255)"> + </column> + <column name="testID" type="varchar(255)"> + </column> + <column name="testResult" type="varchar(255)"> + <constraints nullable="false"/> + </column> + <column name="testDescription" type="varchar(255)"> + <constraints nullable="false"/> + </column> + </createTable> + </changeSet> +</databaseChangeLog> diff --git a/vnf-sdk-function-test/src/main/resources/sample.xml b/vnf-sdk-function-test/src/main/resources/sample.xml new file mode 100644 index 0000000..db1d2f0 --- /dev/null +++ b/vnf-sdk-function-test/src/main/resources/sample.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<class> + <TestResult> + <test name="Huawei"></test> + <test description="Huawei"></test> + <test status="success"></test> + </TestResult> +</class>
\ No newline at end of file |