Skip to content

List Templates Support at an Account Org and Project Level #15

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thisrohangupta
Copy link
Contributor

No description provided.

@thisrohangupta thisrohangupta changed the title Rohan templates List Templates Support at an Account Org and Project Level Jun 25, 2025
@thisrohangupta
Copy link
Contributor Author

This pull request introduces a new TemplateService for managing templates across different scopes (account, organization, and project) and adds corresponding data structures to support template metadata operations. It also includes minor dependency updates and formatting fixes.

New Template Management Features:

  • Added TemplateService in client/templates.go: Introduced methods ListAccount, ListOrg, and ListProject to retrieve templates from account, organization, and project scopes, respectively. These methods use the TemplateListOptions structure for filtering and pagination.
  • Added TemplateListOptions and TemplateMetadataSummaryResponse in client/dto/template.go: Defined new data structures to represent template listing options and metadata summaries, including fields for tags, versioning, and Git details.

Dependency Updates:

  • Updated go.mod dependencies: Added github.com/google/uuid v1.6.0 as a direct dependency and removed it from indirect dependencies. [1] [2]

Code Formatting Fixes:

  • Fixed import order in pkg/harness/cloudcostmanagement.go: Reordered imports to comply with formatting standards.
  • Corrected spacing in pkg/harness/cloudcostmanagement.go: Adjusted spacing in variable assignment for better readability.

zenkodr pushed a commit to syntax-syndicate/harness-mcp-server that referenced this pull request Jun 26, 2025
…harness#15)

* feat: [ML-1118]: init genai service and add timeout param for clients
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.

1 participant