Skip to content
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

feature-send private message to user #9

Merged
merged 2 commits into from
Mar 28, 2018

Conversation

bw-0
Copy link
Contributor

@bw-0 bw-0 commented Mar 28, 2018

Description

divy up API methods using ParameterSetName
add another API namespace
add var server for private servers

Motivation and Context

closes #8

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have added Pester Tests that describe what my changes should do.
  • I have updated the documentation accordingly.

@ghost ghost added the Status:In Review label Mar 28, 2018
@lipkau lipkau merged commit 950229b into AtlassianPS:develop Mar 28, 2018
@ghost ghost removed the Status:In Review label Mar 28, 2018
@@ -25,14 +30,22 @@
#Set whether or not this message should trigger a notification for people in the room. (default: false)
[switch]$notify,

#Required. Server name, default to 'api.hipchat.com'
[Parameter(Mandatory = $True)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't be mandatory = true and have a default. Suggest you remove the 'mandatory = true'.

Copy link
Member

Choose a reason for hiding this comment

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

I fully agree.
This would normally be tested in the CI; but this is not yet implemented in the project.

I created #12 to fix this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually there is CI already on this project, it runs from my AppVeyor account still. The tests are currently failing because -server is mandatory and not explicitly declared in the tests.

Copy link
Member

@lipkau lipkau Apr 4, 2018

Choose a reason for hiding this comment

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

ok... I meant:

The CI and the tests are not yet aligned with the rest of the projects and the branches to not forbid merging while the CIs do not pass.

sorry for merging without checking the CI

Copy link
Member

Choose a reason for hiding this comment

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

fixed it

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah I see, thanks for the clarification :)

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