hrin-msb
Pre-requisites for setup
pip install poetrypoetry config http-basic.pypi __token__ <access-token>
How To Build
poetry buildpoetry publish
Change Log
Version 0.1.1
Version 0.1.2
Version 0.1.3
- Default serializer added to ApiView
- fixed incorrect import in _validators.py
- fixed msb_database_router
- fixed Config.is_local_env() not working
- moved devscripts -> devtools
- File Utils Added to utils/files
- "app_label" removed from "TestConfig" & "ApiTest" Classes
- Fixed Bug : 'LoggingModelManager' object has no attribute '_queryset_class'
- Fixed : Logging Model not showing any records
- Fixed : str method for base model, & removed current_timestamp method from base model
Version 0.1.4
- Fixed : ModuleNotFoundError: No module named 'pdf2docx'
- Renamed “FileGenerator“ => “FileFactory”,
- Add
create_Prefix in FileFactory methods - Renamed MsbMetaModel -> MsbModelMetaFields
- Added validation decorators, and fixed bulk validation issuses
- Modified Logging Configuration Files
- removed utils package
- moved msb_core.wrappers.exceptions -> msb_exceptions
- Fixed : Base ApiViews and Crud Routes
- Searchparameter class refactored, search method added in ApiService Class
Version 0.1.41
- Fixed: Crud operations not working with encrypted id's
- Package dependencies updated
- Validator test cases refactored
Version 0.1.5x
-- Version 0.1.51
- dbrouter print statement removed
- datetime constants renamed (added _FORMAT to all fof them)
- Fixed the default argument in msb_exception which was causing "DESC :" to log even if desc was none
- Api service create methdhod not working correctly
- file logging handler is not registered in local env by default, we need to pass
emulate_prod=Trueto add it - SearchParameter class imported in package.init.py
- Fixed : test-cases are breaking because of logs databae
- added base unittest class, and modified unit_test to inherit djangoTestCase instead of unittest
- Added Validation Schema not defined exceptions
- Fixed init_django_app error, int datatype instead of str while setting environement variable.
- Added use_django decorator to use over classes/functions
- Fixed : MsbMetaModel not working
- MsbModel meta fields accessor added
- Poetry dependencies updated
- DMY_DATE_FORMAT added
- versioning changed
-- Version 0.1.52
- Fixed : MsbMetaFields not working
- Fixed : logging model lot of exceptions are thrown if table applicationlogs is not found
- Fixed : logging model exceptions file not found
- Fixed : db_migration throwing error if no migration dire is found
- renamed use_djnago -> use_django, default value for settinfs_dir is added to "app"
- renamend _query in msb_model to db_query
- field_type, and label added to configuration model
- unique_together constraint added to ConfigurationModel
- class DjangoMigration creates migration folder if it doesn't exists
- Added automatic fixture loading
- Fixed : msb_model.str() was not able to read the primary key value
- comma removed from msbMetamodels
- Cipher now supports encryption/decryption of list items
- SearchParameter modified to supoprt autmatic filter assignment
- Refactor
msb_auth: TokenUser,AuthResult,Constants added - Jwt Token Validation is strict now, it allows only same owner
-- Version 0.1.521
- Fixed improper import exception
-- Version 0.1.522
- Added Login Required to base viewset
- Added Config Object class to msb_dataclasses
- Added msb_http to the package
- Added MsbDatabaseRouter in init.py
- Fixed model.delete() is not working
-- Version 0.1.611
- Modified django migration script
- Aded devtools to msb_ext
- removed
use_djangodecorator & addedrequires_djangodecorator - added default values for metafields
- added InputFiled.time in validation schema types
-- Version 0.2.0
- Fixed Cipher.decrypt() returning bytes instead of str
- Changed
SearchParameterclass implementation. - default offset & limit fixed in
SearchParameterclass
-- Version 0.2.2
- default values removed from model metafields
- Fixed
ModuleNotFoundError: No module named '_asymmetric_cipher' - Fixed fixtures loaded in wrong sequence
- Feature
api_response.exception()now sends back internal server error for undefined exceptions. - Fixed Token validation error
- Added
DefaultJwtAuthSettings()class, to unify settings across the services - Added automatic fixture loading for test cases.
-- Version 0.2.3
- msb_testing refactored
- added new package
msb_const - Optimized imports throughout
- Refactored
msb_devtools, removedmsb_ext.devtools msb_devtools._exceptionsfile removed- Added constant to
mab_auth._constants
-- Version 0.2.4
- Refactor : (Optimized Imports,Sonarlint warnings)
- Refactor : Moved msb_apis.wrappers -> msb_http
-- Version 0.2.5
- Refactor : removed
msb_ext, as it served no purpose - Fixed : token validation failing due to AUD & ISS claim
- Added default fixture paths to
msb_const.paths
-- Version 0.2.6
- renamed the property
db_querytorows, to make it easier to understand. - added a mentod to deteremine if the current environment is either dev or test env
- CrudActions.all is now the default parameter value for
.as_view()method. - Crud routes not working for single fields
- Fixed
self.seriallizernot working withdict() - Implemented
listApi, to return predefined db columns - search parameter added in crud, searchparameters class refatored
-- Version 0.2.7
- Fixed :
_list_field_namesnot working with properties & relations - Added
search_validation_rulesin DefaultRules
-- Version 0.2.8
- Fixed : list api breaking for foreign keys
- Fixed : Search parameter not working with fields
- Fixed: automatic encryption of db provate fields, now you need to put
DB_ENCRYPT_PRIVATE_FIELDS = Trueto achieve that.
-- Version 0.2.9
- Fixed: automatic encryption of db primary key fields, now you need to put
DB_PK_IS_PRIVATE_FIELD = Trueto achieve that.
-- Version 0.2.10
- Fixed : incorrect crud routes for [list,search]
- Refactored : msb_http
- Implemented :
MsbIntraServiceRequestclass - Implemented :
ApiRouterclass
-- Version 0.2.11
- Fixed /str:id route not working
- Authentication is failing due to jwt-token owner mismatch
-- Version 0.2.12
- Fixed: Payload validation is failing for DELETE and UPDATE Request
-- Version 0.2.13
- Updated : dependencies
- Fixed : crud list was breaking if no list fields are found/declared in model
- Refactored : Added _list fields in ConfigurationModel
-- Version 0.2.14
- Fixed : env_setup->db_migration requires user input to run
-- Version 0.2.15
- Fixed : Crud list api is breaking with None
-- Version 0.2.16
- Refactored : owner verification in Jwt token can now be controlled through settings.py file, using following
variables"
MSB_JWT_TRUSTED_OWNERS = [](skips validation for the mentioned ip's) andMSB_JWT_VERIFY_OWNER = False(turns on/off the owner verification) - Implemented :
MsbIntraServiceRequestclass in msb_http - Update :
ApiServicenow hasresource_nameattribute in the class, this helps in better exception messages from default crud operations. - Refactor :
MsbIntraServiceRequest - Update : default crud api's now returns detailed error messages
- Update : All api's now returns detailed error messages for any exceptions.
-- Version 0.2.17
- Update :
ApiServicenow automatically takes the resource name if not provided. - Fixed :
MsbIntraServiceRequestnot working through api-gateway
-- Version 0.2.18
- Fixed : query parameters not working in
MsbIntraServiceRequest - Fixed : search parameter query not working in
MsbIntraServiceRequest - Fixed : limit and offset not working in list Api
- Refactor: _dataclasses
- Refactor : modified api_view error handler
-- Version 0.2.19
- removed Self parameter, due to compatibility issue
- Fixed : list/retrieve api bug
-- Version 0.2.2xx
- Fixed : UserRole.init() got an unexpected keyword argument 'access_type'
- Added: recover method in model
- Refactor : moved all constants to
msb_constants
-- Version 0.2.95
- Added: Added decorator
verify_ipto restrict the CRON Jobs tasks
-- Version 0.2.96
- Modified: Modified decorator
verify_ipto work for unauthenticated requests
-- Version 0.2.97
- Modified: Bulk create to pass key-value arguments
-- Version 0.2.98
- Modified: Modified decorator
verify_ipto use real ip instead of remote ip
-- Version 1.0.0
- Modified: Modified
updateservice to update theCOLUMN_NAME_UPDATED_ATon function call
-- Version 1.0.1
- Modified: Modified
addRoleConstARCHITECT_ROLE_IDon constant file in msb->auth->constants.py
Metadata
Release files for hrin-msb 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hrin_msb-1.0.1.tar.gz | 58.0 kB | Without provenance | Details for hrin_msb-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hrin_msb-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for hrin_msb-1.0.1-py3-none-any.whl |
Total release size: 143.7 kB
Release files / hrin_msb-1.0.1.tar.gz
| Download URL | hrin_msb-1.0.1.tar.gz |
|---|---|
| Size | 58.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8097e61dd85b9fb35f1d9f491cc14aff58f159dc9cedab4a7df40906864e4e92
|
|
BLAKE2b-256 checksum How to use checksums |
4f0275563f8fe9ac9426d28b9910bb2c2a65b5cb26d49ee2505d06c6486432d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Windows/10
|
Release files / hrin_msb-1.0.1-py3-none-any.whl
| Download URL | hrin_msb-1.0.1-py3-none-any.whl |
|---|---|
| Size | 85.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dba0b975af62b2f7f3d9bc71bdb379a83842002917bf411120f7107e42cdbf8
|
|
BLAKE2b-256 checksum How to use checksums |
94dba91b26d6f69c1349e188c44c91fdaf4ea420da466633f7fd547cc28036fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Windows/10
|
Security for hrin-msb 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.