Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement service endpoints #293

Merged
merged 5 commits into from
May 24, 2019
Merged

implement service endpoints #293

merged 5 commits into from
May 24, 2019

Conversation

ssube
Copy link
Owner

@ssube ssube commented May 20, 2019

Issue

Check

  • Gitlab pipeline has passed
  • lint warnings have not increased
  • documentation has been updated
  • tests have been added and consistently pass

Todo

If this PR is still a work in progress, please prefix the title with WIP: and include the remaining tasks:

  • next thing
  • last thing

@@ -21,10 +21,12 @@ import { GraphSchema, GraphSchemaData } from 'src/schema/graph';
import { ServiceDefinition, ServiceMetadata } from 'src/Service';
import { Storage } from 'src/storage';
import { doesExist, mustExist } from 'src/utils';
import { Endpoint } from 'src/endpoint';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import sources within a group must be alphabetized.

public async stop(): Promise<void> {
/* noop */
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file should end with a newline

];
}

abstract register(router: IRoute): void;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class method 'register' must be marked either 'private', 'public', or 'protected'

res.send('Hello World');
});
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file should end with a newline

paths: Array<string>;

register(router: IRoute): void;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file should end with a newline

@codeclimate
Copy link

codeclimate bot commented May 20, 2019

Code Climate has analyzed commit 794cfbc and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2
Style 1

View more on Code Climate.

@ssube ssube changed the title WIP: implement service endpoints implement service endpoints May 24, 2019
@ssube ssube merged commit 509ccaa into master May 24, 2019
@ssube ssube deleted the feat/68-svc-endpoints branch September 8, 2019 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant