Class AdminController

java.lang.Object
eu.dnetlib.common.controller.AbstractDnetController
eu.dnetlib.organizations.controller.AdminController

@RestController public class AdminController extends AbstractDnetController
  • Constructor Details

    • AdminController

      public AdminController()
  • Method Details

    • newUser

      @PostMapping("/registration_api/newUser") public Map<String,Integer> newUser(@RequestBody UserRegistration user, org.springframework.security.core.Authentication authentication)
    • users

      @GetMapping("/api/users") public Iterable<UserView> users(org.springframework.security.core.Authentication authentication)
    • updateUser

      @PostMapping("/api/users") public Iterable<UserView> updateUser(@RequestBody UserView userView, org.springframework.security.core.Authentication authentication)
    • deleteUser

      @DeleteMapping("/api/users") public Iterable<UserView> deleteUser(@RequestParam String email, org.springframework.security.core.Authentication authentication)
    • sysConf

      @GetMapping("/api/sysconf") public SystemConfiguration sysConf(org.springframework.security.core.Authentication authentication)
    • saveSysConf

      @PostMapping("/api/sysconf") public SystemConfiguration saveSysConf(@RequestBody SystemConfiguration sysConf, org.springframework.security.core.Authentication authentication)
    • refreshFulltextIndex

      @GetMapping("/api/refreshFulltextIndex") public List<String> refreshFulltextIndex(org.springframework.security.core.Authentication authentication)
    • performConsistencyCheck

      @GetMapping("/api/performConsistencyCheck") public List<String> performConsistencyCheck(org.springframework.security.core.Authentication authentication)
    • verifyCountriesInSuggestions

      @GetMapping("/api/verifyCountriesInSuggestions") public List<String> verifyCountriesInSuggestions(org.springframework.security.core.Authentication authentication)
    • clearCache

      @GetMapping("/api/clearCache") public List<String> clearCache(org.springframework.security.core.Authentication authentication)
    • restartSuggestionsImport

      @GetMapping("/api/restartSuggestionsImport") public List<String> restartSuggestionsImport(org.springframework.security.core.Authentication authentication)
    • listPersistentOrgs

      @GetMapping("/api/persistentOrgs") public Iterable<PersistentOrganizationView> listPersistentOrgs()
    • addPersistentOrgs

      @PostMapping("/api/persistentOrgs") public Iterable<PersistentOrganizationView> addPersistentOrgs(@RequestBody List<String> ids)
    • deletePersistentOrgs

      @DeleteMapping("/api/persistentOrgs") public Iterable<PersistentOrganizationView> deletePersistentOrgs(@RequestParam String id)