Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

APIGOV-27284 - share strings for sonar warnings #79

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

dfeldick
Copy link
Collaborator

No description provided.

@dfeldick dfeldick requested a review from sbolosan February 16, 2024 16:43
@@ -440,7 +442,7 @@ func (c *WebMethodClient) GetStrategy(strategyId string) (*StrategyResponse, err
}

func (c *WebMethodClient) SubscribeApplication(applicationId string, ApplicationApiSubscription *ApplicationApiSubscription) error {
url := fmt.Sprintf("%s/rest/apigateway/applications/%s/apis", c.url, applicationId)
url := fmt.Sprintf(getApplicationURL+"/apis", c.url, applicationId)

Choose a reason for hiding this comment

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

why do you have + signs on some of these

Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess, otherwise you will need separate fmt template for each applicationURL, applicationURL/apis, applicationURL/accessTokens

@@ -440,7 +442,7 @@ func (c *WebMethodClient) GetStrategy(strategyId string) (*StrategyResponse, err
}

func (c *WebMethodClient) SubscribeApplication(applicationId string, ApplicationApiSubscription *ApplicationApiSubscription) error {
url := fmt.Sprintf("%s/rest/apigateway/applications/%s/apis", c.url, applicationId)
url := fmt.Sprintf(getApplicationURL+"/apis", c.url, applicationId)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess, otherwise you will need separate fmt template for each applicationURL, applicationURL/apis, applicationURL/accessTokens

@dfeldick dfeldick merged commit e38cd81 into main Feb 16, 2024
2 checks passed
@dfeldick dfeldick deleted the APIGOV-27284 branch February 16, 2024 17:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants