Skip to content

Conversation

@devinleighsmith
Copy link
Contributor

Pull Request for JIRA Ticket: ----put ticket number here----

Issue ticket number and link

Include the JIRA ticket # and link here

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

-Test Dars search, as well as headphone link in appearances, court calendar and my calendar (expanded).
-Validate that outgoing DARS url to logsheets matches PCSS.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Documentation References

Put any doc references here

dependabot bot and others added 3 commits October 28, 2025 22:54
Bumps [eslint](https://github.com/eslint/eslint) from 9.37.0 to 9.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.37.0...v9.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@devinleighsmith devinleighsmith self-assigned this Oct 29, 2025
@devinleighsmith devinleighsmith added the enhancement New feature or request label Oct 29, 2025
@devinleighsmith devinleighsmith changed the title Jasper 564 Jasper-564(DARS) Oct 29, 2025
@sonarqubecloud
Copy link

}

public static IServiceCollection AddHttpClientsAndScvServices(this IServiceCollection services, IConfiguration configuration)
public static IServiceCollection AddHttpClientsAndScvServices(this IServiceCollection services, IConfiguration configuration, IWebHostEnvironment env)
Copy link
Contributor

Choose a reason for hiding this comment

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

is the new env param really needed? i don't seem to see it being used.

[ProducesResponseType(400)]
[ProducesResponseType(404)]
[ProducesResponseType(500)]
public async Task<IActionResult> Search(DateTime date, int locationId, string courtRoomCd)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we also need validation for date and courtRoomCd?


namespace Scv.Api.Services
{
public class DarsService
Copy link
Contributor

@ronaldo-macapobre ronaldo-macapobre Oct 31, 2025

Choose a reason for hiding this comment

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

May want to consider adding an interface so unit testing is easier particularly on new classes.

using System.Linq;
using System.Text;
using System.Threading.Tasks;

Copy link
Contributor

Choose a reason for hiding this comment

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

Should remove the warnings when this code is added.

Suggested change
#pragma warning disable 8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.


public string LocationNm { get; set; }
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
}
#pragma warning restore 8618
}

using System.Text;
using System.Threading.Tasks;

namespace DARSCommon.Models
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: There is a an internal agreement that file-scope namespace is preferred.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants