question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Standardize services implementation across packages

See original GitHub issue

There is currently quite a large difference in implementations of the services in the backend and connector packages.

The accounts package is not mentioned here because #53 , but would need to conform to this too.

We need to:

  • Highlight and discuss the differences in implementations.
  • Decide on a single structure all packages should conform to.
  • Migrate packages that don’t conform.
  • Document the structure for future collaborators.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cairincommented, Jul 22, 2021

@sharafian

do each of the items in the backend structure (model, service, tests) represent files rather than directories?

They are files in this instance, but could be directories if the services became more complicated.

Otherwise I don’t see much difference between the two, aside from the top-level ‘services’ directory present in the connector.

The major difference isn’t actually conveyed very well with the above because they are fairly similar on face value. I will create a pr that starts work for #53 to try demonstrate the idea. I can then present it properly on the call on Monday. @matdehaast said he would write a blog post on this, so he better get on that so I don’t have to type it out 😆

@sentientwaffle

The connector’s file structure is an artifact of being imported from the previous Rafiki project.

That’s understandable 👍 It is tested so we should be able to migrate it fairly safely.

0reactions
sentientwafflecommented, Jul 21, 2021

(Sorry, wrong button)…

do each of the items in the backend structure (model, service, tests) represent files rather than directories?

Yes, those are files.

The connector’s file structure is an artifact of being imported from the previous Rafiki project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Process Standardization: A Complete Guide To Unifying Your ...
Standardization can be implemented in every type of business operation and department. Each operation comes with its own approved standards.
Read more >
A guide to standardized business processes, data, and ...
Standardization is any process used to develop and implement metrics (i.e., “standards”) that specify essential characteristics of something whose control and ...
Read more >
Standardized Service - an overview | ScienceDirect Topics
Standardized services enable network operators to efficiently deliver services with an expectation of cross-compatibility among equipment.
Read more >
How ERP System Standardize Your Business Processes?
Standardization is a process of developing and implementing technical standards to guide the process of creation of a good and service based ...
Read more >
Why Process Standardization Improves Quality, Productivity ...
Standardization means better customer service​​ Standardization can address customer service directly through standardized processes for talking ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found