octoposprime / op-be-auth

OctopOS Prime Backend Authorization and Authentication Service
http://www.octoposprime.com
5 stars 0 forks source link

Add UserServicePort to ServicePort Interface #25

Closed Feyzanrs closed 2 months ago

Feyzanrs commented 4 months ago

We need to update the ServicePort interface in the file internal/application/infrastructure/port/service/service.go to include UserServicePort.

Path of the files to be updated:

internal/application/infrastructure/port/service/service.go

Updated Code:

package application

// ServicePort is a port for Hexagonal Architecture Pattern.
// It is used to communicate with the other services.
type ServicePort interface {
    LoggingServicePort 
    UserServicePort //new
}

The changes will be merged into the first/hsm/1/create-first branch first. Therefore, set the base branch of the pull request as first/hsm/1/create-first.

The "//new" comment line has been added to make it easier for you to see the changes. Please remember to remove that part while you are working on your issue.