]> source.dussan.org Git - sonarqube.git/commit
SONAR-6261 Persist events in compute stack
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 13 Mar 2015 13:25:42 +0000 (14:25 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 17 Mar 2015 11:16:33 +0000 (12:16 +0100)
commit7485c34dead228336791067e3a6b03cbb3dcaaa2
tree6f34d0fbd59d3fd671659147ee6c35395cf8a81c
parent8f99dd245c257c72b351625e9fa34dd7375fe5ef
SONAR-6261 Persist events in compute stack
62 files changed:
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/events.html.erb
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
server/sonar-server/src/main/java/org/sonar/server/computation/step/PersistEventsStep.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/db/DbClient.java
server/sonar-server/src/main/java/org/sonar/server/db/migrations/DatabaseMigrations.java
server/sonar-server/src/main/java/org/sonar/server/db/migrations/v52/FeedEventsComponentUuid.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/event/db/EventDao.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/event/db/package-info.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/step/PersistEventsStepTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/db/migrations/v52/FeedEventsComponentUuidTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/event/db/EventDaoTest.java [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/computation/step/PersistEventsStepTest/add_events-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/computation/step/PersistEventsStepTest/add_version_event-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/computation/step/PersistEventsStepTest/empty.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/computation/step/PersistEventsStepTest/keep_one_event_by_version-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/computation/step/PersistEventsStepTest/keep_one_event_by_version.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/computation/step/PersistEventsStepTest/nothing_to_do_when_no_events_in_report.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v52/FeedEventsComponentUuidTest/migrate-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v52/FeedEventsComponentUuidTest/migrate.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v52/FeedEventsComponentUuidTest/not_migrate_already_migrated_data.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v52/FeedEventsComponentUuidTest/schema.sql [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/event/db/EventDaoTest/delete.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/event/db/EventDaoTest/empty.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/event/db/EventDaoTest/insert-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/event/db/EventDaoTest/shared.xml [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/events_controller.rb
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/project_controller.rb
server/sonar-web/src/main/webapp/WEB-INF/app/models/event.rb
server/sonar-web/src/main/webapp/WEB-INF/app/models/project.rb
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/903_add_events_component_uuid.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/904_feed_events_component_uuid.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/905_remove_events_resource_id.rb [new file with mode: 0644]
sonar-batch-protocol/src/main/gen-java/org/sonar/batch/protocol/Constants.java
sonar-batch-protocol/src/main/gen-java/org/sonar/batch/protocol/output/BatchReport.java
sonar-batch-protocol/src/main/protobuf/batch_report.proto
sonar-batch-protocol/src/main/protobuf/constants.proto
sonar-batch/src/main/java/org/sonar/batch/deprecated/components/PastSnapshotFinderByPreviousVersion.java
sonar-batch/src/main/java/org/sonar/batch/index/EventPersister.java
sonar-batch/src/test/resources/org/sonar/batch/deprecated/components/PastSnapshotFinderByPreviousVersionTest/no-previous-version.xml
sonar-batch/src/test/resources/org/sonar/batch/deprecated/components/PastSnapshotFinderByPreviousVersionTest/with-previous-version-deleted.xml
sonar-batch/src/test/resources/org/sonar/batch/deprecated/components/PastSnapshotFinderByPreviousVersionTest/with-previous-version.xml
sonar-core/src/main/java/org/sonar/core/event/EventDto.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/event/db/EventMapper.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/event/db/package-info.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/event/package-info.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java
sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
sonar-core/src/main/java/org/sonar/core/purge/PurgeCommands.java
sonar-core/src/main/java/org/sonar/core/purge/PurgeMapper.java
sonar-core/src/main/resources/org/sonar/core/event/db/EventMapper.xml [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql
sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl
sonar-core/src/main/resources/org/sonar/core/purge/PurgeMapper.xml
sonar-core/src/test/resources/org/sonar/core/persistence/PreviewDatabaseFactoryTest/should_create_database.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteResource.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot-result.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot-result.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldSelectPurgeableSnapshots.xml
sonar-plugin-api/src/main/java/org/sonar/api/batch/Event.java
sonar-plugin-api/src/main/java/org/sonar/api/database/model/ResourceModel.java