Skip to content

CODAP-1091: Add spec for gathering CODAP URL statistics in AP activities#2341

Closed
dougmartin wants to merge 3 commits intomainfrom
CODAP-1091-codap-ap-url-stats
Closed

CODAP-1091: Add spec for gathering CODAP URL statistics in AP activities#2341
dougmartin wants to merge 3 commits intomainfrom
CODAP-1091-codap-ap-url-stats

Conversation

@dougmartin
Copy link
Copy Markdown
Member

Research spec to identify and catalog CODAP V2 URLs embedded in Activity Player activities. This data will inform redirect strategy decisions for the V2-to-V3 transition.

Deliverables defined:

  • requirements.md: Scope, requirements, and resolved design decisions
  • implementation.md: SQL query templates for mw_interactives and managed_interactives, Ruby URL normalization code, CSV export guidance
  • schema.rb: LARA database schema reference

Key decisions documented:

  • Query all lightweight_activities (no publication status filter)
  • Search both mw_interactives and managed_interactives tables
  • Focus on normalized URL patterns (path only, strip query params)
  • Output: markdown summary, CSV with activity-level detail, Jira comment

Research spec to identify and catalog CODAP V2 URLs embedded in Activity
Player activities. This data will inform redirect strategy decisions for
the V2-to-V3 transition.

Deliverables defined:
- requirements.md: Scope, requirements, and resolved design decisions
- implementation.md: SQL query templates for mw_interactives and
  managed_interactives, Ruby URL normalization code, CSV export guidance
- schema.rb: LARA database schema reference

Key decisions documented:
- Query all lightweight_activities (no publication status filter)
- Search both mw_interactives and managed_interactives tables
- Focus on normalized URL patterns (path only, strip query params)
- Output: markdown summary, CSV with activity-level detail, Jira comment
@dougmartin
Copy link
Copy Markdown
Member Author

@kswenson / @scytacki I haven't run this yet - I wanted to get feedback on the query approach first.

Copy link
Copy Markdown
Member

@kswenson kswenson left a comment

Choose a reason for hiding this comment

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

👍 LGTM -- I leave it to @scytacki to review the activity player-dependent parts that I'm less familiar with.

Copy link
Copy Markdown
Member

@scytacki scytacki left a comment

Choose a reason for hiding this comment

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

I think you should just run it. It should be fast. I've run things like this before and they take seconds to minutes. It is more efficient for me to look at the output that is generated than how you got it.

@dougmartin
Copy link
Copy Markdown
Member Author

I ran the queries and updated Slack and Jira. Closing as this was just for research.

@dougmartin dougmartin closed this Feb 10, 2026
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