Skip to content

Commit

Permalink
make service auto deployable
Browse files Browse the repository at this point in the history
  • Loading branch information
tcuje committed Dec 12, 2017
1 parent 971cfb1 commit c7b6e15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import javax.ws.rs.core.Response.Status;

import i5.las2peer.api.Context;
import i5.las2peer.api.ManualDeployment;
import i5.las2peer.api.persistency.Envelope;
import i5.las2peer.api.persistency.EnvelopeException;
import i5.las2peer.api.persistency.EnvelopeNotFoundException;
Expand Down Expand Up @@ -85,7 +84,6 @@
* @version 0.2.1
*/
@ServicePath("contactservice")
@ManualDeployment
public class ContactService extends RESTService {

private static final String USER_INFORMATION_SERVICE = "i5.las2peer.services.userInformationService.UserInformationService@0.2";
Expand All @@ -96,12 +94,6 @@ public class ContactService extends RESTService {
private final static String group_prefix = "groups_";
private final static String address_prefix = "addressbook";

public ContactService() {
// read and set properties values
// IF THE SERVICE CLASS NAME IS CHANGED, THE PROPERTIES FILE NAME NEED TO BE CHANGED TOO!
setFieldValues();
}

@Override
protected void initResources() {
getResourceConfig().register(ContactResource.class);
Expand Down

0 comments on commit c7b6e15

Please sign in to comment.