Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PlayWallServer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PlayWall
PlayWallServer
Commits
3cc83c2f
Commit
3cc83c2f
authored
1 year ago
by
Tobias Ullerich
Browse files
Options
Downloads
Patches
Plain Diff
Register reflection hints
parent
ad1f5f3e
Branches
rewrite
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/tobias/playwall/service/ArtifactoryClient.java
+5
-2
5 additions, 2 deletions
...in/java/de/tobias/playwall/service/ArtifactoryClient.java
with
5 additions
and
2 deletions
src/main/java/de/tobias/playwall/service/ArtifactoryClient.java
+
5
−
2
View file @
3cc83c2f
...
@@ -11,6 +11,7 @@ import de.tobias.playwall.model.artifactory.Version;
...
@@ -11,6 +11,7 @@ import de.tobias.playwall.model.artifactory.Version;
import
jakarta.annotation.PostConstruct
;
import
jakarta.annotation.PostConstruct
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.SneakyThrows
;
import
lombok.SneakyThrows
;
import
org.springframework.aot.hint.annotation.RegisterReflectionForBinding
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.web.reactive.function.client.WebClient
;
import
org.springframework.web.reactive.function.client.WebClient
;
...
@@ -21,6 +22,8 @@ import java.util.List;
...
@@ -21,6 +22,8 @@ import java.util.List;
@Service
@Service
@AllArgsConstructor
@AllArgsConstructor
@RegisterReflectionForBinding
({
PluginDescription
.
class
,
PluginManifest
.
class
,
Folder
.
class
,
Folder
.
FolderItem
.
class
,
ArtifactoryClient
.
ArchiveViewSourceRequest
.
class
,
ArtifactoryClient
.
ArchiveViewSourceResponse
.
class
})
public
class
ArtifactoryClient
public
class
ArtifactoryClient
{
{
private
final
WebClient
webClient
;
private
final
WebClient
webClient
;
...
@@ -59,11 +62,11 @@ public class ArtifactoryClient
...
@@ -59,11 +62,11 @@ public class ArtifactoryClient
return
version
.
get
(
version
.
size
()
-
1
);
return
version
.
get
(
version
.
size
()
-
1
);
}
}
private
record
ArchiveViewSourceRequest
(
String
archivePath
,
String
repoKey
,
String
sourcePath
)
record
ArchiveViewSourceRequest
(
String
archivePath
,
String
repoKey
,
String
sourcePath
)
{
{
}
}
private
record
ArchiveViewSourceResponse
(
String
source
)
record
ArchiveViewSourceResponse
(
String
source
)
{
{
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment