Skip to content

Conversation

@xino12
Copy link

@xino12 xino12 commented Feb 21, 2025

Waiting on datadrivers/go-nexus-client#157

WIP: adding tests.

@jtnord
Copy link

jtnord commented Feb 25, 2025

fixes: #200

@xino12 xino12 marked this pull request as ready for review February 26, 2025 10:38
mvdan.cc/unparam v0.0.0-20240528143540-8a5130ca722f // indirect
)

replace github.com/datadrivers/go-nexus-client v1.14.0 => ../go-nexus-client
Copy link
Author

Choose a reason for hiding this comment

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

for local dev

@xino12 xino12 force-pushed the main branch 2 times, most recently from d037e11 to e57ba3e Compare March 11, 2025 16:12
@polski-g
Copy link

Running the example against Nexus 3.78.2-04, I am getting HTTP 405

resource "nexus_task" "example" {
  name                   = "example-task"
  type                   = "repository.cleanup"
  enabled                = true
  alert_email            = "[email protected]"
  notification_condition = "FAILURE"
  frequency {
    schedule       = "daily"
    start_date     = 1633046400000
    time_zone_offset = "UTC+0"
    recurring_days = [1, 2, 3]
    cron_expression = "0 0 * * *"
  }
  properties = {}
}
2025-07-22 15:27:24,992+0000 ERROR [qtp78227576-15852]  admin com.sonatype.analytics.internal.filter.AnalyticsMeteringFilter - Error metering request RESTEASY003650: No resource method found for POST, return 405 with Allow header
2025-07-22 15:27:24,992+0000 WARN  [qtp78227576-15852]  admin org.sonatype.nexus.siesta.internal.WebappExceptionMapper - (ID 2cb78971-3c75-4cf9-9fa1-5c4ee5aae2e1) Response: [405] (no entity/body); mapped from: javax.ws.rs.NotAllowedException: RESTEASY003650: No resource method found for POST, return 405 with Allow header

@jtnord
Copy link

jtnord commented Oct 23, 2025

@polski-g there is no repository.cleanup task type. where did you find this task type? you can get all the tasks types from /v1/tasks/templates/

@vivekdhami
Copy link

This seems to be still waiting for a review. Would be great if these changes can be merged or commented on if something is missing.

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.

4 participants