Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activities #181

Merged
merged 67 commits into from
Aug 22, 2017
Merged

Activities #181

merged 67 commits into from
Aug 22, 2017

Conversation

pbortnik
Copy link
Collaborator

No description provided.

pbortnik and others added 30 commits July 11, 2017 15:29
* Implemented unique identifier for each test item. Generates on item's start.
Added base for splitting description and params in agents.

* Fixed updating identifier after merge.

* Instance (#140)

* add instanceID on server side

* finish EPMRPP-26021 - Hash for unique instance generating by server

* Added possibility to send custom unique id with rq

* Added project name to unique id

* Added secret to unique id

* Upd generation unique id after merge

* Null check added

* added check of changing launch name
* upd dependencies

* Debug mode for import

* fix unit tests

* Added bad import rq handler

* Renamed junit to xunit

* update dependencies
* Added description on the finish

* Added tags on the finish

* Optimize checks
* Update parameters representation

* Update dependencies

* Refactor checks

* Refactor checks

* Fixed decoding uniqueId
Added unit test on uniqueId validation

* Added utf-8 charset

* removed toString call
…l/service-api into v3.2

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java
…l/service-api into v3.2

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java
* Merge branch 'develop' of https://github.com/reportportal/service-api into latest

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java

* Added controller for latest launches

* fix issue with in progress launches
* Merge branch 'develop' of https://github.com/reportportal/service-api into latest

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java

* Added controller for latest launches

* fix issue with in progress launches

* upd dependencies

* upd dependencies

* update changelog
Latest widgets + Bug fixing + External Systems
…into activities

# Conflicts:
#	CHANGELOG.md
#	build.gradle
@pbortnik pbortnik requested a review from avarabyeu as a code owner August 22, 2017 15:20
@codecov-io
Copy link

Codecov Report

Merging #181 into develop will decrease coverage by 0.39%.
The diff coverage is 67.17%.

Impacted file tree graph

@@             Coverage Diff              @@
##             develop     #181     +/-   ##
============================================
- Coverage      71.55%   71.16%   -0.4%     
- Complexity      1568     1601     +33     
============================================
  Files            276      286     +10     
  Lines           6884     7209    +325     
  Branches         614      615      +1     
============================================
+ Hits            4926     5130    +204     
- Misses          1575     1693    +118     
- Partials         383      386      +3
Impacted Files Coverage Δ Complexity Δ
...ortportal/ws/converter/builders/LaunchBuilder.java 100% <ø> (ø) 13 <0> (ø) ⬇️
...reportportal/ws/controller/impl/LogController.java 22.72% <ø> (ø) 6 <0> (ø) ⬇️
...tportal/ws/controller/impl/ActivityController.java 75% <ø> (ø) 3 <0> (ø) ⬇️
...ortportal/util/analyzer/IssuesAnalyzerService.java 38.7% <ø> (ø) 14 <0> (ø) ⬇️
...tal/events/handler/LaunchFinishedEventHandler.java 80.24% <ø> (ø) 34 <0> (ø) ⬇️
...portportal/core/activity/impl/ActivityHandler.java 76% <ø> (ø) 3 <0> (ø) ⬇️
...tem/merge/strategy/AbstractSuiteMergeStrategy.java 83.05% <ø> (ø) 15 <0> (ø) ⬇️
...rtportal/ws/controller/impl/ProjectController.java 96.29% <ø> (ø) 17 <0> (ø) ⬇️
...pam/ta/reportportal/events/FilterCreatedEvent.java 0% <0%> (ø) 0 <0> (?)
...pam/ta/reportportal/events/WidgetDeletedEvent.java 0% <0%> (ø) 0 <0> (?)
... and 43 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86e53be...feb276a. Read the comment docs.

/**
* @author pavel_bortnik
*/
public class EventHandlerUtil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public?

@avarabyeu avarabyeu merged commit d6acfa0 into develop Aug 22, 2017
@avarabyeu avarabyeu deleted the activities branch August 22, 2017 15:30
avarabyeu added a commit that referenced this pull request Sep 25, 2017
* Activities (#181)

* Properties (#139)

* Implemented unique identifier for each test item. Generates on item's start.
Added base for splitting description and params in agents.

* Fixed updating identifier after merge.

* Instance (#140)

* add instanceID on server side

* finish EPMRPP-26021 - Hash for unique instance generating by server

* Added possibility to send custom unique id with rq

* Added project name to unique id

* Added secret to unique id

* Upd generation unique id after merge

* Null check added

* added check of changing launch name

* Upsa (#144)

* upd dependencies

* Debug mode for import

* fix unit tests

* Added bad import rq handler

* Renamed junit to xunit

* update dependencies

* Update changelog

* Description (#146)

* Added description on the finish

* Added tags on the finish

* Optimize checks

* Params (#148)

* Update parameters representation

* Update dependencies

* Refactor checks

* Refactor checks

* Fixed decoding uniqueId
Added unit test on uniqueId validation

* Added utf-8 charset

* removed toString call

* Merge branches 'develop' and 'v3.2' of https://github.com/reportportal/service-api into v3.2

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java

* Latest (#157)

* Merge branch 'develop' of https://github.com/reportportal/service-api into latest

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java

* Added controller for latest launches

* fix issue with in progress launches

* Latest (#159)

* Merge branch 'develop' of https://github.com/reportportal/service-api into latest

# Conflicts:
#	build.gradle
#	src/main/java/com/epam/ta/reportportal/demo_data/StepBasedDemoDataFacade.java
#	src/main/java/com/epam/ta/reportportal/demo_data/TestBasedDemoDataFacade.java

* Added controller for latest launches

* fix issue with in progress launches

* upd dependencies

* upd dependencies

* update changelog

* upd dependencies

* Implemented latest view for overall statistics widget

* Getting allowable issue types method from external system

* some unit tests

* upd changelog

* Some readable refactor

* Optimized imports

* Implemented latest view for widgets

* update dependencies

* Remove unnecessary latest from some widgets

* update dependencies

* Update test

* update gradle settings

* disable container-based env in travis

* fix problem with memory using by tests

* minor upd

* Added crud activities for widgets

* Added crud activities for dashboards and filters

* Merge branch 'develop' of https://github.com/reportportal/service-api into activities

# Conflicts:
#	CHANGELOG.md
#	build.gradle

* Fixed issue with paging in latest launches

* Upd dependencies

* Mark Builder deprecated since decided do not have it in context.
Refactored activity builder

* Update event types enum

* Created enum that contains all allowed activities object types

* Added methods for getting activity events and object names

* Update methods for getting activity events and object names

* Update methods for getting activity events and object names

* fix tests

* Update scripts for activities history embedded collection. Now it is presented as array of key, values

* Added api method for activities.

* Update api method for activities.

* Update change script

* Merge branch 'develop' of https://github.com/reportportal/service-api into activities

# Conflicts:
#	src/main/java/com/epam/ta/reportportal/ws/controller/impl/LaunchController.java

* Pre activity (#176)

* add project-level activity GET

* update URL

* move enums to dao layer

* change migration version

* minor upd

* Method for updating empty widget

* Update activities according to new db migration

* Added activities and object types in contributor

* Update empty widgets

* Added widgetOptions for demo data widgets

* Added widgetOptions for demo data widgets

* upd request method

* upd request method

* upd request method

* Update empty widgets

* Update changelog

* Update bootstrap.yaml (#182)

* Update bootstrap.yaml

* Remove javafx lib

* changed build with get

* Product status (#185)

* [Gradle Release Plugin] - pre tag commit:  '3.2.0-RC-1'.

* [Gradle Release Plugin] - new version commit:  '3.2.0-SNAPSHOT'.

* Remove resource for empty widget

* changed build with get

* update dep

* Fix issue with time formats in import

* Fix issue with converters

* Fixes (#183)

* changed build with get

* update dep

* Fix issue with time formats in import

* Fix issue with converters

* update DAO with bugfixes

* [Gradle Release Plugin] - pre tag commit:  '3.2.0-RC-2'.

* [Gradle Release Plugin] - new version commit:  '3.2.0-SNAPSHOT'.

* Divided logic of widgets creating and updating. Depends on widget type.

* Update dependencies

* fix line ending in changelog

* Refactored activities, update script for old activities (#186)

* Refactored activities, update script for old activities

* Refactor action types for widget

* update to the latest DAO

* fix filters by collections

* if NPE if user has no proposed role

* fix unused imports

* remove is_negative

* remove is_negative

* update project depth

* Refactor action types for widget (#188)

* Refactor action types for widget

* Immutable lists replaced with singletone lists. Refactored creating some activity fields.

* Added object name on ticket activities

* upd dependencies

* replace deepmergerq with merge (#189)

* More activities (#190)

* Some filter events improvements

* More actions for widgets

* Fix possible NPE

* add nettols to api container

* fix issue with invite user by project manager

* Added rq for widget preview (#191)

* Added rq for widget preview

* Rename filter id field

* upd dependencies

* Implement cumulative trend chart (#194)

* Implement cumulative trend chart

* Reformat

* unit tests

* unit tests

* More unit tests

* Trend chart (#196)

* Implement cumulative trend chart

* Reformat

* unit tests

* unit tests

* More unit tests

* Fix issue with custom deffect types

* upd deps

* No redis (#195)

* fix issue with invite user by project manager (#193)

* [Gradle Release Plugin] - pre tag commit:  '3.2.1'.

* [Gradle Release Plugin] - new version commit:  '3.2.2-SNAPSHOT'.

* drop redis support. Introduce project-level authorities to avoid additional calls to database

* drop redis support. Introduce project-level authorities to avoid additional calls to database

* add unit test for project authority

* More activities (#192)

* Some filter events improvements

* More actions for widgets

* Fix possible NPE

* More actions for importing

* action on updated filter parameters

* Unit tests for import event

* Remove transferring file

* Revert "Remove transferring file"

This reverts commit 47eff3f.

* More fixes

* Merge branches 'develop' and 'more-activities' of https://github.com/reportportal/service-api into more-activities

# Conflicts:
#	build.gradle

* Replaced put with post

* fixed tests

* extend test

* remove redis autoconfiguration

* update dependencies

* Sort issue (#198)

* fix issue with sorting cumulative chart

* upd deps, changelog

* update dependencies

* Chart fix (#199)

* Fixed not fully matched tag prefix

* Update dependencies

* fix docker server url (#200)

* fix possible issue with create user handler

* Generate (#202)

* Update script for generate id

* Optimize generating unique id logic

* More documentation

* Formatted

* update dao version

* Widget fix (#203)

* Fix issue with widget trend charts sorting

* fix unit tests

* Fixed more trend charts

* Some null checks

* Generate (#204)

* Update script for generate id

* Optimize generating unique id logic

* More documentation

* Formatted

* fixed issue with test items without launches

* Generate (#205)

* Update script for generate id

* Optimize generating unique id logic

* More documentation

* Formatted

* fixed issue with test items without launches

* optimize updating script

* fix count percentage

* moved to local variables

* start update only once

* update dependencies

* Generate (#206)

* Update script for generate id

* Optimize generating unique id logic

* More documentation

* Formatted

* fixed issue with test items without launches

* optimize updating script

* fix count percentage

* moved to local variables

* beautiful logs

* returned missed code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants