Unverified Commit abce1974 authored by Rafa Hernandez's avatar Rafa Hernandez
Browse files

refactor(package): change package name to org.glpi.api

parent 303ba855
......@@ -4,7 +4,7 @@ android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "org.flyve.glpiproject"
applicationId "org.glpi.glpiproject"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
......
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.flyve.glpiproject">
package="org.glpi.glpiproject">
<uses-permission android:name="android.permission.INTERNET" />
......@@ -11,7 +11,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name="org.glpi.glpiproject.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpiproject;
package org.glpi.glpiproject;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
......@@ -34,9 +34,9 @@ import android.widget.Button;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import org.flyve.glpi.GLPI;
import org.flyve.glpi.itemType;
import org.flyve.glpi.response.InitSession;
import org.glpi.api.GLPI;
import org.glpi.api.itemType;
import org.glpi.api.response.InitSession;
import java.util.ArrayList;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpiproject;
package org.glpi.glpiproject;
import java.util.List;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpiproject;
package org.glpi.glpiproject;
import java.util.List;
......
......@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="org.flyve.glpiproject.MainActivity">
tools:context="org.flyve.glpiproject.org.glpi.glpiproject.MainActivity">
<TextView
android:layout_width="wrap_content"
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.flyve.glpi" />
package="org.glpi.api" />
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi;
package org.glpi.api;
import android.content.Context;
import android.util.Log;
......@@ -31,15 +31,15 @@ import android.util.Log;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import org.flyve.glpi.query.GetAllItemQuery;
import org.flyve.glpi.query.GetAnItemQuery;
import org.flyve.glpi.query.GetSubItemQuery;
import org.flyve.glpi.request.ChangeActiveEntitiesRequest;
import org.flyve.glpi.request.ChangeActiveProfileRequest;
import org.flyve.glpi.request.LostPasswordRequest;
import org.flyve.glpi.request.RecoveryPasswordRequest;
import org.flyve.glpi.response.InitSession;
import org.flyve.glpi.utils.Helpers;
import org.glpi.api.query.GetAllItemQuery;
import org.glpi.api.query.GetAnItemQuery;
import org.glpi.api.query.GetSubItemQuery;
import org.glpi.api.request.ChangeActiveEntitiesRequest;
import org.glpi.api.request.ChangeActiveProfileRequest;
import org.glpi.api.request.LostPasswordRequest;
import org.glpi.api.request.RecoveryPasswordRequest;
import org.glpi.api.response.InitSession;
import org.glpi.api.utils.Helpers;
import java.util.HashMap;
import java.util.Map;
......
......@@ -23,16 +23,19 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi;
package org.glpi.api;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import org.flyve.glpi.request.ChangeActiveEntitiesRequest;
import org.flyve.glpi.request.ChangeActiveProfileRequest;
import org.flyve.glpi.request.LostPasswordRequest;
import org.flyve.glpi.request.RecoveryPasswordRequest;
import org.flyve.glpi.response.InitSession;
import org.glpi.api.request.ChangeActiveEntitiesRequest;
import org.glpi.api.request.ChangeActiveProfileRequest;
import org.glpi.api.request.LostPasswordRequest;
import org.glpi.api.request.RecoveryPasswordRequest;
import org.glpi.api.response.InitSession;
import java.util.Map;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi;
package org.glpi.api;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi;
package org.glpi.api;
public enum itemType {
Alert,
......
......@@ -23,11 +23,11 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.query;
package org.glpi.api.query;
import android.content.Context;
import org.flyve.glpi.R;
import org.glpi.api.R;
import java.util.HashMap;
import java.util.Map;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.query;
package org.glpi.api.query;
import java.util.HashMap;
import java.util.Map;
......
......@@ -23,10 +23,12 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.query;
package org.glpi.api.query;
import android.content.Context;
import org.flyve.glpi.R;
import org.glpi.api.R;
import java.util.HashMap;
import java.util.Map;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.request;
package org.glpi.api.request;
import com.google.gson.annotations.SerializedName;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.request;
package org.glpi.api.request;
import com.google.gson.annotations.SerializedName;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.request;
package org.glpi.api.request;
import com.google.gson.annotations.SerializedName;
......
......@@ -23,7 +23,7 @@
* --------------------------------------------------------------------
*/
package org.flyve.glpi.request;
package org.glpi.api.request;
import com.google.gson.annotations.SerializedName;
......
Supports Markdown
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