Skip to content
Snippets Groups Projects

Tmf 674 feature

Closed Labros Papadopoulos requested to merge tmf-674-feature into develop
2 unresolved threads

This MR contains commits that enhance Geographic site Management api capabilities in order to support org.etsi.osl.tmf.web#17

Merge request reports

Pipeline #6583 passed

Pipeline passed for 58d28931 on tmf-674-feature

Closed by trantzastrantzas 9 months ago (Jun 28, 2024 11:01am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
41 55 }
42 56 }
43 57
44 @PreAuthorize("hasAnyAuthority('ROLE_USER')" )
58 @PreAuthorize("hasAnyAuthority('ROLE_USER', 'ROLE_ADMIN')")
  • George Tziavas
  • 66
    67 log.debug("principal= " + principal.toString());
    68
    69 Individual ind = individualRepoService.findByUsername(principal.getName());
    70
    71 GeographicSite gs= geographicSiteManagementService.findGeographicSiteByRelatedPartyId(ind.getId());
    72 if (gs==null) {
    73 gs =new GeographicSite();
    74 GeographicSubAddressValue geographicSubAddressValue=new GeographicSubAddressValue();
    75 GeographicAddressValue geographicAddressValue=new GeographicAddressValue();
    76 geographicAddressValue.setGeographicSubAddress(geographicSubAddressValue);
    77 PlaceRefOrValue placeRefOrValue=new PlaceRefOrValue(geographicAddressValue);
    78 List<PlaceRefOrValue> placeRefOrValues=new ArrayList<>();
    79 placeRefOrValues.add(placeRefOrValue);
    80 gs.setPlace(placeRefOrValues);
    81 }
  • We will need a demo of the feature along with the UI (maybe the /myuser logic is not needed here)

  • added 1 commit

    • 58d28931 - enhance code after MR comments

    Compare with previous version

  • Closing this MR, as it was decided to integrate this feature after Release 2024Q2. We will review it after the release.

    Also, this MR is unrelated to an issue within the respective project.

    Edited by trantzas
  • closed

  • Please register or sign in to reply
    Loading