PUNKT-21 time added to question model
This commit is contained in:
parent
b9c9cfee6f
commit
c7eba40e53
@ -64,4 +64,8 @@ public abstract class Question {
|
||||
@JsonManagedReference
|
||||
List<Answer> answers = new ArrayList<>();
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private int time;
|
||||
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ public class AuthorizationService {
|
||||
|
||||
private void updateUserGroupsAndStudents(String oauth_token, String oauth_token_secret) throws UnsupportedEncodingException, InvalidKeyException, NoSuchAlgorithmException {
|
||||
List<NameValuePair> queryParams = new ArrayList<>();
|
||||
queryParams.add(new BasicNameValuePair("fields", "course%5Funit%5Fid"));
|
||||
queryParams.add(new BasicNameValuePair("fields", "lecturers"));
|
||||
queryParams.add(new BasicNameValuePair("oauth_consumer_key", propertiesLoader.getKey()));
|
||||
queryParams.add(new BasicNameValuePair("oauth_nonce", "" + (int) (Math.random() * 100000000)));
|
||||
queryParams.add(new BasicNameValuePair("oauth_signature_method", "HMAC-SHA1"));
|
||||
|
@ -6,12 +6,12 @@ spring.datasource.password=L0XIcnvtWpYEnr4w
|
||||
spring.servlet.multipart.max-file-size=500KB
|
||||
spring.servlet.multipart.max-request-size=500KB
|
||||
|
||||
server.address=51.75.30.146
|
||||
server.port=8080
|
||||
|
||||
#server.address=localhost
|
||||
#server.address=51.75.30.146
|
||||
#server.port=8080
|
||||
|
||||
server.address=localhost
|
||||
server.port=8080
|
||||
|
||||
#usos instance to use
|
||||
usos.baseURI=https://usosapps.amu.edu.pl
|
||||
usos.basePath=/services
|
||||
|
Loading…
Reference in New Issue
Block a user