Skip to content

Commit

Permalink
[#40] Rename missing packages
Browse files Browse the repository at this point in the history
Signed-off-by: ruromero <rromerom@redhat.com>
  • Loading branch information
ruromero committed Jan 25, 2023
1 parent f8d28c9 commit 00a1707
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.redhat.syseng.tools.cloudevents.model;
package com.github.ruromero.cloudeventsplayer.model;

import java.net.URI;
import java.time.ZonedDateTime;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.redhat.syseng.tools.cloudevents.model;
package com.github.ruromero.cloudeventsplayer.model;

public enum PlayerMode {
LOCAL,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.redhat.syseng.tools.cloudevents.resources;
package com.github.ruromero.cloudeventsplayer.resources;

import java.util.Set;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.validation.ConstraintViolation;
import javax.validation.Validator;
Expand All @@ -20,7 +19,7 @@

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.redhat.syseng.tools.cloudevents.service.MessageService;
import com.github.ruromero.cloudeventsplayer.service.MessageService;

import io.cloudevents.CloudEvent;
import io.cloudevents.jackson.JsonFormat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.redhat.syseng.tools.cloudevents.resources;
package com.github.ruromero.cloudeventsplayer.resources;

import java.util.List;
import java.util.Set;
Expand All @@ -25,15 +25,17 @@

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.redhat.syseng.tools.cloudevents.model.Message;
import com.redhat.syseng.tools.cloudevents.service.MessageService;
import com.github.ruromero.cloudeventsplayer.model.Message;
import com.github.ruromero.cloudeventsplayer.service.MessageService;

import io.cloudevents.CloudEvent;
import io.cloudevents.jackson.JsonFormat;
import io.quarkus.runtime.annotations.RegisterForReflection;

@Path("/messages")
@Consumes({MediaType.APPLICATION_JSON, JsonFormat.CONTENT_TYPE})
@Produces(MediaType.APPLICATION_JSON)
@RegisterForReflection
public class MessageResource {

private static final Logger LOGGER = LoggerFactory.getLogger(MessageResource.class);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.redhat.syseng.tools.cloudevents.resources;
package com.github.ruromero.cloudeventsplayer.resources;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.redhat.syseng.tools.cloudevents.service;
package com.github.ruromero.cloudeventsplayer.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.redhat.syseng.tools.cloudevents.service;
package com.github.ruromero.cloudeventsplayer.service;

import java.net.URI;
import java.util.ArrayList;
Expand All @@ -19,10 +19,10 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.redhat.syseng.tools.cloudevents.model.Message;
import com.redhat.syseng.tools.cloudevents.model.Message.MessageType;
import com.redhat.syseng.tools.cloudevents.model.PlayerMode;
import com.redhat.syseng.tools.cloudevents.resources.MessagesSocket;
import com.github.ruromero.cloudeventsplayer.model.Message;
import com.github.ruromero.cloudeventsplayer.model.Message.MessageType;
import com.github.ruromero.cloudeventsplayer.model.PlayerMode;
import com.github.ruromero.cloudeventsplayer.resources.MessagesSocket;

import io.cloudevents.CloudEvent;
import io.fabric8.kubernetes.client.KubernetesClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.redhat.syseng.tools.cloudevents;
package com.github.ruromero.cloudeventsplayer;

import java.util.Map;

import com.redhat.syseng.tools.cloudevents.model.PlayerMode;
import com.github.ruromero.cloudeventsplayer.model.PlayerMode;

import io.quarkus.test.junit.QuarkusTestProfile;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package com.redhat.syseng.tools.cloudevents.resources;
package com.github.ruromero.cloudeventsplayer.resources;

import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.assertEquals;

import java.util.List;
import java.util.UUID;
Expand All @@ -7,17 +10,14 @@
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.restassured.RestAssured;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

import com.redhat.syseng.tools.cloudevents.LocalModeProfile;
import com.github.ruromero.cloudeventsplayer.LocalModeProfile;

import static io.restassured.RestAssured.given;
import static org.junit.jupiter.api.Assertions.assertEquals;
import io.quarkus.test.junit.QuarkusTest;
import io.quarkus.test.junit.TestProfile;
import io.restassured.RestAssured;

@QuarkusTest
@TestProfile(LocalModeProfile.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.redhat.syseng.tools.cloudevents.resources;
package com.github.ruromero.cloudeventsplayer.resources;

import com.github.ruromero.cloudeventsplayer.LocalModeProfile;

import com.redhat.syseng.tools.cloudevents.LocalModeProfile;
import io.quarkus.test.junit.QuarkusIntegrationTest;
import io.quarkus.test.junit.TestProfile;

Expand Down

0 comments on commit 00a1707

Please sign in to comment.