Skip to content

Commit 2681b89

Browse files
Rename repository to wiremock-state-extension (#89)
I changed everything except the #81 scope post-release ## References - TODO <!-- References to relevant GitHub issues and pull requests, esp. upstream and downstream changes --> ## Submitter checklist - [ ] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to get any help in `#help-contributing` or a project-specific channel like `#wiremock-java` - [ ] Recommended: If you participate in Hacktoberfest 2023, make sure you're [signed up](https://wiremock.org/events/hacktoberfest/) there and in the WireMock form - [ ] The PR request is well described and justified, including the body and the references - [ ] The PR title represents the desired changelog entry - [ ] The repository's code style is followed (see the contributing guide) - [ ] Test coverage that demonstrates that the change works as expected - [ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to [wiremock.org](https://github.com/wiremock/wiremock.org) <!-- Put an `x` into the [ ] to show you have filled the information. The template comes from https://github.com/wiremock/.github/blob/main/.github/pull_request_template.md You can override it by creating .github/pull_request_template.md in your own repository -->
1 parent 8c56bed commit 2681b89

File tree

6 files changed

+27
-23
lines changed

6 files changed

+27
-23
lines changed

.run/WireMock Docker Demo.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<settings>
55
<option name="imageTag" value="wiremock/wiremock:3x" />
66
<option name="command" value="--global-response-templating --jetty-header-request-size 32768 --jetty-header-response-size 32768 --verbose" />
7-
<option name="containerName" value="wiremock-extension-state-test" />
7+
<option name="containerName" value="wiremock-state-extension-test" />
88
<option name="portBindings">
99
<list>
1010
<DockerPortBindingImpl>

.run/WireMock Docker Test.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<settings>
55
<option name="imageTag" value="wiremock/wiremock:3x" />
66
<option name="command" value="--global-response-templating --verbose" />
7-
<option name="containerName" value="wiremock-extension-state-test" />
7+
<option name="containerName" value="wiremock-state-extension-test" />
88
<option name="portBindings">
99
<list>
1010
<DockerPortBindingImpl>

DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ wiremock/wiremock:3x \
2020

2121
## Releasing
2222

23-
To release the module, go to [GitHub Releases](https://github.com/wiremock/wiremock-extension-state/releases) and
23+
To release the module, go to [GitHub Releases](https://github.com/wiremock/wiremock-state-extension/releases) and
2424
issue the release using the changelog draft.
25-
The new release will trigger the [Release GitHub Action](https://github.com/wiremock/wiremock-extension-state/actions/workflows/release.yml)
25+
The new release will trigger the [Release GitHub Action](https://github.com/wiremock/wiremock-state-extension/actions/workflows/release.yml)
2626
which will deploy the artifacts to Maven Central.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# WireMock State extension
22

3-
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/wiremock/wiremock-extension-state)](https://github.com/wiremock/wiremock-extension-state/releases)
3+
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/wiremock/wiremock-state-extension)](https://github.com/wiremock/wiremock-state-extension/releases)
44
[![Slack](https://img.shields.io/badge/slack-slack.wiremock.org-brightgreen?style=flat&logo=slack)](https://slack.wiremock.org/)
5-
[![GitHub contributors](https://img.shields.io/github/contributors/wiremock/wiremock-extension-state)](https://github.com/wiremock/wiremock-extension-state/graphs/contributors)
5+
[![GitHub contributors](https://img.shields.io/github/contributors/wiremock/wiremock-state-extension)](https://github.com/wiremock/wiremock-state-extension/graphs/contributors)
66

77
<p align="center">
88
<a href="https://wiremock.org" target="_blank">
@@ -172,7 +172,7 @@ the `GET` won't have any knowledge of the previous post.
172172

173173
## Compatibility matrix
174174

175-
| `wiremock-extension-state` version | `WireMock` version |
175+
| `wiremock-state-extension` version | `WireMock` version |
176176
|------------------------------------|--------------------|
177177
| `0.0.3`+ | `3.0.0-beta-11`+ |
178178
| `0.0.6`+ | `3.0.0-beta-14`+ |
@@ -204,9 +204,9 @@ add authentication to GitHub packages.
204204

205205
<repositories>
206206
<repository>
207-
<id>github-wiremock-extension-state</id>
207+
<id>github-wiremock-state-extension</id>
208208
<name>WireMock Extension State Apache Maven Packages</name>
209-
<url>https://maven.pkg.github.com/wiremock/wiremock-extension-state</url>
209+
<url>https://maven.pkg.github.com/wiremock/wiremock-state-extension</url>
210210
</repository>
211211
</repositories>
212212

build.gradle

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ publishing {
9898
repositories {
9999
maven {
100100
name = "GitHubPackages"
101-
url = "https://maven.pkg.github.com/wiremock/wiremock-extension-state"
101+
url = "https://maven.pkg.github.com/wiremock/wiremock-state-extension"
102102
credentials {
103103
username = System.getenv("GITHUB_ACTOR")
104104
password = System.getenv("GITHUB_TOKEN")
@@ -121,13 +121,13 @@ publishing {
121121
pom {
122122
name = "${baseArtifact}"
123123
description = 'A WireMock extension to transfer state in between stubs'
124-
url = 'https://github.com/dirkbolte/wiremock-extension-state'
124+
url = 'https://github.com/wiremock/wiremock-state-extension'
125125

126126

127127
scm {
128-
connection = 'https://github.com/dirkbolte/wiremock-extension-state.git'
129-
developerConnection = 'https://github.com/dirkbolte/wiremock-extension-state.git'
130-
url = 'https://github.com/dirkbolte/wiremock-extension-state.git'
128+
connection = 'https://github.com/wiremock/wiremock-state-extension.git'
129+
developerConnection = 'https://github.com/wiremock/wiremock-state-extension.git'
130+
url = 'https://github.com/wiremock/wiremock-state-extension.git'
131131
}
132132

133133
licenses {
@@ -156,13 +156,13 @@ publishing {
156156

157157
name = "${baseArtifact}-standalone"
158158
description = 'A WireMock extension to transfer state in between stubs - to be used with WireMock standalone'
159-
url = 'https://github.com/dirkbolte/wiremock-extension-state'
159+
url = 'https://github.com/wiremock/wiremock-state-extension'
160160

161161

162162
scm {
163-
connection = 'https://github.com/dirkbolte/wiremock-extension-state.git'
164-
developerConnection = 'https://github.com/dirkbolte/wiremock-extension-state.git'
165-
url = 'https://github.com/dirkbolte/wiremock-extension-state.git'
163+
connection = 'https://github.com/wiremock/wiremock-state-extension.git'
164+
developerConnection = 'https://github.com/wiremock/wiremock-state-extension.git'
165+
url = 'https://github.com/wiremock/wiremock-state-extension.git'
166166
}
167167

168168
licenses {
@@ -239,8 +239,12 @@ nexusPublishing {
239239
// TODO: allow configuring destinations for oss1
240240
// nexusUrl.set(uri("https://oss.sonatype.org/service/local/"))
241241
// snapshotRepositoryUrl.set(uri("https://oss.sonatype.org/content/repositories/snapshots/"))
242-
username.set(providers.environmentVariable("OSSRH_USERNAME").orElse(null).get())
243-
password.set(providers.environmentVariable("OSSRH_TOKEN").orElse(null).get())
242+
def envUsername = providers.environmentVariable("OSSRH_USERNAME").orElse("").get()
243+
def envPassword = providers.environmentVariable("OSSRH_TOKEN").orElse("").get()
244+
if (!envUsername.isEmpty() && !envPassword.isEmpty()) {
245+
username.set(envUsername)
246+
password.set(envPassword)
247+
}
244248
}
245249
}
246250
}

demo/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is a demonstration of the WireMock State Extension, showcasing its initial
1111
## General Overview
1212

1313
- **Watch the Demo Video**: [WireMock State Extension Demo Video](https://www.youtube.com/watch?v=OUrMEpzHbvY)
14-
- **View the Slides**: [WireMock State Extension Slides](https://github.com/wiremock/wiremock-extension-state/blob/develop/demo/wiremock_state_extension_webinar.pdf)
14+
- **View the Slides**: [WireMock State Extension Slides](https://github.com/wiremock/wiremock-state-extension/blob/develop/demo/wiremock_state_extension_webinar.pdf)
1515

1616
## Initial Feature Set: The State
1717

@@ -83,8 +83,8 @@ Before you begin, ensure you have the following prerequisites installed on your
8383
### Step 1: Clone the WireMock State Extension Repository
8484

8585
```shell
86-
git clone https://github.com/wiremock/wiremock-extension-state.git
87-
cd wiremock-extension-state
86+
git clone https://github.com/wiremock/wiremock-state-extension.git
87+
cd wiremock-state-extension
8888
```
8989

9090
### Step 2: Build the Project

0 commit comments

Comments
 (0)