Commit c2c4f41a authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by Martin Lowe
Browse files

Tidy up, remove unused config params or move them to be optional

parent 050b32b6
......@@ -11,8 +11,4 @@ eclipse.app.base-url=https://www.rem.docker/
## Used to send mail through the EclipseFdn smtp connection
quarkus.mailer.password=YOURGENERATEDAPPLICATIONPASSWORD
quarkus.mailer.username=YOUREMAIL@gmail.com
## Used to retrieve user profile information from CMS
quarkus.oidc-client.client-id=quarkus-app
quarkus.oidc-client.credentials.secret=secret
\ No newline at end of file
quarkus.mailer.username=YOUREMAIL@gmail.com
\ No newline at end of file
......@@ -98,7 +98,6 @@ public class MembershipFormResource extends AbstractRESTResource {
} else if (results.isEmpty()) {
return Response.status(404).build();
}
LOGGER.error("First: {}", results);
// return the results as a response
return Response.ok(results.get(0)).build();
}
......@@ -122,7 +121,6 @@ public class MembershipFormResource extends AbstractRESTResource {
if (r != null) {
return r;
}
LOGGER.error("First: {}", mem);
mem.setUserID(ident.getPrincipal().getName());
// need to fetch ref to use attached entity
MembershipForm ref = mem.cloneTo(dao.getReference(formID, MembershipForm.class));
......
......@@ -61,4 +61,5 @@ quarkus.oidc-client.grant-options.client.scope=eclipsefdn_view_all_profiles
## Optional dev settings
#%dev.quarkus.hibernate-orm.database.generation=drop-and-create
#%dev.eclipse.dataloader.enabled=true
%dev.quarkus.mailer.mock=false
\ No newline at end of file
#%dev.quarkus.mailer.mock=false
#%dev.quarkus.log.category."org.eclipsefoundation".level=DEBUG
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment