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

[feat|sde-backend] : Update edc asset api refactor for supported submodels. #112

Merged
merged 6 commits into from
Apr 8, 2024

Conversation

ChetanT-System
Copy link
Contributor

@ChetanT-System ChetanT-System commented Mar 29, 2024

Description

Added

  • Added controller interface api's for Policy management.
  • External EDC service interface api updated.
  • Updated supported sub-model implementation classes.
  • EDC asset update refactored in supported submodels.
  • Support for pcf v6.0.0 submodel.

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:


PolicyEntity mapFrom(PolicyModel pojo);

PolicyModel mapFrom(PolicyTemplateRequest request);

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method PolicyMapper.mapFrom(..) could be confused with overloaded method
mapFrom
, since dispatch depends on static types.

PolicyModel mapFrom(PolicyEntity entiry);

PolicyEntity mapFrom(PolicyModel pojo);

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method PolicyMapper.mapFrom(..) could be confused with overloaded method
mapFrom
, since dispatch depends on static types.
Method PolicyMapper.mapFrom(..) could be confused with overloaded method
mapFrom
, since dispatch depends on static types.

@JsonProperty("@id")
private String id;
private HashMap<String, String> properties;
private HashMap<String, Object> properties;

Check notice

Code scanning / CodeQL

Exposing internal representation Note

getProperties exposes the internal representation stored in field properties. The value may be modified
after this call to getProperties
.
getProperties exposes the internal representation stored in field properties. The value may be modified
after this call to getProperties
.
getProperties exposes the internal representation stored in field properties. The value may be modified
after this call to getProperties
.
@adityagajbhiye9
Copy link
Contributor

@sachinargade123 please approve

Copy link
Contributor

@sachinargade123 sachinargade123 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dvasunin dvasunin left a comment

Choose a reason for hiding this comment

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

LGTM

@ChetanT-System
Copy link
Contributor Author

@almadigabor Please review and merge the PR.

@almadigabor almadigabor merged commit bc5706d into eclipse-tractusx:main Apr 8, 2024
6 checks passed
@almadigabor almadigabor deleted the CX_PI12_S5_02 branch April 8, 2024 11:52
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.

5 participants