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

[AAE-3694] Add new Service Method for service task integration #6199

Merged
merged 3 commits into from Oct 1, 2020

Conversation

davidcanonieto
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
https://issues.alfresco.com/jira/browse/AAE-3694

What is the new behaviour?
This PR adds a new method to get more information about the service task integration context.
It also fixes some cosmetic issues in the service-task-demo-page.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2020

Codecov Report

Merging #6199 into develop will increase coverage by 2.11%.
The diff coverage is 85.29%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #6199      +/-   ##
===========================================
+ Coverage    75.99%   78.11%   +2.11%     
===========================================
  Files          747      350     -397     
  Lines        16377     9553    -6824     
  Branches      3201     1927    -1274     
===========================================
- Hits         12446     7462    -4984     
+ Misses        2974     1509    -1465     
+ Partials       957      582     -375     
Impacted Files Coverage Δ
...rc/lib/task/task-list/models/filter-cloud-model.ts 96.55% <ø> (ø)
...task/task-list/services/task-list-cloud.service.ts 100.00% <ø> (ø)
...k-list/services/service-task-list-cloud.service.ts 83.87% <83.87%> (ø)
...ilters/edit-service-task-filter-cloud.component.ts 75.38% <100.00%> (ø)
...st/components/service-task-list-cloud.component.ts 86.66% <100.00%> (ø)
...vices/src/lib/search/base-query-builder.service.ts 83.33% <0.00%> (-3.24%) ⬇️
...src/lib/document-list/data/share-data-row.model.ts 73.68% <0.00%> (-2.64%) ⬇️
...b/content-services/src/lib/search/search.module.ts 100.00% <0.00%> (ø)
...ces/src/lib/search/search-query-builder.service.ts 75.00% <0.00%> (ø)
...tent-node-selector/content-node-selector.module.ts 100.00% <0.00%> (ø)
... and 631 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 f0af0c4...44b52f4. Read the comment docs.

*/
getServiceTaskStatus(appName: string, serviceTaskId: string): Observable<ServiceTaskIntegrationContextCloudModel> {
if (appName) {
const queryUrl = `${this.getBasePath(appName)}/query/admin/v1/service-tasks/${serviceTaskId}/integration-context`;
Copy link
Contributor

Choose a reason for hiding this comment

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

are you sure that is right to call an admin API ?

Copy link
Contributor

@mauriziovitale mauriziovitale left a comment

Choose a reason for hiding this comment

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

check the comment

@eromano eromano merged commit 877a9f0 into develop Oct 1, 2020
@eromano eromano deleted the dev-dcano-AAE-3694 branch October 1, 2020 12:15
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.

None yet

5 participants