Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
ac4c7a9
#Add new FF to be supported (SBT,AIBOM and SWIFT)
ChenLuigi Jan 31, 2024
a66b11e
Add REACHABILITY_SUPPORT_ENABLED and REACHABILITY_SUPPORT_LANGUAGES
ChenLuigi Jan 31, 2024
47fb888
Add CONTAINER_SECURITY to EntitlementType
ChenLuigi Feb 1, 2024
0ada1f5
Merge pull request #94 from whitesource/add-additonal-FF
ChenLuigi Feb 1, 2024
00af8b9
[maven-release-plugin] prepare release release-tag-2.9.9.89
whitesource-ci Feb 1, 2024
a629315
[maven-release-plugin] prepare for next development iteration
whitesource-ci Feb 1, 2024
e806919
implemented streams in agents apis
MuhammadAEws Feb 11, 2024
5bfc122
Implemented Streams for agent requests
MuhammadAEws Feb 18, 2024
b0afb88
fixed in memory copy byte array
MuhammadAEws Feb 19, 2024
6cbe7e6
fixed diff encoding bug
MuhammadAEws Feb 20, 2024
7e35beb
[maven-release-plugin] prepare release release-tag-2.9.9.82
whitesource-ci Sep 6, 2022
1a20f85
[maven-release-plugin] prepare for next development iteration
whitesource-ci Sep 6, 2022
5e3e82f
[maven-release-plugin] prepare release release-tag-2.9.9.83
whitesource-ci Oct 6, 2022
a374ef4
[maven-release-plugin] prepare for next development iteration
whitesource-ci Oct 6, 2022
cfa422d
Adding some classes for new secretsFindins list (#89)
dor-hayun Jan 24, 2023
993a4c3
[maven-release-plugin] prepare release release-tag-2.9.9.84
whitesource-ci Jan 25, 2023
d3aedef
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 25, 2023
5bd8e78
[maven-release-plugin] prepare release release-tag-2.9.9.85
whitesource-ci Jan 25, 2023
a8536bb
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 25, 2023
6cc768e
[maven-release-plugin] prepare release release-tag-2.9.9.84
whitesource-ci Jan 25, 2023
39750f6
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 25, 2023
2bc75be
[maven-release-plugin] prepare release release-tag-2.9.9.84
whitesource-ci Jan 25, 2023
f65511f
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 25, 2023
18cedf6
[maven-release-plugin] prepare release release-tag-2.9.9.85
whitesource-ci Jan 29, 2023
d93550f
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 29, 2023
0d6eb74
[maven-release-plugin] prepare release release-tag-2.9.9.85
whitesource-ci Jan 29, 2023
ed981e4
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 29, 2023
fc0b1e5
WEI-2525: added upload sca logs agent api
MuhammadAEws Jan 19, 2023
c2662ca
WAC-1073 - Add check policies step Async in Agent API
HasanM91 Jan 25, 2023
caad0c7
WEI-2519 Add support to async check policies API
romansoko Jan 30, 2023
b4aec9e
add api constant
HasanM91 Jan 26, 2023
ccc8182
change/add serialVersionUID
HasanM91 Jan 29, 2023
7a90630
WEI-2525: added UploadScaLogs agent api
MuhammadAEws Jan 30, 2023
21d0b45
Update WssServiceClientImpl.java
romansoko Jan 31, 2023
5035a1f
Update WssServiceClientImpl.java
romansoko Jan 31, 2023
7e68db3
add the Identifier to the request wrapper
HasanM91 Feb 1, 2023
f93e3b4
fixed review comments
MuhammadAEws Feb 1, 2023
ba6dd6f
[maven-release-plugin] prepare release release-tag-2.9.9.86
whitesource-ci Feb 1, 2023
5a4a345
[maven-release-plugin] prepare for next development iteration
whitesource-ci Feb 1, 2023
b6f91b5
WAC-1884 : add ignored vulnerabilities
shimondeitch Aug 21, 2023
28cd034
WAC-1884 : add ignored vulnerabilities
shimondeitch Aug 21, 2023
56e0e98
[maven-release-plugin] prepare release release-tag-2.9.9.87
whitesource-ci Aug 21, 2023
e8a41ed
Prepare version release-tag-2.9.9.87
ChenLuigi Aug 21, 2023
e2f21eb
[maven-release-plugin] prepare release release-tag-2.9.9.87
whitesource-ci Aug 21, 2023
ce7c965
[maven-release-plugin] prepare for next development iteration
whitesource-ci Aug 21, 2023
d345b75
Add new dependency types (ML_MODEL,SWIFT)
ChenLuigi Jan 9, 2024
5cee982
[maven-release-plugin] prepare release release-tag-2.9.9.88
whitesource-ci Jan 9, 2024
1ec7d2f
[maven-release-plugin] prepare for next development iteration
whitesource-ci Jan 9, 2024
8493c8c
#Add new FF to be supported (SBT,AIBOM and SWIFT)
ChenLuigi Jan 31, 2024
2feb08f
Add REACHABILITY_SUPPORT_ENABLED and REACHABILITY_SUPPORT_LANGUAGES
ChenLuigi Jan 31, 2024
0d0e942
Add CONTAINER_SECURITY to EntitlementType
ChenLuigi Feb 1, 2024
fcbff3f
[maven-release-plugin] prepare release release-tag-2.9.9.89
whitesource-ci Feb 1, 2024
5cdd5cf
[maven-release-plugin] prepare for next development iteration
whitesource-ci Feb 1, 2024
730cb0e
implemented streams in agents apis
MuhammadAEws Feb 11, 2024
0b6c93c
Implemented Streams for agent requests
MuhammadAEws Feb 18, 2024
b26fbbf
fixed in memory copy byte array
MuhammadAEws Feb 19, 2024
2f07a73
fixed diff encoding bug
MuhammadAEws Feb 20, 2024
6de2144
Merge branch 'streams' of https://github.com/whitesource/agents into …
MuhammadAEws Feb 20, 2024
6fffcbe
optimized agents stream
MuhammadAEws Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>org.whitesource</groupId>
<artifactId>wss-agent-parent</artifactId>
<version>2.9.9.89-SNAPSHOT</version>
<version>2.9.9.90-SNAPSHOT</version>
<packaging>pom</packaging>

<name>White Source agent API</name>
Expand Down Expand Up @@ -59,7 +59,7 @@
<httpclient.version>4.5.13</httpclient.version>
<commonscodec.version>1.13</commonscodec.version>
<commonsio.version>2.9.0</commonsio.version>
<gson.version>2.9.0</gson.version>
<gson.version>2.10.1</gson.version>
<junit.version>4.13.2</junit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion wss-agent-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.whitesource</groupId>
<artifactId>wss-agent-parent</artifactId>
<version>2.9.9.89-SNAPSHOT</version>
<version>2.9.9.90-SNAPSHOT</version>
</parent>
<artifactId>wss-agent-api</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

public enum AppFlags {
UPLOAD_SCA_LOGS("UPLOAD_SCA_LOGS"),
ASYNC_CHECK_POLICIES_ENABLED("ASYNC_CHECK_POLICIES_ENABLED");


ASYNC_CHECK_POLICIES_ENABLED("ASYNC_CHECK_POLICIES_ENABLED"),
SBT_SUPPORT_ENABLED("SBT_SUPPORT_ENABLED"),
AI_BOM_SUPPORT_ENABLED("AI_BOM_SUPPORT_ENABLED"),
SWIFT_SUPPORT_ENABLED("SWIFT_SUPPORT_ENABLED"),
REACHABILITY_SUPPORT_ENABLED("REACHABILITY_SUPPORT_ENABLED"),
REACHABILITY_SUPPORT_LANGUAGES("REACHABILITY_SUPPORT_LANGUAGES");
private final String value;

AppFlags(String value) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.whitesource.agent.api.dispatch;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

Expand Down Expand Up @@ -36,11 +38,15 @@ public class ConfigurationResult extends BaseResult {
private FsaConfiguration fsaConfiguration;

private Map<AppFlags, Object> flags;

private Collection<EntitlementType> entitlements;

/* --- Constructors --- */

public ConfigurationResult() {
fsaConfiguration = new FsaConfiguration();
flags = new HashMap<>();
entitlements = new ArrayList<>();
}

public ConfigurationResult(boolean checkPolicies, boolean forceCheckAllDependencies, boolean forceUpdate, String includes,
Expand Down Expand Up @@ -174,8 +180,16 @@ public void setFsaConfiguration(FsaConfiguration fsaConfiguration) {
public void setFlags(Map<AppFlags, Object> flags) {
this.flags = flags;
}

public Map<AppFlags, Object> getFlags() {
return this.flags;
}

public Collection<EntitlementType> getEntitlements() {
return entitlements;
}

public void setEntitlements(Collection<EntitlementType> entitlements) {
this.entitlements = entitlements;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package org.whitesource.agent.api.dispatch;

public enum EntitlementType {
CORE("CORE"),
API_1("API_1"),
API_2("API_2"),
ESSENTIALS("ESSENTIALS"),
SCA("SCA"),
SAST("SAST"),
CN("CN"),
LLM("LLM"),
IMG("IMG"),
IAC("IAC"),
CONTAINER_SECURITY("CONTAINER_SECURITY");

private final String value;

EntitlementType(String value) {
this.value = value;
}

public String getValue() {
return value;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ public AgentProjectInfo() {
projectTags = new ArrayList<>();
}

public AgentProjectInfo(AgentProjectInfo other) {
this.coordinates = other.coordinates;
this.parentCoordinates = other.parentCoordinates;
this.dependencies = other.dependencies != null ? new ArrayList<>(other.dependencies) : null;
this.secretFindings = other.secretFindings != null ? new ArrayList<>(other.secretFindings) : null;
this.projectToken = other.projectToken;
this.projectSetupStatus = other.projectSetupStatus;
this.projectSetupDescription = other.projectSetupDescription;
this.projectTags = other.projectTags != null ? new ArrayList<>(other.projectTags) : null;
this.viaLanguageName = other.viaLanguageName;
}
/* --- Overridden methods --- */

@Override
Expand Down
Loading