Skip to content

Method implementation for REST API PlatformResources controller#7

Draft
zack-rma wants to merge 11 commits into
adamkorynta:devops/refactor-integration-fixturesfrom
zack-rma:devops/refactor-integration-fixtures_platform_resources
Draft

Method implementation for REST API PlatformResources controller#7
zack-rma wants to merge 11 commits into
adamkorynta:devops/refactor-integration-fixturesfrom
zack-rma:devops/refactor-integration-fixtures_platform_resources

Conversation

@zack-rma

Copy link
Copy Markdown

Problem Description

Fixes #228.

Missing method functionality in Toolkit, including filtering by transport medium type.

Solution

Adds missing methods to Toolkit for PlatformResources controller in REST API.

how you tested the change

Tested in REST API with integration testing against OpenTSDB.

XML implementations are as of yet untested.

Where the following done:

  • Tests. Check all that apply:
    • Unit tests created or modified that run during ant test.
    • Integration tests created or modified that run during integration testing
      (Formerly called regression tests.)
    • Test procedure descriptions for manual testing
  • Was relevant documentation updated?
  • Were relevant config element (e.g. XML data) updated as appropriate

If you aren't sure leave unchecked and we will help guide you to want needs changing where.

@adamkorynta adamkorynta force-pushed the devops/refactor-integration-fixtures branch from 500efb2 to d9cdd7f Compare January 22, 2025 22:35
adamkorynta pushed a commit that referenced this pull request Aug 15, 2025
…pendcs#1090)

I noticed in Instance Viewer that cwms_ccp.notify_for_comp came up for
having a lot of disk reads and buffer gets. On NAE's DB it's the #7 SQL
with 14.3M disk reads and 677M buffer gets. On Omaha's DB it's #9 with
44.2M disk reads and 2.1G buffer gets.

The package calls:
```
ccp.cwms_cpp.notify_tsdatastored;
```

Which calls this SQL:


```
select distinct cc.loading_application_id
         from cp_comp_depends cd, cp_computation cc
         where cd.ts_id = :p_ts_code and cc.enabled = 'Y'
           and cc.loading_application_id is not null 
           and cd.computation_id = cc.computation_id;
```

---------

Co-authored-by: JeremyDKellett <Jeremy.D.Kellett@usace.army.mil>
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.

2 participants