10000 MOTECH-1874 Ability to disable task activity audit by jablonskidawid · Pull Request #621 · motech/motech · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MOTECH-1874 Ability to disable task activity audit #621

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jablonskidawid
Copy link
Contributor

Added property and option in task settings.

@motech-gerrit
Copy link

Can one of the admins verify this patch?

3 similar comments
@motech-gerrit
Copy link

Can one of the admins verify this patch?

@motech-gerrit
Copy link

Can one of the admins verify this patch?

@motech-gerrit
Copy link

Can one of the admins verify this patch?

@martokarski
Copy link
Member

test this please

<a class="activity-warn" href="#/tasks/settings">{{msg('task.info.successLogsDisabled')}}</a>
</td>
</tr>
<tr ng-repeat="activity in activities" ng-hide="activities.length == 0">
Copy link
Member

Choose a reason for hiding this comment

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

I think that activities could be in another "tbody". To clarify one tbody will handle all informations and another with activities.

@martokarski
Copy link
Member

test this please

@martokarski
Copy link
Member

test this please

@martokarski
Copy link
Member

@kmadej Looks good to me

@martokarski
Copy link
Member

test this please

@@ -65,6 +65,12 @@

private static final String TASK_POSSIBLE_ERRORS_KEY = "task.possible.errors";

Copy link

Choose a reason for hiding this comment

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

remove spaces between variables

@@ -284,8 +293,9 @@ private void handleError(Map<String, Object> params, Task task, TaskHandlerExcep

private void handleSuccess(Map<String, Object> params, Task task) {
LOGGER.debug("All actions from task: {} with ID: {} were successfully executed", task.getName(), task.getId());

activityService.addSuccess(task);
if (getTaskLogActivities().equals(LOG_ALL_ACTIVITIES)) {
Copy link

Choose a reason for hiding this comment

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

the same

@jablonskidawid
Copy link
Contributor Author

After merging https://applab.atlassian.net/browse/MOTECH-2296 ticket we can't disable all task activities. If we don't save them we'll get lost task retrying function and execution many actions in a task.

We can miss only failure task activities.

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

Successfully merging this pull request may close these issues.

4 participants
0