-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4102 from MDeLuise/improve-PackageDownloadRequest…
…Example ✨ [Jobs] Add username/password in PackageDownloadRequest example for `Package Download/Install` step
- Loading branch information
Showing
3 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...ent/packages/job/src/main/resources/liquibase/2.0.0/changelog-packages-job-2.0.0.post.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2019, 2022 Eurotech and/or its affiliates and others | ||
This program and the accompanying materials are made | ||
available under the terms of the Eclipse Public License 2.0 | ||
which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
SPDX-License-Identifier: EPL-2.0 | ||
Contributors: | ||
Eurotech - initial API and implementation | ||
--> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd"> | ||
|
||
<include relativeToChangelogFile="true" file="./packages_job_step_definition_property_update_example_field.xml"/> | ||
|
||
</databaseChangeLog> |
48 changes: 48 additions & 0 deletions
48
.../resources/liquibase/2.0.0/packages_job_step_definition_property_update_example_field.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2019, 2022 Eurotech and/or its affiliates and others | ||
This program and the accompanying materials are made | ||
available under the terms of the Eclipse Public License 2.0 | ||
which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
SPDX-License-Identifier: EPL-2.0 | ||
Contributors: | ||
Eurotech - initial API and implementation | ||
--> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd" | ||
logicalFilePath="KapuaDB/packages_job_step_definition_property_update_example_field.xml"> | ||
|
||
<include relativeToChangelogFile="true" file="../common-properties.xml" /> | ||
|
||
<changeSet id="packages_job_step_definition_property_update-1.2.0" author="eurotech"> | ||
<update tableName="job_job_step_definition_properties"> | ||
<column name="example_value" value="<?xml version="1.0" encoding="UTF-8"?> | ||
<downloadRequest> | ||
<uri>http://download.eclipse.org/kura/releases/3.2.0/org.eclipse.kura.demo.heater_1.0.300.dp</uri> | ||
<name>heater</name> | ||
<version>1.0.300</version> | ||
<install>true</install> | ||
<!-- <username></username> | ||
<password></password> --> | ||
</downloadRequest>"/> | ||
<where>name = 'packageDownloadRequest'</where> | ||
</update> | ||
|
||
<update tableName="job_job_step_definition_properties"> | ||
<column name="example_value" value="<?xml version="1.0" encoding="UTF-8"?> | ||
<uninstallRequest> | ||
<name>heater</name> | ||
<version>1.0.300</version> | ||
<reboot>true</reboot> | ||
<rebootDelay>30000</rebootDelay> | ||
</uninstallRequest>"/> | ||
<where>name = 'packageUninstallRequest'</where> | ||
</update> | ||
</changeSet> | ||
</databaseChangeLog> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters