-
Notifications
You must be signed in to change notification settings - Fork 2
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 #57 from italiangrid/develop
- Loading branch information
Showing
6 changed files
with
140 additions
and
109 deletions.
There are no files selected for viewing
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
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,5 @@ | ||
DELETE FROM storm_db.db_version; | ||
INSERT INTO storm_db.db_version (major,minor,revision,description) VALUES (1,7,2,'10 Mar 2015'); | ||
|
||
CREATE INDEX statusCodeGet_index on storm_db.status_Get (statusCode); | ||
|
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
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 |
---|---|---|
@@ -1,103 +1,104 @@ | ||
<?xml version="1.0"?> | ||
<assembly | ||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
|
||
<id>storm-backend</id> | ||
|
||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<formats> | ||
<format>tar.gz</format> | ||
</formats> | ||
|
||
<!-- include all project dependencies and the project artifact --> | ||
<dependencySets> | ||
<dependencySet> | ||
<!-- need to exclude this old xerces version that would otherwise be brough | ||
in as a commons-dbcp dendendency. Though the compiler seems to resolve the | ||
conflict fine, the assembly plugin put it in the package --> | ||
<excludes> | ||
<exclude>xerces:xerces</exclude> | ||
<exclude>org.italiangrid:storm-native-interface</exclude> | ||
</excludes> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<outputDirectory>usr/share/java/storm-backend-server</outputDirectory> | ||
</dependencySet> | ||
</dependencySets> | ||
|
||
<fileSets> | ||
|
||
<!-- include a few file in etc --> | ||
<fileSet> | ||
<directory>etc</directory> | ||
<includes> | ||
<include>lcmaps.db</include> | ||
<include>logging.xml</include> | ||
<include>namespace-1.5.0.xsd</include> | ||
<include>namespace.xml</include> | ||
<include>path-authz.db</include> | ||
<include>storm.properties.template</include> | ||
<include>used-space.ini.template</include> | ||
<include>welcome.txt</include> | ||
</includes> | ||
<outputDirectory>etc/storm/backend-server</outputDirectory> | ||
</fileSet> | ||
|
||
<!-- include a few file in etc/db --> | ||
<fileSet> | ||
<directory>etc/db</directory> | ||
<includes> | ||
<include>storm_be_ISAM_mysql_update_from_1.0.0_to_1.1.0.sql</include> | ||
<include>storm_mysql_grant.sql</include> | ||
<include>storm_mysql_tbl.sql</include> | ||
<include>storm_mysql_update_from_1.7.0_to_1.7.1.sql</include> | ||
</includes> | ||
<outputDirectory>etc/storm/backend-server/db</outputDirectory> | ||
</fileSet> | ||
|
||
<!-- an empty fileset to create an empty log directory --> | ||
<fileSet> | ||
<directory>src</directory> | ||
<outputDirectory>var/log/storm</outputDirectory> | ||
<excludes> | ||
<exclude>**/*</exclude> | ||
</excludes> | ||
<directoryMode>0755</directoryMode> | ||
</fileSet> | ||
|
||
</fileSets> | ||
|
||
<files> | ||
|
||
<file> | ||
<source>etc/db/storm_database_config.sh</source> | ||
<outputDirectory>etc/storm/backend-server/db</outputDirectory> | ||
<fileMode>0755</fileMode> | ||
</file> | ||
|
||
<file> | ||
<source>target/${artifactId}.jar</source> | ||
<outputDirectory>usr/share/java/storm-backend-server</outputDirectory> | ||
</file> | ||
|
||
<file> | ||
<source>etc/init.d/storm-backend-server</source> | ||
<outputDirectory>etc/init.d</outputDirectory> | ||
<fileMode>0755</fileMode> | ||
</file> | ||
|
||
<file> | ||
<source>etc/logrotate.d/storm-backend-server</source> | ||
<outputDirectory>etc/logrotate.d</outputDirectory> | ||
</file> | ||
|
||
<file> | ||
<source>etc/sysconfig/storm-backend-server</source> | ||
<outputDirectory>etc/sysconfig</outputDirectory> | ||
</file> | ||
|
||
</files> | ||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
|
||
<id>storm-backend</id> | ||
|
||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<formats> | ||
<format>tar.gz</format> | ||
</formats> | ||
|
||
<!-- include all project dependencies and the project artifact --> | ||
<dependencySets> | ||
<dependencySet> | ||
<!-- need to exclude this old xerces version that would otherwise be brough | ||
in as a commons-dbcp dendendency. Though the compiler seems to resolve the | ||
conflict fine, the assembly plugin put it in the package --> | ||
<excludes> | ||
<exclude>xerces:xerces</exclude> | ||
<exclude>org.italiangrid:storm-native-interface</exclude> | ||
</excludes> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<outputDirectory>usr/share/java/storm-backend-server</outputDirectory> | ||
</dependencySet> | ||
</dependencySets> | ||
|
||
<fileSets> | ||
|
||
<!-- include a few file in etc --> | ||
<fileSet> | ||
<directory>etc</directory> | ||
<includes> | ||
<include>lcmaps.db</include> | ||
<include>logging.xml</include> | ||
<include>namespace-1.5.0.xsd</include> | ||
<include>namespace.xml</include> | ||
<include>path-authz.db</include> | ||
<include>storm.properties.template</include> | ||
<include>used-space.ini.template</include> | ||
<include>welcome.txt</include> | ||
</includes> | ||
<outputDirectory>etc/storm/backend-server</outputDirectory> | ||
</fileSet> | ||
|
||
<!-- include a few file in etc/db --> | ||
<fileSet> | ||
<directory>etc/db</directory> | ||
<includes> | ||
<include>storm_be_ISAM_mysql_update_from_1.0.0_to_1.1.0.sql</include> | ||
<include>storm_mysql_grant.sql</include> | ||
<include>storm_mysql_tbl.sql</include> | ||
<include>storm_mysql_update_from_1.7.0_to_1.7.1.sql</include> | ||
<include>storm_mysql_update_from_1.7.1_to_1.7.2.sql</include> | ||
</includes> | ||
<outputDirectory>etc/storm/backend-server/db</outputDirectory> | ||
</fileSet> | ||
|
||
<!-- an empty fileset to create an empty log directory --> | ||
<fileSet> | ||
<directory>src</directory> | ||
<outputDirectory>var/log/storm</outputDirectory> | ||
<excludes> | ||
<exclude>**/*</exclude> | ||
</excludes> | ||
<directoryMode>0755</directoryMode> | ||
</fileSet> | ||
|
||
</fileSets> | ||
|
||
<files> | ||
|
||
<file> | ||
<source>etc/db/storm_database_config.sh</source> | ||
<outputDirectory>etc/storm/backend-server/db</outputDirectory> | ||
<fileMode>0755</fileMode> | ||
</file> | ||
|
||
<file> | ||
<source>target/${artifactId}.jar</source> | ||
<outputDirectory>usr/share/java/storm-backend-server</outputDirectory> | ||
</file> | ||
|
||
<file> | ||
<source>etc/init.d/storm-backend-server</source> | ||
<outputDirectory>etc/init.d</outputDirectory> | ||
<fileMode>0755</fileMode> | ||
</file> | ||
|
||
<file> | ||
<source>etc/logrotate.d/storm-backend-server</source> | ||
<outputDirectory>etc/logrotate.d</outputDirectory> | ||
</file> | ||
|
||
<file> | ||
<source>etc/sysconfig/storm-backend-server</source> | ||
<outputDirectory>etc/sysconfig</outputDirectory> | ||
</file> | ||
|
||
</files> | ||
|
||
</assembly> |
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
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