-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XRDDEV-227: change Security Server's address from Security Server UI (#…
…1867) * feat: addressChange managing request definition Refs: XRDDEV-227 * feat: entity, dto, mappers Refs: XRDDEV-227 * feat: addressChange managing request processing on central server Refs: XRDDEV-227 * feat: addressChange managing request processing on management-service Refs: XRDDEV-227 * feat: CS: display address change management request in the list Refs: XRDDEV-227 * feat: SS: endpoint to change server address Refs: XRDDEV-227 * feat: address change management request Refs: XRDDEV-227 * chore: fix after merge with develop Refs: XRDDEV-227 * feat: signing the address change management request Refs: XRDDEV-227 * feat: ss ui for changing address Refs: XRDDEV-227 * docs: address change request docs update Refs: XRDDEV-227 * feat: show status after ss address submitted change Refs: XRDDEV-227 * chore: test-automation version up Refs: XRDDEV-227 * test: Security Server system test for address change Refs: XRDDEV-227 * chore: sonar fixes Refs: XRDDEV-227 * chore: redundant line removed Refs: XRDDEV-227 * chore: adding apt-get update in github actions workflow Refs: XRDDEV-227
- Loading branch information
1 parent
4268dfe
commit 2862b48
Showing
59 changed files
with
2,429 additions
and
1,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
215 changes: 111 additions & 104 deletions
215
doc/Manuals/ug-cs_x-road_6_central_server_user_guide.md
Large diffs are not rendered by default.
Oops, something went wrong.
495 changes: 257 additions & 238 deletions
495
doc/Manuals/ug-ss_x-road_6_security_server_user_guide.md
Large diffs are not rendered by default.
Oops, something went wrong.
761 changes: 412 additions & 349 deletions
761
doc/Protocols/pr-mserv_x-road_protocol_for_management_services.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...rvice/core-api/src/main/java/org/niis/xroad/cs/admin/api/domain/AddressChangeRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* The MIT License | ||
* | ||
* Copyright (c) 2019- Nordic Institute for Interoperability Solutions (NIIS) | ||
* Copyright (c) 2018 Estonian Information System Authority (RIA), | ||
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK) | ||
* Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK) | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
*/ | ||
|
||
package org.niis.xroad.cs.admin.api.domain; | ||
|
||
import ee.ria.xroad.common.identifier.SecurityServerId; | ||
|
||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import lombok.experimental.Accessors; | ||
import org.niis.xroad.common.managementrequest.model.ManagementRequestType; | ||
|
||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
@Accessors(chain = true) | ||
@EqualsAndHashCode(callSuper = true) | ||
public class AddressChangeRequest extends Request { | ||
private String serverAddress; | ||
|
||
public AddressChangeRequest(Origin origin, SecurityServerId identifier, String address) { | ||
super(origin, identifier); | ||
this.serverAddress = address; | ||
} | ||
|
||
@Override | ||
public ManagementRequestType getManagementRequestType() { | ||
return ManagementRequestType.ADDRESS_CHANGE_REQUEST; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
...ce/core/src/main/java/org/niis/xroad/cs/admin/core/entity/AddressChangeRequestEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* The MIT License | ||
* | ||
* Copyright (c) 2019- Nordic Institute for Interoperability Solutions (NIIS) | ||
* Copyright (c) 2018 Estonian Information System Authority (RIA), | ||
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK) | ||
* Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK) | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
*/ | ||
|
||
package org.niis.xroad.cs.admin.core.entity; | ||
|
||
import ee.ria.xroad.common.identifier.SecurityServerId; | ||
|
||
import jakarta.persistence.Column; | ||
import jakarta.persistence.DiscriminatorValue; | ||
import jakarta.persistence.Entity; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.niis.xroad.common.managementrequest.model.ManagementRequestType; | ||
import org.niis.xroad.cs.admin.api.domain.Origin; | ||
|
||
import static org.niis.xroad.cs.admin.core.entity.AddressChangeRequestEntity.DISCRIMINATOR_VALUE; | ||
|
||
|
||
@Entity | ||
@NoArgsConstructor | ||
@DiscriminatorValue(DISCRIMINATOR_VALUE) | ||
public class AddressChangeRequestEntity extends RequestEntity { | ||
|
||
public static final String DISCRIMINATOR_VALUE = "AddressChangeRequest"; | ||
|
||
@Column(name = "address") | ||
@Getter | ||
@Setter | ||
private String address; | ||
|
||
public AddressChangeRequestEntity(Origin origin, SecurityServerId identifier, String comments, String address) { | ||
super(origin, identifier, comments); | ||
this.address = address; | ||
} | ||
|
||
@Override | ||
public ManagementRequestType getManagementRequestType() { | ||
return ManagementRequestType.ADDRESS_CHANGE_REQUEST; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.