Skip to content

Commit b9e5126

Browse files
authored
Merge pull request #901 from kevin-ortega/addnewprofile
2 parents 3a87bb6 + 3de37b0 commit b9e5126

File tree

5 files changed

+23
-137
lines changed

5 files changed

+23
-137
lines changed

.github/pipeline-descriptor.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ dependencies:
6868
group_id: io.openliberty
6969
artifact_id: openliberty-webProfile8
7070
packaging: zip
71-
- id: open-liberty-runtime-microProfile6
72-
purl_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
73-
cpe_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
74-
uses: docker://ghcr.io/paketo-buildpacks/actions/liberty-dependency:main
75-
with:
76-
uri: https://repo1.maven.org/maven2
77-
group_id: io.openliberty
78-
artifact_id: openliberty-microProfile6
79-
packaging: zip
8071
- id: open-liberty-runtime-microProfile4
8172
purl_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
8273
cpe_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
@@ -86,15 +77,15 @@ dependencies:
8677
group_id: io.openliberty
8778
artifact_id: openliberty-microProfile4
8879
packaging: zip
89-
- id: open-liberty-runtime-microProfile3
80+
- id: open-liberty-runtime-microProfile7
9081
purl_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
9182
cpe_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
9283
uses: docker://ghcr.io/paketo-buildpacks/actions/liberty-dependency:main
9384
with:
9485
uri: https://repo1.maven.org/maven2
9586
group_id: io.openliberty
96-
artifact_id: openliberty-microProfile3
97-
packaging: zip
87+
artifact_id: openliberty-microProfile7
88+
packaging: zip
9889
- id: open-liberty-runtime-kernel
9990
purl_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"
10091
cpe_pattern: "[\\d]+\\.[\\d]+\\.[\\d]+\\.[\\d]+"

.github/workflows/pb-update-open-liberty-runtime-micro-profile-6.yml

-105
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Valid profiles for Open Liberty are:
6262
* javaee8
6363
* webProfile9
6464
* webProfile8
65-
* microProfile6
65+
* microProfile7
6666
* microProfile4
6767

6868
Valid profiles for WebSphere Liberty are:

buildpack.toml

+16-16
Original file line numberDiff line numberDiff line change
@@ -201,22 +201,6 @@ api = "0.7"
201201
type = "EPL-2.0"
202202
uri = "https://raw.githubusercontent.com/OpenLiberty/open-liberty/integration/LICENSE"
203203

204-
[[metadata.dependencies]]
205-
cpes = ["cpe:2.3:a:ibm:open_liberty:24.0.0.11:*:*:*:*:*:*:*"]
206-
id = "open-liberty-runtime-microProfile6"
207-
name = "Open Liberty (Micro Profile 6)"
208-
purl = "pkg:maven/io.openliberty/[email protected]"
209-
sha256 = "16c834a41a01f77ec826d9b0f334aed447801b1d9f3fc05f5ac8cf6e0a4736ac"
210-
source = "https://github.com/OpenLiberty/open-liberty/archive/refs/tags/gm-24.0.0.11.tar.gz"
211-
source-sha256 = "320cf36d310438d615a79350c8de4a737ff697ef45664c5671682284b9c647bb"
212-
stacks = ["*"]
213-
uri = "https://repo1.maven.org/maven2/io/openliberty/openliberty-microProfile6/24.0.0.11/openliberty-microProfile6-24.0.0.11.zip"
214-
version = "24.0.11"
215-
216-
[[metadata.dependencies.licenses]]
217-
type = "EPL-2.0"
218-
uri = "https://raw.githubusercontent.com/OpenLiberty/open-liberty/integration/LICENSE"
219-
220204
[[metadata.dependencies]]
221205
cpes = ["cpe:2.3:a:ibm:open_liberty:24.0.0.12:*:*:*:*:*:*:*"]
222206
id = "open-liberty-runtime-microProfile4"
@@ -249,6 +233,22 @@ api = "0.7"
249233
type = "EPL-2.0"
250234
uri = "https://raw.githubusercontent.com/OpenLiberty/open-liberty/integration/LICENSE"
251235

236+
[[metadata.dependencies]]
237+
cpes = ["cpe:2.3:a:ibm:open_liberty:24.0.0.12:*:*:*:*:*:*:*"]
238+
id = "open-liberty-runtime-microProfile7"
239+
name = "Open Liberty (Micro Profile 7)"
240+
purl = "pkg:maven/io.openliberty/[email protected]"
241+
sha256 = "aafcede3ca008f36867f94cd8c6bea7d3c58116eeeb255539b98c0f20c292798"
242+
source = "https://github.com/OpenLiberty/open-liberty/archive/refs/tags/gm-24.0.0.12.tar.gz"
243+
source-sha256 = "57ff32688ecb5b6d1852e15c7ca388dda13d76d1e218f29a8dae1e552de39fcf"
244+
stacks = ["*"]
245+
uri = "https://repo1.maven.org/maven2/io/openliberty/openliberty-microProfile7/24.0.0.12/openliberty-microProfile7-24.0.0.12.zip"
246+
version = "24.0.12"
247+
248+
[[metadata.dependencies.licenses]]
249+
type = "EPL-2.0"
250+
uri = "https://raw.githubusercontent.com/OpenLiberty/open-liberty/integration/LICENSE"
251+
252252
[[metadata.dependencies]]
253253
cpes = ["cpe:2.3:a:ibm:websphere_application_server:24.0.0.12:*:*:*:liberty:*:*:*"]
254254
id = "websphere-liberty-runtime-kernel"

internal/server/server.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func IsValidOpenLibertyProfile(profile string) bool {
108108
profile == "javaee8" ||
109109
profile == "webProfile10" ||
110110
profile == "webProfile8" ||
111-
profile == "microProfile6" ||
111+
profile == "microProfile7" ||
112112
profile == "microProfile4"
113113
}
114114

@@ -134,8 +134,8 @@ func GetDefaultFeatures(serverProfile string) []string {
134134
return []string{"webProfile-10.0"}
135135
case "webProfile8":
136136
return []string{"webProfile-8.0"}
137-
case "microProfile5":
138-
return []string{"microProfile-6.0"}
137+
case "microProfile7":
138+
return []string{"microProfile-7.0"}
139139
case "microProfile4":
140140
return []string{"microProfile-4.1"}
141141
}

0 commit comments

Comments
 (0)