Skip to content
Permalink
Browse files
Change package names from mifos to apache fineract.
  • Loading branch information
myrle-krantz committed Apr 13, 2018
1 parent 418e916 commit b5cf8f3d34c01e9a2b2fe7526bdf6f5b751185e1
Show file tree
Hide file tree
Showing 22 changed files with 42 additions and 42 deletions.
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.another.api;
package org.apache.fineract.cn.permittedfeignclient.another.api;

import org.apache.fineract.cn.anubis.api.v1.client.Anubis;
import org.apache.fineract.cn.api.util.CustomFeignClientsConfiguration;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.another.service;
package org.apache.fineract.cn.permittedfeignclient.another.service;

import org.apache.fineract.cn.anubis.config.EnableAnubis;
import org.apache.fineract.cn.lang.config.EnableApplicationName;
@@ -41,7 +41,7 @@
@EnableApplicationName
@EnableServiceException
@ComponentScan({
"io.mifos.another.service"
"org.apache.fineract.cn.permittedfeignclient.another.service"
})
public class AnotherConfiguration {

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.another.service;
package org.apache.fineract.cn.permittedfeignclient.another.service;

import org.apache.fineract.cn.anubis.annotation.AcceptedTokenType;
import org.apache.fineract.cn.anubis.annotation.Permittable;
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.api.v1.client;
package org.apache.finearct.cn.permittedfeignclient.api.v1.client;

import io.mifos.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.apache.finearct.cn.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.api.v1.domain;
package org.apache.finearct.cn.permittedfeignclient.api.v1.domain;

import java.util.Objects;
import javax.annotation.Nullable;
@@ -22,9 +22,9 @@

import accessanother.api.AccessAnother;
import accessanother.service.AccessAnotherConfiguration;
import io.mifos.another.api.Another;
import io.mifos.permittedfeignclient.api.v1.client.ApplicationPermissionRequirements;
import io.mifos.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.apache.fineract.cn.permittedfeignclient.another.api.Another;
import org.apache.finearct.cn.permittedfeignclient.api.v1.client.ApplicationPermissionRequirements;
import org.apache.finearct.cn.permittedfeignclient.api.v1.domain.ApplicationPermission;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Arrays;
@@ -19,7 +19,7 @@
package accessanother.service;

import accessanother.service.apiforother.AnotherWithApplicationPermissions;
import io.mifos.permittedfeignclient.config.EnablePermissionRequestingFeignClient;
import org.apache.fineract.cn.permittedfeignclient.config.EnablePermissionRequestingFeignClient;
import org.apache.fineract.cn.anubis.config.EnableAnubis;
import org.apache.fineract.cn.lang.config.EnableServiceException;
import org.apache.fineract.cn.lang.config.EnableTenantContext;
@@ -18,8 +18,8 @@
*/
package accessanother.service.apiforother;

import io.mifos.permittedfeignclient.annotation.EndpointSet;
import io.mifos.permittedfeignclient.annotation.PermittedFeignClientsConfiguration;
import org.apache.fineract.cn.permittedfeignclient.annotation.EndpointSet;
import org.apache.fineract.cn.permittedfeignclient.annotation.PermittedFeignClientsConfiguration;
import org.apache.fineract.cn.anubis.annotation.Permittable;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient;
package org.apache.fineract.cn.permittedfeignclient;

/**
* @author Myrle Krantz
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.annotation;
package org.apache.fineract.cn.permittedfeignclient.annotation;

import java.lang.annotation.*;

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.annotation;
package org.apache.fineract.cn.permittedfeignclient.annotation;

import static org.apache.fineract.cn.api.config.ApiConfiguration.LOGGER_NAME;

@@ -26,8 +26,8 @@
import feign.codec.Encoder;
import feign.gson.GsonDecoder;
import feign.gson.GsonEncoder;
import io.mifos.permittedfeignclient.security.ApplicationTokenedTargetInterceptor;
import io.mifos.permittedfeignclient.service.ApplicationAccessTokenService;
import org.apache.fineract.cn.permittedfeignclient.security.ApplicationTokenedTargetInterceptor;
import org.apache.fineract.cn.permittedfeignclient.service.ApplicationAccessTokenService;
import org.apache.fineract.cn.api.util.AnnotatedErrorDecoder;
import org.apache.fineract.cn.api.util.TenantedTargetInterceptor;
import org.slf4j.Logger;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.config;
package org.apache.fineract.cn.permittedfeignclient.config;

import org.springframework.context.annotation.Import;

@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.config;
package org.apache.fineract.cn.permittedfeignclient.config;

import io.mifos.permittedfeignclient.service.ApplicationPermissionRequirementsService;
import org.apache.fineract.cn.permittedfeignclient.service.ApplicationPermissionRequirementsService;
import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
@@ -16,13 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.config;
package org.apache.fineract.cn.permittedfeignclient.config;

import feign.Client;
import feign.Feign;
import feign.gson.GsonDecoder;
import feign.gson.GsonEncoder;
import io.mifos.permittedfeignclient.LibraryConstants;
import org.apache.fineract.cn.permittedfeignclient.LibraryConstants;
import javax.annotation.Nonnull;
import org.apache.fineract.cn.anubis.config.EnableAnubis;
import org.apache.fineract.cn.api.util.AnnotatedErrorDecoder;
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.config;
package org.apache.fineract.cn.permittedfeignclient.config;

import io.mifos.permittedfeignclient.controller.ApplicationPermissionRequirementsRestController;
import io.mifos.permittedfeignclient.service.ApplicationAccessTokenService;
import org.apache.fineract.cn.permittedfeignclient.controller.ApplicationPermissionRequirementsRestController;
import org.apache.fineract.cn.permittedfeignclient.service.ApplicationAccessTokenService;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.controller;
package org.apache.fineract.cn.permittedfeignclient.controller;

import io.mifos.permittedfeignclient.api.v1.domain.ApplicationPermission;
import io.mifos.permittedfeignclient.service.ApplicationPermissionRequirementsService;
import org.apache.finearct.cn.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.apache.fineract.cn.permittedfeignclient.service.ApplicationPermissionRequirementsService;
import java.util.ArrayList;
import java.util.List;
import org.apache.fineract.cn.anubis.annotation.AcceptedTokenType;
@@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.security;
package org.apache.fineract.cn.permittedfeignclient.security;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import io.mifos.permittedfeignclient.annotation.EndpointSet;
import io.mifos.permittedfeignclient.service.ApplicationAccessTokenService;
import org.apache.fineract.cn.permittedfeignclient.annotation.EndpointSet;
import org.apache.fineract.cn.permittedfeignclient.service.ApplicationAccessTokenService;
import javax.annotation.Nonnull;
import org.apache.fineract.cn.api.util.ApiConstants;
import org.apache.fineract.cn.api.util.UserContextHolder;
@@ -16,9 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.service;
package org.apache.fineract.cn.permittedfeignclient.service;

import io.mifos.permittedfeignclient.LibraryConstants;
import org.apache.fineract.cn.permittedfeignclient.LibraryConstants;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.service;
package org.apache.fineract.cn.permittedfeignclient.service;

import io.mifos.permittedfeignclient.annotation.EndpointSet;
import io.mifos.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.apache.fineract.cn.permittedfeignclient.annotation.EndpointSet;
import org.apache.finearct.cn.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.apache.fineract.cn.anubis.annotation.Permittable;
import org.apache.fineract.cn.anubis.annotation.Permittables;
import org.apache.fineract.cn.anubis.api.v1.domain.AllowedOperation;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.service;
package org.apache.fineract.cn.permittedfeignclient.service;

import javax.annotation.Nullable;
import java.util.Objects;
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.service;
package org.apache.fineract.cn.permittedfeignclient.service;

import org.apache.fineract.cn.anubis.config.TenantSignatureRepository;
import org.apache.fineract.cn.anubis.token.TenantRefreshTokenSerializer;
@@ -16,10 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
package io.mifos.permittedfeignclient.service;
package org.apache.fineract.cn.permittedfeignclient.service;

import io.mifos.permittedfeignclient.annotation.EndpointSet;
import io.mifos.permittedfeignclient.api.v1.domain.ApplicationPermission;
import org.apache.fineract.cn.permittedfeignclient.annotation.EndpointSet;
import org.apache.finearct.cn.permittedfeignclient.api.v1.domain.ApplicationPermission;
import java.util.Collections;
import java.util.Set;
import java.util.stream.Collectors;

0 comments on commit b5cf8f3

Please sign in to comment.