-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from indigo-dc/new_ost_params
Add missing OST props
- Loading branch information
Showing
17 changed files
with
189 additions
and
12 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
30 changes: 30 additions & 0 deletions
30
src/main/java/es/upv/i3m/grycap/im/auth/credentials/properties/ImageUrlProperty.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,30 @@ | ||
/** | ||
* Copyright (C) GRyCAP - I3M - UPV | ||
* | ||
* <p>Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* <p>http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* <p>Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package es.upv.i3m.grycap.im.auth.credentials.properties; | ||
|
||
import es.upv.i3m.grycap.im.auth.credentials.Credentials; | ||
|
||
public class ImageUrlProperty extends GenericProperty { | ||
|
||
private static final String PROPERTY_NAME = "image_url"; | ||
private static final String ERROR_MESSAGE = "Image url must not be blank"; | ||
|
||
public ImageUrlProperty(Credentials credential, String imageUrl) { | ||
super(credential, PROPERTY_NAME, imageUrl, ERROR_MESSAGE); | ||
} | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
src/main/java/es/upv/i3m/grycap/im/auth/credentials/properties/MicroversionProperty.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,30 @@ | ||
/** | ||
* Copyright (C) GRyCAP - I3M - UPV | ||
* | ||
* <p>Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* <p>http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* <p>Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package es.upv.i3m.grycap.im.auth.credentials.properties; | ||
|
||
import es.upv.i3m.grycap.im.auth.credentials.Credentials; | ||
|
||
public class MicroversionProperty extends GenericProperty { | ||
|
||
private static final String PROPERTY_NAME = "microversion"; | ||
private static final String ERROR_MESSAGE = "Microversion must not be blank"; | ||
|
||
public MicroversionProperty(Credentials credential, String microversion) { | ||
super(credential, PROPERTY_NAME, microversion, ERROR_MESSAGE); | ||
} | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
src/main/java/es/upv/i3m/grycap/im/auth/credentials/properties/NetworkUrlProperty.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,30 @@ | ||
/** | ||
* Copyright (C) GRyCAP - I3M - UPV | ||
* | ||
* <p>Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* <p>http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* <p>Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package es.upv.i3m.grycap.im.auth.credentials.properties; | ||
|
||
import es.upv.i3m.grycap.im.auth.credentials.Credentials; | ||
|
||
public class NetworkUrlProperty extends GenericProperty { | ||
|
||
private static final String PROPERTY_NAME = "network_url"; | ||
private static final String ERROR_MESSAGE = "Network url must not be blank"; | ||
|
||
public NetworkUrlProperty(Credentials credential, String networkUrl) { | ||
super(credential, PROPERTY_NAME, networkUrl, ERROR_MESSAGE); | ||
} | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
src/main/java/es/upv/i3m/grycap/im/auth/credentials/properties/VolumeUrlProperty.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,30 @@ | ||
/** | ||
* Copyright (C) GRyCAP - I3M - UPV | ||
* | ||
* <p>Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* <p>http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* <p>Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package es.upv.i3m.grycap.im.auth.credentials.properties; | ||
|
||
import es.upv.i3m.grycap.im.auth.credentials.Credentials; | ||
|
||
public class VolumeUrlProperty extends GenericProperty { | ||
|
||
private static final String PROPERTY_NAME = "volume_url"; | ||
private static final String ERROR_MESSAGE = "Volume url must not be blank"; | ||
|
||
public VolumeUrlProperty(Credentials credential, String volumeUrl) { | ||
super(credential, PROPERTY_NAME, volumeUrl, ERROR_MESSAGE); | ||
} | ||
|
||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado | ||
id = dummy; type = Dummy | ||
type = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo | ||
type = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo |
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 |
---|---|---|
@@ -1 +1 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado\nid = dummy; type = Dummy;\ntype = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
type = InfrastructureManager; username = imuser01; password = invitado\nid = dummy; type = Dummy;\ntype = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado\nid = dummy; type = Dummy; proxy = 12345678921 4242434 234 234\\n9876543212131 2 32423\\n1926838916 23423\ntype = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
type = InfrastructureManager; username = imuser01; password = invitado\nid = dummy; type = Dummy; proxy = 12345678921 4242434 234 234\\n9876543212131 2 32423\\n1926838916 23423\ntype = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |
2 changes: 1 addition & 1 deletion
2
src/test/resources/files/aut_several_different_internal_path_expected_result
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 |
---|---|---|
@@ -1 +1 @@ | ||
type = InfrastructureManager; proxy = 12345678921 4242434 234 234\\n9876543212131 2 32423\\n1926838916 23423; username = imuser01; password = invitado\nid = dummy; type = Dummy; proxy = 123456789\nproxy = 123456789; type = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
type = InfrastructureManager; proxy = 12345678921 4242434 234 234\\n9876543212131 2 32423\\n1926838916 23423; username = imuser01; password = invitado\nid = dummy; type = Dummy; proxy = 123456789\nproxy = 123456789; type = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado | ||
id = dummy; type = Dummy; | ||
type = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
type = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado | ||
id = dummy; type = Dummy; proxy = file(./src/test/resources/files/nested_file_path_content_several_lines) | ||
type = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
type = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |
2 changes: 1 addition & 1 deletion
2
src/test/resources/files/auth_several_different_internal_path.dat
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type = InfrastructureManager; proxy = file(./src/test/resources/files/nested_file_path_content_several_lines); username = imuser01; password = invitado | ||
id = dummy; type = Dummy; proxy = file(./src/test/resources/files/nested_file_path_content_one_line) | ||
proxy = file(./src/test/resources/files/nested_file_path_content_one_line); type = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
proxy = file(./src/test/resources/files/nested_file_path_content_one_line); type = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado | ||
id = dummy; type = Dummy; proxy = file(./src/test/resources/files/nested_file_path_content_empty) | ||
type = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; proxy = file(./src/test/resources/files/nested_file_path_content_several_lines) | ||
type = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; proxy = file(./src/test/resources/files/nested_file_path_content_several_lines) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
type = InfrastructureManager; username = imuser01; password = invitado\\nid = dummy; type = Dummy;\\ntype = VMRC; host = http://servproject.i3m.upv.es:8080/vmrc/vmrc; username = demo; password = demo; | ||
type = InfrastructureManager; username = imuser01; password = invitado\\nid = dummy; type = Dummy;\\ntype = VMRC; host = http://appsgrycap.i3m.upv.es:32080/vmrc/vmrc; username = demo; password = demo; |